mailru / easyjson

Fast JSON serializer for golang.
MIT License
4.45k stars 421 forks source link

create without in GOPATH #241

Closed lucasjinreal closed 5 years ago

lucasjinreal commented 5 years ago
Error parsing common.go: file '/Volumes/xs/awesome/uranus/chat/picbed/common.go' is not in GOPATH

How do I create without in GOPATH?

shmel1k commented 5 years ago

unfortunately, you can not create without gopath :( some kind of specific

sinys15 commented 5 years ago

Why are you hardcoded "src" folder ? func getPkgPathFromGOPATH( ... prefix := filepath.Join(p, "src") + string(filepath.Separator) ... Why I can't set direct path to a file?

shmel1k commented 5 years ago

because of GOPATH structure src/some_package