-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.Feedback is required from experts, contributors, and/or the community before a change can be made.modules
Milestone
Description
What version of Go are you using (go version
)?
go version go1.11beta2 darwin/amd64
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env
)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/home/go"
GOPROXY=""
GORACE=""
GOROOT="/home/sdk/go1.11beta2"
GOTMPDIR=""
GOTOOLDIR="/home/sdk/go1.11beta2/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/cv/94d8q7ws3wz1yfhgb570qnl00000gn/T/go-build042987197=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
I'm outside of the GOPATH.
cd /www/application
go mod -init -module application
What did you expect to see?
go.mod
created with
module application
require (
golang.org/x/net v0.0.0-20171004034648-a04bdaca5b32
)
What did you see instead?
go1.11beta2 mod -init -module application
go mod: invalid -module: malformed module path "application": missing dot in first path element
We should be allowed to set a module name as "application" or whatever string, and not being restricted to "github.com/radutopala/application" or "domain.ext/package".
urandom, mpx and brhx
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.Feedback is required from experts, contributors, and/or the community before a change can be made.modules