Giter VIP home page Giter VIP logo

gogen's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

gogen's Issues

Testing: install instructions

I wanted to test the instructions in the readme, however I run into this issue.

user@host $ git clone https://github.com/praveenpenumaka/gogen
Cloning into 'gogen'...
remote: Enumerating objects: 123, done.
remote: Counting objects: 100% (123/123), done.
remote: Compressing objects: 100% (82/82), done.
remote: Total 123 (delta 33), reused 122 (delta 32), pack-reused 0
Receiving objects: 100% (123/123), 28.33 KiB | 3.15 MiB/s, done.
Resolving deltas: 100% (33/33), done.

Wed Jun 16 06:36:32 ~/Code/Golang/gogentest  
user@host $ cd gogen/
Wed Jun 16 06:36:35 ~/Code/Golang/gogentest/gogen [master] 

user@host $ make install
go install
go: cannot find main module, but found .git/config in /home/dh/Code/Golang/gogentest/gogen
        to create a module there, run:
        go mod init
make: *** [Makefile:9: install] Error 1
Wed Jun 16 06:36:44 ~/Code/Golang/gogentest/gogen [master] 

next I did this

Wed Jun 16 06:36:44 ~/Code/Golang/gogentest/gogen [master] 
user@host $ go mod init gogen
go: creating new go.mod: module gogen
go: to add module requirements and sums:
        go mod tidy
Wed Jun 16 06:40:56 ~/Code/Golang/gogentest/gogen [master ?] 

user@host $ make install
go install
main.go:6:2: no required module provides package github.com/gogen/commands/add; to add it:
        go get github.com/gogen/commands/add
main.go:7:2: no required module provides package github.com/gogen/commands/create; to add it:
        go get github.com/gogen/commands/create
main.go:8:2: no required module provides package github.com/gogen/commands/generate; to add it:
        go get github.com/gogen/commands/generate
main.go:9:2: no required module provides package github.com/urfave/cli; to add it:
        go get github.com/urfave/cli
make: *** [Makefile:9: install] Error 1

Wed Jun 16 06:41:07 ~/Code/Golang/gogentest/gogen [master ?] 
user@host $ go build
main.go:6:2: no required module provides package github.com/gogen/commands/add; to add it:
        go get github.com/gogen/commands/add
main.go:7:2: no required module provides package github.com/gogen/commands/create; to add it:
        go get github.com/gogen/commands/create
main.go:8:2: no required module provides package github.com/gogen/commands/generate; to add it:
        go get github.com/gogen/commands/generate
main.go:9:2: no required module provides package github.com/urfave/cli; to add it:
        go get github.com/urfave/cli

next I did this:

Wed Jun 16 06:41:14 ~/Code/Golang/gogentest/gogen [master ?] 
user@host $ go mod tidy
go: finding module for package github.com/gogen/commands/add
go: finding module for package github.com/gogen/commands/generate/templates/makefile
go: finding module for package github.com/gogen/commands/generate/templates/controllers
go: finding module for package github.com/gogen/commands/generate/templates/env
go: finding module for package github.com/urfave/cli
go: finding module for package github.com/gogen/commands/generate
go: finding module for package github.com/gogen/domain
go: finding module for package github.com/gogen/commands/generate/templates/appcontext
go: finding module for package github.com/gogen/commands/generate/templates/config
go: finding module for package github.com/gogen/commands/create
go: finding module for package github.com/gogen/commands/generate/templates/models
go: finding module for package github.com/gogen/services
go: downloading github.com/urfave/cli v1.22.5
go: finding module for package github.com/gogen/commands/generate/templates/project
go: finding module for package github.com/gogen/commands/generate/templates/router
go: finding module for package github.com/stretchr/testify/assert
go: finding module for package github.com/gogen/commands/generate/templates/start
go: finding module for package github.com/gogen/utils
go: downloading github.com/stretchr/testify v1.7.0
go: found github.com/urfave/cli in github.com/urfave/cli v1.22.5
go: found github.com/stretchr/testify/assert in github.com/stretchr/testify v1.7.0
go: downloading github.com/davecgh/go-spew v1.1.0
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: finding module for package github.com/gogen/commands/generate/templates/project
go: finding module for package github.com/gogen/commands/generate/templates/controllers
go: finding module for package github.com/gogen/commands/generate/templates/appcontext
go: finding module for package github.com/gogen/commands/create
go: finding module for package github.com/gogen/services
go: finding module for package github.com/gogen/commands/add
go: finding module for package github.com/gogen/commands/generate/templates/config
go: finding module for package github.com/gogen/commands/generate/templates/makefile
go: finding module for package github.com/gogen/commands/generate/templates/env
go: finding module for package github.com/gogen/commands/generate/templates/models
go: finding module for package github.com/gogen/domain
go: finding module for package github.com/gogen/commands/generate/templates/router
go: finding module for package github.com/gogen/commands/generate
go: finding module for package github.com/gogen/commands/generate/templates/start
go: finding module for package github.com/gogen/utils
gogen imports
        github.com/gogen/commands/add: cannot find module providing package github.com/gogen/commands/add: module github.com/gogen/commands/add: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/0dffa8e8f46b5f1b58a50df2e03375240836fdd84479c5ee6fa41730e751abc2: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/commands/'
