[Go] Console Output

Printf()

package main

import "fmt"

func main() {
	fmt.Println("Hello World!")
}

Comment

  • /* */
  • //
package main

import "fmt"

func main() {
	fmt.Println("Hello World!") // One line comment.
}

Tags:

Categories:

Updated: