lacion / cookiecutter-golang

A Go project template
MIT License
690 stars 178 forks source link

Pip? #2

Closed sethgrid closed 7 years ago

sethgrid commented 7 years ago

Why use pip? go get does an install. Use Go to build Go tools. Cheers.

romualdr commented 7 years ago

I think it's just for installing cookiecutter, which looks like a Yeoman-like tool to create boilerplates from templates. The worlflow post-initialization will use regular go tools I guess.

ChristianWitts commented 7 years ago

@sethgrid pip is purely used to install cookiecutter which supports plugins to help you scaffold out new projects easily. Below is what is generated by cookiecutter.

.
├── Dockerfile
├── Dockerfile.build
├── Makefile
├── README.md
├── config
│   └── config.go
├── glide.yaml
├── log
│   └── log.go
├── main.go
└── version.go

2 directories, 9 files
lacion commented 7 years ago

@ChristianWitts is 100% correct

using cookiecutter is not that bad, is a very good project templates tool like many other, it just happens to be the one i use. i updated the read to show alternatives to pip so you can install cookiecutter.