mkdir realworld
cd realworld
go mod init example.com/realworld
cmd/main.go
package main
import "fmt"
func main() {
fmt.Println("RealWorld back-end.")
}
go get -u github.com/astaxie/bat
go run cmd/main.go
go run github.com/astaxie/bat GET 127.0.0.1:3333
# or
# bat GET 127.0.0.1:3333