Comments (2)
Hi @ralvecosta,
Sorry to hear about the error.
Starting with g 1.16, go requires use of modules by default.
From the release notes:
Note that Go 1.16 requires use of Go modules by default, now that, according to our 2020 Go Developer Survey, 96% of Go developers have made the switch. We recently added official documentation for developing and publishing modules.
However, in the release notes(and thanks to @joeshaw for also providing the details), they also documented how to change the default.
Modules
Module-aware mode is enabled by default, regardless of whether a go.mod file is present in the current working directory or a parent directory. More precisely, the GO111MODULE environment variable now defaults to on. To switch to the previous behavior, set GO111MODULE to auto.
This can be accomplished in a variety of ways. 2 of those ways are:
- Add
export GO111MODULE=auto
to the.bashrc
file
OR - From the system prompt, type
export GO111MODULE=auto && go1.16 env GO111MODULE auto
@ralvescosta please let us know if one of the above solves the issue for you.
Unfortunately, for backwards compatibility purposes, we still support a very old version of go and so are not quite able to move forward to current best practices as recommended by @joeshaw
from c-sdk.
I can't compile the daemon, I got the same error. I'm tried using go 1.16.7 and 1.17.1 and in both, I received the same error.
from c-sdk.
Related Issues (17)
- Distributed tracing support HOT 1
- Makefile problems HOT 3
- missing directories in .gitignore HOT 2
- v1.2.0 newrelic-daemon fails to run in foreground in Ubuntu xenial docker-container HOT 2
- How to free a distributed tracing payload?
- Overwriting error stacktrace HOT 3
- Windows support HOT 1
- [C] C SDK OpenTelemetry Shim - Traces
- Blocker: SDK infrequently fails to create transactions, no enough information to debug
- Multi-threading performance issue HOT 2
- Add CI to the pull request process HOT 1
- Whether windows c/c++ App adapt c-sdk
- bash: ./newrelic-daemon: No such file or directory
- Run daemon in its own docker container HOT 4
- Adaptive misspelled in vendor/newrelic/axiom/nr_app_harvest.c HOT 2
- libnewrelic.so is not linked against libpcre HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c-sdk.