Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go mod vendor does not copy *.proto files to vendor directory #39083

Closed
byungjoon72 opened this issue May 14, 2020 · 2 comments
Closed

go mod vendor does not copy *.proto files to vendor directory #39083

byungjoon72 opened this issue May 14, 2020 · 2 comments

Comments

@byungjoon72
Copy link

What version of Go are you using (go version)?

1.12

Does this issue reproduce with the latest release?

NA

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/bjlee72/Library/Caches/go-build"
GOEXE=""
GOFLAGS=" -mod="
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/bjlee72/go:/Users/bjlee72/marvel2/go:/Users/bjlee72/marvel2/go/vendor"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/bjlee72/go/src/github.com/moloco/morse/go.mod"
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/q_/43p5tl0x18dcd7gjlx8s75km0000gn/T/go-build970157154=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you expect to see?

I wanted to see proto files copied under the vendor directory because I have to import the files in my *.profo files.

What did you see instead?

No directory that have the proto files are copied.

@bcmills
Copy link
Contributor

bcmills commented May 15, 2020

See #26366 (comment).

@bcmills
Copy link
Contributor

bcmills commented May 15, 2020

Duplicate of #26366

@bcmills bcmills marked this as a duplicate of #26366 May 15, 2020
@bcmills bcmills closed this as completed May 15, 2020
@golang golang locked and limited conversation to collaborators May 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants