GithubHelp home page GithubHelp logo

go modules support ? about goji HOT 5 CLOSED

goji avatar goji commented on May 23, 2024
go modules support ?

from goji.

Comments (5)

elithrar avatar elithrar commented on May 23, 2024

You can only fetch a Go package by its version if it explicitly defines itself as a valid Go Module - through the presence of a valid go.mod file.

Goji isn’t a yet Module (Modules aren’t final yet), and thus you can’t use go get like that.

from goji.

zenazn avatar zenazn commented on May 23, 2024

Good news! Just added module support. Let me know if you’re still having trouble with this

from goji.

ekle avatar ekle commented on May 23, 2024

hi,
it still does not work. But i think that is because of the git-tags.
go modules requires vX.Y.Z tags. it looks like it does not work with vX.Y tags.

GO111MODULE=on go get -u -v [email protected]
  Fetching https://goji.io?go-get=1
  Parsing meta tags from https://goji.io?go-get=1 (status code 200)
  get "goji.io": found meta tag get.metaImport{Prefix:"goji.io", VCS:"git", 
  RepoRoot:"https://github.com/goji/goji"} at https://goji.io?go-get=1
  go get [email protected]: no matching versions for query "v1.1"

from goji.

zenazn avatar zenazn commented on May 23, 2024

Alright—I’ve gone and added three-part semvar tags. Let me know if that helps!

from goji.

ekle avatar ekle commented on May 23, 2024

thx, now it works :)

from goji.

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.