fix golint issues in core/discov (#479)

This commit is contained in:
Kevin Wan
2021-02-18 22:56:35 +08:00
committed by GitHub
parent f6894448bd
commit 2446d8a668
4 changed files with 23 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ const (
const timeToLive int64 = 10
// TimeToLive is seconds to live in etcd.
var TimeToLive = timeToLive
func extract(etcdKey string, index int) (string, bool) {