-
Notifications
You must be signed in to change notification settings - Fork 601
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
assignment mismatch: 2 variables but uuid.NewV4 returns 1 values #106
Comments
import( |
同样遇到这个问题,是不是这个项目已经被弃坑了 |
不用管IDE的报错提示,直接返回一个值就可以了 |
I got the same issue after switch to GOMODULES. It was working in GOPATH mode. godoc also says |
Under GOMODULES mode, it uses the tag 1.2.0 instead of master which is the latest version. Just do this: That will add this to go.mod file:
|
liguozhong
added a commit
to liguozhong/nacos-sdk-go
that referenced
this issue
May 7, 2020
Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use go mod
go mod init
root@efd4d3d775f2:/home/workspace/src/test# cat go.mod
module test
go 1.13
require (
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/gin-gonic/gin v1.5.0
github.com/go-sql-driver/mysql v1.5.0
github.com/go-xorm/xorm v0.7.9
github.com/golang/protobuf v1.3.4
github.com/gomodule/redigo v2.0.0+incompatible
github.com/micro/cli v0.2.0
github.com/micro/go-micro v1.18.0
github.com/micro/go-plugins/registry/consul v0.0.0-20200119172437-4fe21aa238fd
github.com/pkg/errors v0.9.1
github.com/satori/go.uuid v1.2.0
)
The text was updated successfully, but these errors were encountered: