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 get (go mod) 获取到的是 旧版本 #52

Closed
vmvz opened this issue Apr 19, 2020 · 7 comments
Closed

go get (go mod) 获取到的是 旧版本 #52

vmvz opened this issue Apr 19, 2020 · 7 comments

Comments

@vmvz
Copy link

vmvz commented Apr 19, 2020

请问这个问题如何解决?谢谢
image

@seefan
Copy link
Owner

seefan commented Apr 28, 2020

是的,你可以通过go get获取最新的版本

@vmvz vmvz closed this as completed May 6, 2020
@zut
Copy link
Contributor

zut commented May 14, 2020

@seefan 希望能发布版本,这样方便大家mod调用呀.

@vmvz
Copy link
Author

vmvz commented May 21, 2020

希望能发布到 releases中, 方便大家更新调用, 谢谢

@vmvz vmvz reopened this May 21, 2020
@seefan
Copy link
Owner

seefan commented May 21, 2020

还在测试中,通过后会发布的

@yxlwfds
Copy link

yxlwfds commented Aug 20, 2020

test中 go mod方式是错的:

command-line-arguments

./main.go:19:3: unknown field 'PoolSize' in struct literal of type conf.Config
./main.go:22:3: unknown field 'AutoClose' in struct literal of type conf.Config
./main.go:45:12: p.GetClient undefined (type *gossdb.Connectors has no field or method GetClient)
./main.go:47:19: p.GetClient undefined (type *gossdb.Connectors has no field or method GetClient)
./main.go:64:9: undefined: gossdb.Start
./main.go:71:8: undefined: gossdb.Shutdown
./main.go:72:12: undefined: gossdb.NewClient
./main.go:88:12: undefined: gossdb.Start
./main.go:92:8: undefined: gossdb.Shutdown
./main.go:95:28: missing argument to conversion to gossdb.Client: gossdb.Client()
./main.go:95:28: too many errors

@yxlwfds
Copy link

yxlwfds commented Aug 20, 2020

go1.15 go get 也报错

go get -u github.com/seefan/gossdb

go: github.com/seefan/goerr upgrade => v1.1.2
go: github.com/seefan/gopool upgrade => v1.0.1
go: downloading github.com/seefan/goerr v1.1.2
go: downloading github.com/seefan/gopool v1.0.1

github.com/seefan/gossdb

/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/client.go:76:10: undefined: goerr.New
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/client.go:83:10: undefined: goerr.New
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/client.go:85:10: undefined: goerr.New
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/connectors.go:61:10: undefined: goerr.New
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/connectors.go:89:15: undefined: goerr.New
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/connectors.go:99:15: undefined: goerr.New
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/hset.go:14:10: undefined: goerr.NewError
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/hset.go:32:14: undefined: goerr.NewError
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/hset.go:48:10: undefined: goerr.NewError
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/hset.go:65:17: undefined: goerr.NewError
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/hset.go:65:17: too many errors
[root@izrj9ae0538vfzkozm32m9z ssdbmain]# go run main.go

github.com/seefan/gossdb

/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/client.go:76:10: undefined: goerr.New
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/client.go:83:10: undefined: goerr.New
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/client.go:85:10: undefined: goerr.New
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/connectors.go:61:10: undefined: goerr.New
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/connectors.go:89:15: undefined: goerr.New
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/connectors.go:99:15: undefined: goerr.New
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/hset.go:14:10: undefined: goerr.NewError
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/hset.go:32:14: undefined: goerr.NewError
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/hset.go:48:10: undefined: goerr.NewError
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/hset.go:65:17: undefined: goerr.NewError
/root/go/pkg/mod/github.com/seefan/gossdb@v1.1.2/hset.go:65:17: too many errors
[root@izrj9ae0538vfzkozm32m9z ssdbmain]#

@seefan
Copy link
Owner

seefan commented Nov 17, 2020

发布2.0

@seefan seefan closed this as completed Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants