Giter Club home page Giter Club logo

Comments (4)

rajmaniar avatar rajmaniar commented on August 11, 2024 15

I struggled with this today before I realized the api for NewV4 at the latest semver tag v1.2.0 has one return variable but the head of master branch on the repo has two.
https://github.com/satori/go.uuid/blob/v1.2.0/generator.go#L64
vs
https://github.com/satori/go.uuid/blob/master/generator.go#L68

go modules will always try to collect the latest semver tag by default so you need to do something like:
go get -u github.com/satori/go.uuid@master

from go.uuid.

3013216027 avatar 3013216027 commented on August 11, 2024 3

Same to me, the default behavior of go mod confuse with the old tag.
I wonder if it's possible to add a new version tag :)

from go.uuid.

3013216027 avatar 3013216027 commented on August 11, 2024 3

@CameronAckermanSEL thks, I've moved to https://github.com/google/uuid instead

from go.uuid.

cameracker avatar cameracker commented on August 11, 2024

@chingiz2387 @3013216027 @rajmaniar this package is obsolete. #84

Recommend using https://github.com/gofrs/uuid

from go.uuid.

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.