Cursos /
Introduction to GoLang
Challenge: 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
package main
import "fmt"
func main() {
//fmt.Println("This sentence should not be outputted")
fmt.Println("This sentence should be outputted")
}
Tudo estava claro?
Seção 1. Capítulo 9
Conteúdo do Curso
Introduction to GoLang
Introduction to GoLang
Challenge: 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
package main
import "fmt"
func main() {
//fmt.Println("This sentence should not be outputted")
fmt.Println("This sentence should be outputted")
}
Tudo estava claro?
Seção 1. Capítulo 9