mwitkow / go-proto-validators

Generate message validators from .proto annotations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go get report error, thanks for help

njnuwjq opened this issue · comments

commented

admindeMacBook-Pro-7:go admin$ pwd
/Users/admin/go
admindeMacBook-Pro-7:go admin$ go get github.com/mwitkow/go-proto-validators/protoc-gen-govalidators
go: found github.com/mwitkow/go-proto-validators/protoc-gen-govalidators in github.com/mwitkow/go-proto-validators v0.3.2

internal/race

compile: version "go1.13.7" does not match go tool version "go1.15.5"

encoding

compile: version "go1.13.7" does not match go tool version "go1.15.5"

unicode

compile: version "go1.13.7" does not match go tool version "go1.15.5"

runtime/internal/sys

compile: version "go1.13.7" does not match go tool version "go1.15.5"

unicode/utf8

compile: version "go1.13.7" does not match go tool version "go1.15.5"

internal/cpu

flag provided but not defined: -p
usage: asm [options] file.s ...
Flags:
-D value
predefined symbol with optional simple value -D=identifier=value; can be set multiple times
-I value
include directory; can be set multiple times
-S print assembly and machine code
-V print version and exit
-debug
dump instructions as they are parsed
-dynlink
support references to Go symbols defined in other shared libraries
-e no limit on number of errors reported
-gensymabis
write symbol ABI information to output file, don't assemble
-o string
output file; default foo.o for /a/b/c/foo.s as first argument
-shared
generate code that can be linked into a shared library
-trimpath string
remove prefix from recorded source file paths

runtime/internal/atomic

flag provided but not defined: -p
usage: asm [options] file.s ...
Flags:
-D value
predefined symbol with optional simple value -D=identifier=value; can be set multiple times
-I value
include directory; can be set multiple times
-S print assembly and machine code
-V print version and exit
-debug
dump instructions as they are parsed
-dynlink
support references to Go symbols defined in other shared libraries
-e no limit on number of errors reported
-gensymabis
write symbol ABI information to output file, don't assemble
-o string
output file; default foo.o for /a/b/c/foo.s as first argument
-shared
generate code that can be linked into a shared library
-trimpath string
remove prefix from recorded source file paths

sync/atomic

flag provided but not defined: -p
usage: asm [options] file.s ...
Flags:
-D value
predefined symbol with optional simple value -D=identifier=value; can be set multiple times
-I value
include directory; can be set multiple times
-S print assembly and machine code
-V print version and exit
-debug
dump instructions as they are parsed
-dynlink
support references to Go symbols defined in other shared libraries
-e no limit on number of errors reported
-gensymabis
write symbol ABI information to output file, don't assemble
-o string
output file; default foo.o for /a/b/c/foo.s as first argument
-shared
generate code that can be linked into a shared library
-trimpath string
remove prefix from recorded source file paths

math/bits

compile: version "go1.13.7" does not match go tool version "go1.15.5"

unicode/utf16

compile: version "go1.13.7" does not match go tool version "go1.15.5"

internal/goversion

compile: version "go1.13.7" does not match go tool version "go1.15.5"
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN="/Users/admin/go/bin"
GOCACHE="/Users/admin/Library/Caches/go-build"
GOENV="/Users/admin/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/admin/go/pkg/mod"
GONOPROXY="git.aimap.io"
GONOSUMDB="git.aimap.io"
GOOS="darwin"
GOPATH="/Users/admin/go"
GOPRIVATE="git.aimap.io"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
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/ps/yv1xw9c11_zb91ffdbw4y1bh0000gn/T/go-build868479577=/tmp/go-build -gno-record-gcc-switches -fno-common"
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$
admindeMacBook-Pro-7:go admin$ go version
go version go1.15.5 darwin/amd64