Giter Club home page Giter Club logo

Comments (3)

cristaloleg avatar cristaloleg commented on May 14, 2024

Hi @zoulja there is one simple but not obvious question: how do you want to install it?

If you're interested into adding this dependency into your existing project, than doing go get github.com/cristalhq/jwt/v3 will be ok (see example 1)

If you're interested into fetching repo to make own changes or somethings like this than you need to skip v3 prefix and make simple go get github.com/cristalhq/jwt

Example 1:

# ~/go/src/github.com/cristaloleg/funf # <-- my project where I want to add jwt
$ go get github.com/cristalhq/jwt/v3
go: downloading github.com/cristalhq/jwt v1.2.0
go: downloading github.com/cristalhq/jwt/v3 v3.0.0
go: github.com/cristalhq/jwt/v3 upgrade => v3.0.0

^
| tries v1.2.0 but than downloads/upgrades to v3

Example 2:

$ go get github.com/cristalhq/jwt

$ cd ~/go/src/github.com/cristalhq/jwt

Sorry for the troubles I will try to fix it in docs somehow and also in another projects.

from jwt.

cristaloleg avatar cristaloleg commented on May 14, 2024

@zoulja is everything fine now?

from jwt.

zoulja avatar zoulja commented on May 14, 2024

Unfortunately no.

C:\gotest> go get github.com/cristalhq/jwt/v3
package github.com/cristalhq/jwt/v3: cannot find package "github.com/cristalhq/jwt/v3" in any of:
D:\software\Go\src\github.com\cristalhq\jwt\v3 (from $GOROOT)
C:\Users\bob\go\src\github.com\cristalhq\jwt\v3 (from $GOPATH)

If it works for you then it's shouldn't be package issue, but my Go setup issue, I just can't figure out what exactly...

from jwt.

Related Issues (20)

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.