bench / generator-go Goto Github PK
View Code? Open in Web Editor NEWA Yeoman generator to scaffold a simple golang application
License: MIT License
A Yeoman generator to scaffold a simple golang application
License: MIT License
I am running this generator on the newest version of node and encounter the following error.
When I run 'yo go' I am prompted for my project name, but after hitting enter the generator exits with no code generated.
$ go version
go version go1.9 linux/amd64
$ node -v
v6.11.0
yes, on 0.1.3
Debian 9.0
Since the last release, the generator build folders and file under $GOPATH.
Ran the generator, went into my $GOPATH/generatedfolder, and tap a make run
An "hello world" displayed on my console.
An error log from go compiler.
can't load package: package github.com/me/myapp: cannot find package "github.com/bench/hidemyadd" in any of:
/usr/local/go/src/github.com/me/myapp (from $GOROOT)
[...]
With four years of delay, it is time to use golang modules that have become a reference.
Also dependabot opened us a few PR to address outdated deps.
Hello there! Thanks for you interesting project.
Just a little notice: in the README.md file you are issuing:
sudo git clone https://github.com/your_repo/generator-go.git
which is wrong, you shouldn't be generally running git as root. (of course there are some use cases).
A plain:
git clone https://github.com/your_repo/generator-go.git
should do the job in a safer manner.
Do you mind updating the README.md so that newcomers won't run git as root?
Thank in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.