Skip to content

Instantly share code, notes, and snippets.

@jufianto
Created February 23, 2020 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jufianto/108ec308fbf8a3aad104549faf00047a to your computer and use it in GitHub Desktop.
Save jufianto/108ec308fbf8a3aad104549faf00047a to your computer and use it in GitHub Desktop.
golang learn medium [1]
// you have package main, after compiling go compiler will find your package main with func main
package main
// import some package in go,
import (
"fmt"
)
// main is the main package in go, you have create this function if you want your program runs well
func main() {
// print text
fmt.Println("Hello Jufi, Success with your first blog write on golang")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment