Describe the bug
After creating a Go project, the version package import on cmd/version.go points to github.com/lacion/cookiecutter_golang_example/version, which I assume is the example project.
To Reproduce
Run cookiecutter https://github.com/lacion/cookiecutter-golang.git
Select use_cobra_cmd [y]: y
Go to the generated cmd/version.go
Expected behavior
Instead of github.com/lacion/cookiecutter_golang_example/version, cmd/version.go should import the generated github.com/<github_username>/<app_name>/version.
Desktop (please complete the following information):
OS: Arch Linux
Golang Version go1.13.5
Additional context
This was using the latest version of the golang template.
Describe the bug After creating a Go project, the
version
package import oncmd/version.go
points togithub.com/lacion/cookiecutter_golang_example/version
, which I assume is the example project.To Reproduce
cookiecutter https://github.com/lacion/cookiecutter-golang.git
use_cobra_cmd [y]: y
cmd/version.go
Expected behavior Instead of
github.com/lacion/cookiecutter_golang_example/version
,cmd/version.go
should import the generatedgithub.com/<github_username>/<app_name>/version
.Desktop (please complete the following information):
Additional context This was using the latest version of the
golang
template.