Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Comments in Go | Getting Started
Introduction to GoLang

bookChallenge: Comments in Go

Task

Comment out the statement that should be shown and uncomment the statement that needs to be shown in the following code.

index.go

index.go

copy
1234567
package main import "fmt" func main() { fmt.Println("This sentence should not be outputted") //fmt.Println("This sentence should be outputted") }

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 9

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Awesome!

Completion rate improved to 1.96

bookChallenge: Comments in Go

Stryg for at vise menuen

Task

Comment out the statement that should be shown and uncomment the statement that needs to be shown in the following code.

index.go

index.go

copy
1234567
package main import "fmt" func main() { fmt.Println("This sentence should not be outputted") //fmt.Println("This sentence should be outputted") }

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 9
some-alt