- Security with Go
- John Daniel Leon
- 38字
- 2021-06-30 19:06:42
Writing your first program
The simplest package you can have is a single file inside a directory. Create a new file, ~/src/hello/hello.go, and put the following code inside:
package main
import "fmt"
func main() {
fmt.Println("Hello, world.")
}