2023-08-19

gonew

Go recently got a new experimental tool for creating new projects: gonew:

https://go.dev/blog/gonew

Templates from Google: appengine, pubsubfn, httpfn and microservice.

Templates from me: sever, library and action.

Now I start new projects with an alias new:

cd ~/Projects/chulomin
new server test

And a new project will be created in the ~/Projects/chulomin/test directory with a Go module named github.com/chuhlomin/test and everything I need to start a server project.