A small hacky script to create a new Go project inspired by Hugo new command
You must have GOPATH
already configured.
The script creates a new project directory to your $GOPATH/src folder.
$ gonew test
$ ls $GOPATH/src/test
$ test.go
A small hacky script to create a new Go project inspired by Hugo new command
You must have GOPATH
already configured.
The script creates a new project directory to your $GOPATH/src folder.
$ gonew test
$ ls $GOPATH/src/test
$ test.go