GithubHelp home page GithubHelp logo

Go Modules Support about go-agent HOT 5 CLOSED

newrelic avatar newrelic commented on July 19, 2024 6
Go Modules Support

from go-agent.

Comments (5)

willnewrelic avatar willnewrelic commented on July 19, 2024

Hi @codyolsen

We are eager to conform to community standards regarding versioning. So, yes, I expect us to adopt module support! I must admit, we haven't been following the proposal closely. Do you have any specific advice or things we should be aware of?

from go-agent.

codyolsen avatar codyolsen commented on July 19, 2024

Hey @willnewrelic. It's actually really simple to add module support. You just run go mod init in your package and then build to list dependencies in the go.mod/go.sum file. However, based on the fork I made it looks like you don't have any external dependencies in this package... which is amazing 👍.

The one caveat: Any packages past v2 have some specific instructions for how to release for modules support: Golang: releasing-modules-v2-or-higher Based on the conventions you'd have to make your modules release v3.

If there are no concerns about making a v3 release then it should be an easy update! However, I don't see a huge reason to use modules since you have no external dependencies.

from go-agent.

willnewrelic avatar willnewrelic commented on July 19, 2024

Hi @codyolsen !

I've asked a question about semantic versioning here: #83

I would love your feedback!

from go-agent.

codyolsen avatar codyolsen commented on July 19, 2024

@willnewrelic I'm not currently using the go-agent in anything mission critical, so I think my input would fall second priority to users with current application dependencies.

from go-agent.

purple4reina avatar purple4reina commented on July 19, 2024

@codyolsen We just released v3.0.0 of the Go Agent with Go Modules support! Take a look and let us know what you think!

from go-agent.

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.