gogen imports
        github.com/gogen/commands/create: cannot find module providing package github.com/gogen/commands/create: module github.com/gogen/commands/create: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/0dffa8e8f46b5f1b58a50df2e03375240836fdd84479c5ee6fa41730e751abc2: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/commands/'
gogen imports
        github.com/gogen/commands/generate: cannot find module providing package github.com/gogen/commands/generate: module github.com/gogen/commands/generate: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/0dffa8e8f46b5f1b58a50df2e03375240836fdd84479c5ee6fa41730e751abc2: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/commands/'
gogen/commands/add imports
        github.com/gogen/domain: cannot find module providing package github.com/gogen/domain: module github.com/gogen/domain: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/a2e98257a98f9473d2052be6286be9ab19495f69c98db21e4a19b0dfdda34404: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/domain/'
gogen/commands/add imports
        github.com/gogen/services: cannot find module providing package github.com/gogen/services: module github.com/gogen/services: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/cd580e81e49613e817de8cfbc8d2f1987e232758490a0d7db89ae90f49ddfcc8: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/services/'
gogen/commands/generate imports
        github.com/gogen/commands/generate/templates/appcontext: cannot find module providing package github.com/gogen/commands/generate/templates/appcontext: module github.com/gogen/commands/generate/templates/appcontext: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/0dffa8e8f46b5f1b58a50df2e03375240836fdd84479c5ee6fa41730e751abc2: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/commands/'
gogen/commands/generate imports
        github.com/gogen/commands/generate/templates/config: cannot find module providing package github.com/gogen/commands/generate/templates/config: module github.com/gogen/commands/generate/templates/config: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/0dffa8e8f46b5f1b58a50df2e03375240836fdd84479c5ee6fa41730e751abc2: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/commands/'
gogen/commands/generate imports
        github.com/gogen/commands/generate/templates/controllers: cannot find module providing package github.com/gogen/commands/generate/templates/controllers: module github.com/gogen/commands/generate/templates/controllers: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/0dffa8e8f46b5f1b58a50df2e03375240836fdd84479c5ee6fa41730e751abc2: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/commands/'
gogen/commands/generate imports
        github.com/gogen/commands/generate/templates/env: cannot find module providing package github.com/gogen/commands/generate/templates/env: module github.com/gogen/commands/generate/templates/env: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/0dffa8e8f46b5f1b58a50df2e03375240836fdd84479c5ee6fa41730e751abc2: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/commands/'
gogen/commands/generate imports
        github.com/gogen/commands/generate/templates/makefile: cannot find module providing package github.com/gogen/commands/generate/templates/makefile: module github.com/gogen/commands/generate/templates/makefile: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/0dffa8e8f46b5f1b58a50df2e03375240836fdd84479c5ee6fa41730e751abc2: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/commands/'
gogen/commands/generate imports
        github.com/gogen/commands/generate/templates/models: cannot find module providing package github.com/gogen/commands/generate/templates/models: module github.com/gogen/commands/generate/templates/models: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/0dffa8e8f46b5f1b58a50df2e03375240836fdd84479c5ee6fa41730e751abc2: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/commands/'
gogen/commands/generate imports
        github.com/gogen/commands/generate/templates/project: cannot find module providing package github.com/gogen/commands/generate/templates/project: module github.com/gogen/commands/generate/templates/project: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/0dffa8e8f46b5f1b58a50df2e03375240836fdd84479c5ee6fa41730e751abc2: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/commands/'
gogen/commands/generate imports
        github.com/gogen/commands/generate/templates/router: cannot find module providing package github.com/gogen/commands/generate/templates/router: module github.com/gogen/commands/generate/templates/router: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/0dffa8e8f46b5f1b58a50df2e03375240836fdd84479c5ee6fa41730e751abc2: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/commands/'
gogen/commands/generate imports
        github.com/gogen/commands/generate/templates/start: cannot find module providing package github.com/gogen/commands/generate/templates/start: module github.com/gogen/commands/generate/templates/start: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/0dffa8e8f46b5f1b58a50df2e03375240836fdd84479c5ee6fa41730e751abc2: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/commands/'
gogen/services imports
        github.com/gogen/utils: cannot find module providing package github.com/gogen/utils: module github.com/gogen/utils: git ls-remote -q origin in /home/dh/go/pkg/mod/cache/vcs/94016d55c013e5ee2196653beb78b75ce84d35824658e119debf6b6b037ed5a2: exit status 128:
        remote: Repository not found.
        fatal: Authentication failed for 'https://github.com/gogen/utils/'

Manjaro Linux, go version go1.16.5 linux/amd64

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.