Giter Site home page Giter Site logo

generator-go's People

Contributors

bench avatar dependabot[bot] avatar supremetechnopriest avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

generator-go's Issues

Running yo go

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.

make run fails since 0.1.3 release

What version of Go are you using (go version)?

$ go version
go version go1.9 linux/amd64

What version of NodeJs are you using (node -v)?

$ node -v
v6.11.0

Does this issue reproduce with the latest release?

yes, on 0.1.3

What operating system are you using (go env)?

Debian 9.0

What did you do?

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

What did you expect to see?

An "hello world" displayed on my console.

What did you see instead?

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)
[...]

Time to move to module

With four years of delay, it is time to use golang modules that have become a reference.

Wrong usage of sudo

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.