Start a new project from templates with gonew.
Start a new project mycli
from go-templates/cli
## 1.install gonew
go install golang.org/x/tools/cmd/gonew@latest
## 2.create new project
gonew github.com/whoisnian/go-templates/cli github.com/whoisnian/mycli
# gonew: initialized github.com/whoisnian/mycli in ./mycli
## 3.push to github
cd ./mycli
git init
git add .
git commit -m "ADD: gonew from github.com/whoisnian/go-templates/cli"
git remote add origin [email protected]:whoisnian/mycli.git
git push -u origin master