mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-11 00:40:00 +08:00
fix golint issues in core/stores (#527)
This commit is contained in:
1
core/stores/cache/util.go
vendored
1
core/stores/cache/util.go
vendored
@@ -4,6 +4,7 @@ import "strings"
|
||||
|
||||
const keySeparator = ","
|
||||
|
||||
// TotalWeights returns the total weights of given nodes.
|
||||
func TotalWeights(c []NodeConf) int {
|
||||
var weights int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user