add: etcd GetServiceList #9
Annotations
10 errors
lint:
pkg/tls/tls_test.go#L50
Error return value of `pem.Encode` is not checked (errcheck)
|
lint:
pkg/tls/tls_test.go#L60
Error return value of `pem.Encode` is not checked (errcheck)
|
lint:
pkg/tls/tls_test.go#L93
Error return value of `pem.Encode` is not checked (errcheck)
|
lint:
pkg/tls/tls_test.go#L125
Error return value of `os.MkdirAll` is not checked (errcheck)
|
lint:
pkg/ginx/core.go#L260
Error return value is not checked (errcheck)
|
lint:
pkg/ginx/core.go#L89
S1023: redundant `return` statement (gosimple)
|
lint:
pkg/ginx/core.go#L108
S1023: redundant `return` statement (gosimple)
|
lint:
pkg/ginx/core.go#L123
S1023: redundant `return` statement (gosimple)
|
lint:
pkg/tls/tls.go#L28
S1002: should omit comparison to bool constant, can be simplified to `t.Insecure` (gosimple)
|
lint:
transport/http/server.go#L123
S1008: should use 'return er == nil' instead of 'if er != nil { return false }; return true' (gosimple)
|