You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\cmd\goworld\process\process_win.go:12:37: cannot use windows.Signal(sig) (type windows.Signal) as type syscall.Signal in argument to p.Process.SendSignal
C:\Users\86186>go get github.com/xiaonanln/goworld
go: finding golang.org/x/net latest
go: finding gopkg.in/mgo.v2 latest
go: finding github.com/StackExchange/wmi latest
go: finding github.com/kardianos/osext latest
#github.com/xiaonanln/goworld/engine/kvdb/backend/kvdbrediscluster
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\kvdb\backend\kvdbrediscluster\kvdb_redis_cluster.go:36:3: cannot use c (type redis.Cluster) as type *redis.Cluster in field value:
*redis.Cluster is pointer to interface, not interface
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\kvdb\backend\kvdbrediscluster\kvdb_redis_cluster.go:44:20: db.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\kvdb\backend\kvdbrediscluster\kvdb_redis_cluster.go:81:16: db.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\kvdb\backend\kvdbrediscluster\kvdb_redis_cluster.go:92:16: db.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\kvdb\backend\kvdbrediscluster\kvdb_redis_cluster.go:121:6: db.c.Close undefined (type *redis.Cluster is pointer to interface, not interface)
#github.com/xiaonanln/goworld/engine/storage/backend/redis_cluster
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:39:3: cannot use c (type redis.Cluster) as type *redis.Cluster in field value:
*redis.Cluster is pointer to interface, not interface
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:56:24: not enough arguments in call to redis.Values
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:56:29: es.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:77:24: not enough arguments in call to redis.Values
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:77:29: es.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:95:15: es.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:100:23: not enough arguments in call to redis.Bytes
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:100:28: es.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:113:27: not enough arguments in call to redis.Bool
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:113:32: es.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:113:27: too many errors
The text was updated successfully, but these errors were encountered:
Same question:
PS C:\Code\GoProject\src\goworld> go install github.com/xiaonanln/goworld/cmd/...
cmd\goworld\process\process_win.go:12:23: cannot use windows.Signal(sig) (value of type windows.Signal) as type syscall.Signal in argument to p.Process.SendSignal
I change the code then it can work well:
p.Process.SendSignal(sig)
The reason for this complilation error is that the library "github.com/chasex/redis-go-cluster" is deprecated. And "github.com/chasex/redis-go-cluster" has been replaced by "github.com/wuxibin89/redis-go-cluster". The old method is still used in source code. And it puzzled me.
C:\Users\86186>go get github.com/xiaonanln/goworld/cmd/...
go: finding golang.org/x/sys latest
go: finding golang.org/x/net latest
go: finding github.com/StackExchange/wmi latest
go: finding github.com/kardianos/osext latest
#github.com/xiaonanln/goworld/cmd/goworld/process
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\cmd\goworld\process\process_win.go:12:37: cannot use windows.Signal(sig) (type windows.Signal) as type syscall.Signal in argument to p.Process.SendSignal
C:\Users\86186>go get github.com/xiaonanln/goworld
go: finding golang.org/x/net latest
go: finding gopkg.in/mgo.v2 latest
go: finding github.com/StackExchange/wmi latest
go: finding github.com/kardianos/osext latest
#github.com/xiaonanln/goworld/engine/kvdb/backend/kvdbrediscluster
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\kvdb\backend\kvdbrediscluster\kvdb_redis_cluster.go:36:3: cannot use c (type redis.Cluster) as type *redis.Cluster in field value:
*redis.Cluster is pointer to interface, not interface
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\kvdb\backend\kvdbrediscluster\kvdb_redis_cluster.go:44:20: db.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\kvdb\backend\kvdbrediscluster\kvdb_redis_cluster.go:81:16: db.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\kvdb\backend\kvdbrediscluster\kvdb_redis_cluster.go:92:16: db.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\kvdb\backend\kvdbrediscluster\kvdb_redis_cluster.go:121:6: db.c.Close undefined (type *redis.Cluster is pointer to interface, not interface)
#github.com/xiaonanln/goworld/engine/storage/backend/redis_cluster
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:39:3: cannot use c (type redis.Cluster) as type *redis.Cluster in field value:
*redis.Cluster is pointer to interface, not interface
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:56:24: not enough arguments in call to redis.Values
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:56:29: es.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:77:24: not enough arguments in call to redis.Values
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:77:29: es.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:95:15: es.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:100:23: not enough arguments in call to redis.Bytes
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:100:28: es.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:113:27: not enough arguments in call to redis.Bool
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:113:32: es.c.Do undefined (type *redis.Cluster is pointer to interface, not interface)
go\pkg\mod\github.com\xiaonanln\goworld@v0.1.6\engine\storage\backend\redis_cluster\entity_storage_redis_cluster.go:113:27: too many errors
The text was updated successfully, but these errors were encountered: