{"repo":"newrelic/newrelic-client-go","free":true,"listed":false,"github":"https://github.com/newrelic/newrelic-client-go","clone":"git clone https://github.com/newrelic/newrelic-client-go.git","description":"New Relic Client for the Go programming language","language":"Go","stars":81,"topics":["developer-toolkit","newrelic","golang","developer-tools","observability","observability-as-code","hacktoberfest"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"newrelic-client-go The New Relic Client provides the building blocks for tools in the Developer Toolkit, enabling quick access to the suite of New Relic APIs. As a library, it can also be leveraged within your own custom applications. - Getting Started and Example Usage - Upgrade to the latest version - Community - Development - Requirements - Building - Testing - Integration tests - Go Version Support - Commit Messages - Format - Scope - Documentation - Community Support - Issues / Enhancement Requests - Contributing - Open Source License Getting Started and Example Usage Follow the steps below to add github.com/newrelic/newrelic-client-go as a dependency in your Go project. 1. In the root directory of your project, run go get github.com/newrelic/newrelic-client-go@latest . This will update your go.mod file with the latest version newrelic-client-go . 2. Import newrelic-client-go in your project code. 3. Run go mod tidy . This will ensure all your dependencies are in sync with your code. 4. Your module's go.mod file should now be updated with the latest version of the client and should look similar to the following example (version number is hypothetical in the example below). 5. The example below demonstrates fetching New Relic entities. Upgrade to the latest version 1. Run the following command to tell Go to download the latest version. You can also check the latest version out in this page. 2. Run go mod tidy to sync your dependencies with your code. 3. Confirm your go.mo","default_branch":null,"files":null,"tree":[],"storefront":"/r/newrelic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/newrelic/newrelic-client-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}