fix golint issues, package comments (#454)

master
Kevin Wan 4 years ago committed by GitHub
parent 1789b12db2
commit 06f6dc9937
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,5 @@
//go:generate mockgen -package internal -destination etcdclient_mock.go -source etcdclient.go EtcdClient //go:generate mockgen -package internal -destination etcdclient_mock.go -source etcdclient.go EtcdClient
package internal package internal
import ( import (

@ -1,4 +1,5 @@
//go:generate mockgen -package internal -destination updatelistener_mock.go -source updatelistener.go UpdateListener //go:generate mockgen -package internal -destination updatelistener_mock.go -source updatelistener.go UpdateListener
package internal package internal
type ( type (

@ -1,4 +1,5 @@
//go:generate mockgen -package internal -destination collection_mock.go -source collection.go //go:generate mockgen -package internal -destination collection_mock.go -source collection.go
package internal package internal
import "github.com/globalsign/mgo" import "github.com/globalsign/mgo"

@ -1,4 +1,5 @@
//go:generate mockgen -package mongo -destination iter_mock.go -source iter.go Iter //go:generate mockgen -package mongo -destination iter_mock.go -source iter.go Iter
package mongo package mongo
import ( import (

@ -1,4 +1,5 @@
// copy from core/stores/sqlx/orm.go // copy from core/stores/sqlx/orm.go
package mocksql package mocksql
import ( import (

@ -1,4 +1,5 @@
// copy from core/stores/sqlx/sqlconn.go // copy from core/stores/sqlx/sqlconn.go
package mocksql package mocksql
import ( import (

@ -1,4 +1,5 @@
// copy from core/stores/sqlx/utils.go // copy from core/stores/sqlx/utils.go
package mocksql package mocksql
import ( import (

Loading…
Cancel
Save