Git Product home page Git Product logo

Comments (3)

davidbirdsong avatar davidbirdsong commented on July 17, 2024

We haven't built this in a while. Can you patch, test, and submit a PR?

from prometheus-am-executor.

otakup0pe avatar otakup0pe commented on July 17, 2024

Going to take a look at this as part of setting up travis-ci support.

from prometheus-am-executor.

colakong avatar colakong commented on July 17, 2024

The package path used for import statements in go code tells go where the package definition for template or prometheus packages are; It's not meant to contain vcs-specific details like versioning or branch; That's handled separately in go.mod or vendoring. So, the path you use in import statements matches the path you'd see on your filesystem in a git clone of a repository, but may not match what you'd see in your browser when navigating a github repository.

If you wanted to target the master branch specifically, instead of a tag or pseudo-version, you would keep the path name the same as before, and issue a command like

go get -v github.com/prometheus/alertmanager/template@master

This golang blog post has more details on package names/paths :).

from prometheus-am-executor.

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.