Course Content
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")
}
Everything was clear?
Section 1. Chapter 9