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 mainimport "fmt"func main() { fmt.Println("Hello, world.")}