Comments (5)
Just a theory, but maybe the final /v2 in an url that has no .mod file is not supported by Go 1.11.
I hoped that I can just ignore modules, but frankly, I am starting to hate them.
Anyway, if you know a solution that can keep me ignoring modules and at the same time suport people that want or need to use them, please advise, thank you.
from cc.
s/url/import path/ ofc.
from cc.
Just a theory, but maybe the final /v2 in an url that has no .mod file is not supported by Go 1.11.
This is indeed true as far as I'm aware.
Anyway, if you know a solution that can keep me ignoring modules and at the same time suport people that want or need to use them, please advise, thank you.
Unfortunately, I don't think this is tenable in the longer term. You can say use GO111MODULE=off
or only build in $GOPATH
, but these will eventually not work AFAIU.
I too am still coming to terms with these things.
from cc.
Anyway, if you know a solution that can keep me ignoring modules and at the same time suport people that want or need to use them, please advise, thank you.
I'm afraid I don't have a good idea. I was wondering why you don't want to put go.mod
.
from cc.
I'm not against a .mod file in the repository. I just want to keep working solely inside my dead simple GOPATH="$HOME" and ignore modules. I'm not against the feature, obviously there are entities needing it for legitimate reasons. But I don't get why it has to affect those who don't need it.
Can I do go mod init
in the root of this repository, git {add,commit,push} the go.mod
file, list it in my local .gitignore
, delete my local copy of go.mod
and be happy?
Would that provide you and others with module support and let me keep my current workflow and allow me to somehow ignore modules?
cc @kortschak, your insights are very welcome, thank you.
from cc.
Related Issues (20)
- Some Specifier attribute-reporting methods are unexported.
- Initializing extern variables should fail.
- feature request: Allow compatible typedef redeclarations
- Invalid BinOpType for func == func operation
- Enabling implicit function definition causes missed typecheck of call arguments.
- Wrong bitfield type
- incorrect VLA typechecking
- typechecking redefined typedef fails
- Comments with ` cause (probably) infinite loop HOT 4
- struct redefinitions with multiple declarators (allowCompatibleTypedefRedefinitions) HOT 10
- Resolve nil panic HOT 2
- Anonymous Union Support HOT 2
- TODO case '{' InitializerList CommaOpt '}' HOT 3
- Declarations of function pointers have their return type as their type specifier HOT 1
- x HOT 2
- AUTHORS/CONTRIBUTORS outdated
- Advice needed HOT 5
- v2/headers: netinet/tcp.h is missing HOT 1
- Short overview or mini tutorial? 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 cc.