Preparing report...

Report for github.com/apache/servicecomb-service-center

A+    Excellent!    Found 496 issues across 748 files

Tweet

gofmt99%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo95%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • servicecomb-service-center/datasource/etcd/ms.go
    • Line 2155: warning: cyclomatic complexity 20 of function (*DataSource).modifySchemas() is high (> 15) (gocyclo)
    • Line 2275: warning: cyclomatic complexity 17 of function (*DataSource).modifySchema() is high (> 15) (gocyclo)
    • Line 2369: warning: cyclomatic complexity 16 of function (*DataSource).DeleteServicePri() is high (> 15) (gocyclo)
    • servicecomb-service-center/server/broker/service.go
    • Line 415: warning: cyclomatic complexity 29 of function (*Service).RetrieveVerificationResults() is high (> 15) (gocyclo)
    • Line 738: warning: cyclomatic complexity 27 of function (*Service).PublishPact() is high (> 15) (gocyclo)
    • Line 590: warning: cyclomatic complexity 26 of function (*Service).PublishVerificationResults() is high (> 15) (gocyclo)
    • Line 262: warning: cyclomatic complexity 25 of function (*Service).GetAllProviderPacts() is high (> 15) (gocyclo)
    • Line 110: warning: cyclomatic complexity 25 of function (*Service).RetrieveProviderPacts() is high (> 15) (gocyclo)
    • servicecomb-service-center/datasource/mongo/ms.go
    • Line 896: warning: cyclomatic complexity 19 of function (*DataSource).modifySchemas() is high (> 15) (gocyclo)
    • Line 1336: warning: cyclomatic complexity 18 of function getServiceDetailUtil() is high (> 15) (gocyclo)
    • Line 1032: warning: cyclomatic complexity 17 of function (*DataSource).modifySchema() is high (> 15) (gocyclo)

golint38%

Golint is a linter for Go source code.

    • servicecomb-service-center/datasource/mongo/fast_register_inst_service.go
    • Line 22: warning: exported type RegisterFastInstanceService should have comment or be unexported (golint)
    • Line 27: warning: exported function NewFastRegisterInstanceService should have comment or be unexported (golint)
    • Line 35: warning: exported function GetFastRegisterInstanceService should have comment or be unexported (golint)
    • Line 39: warning: exported function SetFastRegisterInstanceService should have comment or be unexported (golint)
    • Line 43: warning: exported method RegisterFastInstanceService.AddEvent should have comment or be unexported (golint)
    • Line 47: warning: exported method RegisterFastInstanceService.AddFailedEvent should have comment or be unexported (golint)
    • Line 51: warning: exported method RegisterFastInstanceService.AddFailedEvents should have comment or be unexported (golint)
    • servicecomb-service-center/server/service/gov/config_distributor.go
    • Line 26: warning: exported const ConfigDistributorKie should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported type NewDistributors should have comment or be unexported (golint)
    • Line 78: warning: exported function Create should have comment or be unexported (golint)
    • Line 85: warning: exported function List should have comment or be unexported (golint)
    • Line 92: warning: exported function Display should have comment or be unexported (golint)
    • Line 99: warning: exported function Get should have comment or be unexported (golint)
    • Line 106: warning: exported function Delete should have comment or be unexported (golint)
    • Line 113: warning: exported function Update should have comment or be unexported (golint)
    • servicecomb-service-center/server/event/instance_event.go
    • Line 26: warning: exported const QueueSize should have comment or be unexported (golint)
    • Line 28: warning: exported var INSTANCE should have comment or be unexported (golint)
    • Line 30: warning: comment on exported type InstanceEvent should be of the form "InstanceEvent ..." (with optional leading article) (golint)
    • Line 37: warning: exported function NewInstanceEvent should have comment or be unexported (golint)
    • Line 45: warning: exported function NewInstanceEventWithTime should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/event/instance_event_handler.go
    • Line 55: warning: exported method InstanceEventHandler.Type should have comment or be unexported (golint)
    • Line 59: warning: exported method InstanceEventHandler.OnEvent should have comment or be unexported (golint)
    • Line 131: warning: exported function NewInstanceEventHandler should have comment or be unexported (golint)
    • Line 135: warning: exported function PublishInstanceEvent should have comment or be unexported (golint)
    • Line 157: warning: exported function NotifySyncerInstanceEvent should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/event/subscriber_group.go
    • Line 24: warning: exported type Group should have comment or be unexported (golint)
    • Line 29: warning: exported method Group.Name should have comment or be unexported (golint)
    • Line 33: warning: exported method Group.Member should have comment or be unexported (golint)
    • Line 41: warning: exported method Group.ForEach should have comment or be unexported (golint)
    • Line 48: warning: exported method Group.AddMember should have comment or be unexported (golint)
    • Line 52: warning: exported method Group.RemoveMember should have comment or be unexported (golint)
    • Line 56: warning: exported method Group.Size should have comment or be unexported (golint)
    • Line 60: warning: exported function NewGroup should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/util/concurrent_map_go19.go
    • Line 22: warning: exported type MapItem should have comment or be unexported (golint)
    • Line 27: warning: exported type ConcurrentMap should have comment or be unexported (golint)
    • Line 32: warning: exported method ConcurrentMap.Put should have comment or be unexported (golint)
    • Line 38: warning: exported method ConcurrentMap.PutIfAbsent should have comment or be unexported (golint)
    • Line 45: warning: exported method ConcurrentMap.Fetch should have comment or be unexported (golint)
    • Line 66: warning: exported method ConcurrentMap.Get should have comment or be unexported (golint)
    • Line 70: warning: exported method ConcurrentMap.Remove should have comment or be unexported (golint)
    • Line 76: warning: exported method ConcurrentMap.Clear should have comment or be unexported (golint)
    • Line 82: warning: exported method ConcurrentMap.Size should have comment or be unexported (golint)
    • Line 90: warning: exported method ConcurrentMap.ForEach should have comment or be unexported (golint)
    • Line 96: warning: exported function NewConcurrentMap should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/queue/uniqueue.go
    • Line 27: warning: exported type UniQueue should have comment or be unexported (golint)
    • Line 31: warning: exported method UniQueue.Get should have comment or be unexported (golint)
    • Line 40: warning: exported method UniQueue.Chan should have comment or be unexported (golint)
    • Line 44: warning: exported method UniQueue.Put should have comment or be unexported (golint)
    • Line 68: warning: exported method UniQueue.Close should have comment or be unexported (golint)
    • Line 79: warning: exported function NewUniQueue should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/metrics/manager.go
    • Line 25: warning: exported const FamilyName should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported function Init should have comment or be unexported (golint)
    • Line 49: warning: exported function GetOptions should have comment or be unexported (golint)
    • Line 53: warning: exported function InstanceName should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/tlsutil/tlsutil.go
    • Line 29: warning: exported function ParseSSLCipherSuites should have comment or be unexported (golint)
    • Line 53: warning: exported function ParseDefaultSSLCipherSuites should have comment or be unexported (golint)
    • Line 57: warning: exported function ParseSSLProtocol should have comment or be unexported (golint)
    • Line 68: warning: exported function GetX509CACertPool should have comment or be unexported (golint)
    • Line 80: warning: comment on exported function GetClientTLSConfig should be of the form "GetClientTLSConfig ..." (golint)
    • Line 115: warning: exported function GetServerTLSConfig should have comment or be unexported (golint)
    • servicecomb-service-center/server/plugin/quota/quota.go
    • Line 35: warning: exported const QUOTA should have comment or be unexported (golint)
    • Line 46: warning: exported const TypeRule should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: exported var DefaultServiceQuota should have comment or be unexported (golint)
    • Line 61: warning: exported function Init should have comment or be unexported (golint)
    • Line 69: warning: exported type ApplyQuotaResource should have comment or be unexported (golint)
    • Line 76: warning: exported function NewApplyQuotaResource should have comment or be unexported (golint)
    • Line 85: warning: exported type Manager should have comment or be unexported (golint)
    • Line 90: warning: exported type ResourceType should have comment or be unexported (golint)
    • Line 109: warning: comment on exported function Apply should be of the form "Apply ..." (golint)
    • Line 132: warning: exported function Remand should have comment or be unexported (golint)
    • Line 135: warning: exported function GetResourceUsage should have comment or be unexported (golint)
    • servicecomb-service-center/server/event/instance_subscriber.go
    • Line 30: warning: exported type InstanceSubscriber should have comment or be unexported (golint)
    • Line 35: warning: exported method InstanceSubscriber.SetError should have comment or be unexported (golint)
    • Line 44: warning: exported method InstanceSubscriber.OnAccept should have comment or be unexported (golint)
    • Line 51: warning: comment on exported method InstanceSubscriber.OnMessage should be of the form "OnMessage ..." (golint)
    • Line 93: warning: exported method InstanceSubscriber.Close should have comment or be unexported (golint)
    • Line 98: warning: exported function NewInstanceSubscriber should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/util/versionrule.go
    • Line 29: warning: exported type VersionRule should have comment or be unexported (golint)
    • Line 31: warning: exported method VersionRule.Match should have comment or be unexported (golint)
    • Line 74: warning: exported function Larger should have comment or be unexported (golint)
    • Line 80: warning: exported function LessEqual should have comment or be unexported (golint)
    • Line 84: warning: exported function Latest should have comment or be unexported (golint)
    • Line 91: warning: exported function Range should have comment or be unexported (golint)
    • Line 124: warning: exported function AtLess should have comment or be unexported (golint)
    • Line 140: warning: exported function ParseVersionRule should have comment or be unexported (golint)
    • Line 170: warning: exported function VersionMatchRule should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/engine.go
    • Line 39: warning: exported method DataSource.SelfRegister should have comment or be unexported (golint)
    • Line 149: warning: exported method DataSource.SelfUnregister should have comment or be unexported (golint)
    • Line 170: warning: comment on exported method DataSource.ClearNoInstanceServices should be of the form "ClearNoInstanceServices ..." (golint)
    • Line 262: warning: exported method DataSource.GetClusters should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/tlsutil/config.go
    • Line 22: warning: exported type SSLConfig should have comment or be unexported (golint)
    • Line 34: warning: exported type SSLConfigOption should have comment or be unexported (golint)
    • Line 36: warning: exported function WithVerifyPeer should have comment or be unexported (golint)
    • Line 37: warning: exported function WithVerifyHostName should have comment or be unexported (golint)
    • Line 38: warning: exported function WithCipherSuits should have comment or be unexported (golint)
    • Line 39: warning: exported function WithVersion should have comment or be unexported (golint)
    • Line 42: warning: exported function WithCert should have comment or be unexported (golint)
    • Line 43: warning: exported function WithKey should have comment or be unexported (golint)
    • Line 44: warning: exported function WithKeyPass should have comment or be unexported (golint)
    • Line 45: warning: exported function WithCA should have comment or be unexported (golint)
    • Line 54: warning: exported function DefaultClientTLSOptions should have comment or be unexported (golint)
    • Line 62: warning: exported function DefaultServerTLSOptions should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/sdcommon/eventbus.go
    • Line 28: warning: exported type EventBus should have comment or be unexported (golint)
    • Line 37: warning: exported method EventBus.ResourceEventBus should have comment or be unexported (golint)
    • Line 65: warning: exported method EventBus.Stop should have comment or be unexported (golint)
    • Line 77: warning: exported function NewEventBus should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/ms_util.go
    • Line 26: warning: exported type GetInstanceCountByDomainResponse should have comment or be unexported (golint)
    • Line 31: warning: exported function SetServiceDefaultValue should have comment or be unexported (golint)
    • Line 96: warning: exported function TransServiceToKey should have comment or be unexported (golint)
    • servicecomb-service-center/server/broker/controller.go
    • Line 33: warning: exported const DefaultScheme should have comment or be unexported (golint)
    • Line 35: warning: exported type Controller should have comment or be unexported (golint)
    • Line 38: warning: exported method Controller.URLPatterns should have comment or be unexported (golint)
    • Line 65: warning: exported method Controller.GetHome should have comment or be unexported (golint)
    • Line 74: warning: exported method Controller.PublishPact should have comment or be unexported (golint)
    • Line 99: warning: exported method Controller.GetAllProviderPacts should have comment or be unexported (golint)
    • Line 123: warning: exported method Controller.GetPactsOfProvider should have comment or be unexported (golint)
    • Line 139: warning: exported method Controller.DeletePacts should have comment or be unexported (golint)
    • Line 147: warning: exported method Controller.PublishVerificationResults should have comment or be unexported (golint)
    • Line 184: warning: exported method Controller.RetrieveVerificationResults should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/kv/instance_event_handler.go
    • Line 38: warning: exported type InstanceEventDeferHandler should have comment or be unexported (golint)
    • Line 50: warning: exported method InstanceEventDeferHandler.OnCondition should have comment or be unexported (golint)
    • Line 104: warning: exported method InstanceEventDeferHandler.HandleChan should have comment or be unexported (golint)
    • Line 162: warning: exported method InstanceEventDeferHandler.ReplayEvents should have comment or be unexported (golint)
    • Line 184: warning: exported method InstanceEventDeferHandler.Reset should have comment or be unexported (golint)
    • Line 193: warning: exported function NewInstanceEventDeferHandler should have comment or be unexported (golint)
    • servicecomb-service-center/server/alarm/service.go
    • Line 33: warning: exported type Service should have comment or be unexported (golint)
    • Line 38: warning: exported method Service.Raise should have comment or be unexported (golint)
    • Line 51: warning: exported method Service.Clear should have comment or be unexported (golint)
    • Line 60: warning: exported method Service.ListAll should have comment or be unexported (golint)
    • Line 68: warning: exported method Service.ClearAll should have comment or be unexported (golint)
    • Line 72: warning: exported method Service.OnMessage should have comment or be unexported (golint)
    • Line 88: warning: exported function NewAlarmService should have comment or be unexported (golint)
    • servicecomb-service-center/server/handler/auth/auth.go
    • Line 33: warning: exported const CtxResourceLabels should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported type Handler should have comment or be unexported (golint)
    • Line 41: warning: exported method Handler.Handle should have comment or be unexported (golint)
    • Line 77: warning: exported function RegisterHandlers should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/client/options.go
    • Line 25: warning: exported type PluginOp should have comment or be unexported (golint)
    • Line 50: warning: exported method PluginOp.FormatURLParams should have comment or be unexported (golint)
    • Line 102: warning: exported method PluginOp.NoCache should have comment or be unexported (golint)
    • Line 108: warning: exported method PluginOp.CacheOnly should have comment or be unexported (golint)
    • Line 112: warning: exported type Operation should have comment or be unexported (golint)
    • Line 114: warning: exported type PluginOpOption should have comment or be unexported (golint)
    • Line 115: warning: exported type WatchCallback should have comment or be unexported (golint)
    • Line 117: warning: exported var GET should have comment or be unexported (golint)
    • Line 118: warning: exported var PUT should have comment or be unexported (golint)
    • Line 119: warning: exported var DEL should have comment or be unexported (golint)
    • Line 121: warning: exported function WithKey should have comment or be unexported (golint)
    • Line 122: warning: exported function WithEndKey should have comment or be unexported (golint)
    • Line 123: warning: exported function WithValue should have comment or be unexported (golint)
    • Line 124: warning: exported function WithPrefix should have comment or be unexported (golint)
    • Line 125: warning: exported function WithPrevKv should have comment or be unexported (golint)
    • Line 126: warning: exported function WithLease should have comment or be unexported (golint)
    • Line 127: warning: exported function WithKeyOnly should have comment or be unexported (golint)
    • Line 128: warning: exported function WithCountOnly should have comment or be unexported (golint)
    • Line 129: warning: exported function WithGlobal should have comment or be unexported (golint)
    • Line 130: warning: exported function WithOrderByCreate should have comment or be unexported (golint)
    • Line 131: warning: exported function WithNoneOrder should have comment or be unexported (golint)
    • Line 132: warning: exported function WithAscendOrder should have comment or be unexported (golint)
    • Line 133: warning: exported function WithDescendOrder should have comment or be unexported (golint)
    • Line 134: warning: exported function WithRev should have comment or be unexported (golint)
    • Line 135: warning: exported function WithIgnoreLease should have comment or be unexported (golint)
    • Line 136: warning: exported function WithCacheOnly should have comment or be unexported (golint)
    • Line 137: warning: exported function WithNoCache should have comment or be unexported (golint)
    • Line 138: warning: exported function WithWatchCallback should have comment or be unexported (golint)
    • Line 141: warning: exported function WithStrKey should have comment or be unexported (golint)
    • Line 142: warning: exported function WithStrEndKey should have comment or be unexported (golint)
    • Line 143: warning: exported function WithStrValue should have comment or be unexported (golint)
    • Line 144: warning: exported function WithOffset should have comment or be unexported (golint)
    • Line 145: warning: exported function WithLimit should have comment or be unexported (golint)
    • Line 146: warning: exported function WatchPrefixOpOptions should have comment or be unexported (golint)
    • Line 150: warning: exported function OpGet should have comment or be unexported (golint)
    • Line 155: warning: exported function OpPut should have comment or be unexported (golint)
    • Line 160: warning: exported function OpDel should have comment or be unexported (golint)
    • Line 165: warning: exported function OptionsToOp should have comment or be unexported (golint)
    • Line 176: warning: exported type CompareOp should have comment or be unexported (golint)
    • Line 190: warning: exported type CompareOperation should have comment or be unexported (golint)
    • Line 192: warning: exported function CmpVer should have comment or be unexported (golint)
    • Line 195: warning: exported function CmpCreateRev should have comment or be unexported (golint)
    • Line 198: warning: exported function CmpModRev should have comment or be unexported (golint)
    • Line 201: warning: exported function CmpVal should have comment or be unexported (golint)
    • Line 204: warning: exported function CmpStrVer should have comment or be unexported (golint)
    • Line 205: warning: exported function CmpStrCreateRev should have comment or be unexported (golint)
    • Line 206: warning: exported function CmpStrModRev should have comment or be unexported (golint)
    • Line 207: warning: exported function CmpStrVal should have comment or be unexported (golint)
    • Line 208: warning: exported function OpCmp should have comment or be unexported (golint)
    • servicecomb-service-center/server/config/server.go
    • Line 26: warning: exported type ServerConfig should have comment or be unexported (golint)
    • Line 31: warning: exported type ServerConfigDetail should have comment or be unexported (golint)
    • Line 85: warning: exported method ServerConfig.IsDev should have comment or be unexported (golint)
    • Line 89: warning: exported function NewServerConfig should have comment or be unexported (golint)
    • servicecomb-service-center/server/plugin/auth/buildin/buildin.go
    • Line 44: warning: exported function New should have comment or be unexported (golint)
    • Line 48: warning: exported type TokenAuthenticator should have comment or be unexported (golint)
    • Line 51: warning: exported method TokenAuthenticator.Identify should have comment or be unexported (golint)
    • Line 125: warning: exported method TokenAuthenticator.VerifyToken should have comment or be unexported (golint)
    • Line 161: warning: exported method TokenAuthenticator.ResourceScopes should have comment or be unexported (golint)
    • Line 167: warning: exported function AccountFromContext should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/util/dependency_util.go
    • Line 35: warning: exported function GetConsumerIds should have comment or be unexported (golint)
    • Line 46: warning: exported function GetProviderIds should have comment or be unexported (golint)
    • Line 81: warning: exported function GetConsumerIdsWithFilter should have comment or be unexported (golint)
    • Line 89: warning: exported function GetAllProviderIds should have comment or be unexported (golint)
    • Line 127: warning: exported function DependencyRuleExist should have comment or be unexported (golint)
    • Line 143: warning: exported function DependencyRuleExistUtil should have comment or be unexported (golint)
    • Line 161: warning: exported function AddServiceVersionRule should have comment or be unexported (golint)
    • Line 196: warning: exported function TransferToMicroServiceDependency should have comment or be unexported (golint)
    • Line 213: warning: exported function EqualServiceDependency should have comment or be unexported (golint)
    • Line 219: warning: exported function DiffServiceVersion should have comment or be unexported (golint)
    • Line 328: warning: exported function AddDependencyRule should have comment or be unexported (golint)
    • Line 332: warning: exported function CreateDependencyRule should have comment or be unexported (golint)
    • Line 336: warning: exported function IsNeedUpdate should have comment or be unexported (golint)
    • Line 345: warning: exported function ContainServiceDependency should have comment or be unexported (golint)
    • Line 358: warning: exported function BadParamsResponse should have comment or be unexported (golint)
    • Line 368: warning: exported function ParamsChecker should have comment or be unexported (golint)
    • Line 394: warning: exported function DeleteDependencyForDeleteService should have comment or be unexported (golint)
    • Line 458: warning: exported function RemoveProviderRuleKeys should have comment or be unexported (golint)
    • Line 491: warning: exported function CleanUpDependencyRules should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/sd/aggregate/cache.go
    • Line 27: warning: exported method Cache.Name should have comment or be unexported (golint)
    • Line 34: warning: exported method Cache.Size should have comment or be unexported (golint)
    • Line 40: warning: exported method Cache.Get should have comment or be unexported (golint)
    • Line 48: warning: exported method Cache.GetAll should have comment or be unexported (golint)
    • Line 59: warning: exported method Cache.GetPrefix should have comment or be unexported (golint)
    • Line 87: warning: exported method Cache.ForEach should have comment or be unexported (golint)
    • servicecomb-service-center/scctl/pkg/plugin/get/instance/printer.go
    • Line 34: warning: exported type InstanceRecord should have comment or be unexported (golint)
    • Line 38: warning: exported method InstanceRecord.FrameworksString should have comment or be unexported (golint)
    • Line 45: warning: exported method InstanceRecord.EndpointsString should have comment or be unexported (golint)
    • Line 49: warning: exported method InstanceRecord.LeaseString should have comment or be unexported (golint)
    • Line 59: warning: exported method InstanceRecord.AgeString should have comment or be unexported (golint)
    • Line 63: warning: exported method InstanceRecord.Domain should have comment or be unexported (golint)
    • Line 68: warning: exported method InstanceRecord.PrintBody should have comment or be unexported (golint)
    • Line 82: warning: exported type InstancePrinter should have comment or be unexported (golint)
    • Line 87: warning: exported method InstancePrinter.SetOutputFormat should have comment or be unexported (golint)
    • Line 91: warning: exported method InstancePrinter.Flags should have comment or be unexported (golint)
    • Line 98: warning: exported method InstancePrinter.PrintBody should have comment or be unexported (golint)
    • Line 105: warning: exported method InstancePrinter.PrintTitle should have comment or be unexported (golint)
    • Line 116: warning: exported method InstancePrinter.Sorter should have comment or be unexported (golint)
    • servicecomb-service-center/server/service/watch.go
    • Line 36: warning: exported method InstanceService.WatchPreOpera should have comment or be unexported (golint)
    • Line 53: warning: exported method InstanceService.HeartBeatPreOpera should have comment or be unexported (golint)
    • Line 70: warning: exported method InstanceService.Watch should have comment or be unexported (golint)
    • Line 80: warning: exported method InstanceService.WebSocketWatch should have comment or be unexported (golint)
    • Line 89: warning: exported method InstanceService.WatchHeartbeat should have comment or be unexported (golint)
    • Line 98: warning: exported method InstanceService.QueryAllProvidersInstances should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/sd/servicecenter/syncer.go
    • Line 42: warning: exported type Syncer should have comment or be unexported (golint)
    • Line 48: warning: exported method Syncer.Initialize should have comment or be unexported (golint)
    • Line 53: warning: exported method Syncer.Sync should have comment or be unexported (golint)
    • Line 233: warning: comment on exported method Syncer.AddCacher should be of the form "AddCacher ..." (golint)
    • Line 238: warning: exported method Syncer.Run should have comment or be unexported (golint)
    • Line 243: warning: exported function GetOrCreateSyncer should have comment or be unexported (golint)
    • servicecomb-service-center/client/schema.go
    • Line 36: warning: exported method Client.CreateSchemas should have comment or be unexported (golint)
    • Line 70: warning: exported method Client.UpdateSchema should have comment or be unexported (golint)
    • Line 103: warning: exported method Client.DeleteSchema should have comment or be unexported (golint)
    • Line 131: warning: exported method Client.GetSchemasByServiceID should have comment or be unexported (golint)
    • Line 160: warning: exported method Client.GetSchemaBySchemaID should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v3/main_controller.go
    • Line 1: warning: package comment should be of the form "Package v3 ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 34: warning: exported const APIVersion should have comment or be unexported (golint)
    • Line 45: warning: exported type MainService should have comment or be unexported (golint)
    • Line 49: warning: exported method MainService.URLPatterns should have comment or be unexported (golint)
    • Line 56: warning: exported method MainService.GetVersion should have comment or be unexported (golint)
    • servicecomb-service-center/server/syncernotify/websocket.go
    • Line 32: warning: exported type WebSocket should have comment or be unexported (golint)
    • Line 40: warning: exported function DoWebSocketWatch should have comment or be unexported (golint)
    • Line 48: warning: exported function NewWebSocket should have comment or be unexported (golint)
    • Line 63: warning: exported method WebSocket.Init should have comment or be unexported (golint)
    • Line 73: warning: exported method WebSocket.Pick should have comment or be unexported (golint)
    • Line 92: warning: exported method WebSocket.HandleWatchWebSocketJob should have comment or be unexported (golint)
    • Line 137: warning: exported method WebSocket.ReadTimeout should have comment or be unexported (golint)
    • Line 141: warning: exported method WebSocket.SendTimeout should have comment or be unexported (golint)
    • Line 145: warning: exported method WebSocket.Heartbeat should have comment or be unexported (golint)
    • Line 158: warning: exported method WebSocket.HandleWatchWebSocketControlMessage should have comment or be unexported (golint)
    • Line 217: warning: exported method WebSocket.WriteMessage should have comment or be unexported (golint)
    • Line 225: warning: exported method WebSocket.Ready should have comment or be unexported (golint)
    • Line 229: warning: exported method WebSocket.SetReady should have comment or be unexported (golint)
    • Line 236: warning: exported method WebSocket.Stop should have comment or be unexported (golint)
    • Line 240: warning: exported method WebSocket.SetError should have comment or be unexported (golint)
    • Line 244: warning: exported method WebSocket.Err should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/sd/hset.go
    • Line 24: warning: exported type Hset should have comment or be unexported (golint)
    • Line 29: warning: exported function Newhset should have comment or be unexported (golint)
    • Line 38: warning: exported method Hset.Insert should have comment or be unexported (golint)
    • Line 48: warning: exported method Hset.Del should have comment or be unexported (golint)
    • Line 58: warning: exported method Hset.Len should have comment or be unexported (golint)
    • Line 62: warning: exported method Hset.Iter should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/util/common.go
    • Line 22: warning: exported type CtxKey should have comment or be unexported (golint)
    • Line 25: warning: exported const HeaderRev should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported function GetAppRoot should have comment or be unexported (golint)
    • servicecomb-service-center/server/plugin/tracing/pzipkin/span.go
    • Line 28: warning: exported type Span should have comment or be unexported (golint)
    • Line 43: warning: exported type Annotation should have comment or be unexported (golint)
    • Line 49: warning: exported type BinaryAnnotation should have comment or be unexported (golint)
    • Line 56: warning: exported type Endpoint should have comment or be unexported (golint)
    • Line 63: warning: exported method Span.FromZipkinSpan should have comment or be unexported (golint)
    • Line 104: warning: exported function FromZipkinSpan should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/bootstrap/bootstrap.go
    • Line 21: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 35: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 37: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 39: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • servicecomb-service-center/datasource/etcd/client/types.go
    • Line 27: warning: exported type ActionType should have comment or be unexported (golint)
    • Line 42: warning: exported type CacheMode should have comment or be unexported (golint)
    • Line 57: warning: exported type SortTarget should have comment or be unexported (golint)
    • Line 70: warning: exported type SortOrder should have comment or be unexported (golint)
    • Line 85: warning: exported type CompareType should have comment or be unexported (golint)
    • Line 102: warning: exported type CompareResult should have comment or be unexported (golint)
    • Line 119: warning: exported type PluginResponse should have comment or be unexported (golint)
    • Line 127: warning: exported method PluginResponse.MaxModRevision should have comment or be unexported (golint)
    • servicecomb-service-center/syncer/proto/types.go
    • Line 20: warning: exported type SyncMapping should have comment or be unexported (golint)
    • Line 22: warning: exported method SyncMapping.OriginIndex should have comment or be unexported (golint)
    • Line 31: warning: exported method SyncMapping.CurrentIndex should have comment or be unexported (golint)
    • Line 40: warning: exported type Expansions should have comment or be unexported (golint)
    • Line 42: warning: exported method Expansions.Find should have comment or be unexported (golint)
    • servicecomb-service-center/server/plugin/tracing/pzipkin/buildin.go
    • Line 42: warning: exported function New should have comment or be unexported (golint)
    • Line 46: warning: exported type Zipkin should have comment or be unexported (golint)
    • Line 49: warning: exported method Zipkin.ServerBegin should have comment or be unexported (golint)
    • Line 85: warning: exported method Zipkin.ServerEnd should have comment or be unexported (golint)
    • Line 94: warning: exported method Zipkin.ClientBegin should have comment or be unexported (golint)
    • Line 168: warning: exported method Zipkin.ClientEnd should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/event/rule_event_handler.go
    • Line 38: warning: exported type RulesChangedTask should have comment or be unexported (golint)
    • Line 48: warning: exported method RulesChangedTask.Key should have comment or be unexported (golint)
    • Line 52: warning: exported method RulesChangedTask.Do should have comment or be unexported (golint)
    • Line 57: warning: exported method RulesChangedTask.Err should have comment or be unexported (golint)
    • Line 92: warning: exported method RuleEventHandler.Type should have comment or be unexported (golint)
    • Line 96: warning: exported method RuleEventHandler.OnEvent should have comment or be unexported (golint)
    • Line 117: warning: exported function NewRuleEventHandler should have comment or be unexported (golint)
    • Line 121: warning: exported function NewRulesChangedAsyncTask should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/sd/k8s/adaptor/common.go
    • Line 36: warning: exported const Name should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: comment on exported const LabelApp should be of the form "LabelApp ..." (golint)
    • Line 56: warning: comment on exported const AnnotationRegister should be of the form "AnnotationRegister ..." (golint)
    • Line 59: warning: comment on exported const PropNamespace should be of the form "PropNamespace ..." (golint)
    • Line 87: warning: exported function Queue should have comment or be unexported (golint)
    • Line 96: warning: exported function ShouldRegisterService should have comment or be unexported (golint)
    • Line 106: warning: exported function UUID should have comment or be unexported (golint)
    • servicecomb-service-center/integration/apis.go
    • Line 1: warning: package comment should be of the form "Package integrationtest ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 19: warning: comment on exported var HEALTH should be of the form "HEALTH ..." (golint)
    • Line 21: warning: exported var VERSION should have comment or be unexported (golint)
    • Line 23: warning: comment on exported var CHECKEXISTENCE should be of the form "CHECKEXISTENCE ..." (golint)
    • Line 25: warning: exported var GETALLSERVICE should have comment or be unexported (golint)
    • Line 26: warning: exported var GETSERVICEBYID should have comment or be unexported (golint)
    • Line 27: warning: exported var REGISTERMICROSERVICE should have comment or be unexported (golint)
    • Line 28: warning: exported var UPDATEMICROSERVICE should have comment or be unexported (golint)
    • Line 29: warning: exported var UNREGISTERMICROSERVICE should have comment or be unexported (golint)
    • Line 30: warning: exported var GETSCHEMABYID should have comment or be unexported (golint)
    • Line 31: warning: exported var UPDATESCHEMA should have comment or be unexported (golint)
    • Line 32: warning: exported var GETSCHEMAS should have comment or be unexported (golint)
    • Line 33: warning: exported var UPDATESCHEMAS should have comment or be unexported (golint)
    • Line 34: warning: exported var DELETESCHEMA should have comment or be unexported (golint)
    • Line 35: warning: exported var CREATEDEPENDENCIES should have comment or be unexported (golint)
    • Line 36: warning: exported var GETCONPRODEPENDENCY should have comment or be unexported (golint)
    • Line 37: warning: exported var GETPROCONDEPENDENCY should have comment or be unexported (golint)
    • Line 39: warning: comment on exported var FINDINSTANCE should be of the form "FINDINSTANCE ..." (golint)
    • Line 41: warning: exported var INSTANCEACTION should have comment or be unexported (golint)
    • Line 42: warning: exported var GETINSTANCE should have comment or be unexported (golint)
    • Line 43: warning: exported var GETINSTANCEBYINSTANCEID should have comment or be unexported (golint)
    • Line 44: warning: exported var REGISTERINSTANCE should have comment or be unexported (golint)
    • Line 45: warning: exported var UNREGISTERINSTANCE should have comment or be unexported (golint)
    • Line 46: warning: exported var UPDATEINSTANCEMETADATA should have comment or be unexported (golint)
    • Line 47: warning: exported var UPDATEINSTANCESTATUS should have comment or be unexported (golint)
    • Line 48: warning: exported var INSTANCEHEARTBEAT should have comment or be unexported (golint)
    • Line 49: warning: exported var INSTANCEWATCHER should have comment or be unexported (golint)
    • Line 51: warning: comment on exported var GETGOVERNANCESERVICEDETAILS should be of the form "GETGOVERNANCESERVICEDETAILS ..." (golint)
    • Line 53: warning: exported var GETRELATIONGRAPH should have comment or be unexported (golint)
    • Line 54: warning: exported var GETALLSERVICEGOVERNANCEINFO should have comment or be unexported (golint)
    • Line 55: warning: exported var GETALLAPPS should have comment or be unexported (golint)
    • Line 57: warning: comment on exported var ADDRULE should be of the form "ADDRULE ..." (golint)
    • Line 59: warning: exported var GETRULES should have comment or be unexported (golint)
    • Line 60: warning: exported var UPDATERULES should have comment or be unexported (golint)
    • Line 61: warning: exported var DELETERULES should have comment or be unexported (golint)
    • Line 63: warning: comment on exported var ADDTAGE should be of the form "ADDTAGE ..." (golint)
    • Line 65: warning: exported var UPDATETAG should have comment or be unexported (golint)
    • Line 66: warning: exported var GETTAGS should have comment or be unexported (golint)
    • Line 67: warning: exported var DELETETAG should have comment or be unexported (golint)
    • Line 69: warning: comment on exported var DUMP should be of the form "DUMP ..." (golint)
    • Line 72: warning: comment on exported var GET should be of the form "GET ..." (golint)
    • Line 74: warning: exported var POST should have comment or be unexported (golint)
    • Line 75: warning: exported var UPDATE should have comment or be unexported (golint)
    • Line 76: warning: exported var DELETE should have comment or be unexported (golint)
    • servicecomb-service-center/scctl/pkg/plugin/diagnose/compare_holder.go
    • Line 29: warning: exported type CompareHolder should have comment or be unexported (golint)
    • Line 33: warning: exported type DataStore should have comment or be unexported (golint)
    • Line 38: warning: exported method DataStore.ForEach should have comment or be unexported (golint)
    • Line 47: warning: exported type CompareResult should have comment or be unexported (golint)
    • Line 130: warning: exported type ServiceCompareHolder should have comment or be unexported (golint)
    • Line 136: warning: exported method ServiceCompareHolder.Compare should have comment or be unexported (golint)
    • Line 152: warning: exported type InstanceCompareHolder should have comment or be unexported (golint)
    • Line 158: warning: exported method InstanceCompareHolder.Compare should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/chain/invocation.go
    • Line 28: warning: exported type InvocationOption should have comment or be unexported (golint)
    • Line 30: warning: exported type InvocationOp should have comment or be unexported (golint)
    • Line 45: warning: exported type Invocation should have comment or be unexported (golint)
    • Line 51: warning: exported method Invocation.Init should have comment or be unexported (golint)
    • Line 56: warning: exported method Invocation.Context should have comment or be unexported (golint)
    • Line 60: warning: exported method Invocation.WithContext should have comment or be unexported (golint)
    • Line 111: warning: exported method Invocation.Invoke should have comment or be unexported (golint)
    • Line 128: warning: exported function NewInvocation should have comment or be unexported (golint)
    • servicecomb-service-center/scctl/pkg/plugin/get/service/printer.go
    • Line 32: warning: exported type ServiceRecord should have comment or be unexported (golint)
    • Line 36: warning: exported method ServiceRecord.VersionsString should have comment or be unexported (golint)
    • Line 40: warning: exported method ServiceRecord.FrameworksString should have comment or be unexported (golint)
    • Line 48: warning: exported method ServiceRecord.EndpointsString should have comment or be unexported (golint)
    • Line 52: warning: exported method ServiceRecord.AgeString should have comment or be unexported (golint)
    • Line 56: warning: exported method ServiceRecord.Domain should have comment or be unexported (golint)
    • Line 61: warning: exported method ServiceRecord.PrintBody should have comment or be unexported (golint)
    • Line 75: warning: exported type ServicePrinter should have comment or be unexported (golint)
    • Line 80: warning: exported method ServicePrinter.SetOutputFormat should have comment or be unexported (golint)
    • Line 84: warning: exported method ServicePrinter.Flags should have comment or be unexported (golint)
    • Line 91: warning: exported method ServicePrinter.PrintBody should have comment or be unexported (golint)
    • Line 98: warning: exported method ServicePrinter.PrintTitle should have comment or be unexported (golint)
    • Line 109: warning: exported method ServicePrinter.Sorter should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v3/schema_controller.go
    • Line 1: warning: package comment should be of the form "Package v3 ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 26: warning: exported type SchemaService should have comment or be unexported (golint)
    • Line 30: warning: exported method SchemaService.URLPatterns should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • servicecomb-service-center/server/service/validator/instance_validator.go
    • Line 52: warning: exported function FindInstanceReqValidator should have comment or be unexported (golint)
    • Line 62: warning: exported function BatchFindInstanceReqValidator should have comment or be unexported (golint)
    • Line 76: warning: exported function GetInstanceReqValidator should have comment or be unexported (golint)
    • Line 85: warning: exported function HeartbeatReqValidator should have comment or be unexported (golint)
    • Line 92: warning: exported function UpdateInstanceReqValidator should have comment or be unexported (golint)
    • Line 99: warning: exported function UpdateInstancePropsReqValidator should have comment or be unexported (golint)
    • Line 105: warning: exported function RegisterInstanceReqValidator should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/mongo.go
    • Line 44: warning: exported type DataSource should have comment or be unexported (golint)
    • Line 51: warning: exported function NewDataSource should have comment or be unexported (golint)
    • Line 115: warning: exported function EnsureDB should have comment or be unexported (golint)
    • Line 123: warning: exported function EnsureService should have comment or be unexported (golint)
    • Line 147: warning: exported function EnsureInstance should have comment or be unexported (golint)
    • Line 163: warning: exported function EnsureSchema should have comment or be unexported (golint)
    • Line 179: warning: exported function EnsureRule should have comment or be unexported (golint)
    • Line 195: warning: exported function EnsureDep should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/client/lease_task.go
    • Line 33: warning: exported type LeaseTask should have comment or be unexported (golint)
    • Line 44: warning: exported method LeaseTask.Key should have comment or be unexported (golint)
    • Line 48: warning: exported method LeaseTask.Do should have comment or be unexported (golint)
    • Line 80: warning: exported method LeaseTask.Err should have comment or be unexported (golint)
    • Line 84: warning: exported method LeaseTask.ReceiveTime should have comment or be unexported (golint)
    • Line 88: warning: exported function NewLeaseAsyncTask should have comment or be unexported (golint)
    • Line 97: warning: exported function ToLeaseAsyncTaskKey should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/chain/chain.go
    • Line 20: warning: exported type Chain should have comment or be unexported (golint)
    • Line 26: warning: exported method Chain.Init should have comment or be unexported (golint)
    • Line 32: warning: exported method Chain.Name should have comment or be unexported (golint)
    • Line 45: warning: exported method Chain.Next should have comment or be unexported (golint)
    • Line 49: warning: exported function NewChain should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/chain/handler.go
    • Line 25: warning: exported const CapSize should have comment or be unexported (golint)
    • Line 29: warning: exported type Handler should have comment or be unexported (golint)
    • Line 33: warning: exported function RegisterHandler should have comment or be unexported (golint)
    • Line 45: warning: exported function Handlers should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v4/microservice_controller.go
    • Line 34: warning: exported type MicroServiceService should have comment or be unexported (golint)
    • Line 38: warning: exported method MicroServiceService.URLPatterns should have comment or be unexported (golint)
    • Line 50: warning: exported method MicroServiceService.Register should have comment or be unexported (golint)
    • Line 73: warning: exported method MicroServiceService.Update should have comment or be unexported (golint)
    • Line 98: warning: exported method MicroServiceService.Unregister should have comment or be unexported (golint)
    • Line 122: warning: exported method MicroServiceService.GetServices should have comment or be unexported (golint)
    • Line 133: warning: exported method MicroServiceService.GetExistence should have comment or be unexported (golint)
    • Line 155: warning: exported method MicroServiceService.GetServiceOne should have comment or be unexported (golint)
    • Line 168: warning: exported method MicroServiceService.UnregisterServices should have comment or be unexported (golint)
    • servicecomb-service-center/server/plugin/tracing/tracing.go
    • Line 28: warning: exported const TRACING should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported type Request should have comment or be unexported (golint)
    • Line 34: warning: exported type Span should have comment or be unexported (golint)
    • Line 36: warning: exported type Tracing should have comment or be unexported (golint)
    • Line 43: warning: exported type Options should have comment or be unexported (golint)
    • Line 48: warning: exported type Operation should have comment or be unexported (golint)
    • Line 54: warning: exported function Trace should have comment or be unexported (golint)
    • Line 58: warning: exported function ServerBegin should have comment or be unexported (golint)
    • Line 62: warning: exported function ServerEnd should have comment or be unexported (golint)
    • Line 66: warning: exported function ClientBegin should have comment or be unexported (golint)
    • Line 70: warning: exported function ClientEnd should have comment or be unexported (golint)
    • servicecomb-service-center/server/plugin/tracing/pzipkin/file_collector.go
    • Line 36: warning: exported type FileCollector should have comment or be unexported (golint)
    • Line 45: warning: exported method FileCollector.Collect should have comment or be unexported (golint)
    • Line 60: warning: exported method FileCollector.Close should have comment or be unexported (golint)
    • Line 125: warning: exported method FileCollector.Run should have comment or be unexported (golint)
    • Line 182: warning: exported function NewFileCollector should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/buffer/pool.go
    • Line 25: warning: exported type Pool should have comment or be unexported (golint)
    • Line 29: warning: exported method Pool.Get should have comment or be unexported (golint)
    • Line 33: warning: exported method Pool.Put should have comment or be unexported (golint)
    • Line 38: warning: exported function NewPool should have comment or be unexported (golint)
    • servicecomb-service-center/server/service/validator/tag_validator.go
    • Line 38: warning: exported function GetTagsReqValidator should have comment or be unexported (golint)
    • Line 44: warning: exported function AddTagsReqValidator should have comment or be unexported (golint)
    • Line 51: warning: exported function UpdateTagReqValidator should have comment or be unexported (golint)
    • Line 60: warning: exported function DeleteTagReqValidator should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/util/json.go
    • Line 24: warning: exported type JSONObject should have comment or be unexported (golint)
    • Line 26: warning: exported method JSONObject.Set should have comment or be unexported (golint)
    • Line 31: warning: exported method JSONObject.Bool should have comment or be unexported (golint)
    • Line 38: warning: exported method JSONObject.Int should have comment or be unexported (golint)
    • Line 52: warning: exported method JSONObject.Object should have comment or be unexported (golint)
    • Line 78: warning: exported function NewJSONObject should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/govern/service.go
    • Line 31: warning: exported var ServiceAPI should have comment or be unexported (golint)
    • Line 33: warning: exported type Service should have comment or be unexported (golint)
    • Line 36: warning: exported method Service.GetServicesInfo should have comment or be unexported (golint)
    • Line 41: warning: exported method Service.GetServiceDetail should have comment or be unexported (golint)
    • Line 53: warning: exported method Service.GetApplications should have comment or be unexported (golint)
    • Line 64: warning: exported method Service.GetServicesStatistics should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/rest/listener.go
    • Line 26: warning: exported type TCPListener should have comment or be unexported (golint)
    • Line 33: warning: exported function NewTCPListener should have comment or be unexported (golint)
    • Line 46: warning: exported method TCPListener.Accept should have comment or be unexported (golint)
    • Line 71: warning: exported method TCPListener.Close should have comment or be unexported (golint)
    • Line 80: warning: exported method TCPListener.File should have comment or be unexported (golint)
    • servicecomb-service-center/syncer/plugins/plugin.go
    • Line 32: warning: exported type Manager should have comment or be unexported (golint)
    • Line 34: warning: exported type PluginInstance should have comment or be unexported (golint)
    • Line 43: warning: exported type Plugin should have comment or be unexported (golint)
    • Line 58: warning: exported method Manager.Register should have comment or be unexported (golint)
    • Line 67: warning: exported method Manager.Get should have comment or be unexported (golint)
    • Line 75: warning: exported method Manager.Instance should have comment or be unexported (golint)
    • Line 94: warning: exported method Manager.New should have comment or be unexported (golint)
    • Line 140: warning: exported function DynamicPluginFunc should have comment or be unexported (golint)
    • Line 151: warning: exported function Plugins should have comment or be unexported (golint)
    • Line 155: warning: exported function RegisterPlugin should have comment or be unexported (golint)
    • Line 159: warning: exported function LoadPlugins should have comment or be unexported (golint)
    • Line 165: warning: exported function SetPluginConfig should have comment or be unexported (golint)
    • servicecomb-service-center/syncer/plugins/eureka/type.go
    • Line 26: warning: exported const UNKNOWN should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported type Applications should have comment or be unexported (golint)
    • Line 43: warning: exported type Application should have comment or be unexported (golint)
    • Line 48: warning: exported type InstanceRequest should have comment or be unexported (golint)
    • Line 52: warning: exported type Instance should have comment or be unexported (golint)
    • Line 76: warning: exported type DataCenterInfo should have comment or be unexported (golint)
    • Line 82: warning: exported type DataCenterMetadata should have comment or be unexported (golint)
    • Line 96: warning: exported type LeaseInfo should have comment or be unexported (golint)
    • Line 106: warning: exported type Port should have comment or be unexported (golint)
    • Line 111: warning: exported type MetaData should have comment or be unexported (golint)
    • Line 116: warning: exported method MetaData.MarshalJSON should have comment or be unexported (golint)
    • Line 127: warning: exported method MetaData.UnmarshalJSON should have comment or be unexported (golint)
    • Line 142: warning: exported type BoolString should have comment or be unexported (golint)
    • Line 144: warning: exported method BoolString.Set should have comment or be unexported (golint)
    • Line 149: warning: exported method BoolString.Bool should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/event/types.go
    • Line 20: warning: exported type Type should have comment or be unexported (golint)
    • Line 29: warning: exported method Type.QueueSize should have comment or be unexported (golint)
    • Line 39: warning: exported method Type.IsValid should have comment or be unexported (golint)
    • Line 51: warning: exported function Types should have comment or be unexported (golint)
    • Line 58: warning: exported function RegisterType should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/event/subscriber_checker.go
    • Line 23: warning: exported const CheckerGroup should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported type UnhealthyEvent should have comment or be unexported (golint)
    • Line 37: warning: exported method SubscriberHealthChecker.OnMessage should have comment or be unexported (golint)
    • Line 52: warning: exported function NewSubscriberHealthChecker should have comment or be unexported (golint)
    • Line 58: warning: exported function NewUnhealthyEvent should have comment or be unexported (golint)
    • servicecomb-service-center/server/broker/brokerpb/broker.go
    • Line 24: warning: exported type Participant should have comment or be unexported (golint)
    • Line 30: warning: exported method Participant.Reset should have comment or be unexported (golint)
    • Line 32: warning: exported method Participant.GetId should have comment or be unexported (golint)
    • Line 39: warning: exported method Participant.GetAppId should have comment or be unexported (golint)
    • Line 46: warning: exported method Participant.GetServiceName should have comment or be unexported (golint)
    • Line 53: warning: exported type Version should have comment or be unexported (golint)
    • Line 60: warning: exported method Version.Reset should have comment or be unexported (golint)
    • Line 62: warning: exported method Version.GetId should have comment or be unexported (golint)
    • Line 69: warning: exported method Version.GetNumber should have comment or be unexported (golint)
    • Line 76: warning: exported method Version.GetParticipantId should have comment or be unexported (golint)
    • Line 83: warning: exported method Version.GetOrder should have comment or be unexported (golint)
    • Line 90: warning: exported type Pact should have comment or be unexported (golint)
    • Line 98: warning: exported method Pact.Reset should have comment or be unexported (golint)
    • Line 100: warning: exported method Pact.GetId should have comment or be unexported (golint)
    • Line 107: warning: exported method Pact.GetConsumerParticipantId should have comment or be unexported (golint)
    • Line 114: warning: exported method Pact.GetProviderParticipantId should have comment or be unexported (golint)
    • Line 121: warning: exported method Pact.GetSha should have comment or be unexported (golint)
    • Line 128: warning: exported method Pact.GetContent should have comment or be unexported (golint)
    • Line 135: warning: exported type PactVersion should have comment or be unexported (golint)
    • Line 142: warning: exported method PactVersion.Reset should have comment or be unexported (golint)
    • Line 144: warning: exported method PactVersion.GetId should have comment or be unexported (golint)
    • Line 151: warning: exported method PactVersion.GetVersionId should have comment or be unexported (golint)
    • Line 158: warning: exported method PactVersion.GetPactId should have comment or be unexported (golint)
    • Line 165: warning: exported method PactVersion.GetProviderParticipantId should have comment or be unexported (golint)
    • Line 172: warning: exported type Tag should have comment or be unexported (golint)
    • Line 177: warning: exported method Tag.Reset should have comment or be unexported (golint)
    • Line 179: warning: exported method Tag.GetName should have comment or be unexported (golint)
    • Line 186: warning: exported method Tag.GetVersionId should have comment or be unexported (golint)
    • Line 193: warning: exported type PublishPactRequest should have comment or be unexported (golint)
    • Line 200: warning: exported method PublishPactRequest.Reset should have comment or be unexported (golint)
    • Line 202: warning: exported method PublishPactRequest.GetProviderId should have comment or be unexported (golint)
    • Line 209: warning: exported method PublishPactRequest.GetConsumerId should have comment or be unexported (golint)
    • Line 216: warning: exported method PublishPactRequest.GetPact should have comment or be unexported (golint)
    • Line 223: warning: exported type PublishPactResponse should have comment or be unexported (golint)
    • Line 227: warning: exported method PublishPactResponse.Reset should have comment or be unexported (golint)
    • Line 229: warning: exported type GetAllProviderPactsRequest should have comment or be unexported (golint)
    • Line 234: warning: exported method GetAllProviderPactsRequest.Reset should have comment or be unexported (golint)
    • Line 236: warning: exported method GetAllProviderPactsRequest.GetProviderId should have comment or be unexported (golint)
    • Line 243: warning: exported method GetAllProviderPactsRequest.GetBaseUrl should have comment or be unexported (golint)
    • Line 250: warning: exported type ConsumerInfo should have comment or be unexported (golint)
    • Line 255: warning: exported method ConsumerInfo.GetHref should have comment or be unexported (golint)
    • Line 262: warning: exported method ConsumerInfo.GetName should have comment or be unexported (golint)
    • Line 269: warning: exported type Links should have comment or be unexported (golint)
    • Line 273: warning: exported method Links.Reset should have comment or be unexported (golint)
    • Line 275: warning: exported method Links.GetPacts should have comment or be unexported (golint)
    • Line 282: warning: exported type GetAllProviderPactsResponse should have comment or be unexported (golint)
    • Line 287: warning: exported method GetAllProviderPactsResponse.Reset should have comment or be unexported (golint)
    • Line 289: warning: exported method GetAllProviderPactsResponse.GetXLinks should have comment or be unexported (golint)
    • Line 296: warning: exported type GetProviderConsumerVersionPactRequest should have comment or be unexported (golint)
    • Line 303: warning: exported method GetProviderConsumerVersionPactRequest.Reset should have comment or be unexported (golint)
    • Line 305: warning: exported method GetProviderConsumerVersionPactRequest.GetProviderId should have comment or be unexported (golint)
    • Line 312: warning: exported method GetProviderConsumerVersionPactRequest.GetConsumerId should have comment or be unexported (golint)
    • Line 319: warning: exported method GetProviderConsumerVersionPactRequest.GetBaseUrl should have comment or be unexported (golint)
    • Line 326: warning: exported type GetProviderConsumerVersionPactResponse should have comment or be unexported (golint)
    • Line 331: warning: exported method GetProviderConsumerVersionPactResponse.Reset should have comment or be unexported (golint)
    • Line 335: warning: exported method GetProviderConsumerVersionPactResponse.GetPact should have comment or be unexported (golint)
    • Line 342: warning: exported type Verification should have comment or be unexported (golint)
    • Line 352: warning: exported method Verification.Reset should have comment or be unexported (golint)
    • Line 354: warning: exported method Verification.GetId should have comment or be unexported (golint)
    • Line 361: warning: exported method Verification.GetNumber should have comment or be unexported (golint)
    • Line 368: warning: exported method Verification.GetPactVersionId should have comment or be unexported (golint)
    • Line 375: warning: exported method Verification.GetSuccess should have comment or be unexported (golint)
    • Line 382: warning: exported method Verification.GetProviderVersion should have comment or be unexported (golint)
    • Line 389: warning: exported method Verification.GetBuildUrl should have comment or be unexported (golint)
    • Line 396: warning: exported method Verification.GetVerificationDate should have comment or be unexported (golint)
    • Line 403: warning: exported type VerificationSummary should have comment or be unexported (golint)
    • Line 409: warning: exported method VerificationSummary.Reset should have comment or be unexported (golint)
    • Line 411: warning: exported method VerificationSummary.GetSuccessful should have comment or be unexported (golint)
    • Line 418: warning: exported method VerificationSummary.GetFailed should have comment or be unexported (golint)
    • Line 425: warning: exported method VerificationSummary.GetUnknown should have comment or be unexported (golint)
    • Line 432: warning: exported type VerificationDetail should have comment or be unexported (golint)
    • Line 439: warning: exported method VerificationDetail.Reset should have comment or be unexported (golint)
    • Line 441: warning: exported method VerificationDetail.GetProviderName should have comment or be unexported (golint)
    • Line 448: warning: exported method VerificationDetail.GetProviderApplicationVersion should have comment or be unexported (golint)
    • Line 455: warning: exported method VerificationDetail.GetSuccess should have comment or be unexported (golint)
    • Line 462: warning: exported method VerificationDetail.GetVerificationDate should have comment or be unexported (golint)
    • Line 469: warning: exported type VerificationDetails should have comment or be unexported (golint)
    • Line 473: warning: exported method VerificationDetails.GetVerificationResults should have comment or be unexported (golint)
    • Line 480: warning: exported type VerificationResult should have comment or be unexported (golint)
    • Line 486: warning: exported method VerificationResult.Reset should have comment or be unexported (golint)
    • Line 488: warning: exported method VerificationResult.GetSuccess should have comment or be unexported (golint)
    • Line 495: warning: exported method VerificationResult.GetProviderSummary should have comment or be unexported (golint)
    • Line 502: warning: exported method VerificationResult.GetXEmbedded should have comment or be unexported (golint)
    • Line 509: warning: exported type PublishVerificationRequest should have comment or be unexported (golint)
    • Line 517: warning: exported method PublishVerificationRequest.Reset should have comment or be unexported (golint)
    • Line 519: warning: exported method PublishVerificationRequest.GetProviderId should have comment or be unexported (golint)
    • Line 526: warning: exported method PublishVerificationRequest.GetConsumerId should have comment or be unexported (golint)
    • Line 533: warning: exported method PublishVerificationRequest.GetPactId should have comment or be unexported (golint)
    • Line 540: warning: exported method PublishVerificationRequest.GetSuccess should have comment or be unexported (golint)
    • Line 547: warning: exported method PublishVerificationRequest.GetProviderApplicationVersion should have comment or be unexported (golint)
    • Line 554: warning: exported type PublishVerificationResponse should have comment or be unexported (golint)
    • Line 559: warning: exported method PublishVerificationResponse.GetConfirmation should have comment or be unexported (golint)
    • Line 566: warning: exported type RetrieveVerificationRequest should have comment or be unexported (golint)
    • Line 571: warning: exported method RetrieveVerificationRequest.Reset should have comment or be unexported (golint)
    • Line 573: warning: exported method RetrieveVerificationRequest.GetConsumerId should have comment or be unexported (golint)
    • Line 580: warning: exported method RetrieveVerificationRequest.GetConsumerVersion should have comment or be unexported (golint)
    • Line 587: warning: exported type RetrieveVerificationResponse should have comment or be unexported (golint)
    • Line 592: warning: exported method RetrieveVerificationResponse.Reset should have comment or be unexported (golint)
    • Line 594: warning: exported method RetrieveVerificationResponse.GetResult should have comment or be unexported (golint)
    • Line 601: warning: exported type BaseBrokerRequest should have comment or be unexported (golint)
    • Line 606: warning: exported method BaseBrokerRequest.Reset should have comment or be unexported (golint)
    • Line 608: warning: exported method BaseBrokerRequest.GetHostAddress should have comment or be unexported (golint)
    • Line 615: warning: exported method BaseBrokerRequest.GetScheme should have comment or be unexported (golint)
    • Line 622: warning: exported type BrokerAPIInfoEntry should have comment or be unexported (golint)
    • Line 629: warning: exported method BrokerAPIInfoEntry.GetHref should have comment or be unexported (golint)
    • Line 636: warning: exported method BrokerAPIInfoEntry.GetName should have comment or be unexported (golint)
    • Line 643: warning: exported method BrokerAPIInfoEntry.GetTitle should have comment or be unexported (golint)
    • Line 650: warning: exported method BrokerAPIInfoEntry.GetTemplated should have comment or be unexported (golint)
    • Line 657: warning: exported type BrokerHomeResponse should have comment or be unexported (golint)
    • Line 663: warning: exported method BrokerHomeResponse.Reset should have comment or be unexported (golint)
    • Line 665: warning: exported method BrokerHomeResponse.GetXLinks should have comment or be unexported (golint)
    • Line 672: warning: exported method BrokerHomeResponse.GetCuries should have comment or be unexported (golint)
    • servicecomb-service-center/server/service/gov/mock/mock.go
    • Line 32: warning: exported type Distributor should have comment or be unexported (golint)
    • Line 37: warning: exported const MatchGroup should have comment or be unexported (golint)
    • Line 39: warning: exported var PolicyNames should have comment or be unexported (golint)
    • Line 41: warning: exported method Distributor.Create should have comment or be unexported (golint)
    • Line 51: warning: exported method Distributor.Update should have comment or be unexported (golint)
    • Line 64: warning: exported method Distributor.Delete should have comment or be unexported (golint)
    • Line 69: warning: exported method Distributor.Display should have comment or be unexported (golint)
    • Line 98: warning: exported method Distributor.List should have comment or be unexported (golint)
    • Line 113: warning: exported method Distributor.Get should have comment or be unexported (golint)
    • Line 122: warning: exported method Distributor.Type should have comment or be unexported (golint)
    • Line 125: warning: exported method Distributor.Name should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/sd/servicecenter/aggregate.go
    • Line 43: warning: exported type SCClientAggregate should have comment or be unexported (golint)
    • Line 54: warning: exported method SCClientAggregate.GetScCache should have comment or be unexported (golint)
    • Line 90: warning: exported method SCClientAggregate.GetSchemasByServiceID should have comment or be unexported (golint)
    • Line 116: warning: exported method SCClientAggregate.GetSchemaBySchemaID should have comment or be unexported (golint)
    • Line 140: warning: exported method SCClientAggregate.GetInstancesByServiceID should have comment or be unexported (golint)
    • Line 164: warning: exported method SCClientAggregate.GetInstanceByInstanceID should have comment or be unexported (golint)
    • Line 187: warning: exported function GetOrCreateSCClient should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/log/logger.go
    • Line 25: warning: exported function Default should have comment or be unexported (golint)
    • Line 29: warning: exported function Debug should have comment or be unexported (golint)
    • Line 33: warning: exported function Debugf should have comment or be unexported (golint)
    • Line 37: warning: exported function Info should have comment or be unexported (golint)
    • Line 41: warning: exported function Infof should have comment or be unexported (golint)
    • Line 45: warning: exported function Warn should have comment or be unexported (golint)
    • Line 49: warning: exported function Warnf should have comment or be unexported (golint)
    • Line 53: warning: exported function Error should have comment or be unexported (golint)
    • Line 57: warning: exported function Errorf should have comment or be unexported (golint)
    • Line 61: warning: exported function Fatal should have comment or be unexported (golint)
    • Line 65: warning: exported function Fatalf should have comment or be unexported (golint)
    • Line 69: warning: exported function Sync should have comment or be unexported (golint)
    • Line 73: warning: exported function NilOrWarnf should have comment or be unexported (golint)
    • Line 81: warning: exported function DebugOrWarnf should have comment or be unexported (golint)
    • Line 90: warning: exported function InfoOrWarnf should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/admin/service.go
    • Line 35: warning: exported var AdminServiceAPI should have comment or be unexported (golint)
    • Line 38: warning: exported type Service should have comment or be unexported (golint)
    • Line 41: warning: exported method Service.Dump should have comment or be unexported (golint)
    • Line 88: warning: exported method Service.Clusters should have comment or be unexported (golint)
    • Line 98: warning: exported method Service.AlarmList should have comment or be unexported (golint)
    • Line 104: warning: exported method Service.ClearAlarm should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v4/schema_controller.go
    • Line 37: warning: exported type SchemaService should have comment or be unexported (golint)
    • Line 41: warning: exported method SchemaService.URLPatterns should have comment or be unexported (golint)
    • Line 58: warning: exported method SchemaService.DisableSchema should have comment or be unexported (golint)
    • Line 62: warning: exported method SchemaService.GetSchemas should have comment or be unexported (golint)
    • Line 74: warning: exported method SchemaService.ModifySchema should have comment or be unexported (golint)
    • Line 101: warning: exported method SchemaService.ModifySchemas should have comment or be unexported (golint)
    • Line 126: warning: exported method SchemaService.DeleteSchemas should have comment or be unexported (golint)
    • Line 136: warning: exported method SchemaService.GetAllSchemas should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/sd/config.go
    • Line 27: warning: exported type Config should have comment or be unexported (golint)
    • Line 43: warning: exported method Config.WithPrefix should have comment or be unexported (golint)
    • Line 48: warning: exported method Config.WithInitSize should have comment or be unexported (golint)
    • Line 53: warning: exported method Config.WithTimeout should have comment or be unexported (golint)
    • Line 58: warning: exported method Config.WithPeriod should have comment or be unexported (golint)
    • Line 63: warning: exported method Config.WithDeferHandler should have comment or be unexported (golint)
    • Line 68: warning: exported method Config.WithEventFunc should have comment or be unexported (golint)
    • Line 73: warning: exported method Config.AppendEventFunc should have comment or be unexported (golint)
    • Line 85: warning: exported method Config.WithParser should have comment or be unexported (golint)
    • Line 90: warning: exported function Configure should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/backoff/backoff.go
    • Line 25: warning: exported var DefaultBackoff should have comment or be unexported (golint)
    • Line 31: warning: exported type Backoff should have comment or be unexported (golint)
    • Line 35: warning: comment on exported type PowerBackoff should be of the form "PowerBackoff ..." (with optional leading article) (golint)
    • Line 42: warning: exported method PowerBackoff.Delay should have comment or be unexported (golint)
    • Line 50: warning: exported function GetBackoff should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/sd/options.go
    • Line 26: warning: exported const FirstTimeout should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported type Options should have comment or be unexported (golint)
    • Line 44: warning: exported method Options.SetTable should have comment or be unexported (golint)
    • Line 49: warning: exported function DefaultOptions should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v3/instance_watcher.go
    • Line 1: warning: package comment should be of the form "Package v3 ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 26: warning: exported type WatchService should have comment or be unexported (golint)
    • Line 30: warning: exported method WatchService.URLPatterns should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • servicecomb-service-center/server/service/validator/rule_validator.go
    • Line 39: warning: exported function GetRulesReqValidator should have comment or be unexported (golint)
    • Line 45: warning: exported function UpdateRuleReqValidator should have comment or be unexported (golint)
    • Line 59: warning: exported function AddRulesReqValidator should have comment or be unexported (golint)
    • Line 67: warning: exported function DeleteRulesReqValidator should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/client/client.go
    • Line 31: warning: comment on exported const MaxTxnNumberOneTime should be of the form "MaxTxnNumberOneTime ..." (golint)
    • Line 35: warning: exported var ErrNotUnique should have comment or be unexported (golint)
    • Line 37: warning: exported type Registry should have comment or be unexported (golint)
    • Line 63: warning: comment on exported function PutBytes should be of the form "PutBytes ..." (golint)
    • Line 102: warning: exported function Delete should have comment or be unexported (golint)
    • Line 110: warning: exported function BatchCommit should have comment or be unexported (golint)
    • Line 115: warning: exported function BatchCommitWithCmp should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/util/domain_util.go
    • Line 33: warning: exported function GetAllDomainRawData should have comment or be unexported (golint)
    • Line 45: warning: exported function GetAllDomain should have comment or be unexported (golint)
    • Line 68: warning: exported function AddDomain should have comment or be unexported (golint)
    • Line 77: warning: exported function DomainExist should have comment or be unexported (golint)
    • Line 88: warning: exported function AddProject should have comment or be unexported (golint)
    • Line 97: warning: exported function ProjectExist should have comment or be unexported (golint)
    • Line 108: warning: exported function NewDomainProject should have comment or be unexported (golint)
    • servicecomb-service-center/server/alarm/common.go
    • Line 26: warning: exported const Activated should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported const IDBackendConnectionRefuse should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported const FieldAdditionalContext should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported const Subject should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: exported var ALARM should have comment or be unexported (golint)
    • Line 48: warning: exported function FieldBool should have comment or be unexported (golint)
    • Line 52: warning: exported function FieldString should have comment or be unexported (golint)
    • Line 56: warning: exported function FieldInt64 should have comment or be unexported (golint)
    • Line 60: warning: exported function FieldInt should have comment or be unexported (golint)
    • Line 64: warning: exported function FieldFloat64 should have comment or be unexported (golint)
    • Line 68: warning: exported function AdditionalContext should have comment or be unexported (golint)
    • Line 72: warning: exported function ListAll should have comment or be unexported (golint)
    • Line 76: warning: exported function Raise should have comment or be unexported (golint)
    • Line 80: warning: exported function Clear should have comment or be unexported (golint)
    • Line 84: warning: exported function ClearAll should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v4/instance_controller.go
    • Line 34: warning: exported type MicroServiceInstanceService should have comment or be unexported (golint)
    • Line 38: warning: exported method MicroServiceInstanceService.URLPatterns should have comment or be unexported (golint)
    • Line 52: warning: exported method MicroServiceInstanceService.RegisterInstance should have comment or be unexported (golint)
    • Line 80: warning: comment on exported method MicroServiceInstanceService.Heartbeat should be of the form "Heartbeat ..." (golint)
    • Line 91: warning: exported method MicroServiceInstanceService.HeartbeatSet should have comment or be unexported (golint)
    • Line 110: warning: exported method MicroServiceInstanceService.UnregisterInstance should have comment or be unexported (golint)
    • Line 120: warning: exported method MicroServiceInstanceService.FindInstances should have comment or be unexported (golint)
    • Line 152: warning: exported method MicroServiceInstanceService.InstancesAction should have comment or be unexported (golint)
    • Line 181: warning: exported method MicroServiceInstanceService.GetOneInstance should have comment or be unexported (golint)
    • Line 209: warning: exported method MicroServiceInstanceService.GetInstances should have comment or be unexported (golint)
    • Line 235: warning: exported method MicroServiceInstanceService.UpdateStatus should have comment or be unexported (golint)
    • Line 247: warning: exported method MicroServiceInstanceService.UpdateMetadata should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/cache/dependency.go
    • Line 29: warning: exported var DependencyRule should have comment or be unexported (golint)
    • Line 38: warning: exported type DependencyRuleItem should have comment or be unexported (golint)
    • Line 42: warning: exported type DependencyRuleCache should have comment or be unexported (golint)
    • Line 46: warning: exported method DependencyRuleCache.ExistVersionRule should have comment or be unexported (golint)
    • Line 63: warning: exported method DependencyRuleCache.Remove should have comment or be unexported (golint)
    • servicecomb-service-center/server/metrics/meta.go
    • Line 117: warning: exported function ReportDomains should have comment or be unexported (golint)
    • Line 122: warning: exported function ReportServices should have comment or be unexported (golint)
    • Line 126: warning: exported function GetTotalService should have comment or be unexported (golint)
    • Line 129: warning: exported function ReportInstances should have comment or be unexported (golint)
    • Line 133: warning: exported function GetTotalInstance should have comment or be unexported (golint)
    • Line 138: warning: exported function ReportSchemas should have comment or be unexported (golint)
    • Line 143: warning: exported function ReportFramework should have comment or be unexported (golint)
    • Line 147: warning: exported function ReportScInstance should have comment or be unexported (golint)
    • Line 152: warning: exported function ReportHeartbeatCompleted should have comment or be unexported (golint)
    • servicecomb-service-center/server/response/response.go
    • Line 35: warning: exported function MicroserviceListFilter should have comment or be unexported (golint)
    • Line 71: warning: exported function ProvidersListFilter should have comment or be unexported (golint)
    • Line 80: warning: exported function ConsumersListFilter should have comment or be unexported (golint)
    • Line 89: warning: exported function MicroServiceInfoListFilter should have comment or be unexported (golint)
    • Line 108: warning: exported function AppIdListFilter should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/sd/doc_cache.go
    • Line 22: warning: exported type DocStore should have comment or be unexported (golint)
    • Line 26: warning: exported function NewDocStore should have comment or be unexported (golint)
    • Line 30: warning: exported method DocStore.Get should have comment or be unexported (golint)
    • Line 38: warning: exported method DocStore.Put should have comment or be unexported (golint)
    • Line 42: warning: exported method DocStore.DeleteDoc should have comment or be unexported (golint)
    • Line 46: warning: exported method DocStore.ForEach should have comment or be unexported (golint)
    • Line 58: warning: exported method DocStore.Size should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/version.go
    • Line 35: warning: exported method DataSource.LoadServerVersion should have comment or be unexported (golint)
    • Line 53: warning: exported method DataSource.UpgradeServerVersion should have comment or be unexported (golint)
    • Line 66: warning: exported method DataSource.UpgradeVersion should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/cache/cache_test.go
    • Line 94: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 94: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 100: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 100: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 105: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 105: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 111: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 111: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 116: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 116: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 121: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 121: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 129: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 129: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 137: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 137: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 145: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 148: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 148: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 157: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 157: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 166: warning: should not use basic type string as key in context.WithValue (golint)
    • servicecomb-service-center/datasource/mongo/sd/typestore.go
    • Line 18: warning: package comment should be of the form "Package sd ..." (golint)
    • Line 38: warning: exported type TypeStore should have comment or be unexported (golint)
    • Line 45: warning: exported method TypeStore.Initialize should have comment or be unexported (golint)
    • Line 50: warning: exported method TypeStore.Run should have comment or be unexported (golint)
    • Line 106: warning: exported method TypeStore.Stop should have comment or be unexported (golint)
    • Line 119: warning: exported method TypeStore.Ready should have comment or be unexported (golint)
    • Line 123: warning: exported method TypeStore.TypeCacher should have comment or be unexported (golint)
    • Line 124: warning: exported method TypeStore.Service should have comment or be unexported (golint)
    • Line 125: warning: exported method TypeStore.Instance should have comment or be unexported (golint)
    • Line 126: warning: exported method TypeStore.Rule should have comment or be unexported (golint)
    • Line 127: warning: exported method TypeStore.Dep should have comment or be unexported (golint)
    • Line 129: warning: exported function Store should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/event/instance_event_handler.go
    • Line 47: warning: exported method InstanceEventHandler.Type should have comment or be unexported (golint)
    • Line 51: warning: exported method InstanceEventHandler.OnEvent should have comment or be unexported (golint)
    • Line 97: warning: exported function NewInstanceEventHandler should have comment or be unexported (golint)
    • Line 101: warning: exported function PublishInstanceEvent should have comment or be unexported (golint)
    • Line 120: warning: exported function NotifySyncerInstanceEvent should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/util/instance_util.go
    • Line 39: warning: exported function GetLeaseID should have comment or be unexported (golint)
    • Line 53: warning: exported function GetInstance should have comment or be unexported (golint)
    • Line 68: warning: exported function InstanceExist should have comment or be unexported (golint)
    • Line 81: warning: exported function FormatRevision should have comment or be unexported (golint)
    • Line 88: warning: exported function GetAllInstancesOfOneService should have comment or be unexported (golint)
    • Line 104: warning: exported function GetInstanceCountOfOneService should have comment or be unexported (golint)
    • Line 118: warning: exported type EndpointIndexValue should have comment or be unexported (golint)
    • Line 123: warning: exported function ParseEndpointIndexValue should have comment or be unexported (golint)
    • Line 132: warning: exported function DeleteServiceAllInstances should have comment or be unexported (golint)
    • Line 158: warning: exported function QueryServiceInstancesKvs should have comment or be unexported (golint)
    • Line 173: warning: exported function UpdateInstance should have comment or be unexported (golint)
    • Line 208: warning: exported function AppendFindResponse should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/account.go
    • Line 35: warning: exported method DataSource.CreateAccount should have comment or be unexported (golint)
    • Line 63: warning: exported method DataSource.AccountExist should have comment or be unexported (golint)
    • Line 75: warning: exported method DataSource.GetAccount should have comment or be unexported (golint)
    • Line 97: warning: exported method DataSource.ListAccount should have comment or be unexported (golint)
    • Line 118: warning: exported method DataSource.DeleteAccount should have comment or be unexported (golint)
    • Line 134: warning: exported method DataSource.UpdateAccount should have comment or be unexported (golint)
    • servicecomb-service-center/server/service/rule.go
    • Line 30: warning: exported method MicroServiceService.AddRule should have comment or be unexported (golint)
    • Line 43: warning: exported method MicroServiceService.UpdateRule should have comment or be unexported (golint)
    • Line 56: warning: exported method MicroServiceService.GetRule should have comment or be unexported (golint)
    • Line 68: warning: exported method MicroServiceService.DeleteRule should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v3/microservice_controller.go
    • Line 1: warning: package comment should be of the form "Package v3 ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 26: warning: exported type MicroServiceService should have comment or be unexported (golint)
    • Line 30: warning: exported method MicroServiceService.URLPatterns should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • servicecomb-service-center/datasource/mongo/dep.go
    • Line 39: warning: exported method DataSource.SearchProviderDependency should have comment or be unexported (golint)
    • Line 77: warning: exported method DataSource.SearchConsumerDependency should have comment or be unexported (golint)
    • Line 115: warning: exported method DataSource.AddOrUpdateDependencies should have comment or be unexported (golint)
    • Line 173: warning: exported method DataSource.DeleteDependency should have comment or be unexported (golint)
    • Line 177: warning: exported method DataSource.DependencyHandle should have comment or be unexported (golint)
    • Line 206: warning: exported function GetOldProviderRules should have comment or be unexported (golint)
    • Line 278: warning: exported function CleanUpDepRules should have comment or be unexported (golint)
    • Line 323: warning: exported function GetDepRules should have comment or be unexported (golint)
    • Line 418: warning: exported function TransferToMicroServiceDependency should have comment or be unexported (golint)
    • Line 438: warning: exported function GetConsumerDepInfo should have comment or be unexported (golint)
    • Line 457: warning: exported function GetServiceID should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/client/remote/etcd.go
    • Line 47: warning: exported var FirstEndpoint should have comment or be unexported (golint)
    • Line 54: warning: exported type Client should have comment or be unexported (golint)
    • Line 67: warning: exported method Client.Initialize should have comment or be unexported (golint)
    • Line 174: warning: exported method Client.Err should have comment or be unexported (golint)
    • Line 178: warning: exported method Client.Ready should have comment or be unexported (golint)
    • Line 182: warning: exported method Client.Close should have comment or be unexported (golint)
    • Line 191: warning: exported method Client.Compact should have comment or be unexported (golint)
    • Line 363: warning: exported method Client.PutNoOverride should have comment or be unexported (golint)
    • Line 375: warning: exported method Client.Paging should have comment or be unexported (golint)
    • Line 475: warning: exported method Client.Do should have comment or be unexported (golint)
    • Line 549: warning: exported method Client.Txn should have comment or be unexported (golint)
    • Line 560: warning: exported method Client.TxnWithCmp should have comment or be unexported (golint)
    • Line 621: warning: exported method Client.LeaseGrant should have comment or be unexported (golint)
    • Line 641: warning: exported method Client.LeaseRenew should have comment or be unexported (golint)
    • Line 665: warning: exported method Client.LeaseRevoke should have comment or be unexported (golint)
    • Line 689: warning: exported method Client.Watch should have comment or be unexported (golint)
    • Line 732: warning: exported method Client.HealthCheck should have comment or be unexported (golint)
    • Line 738: warning: exported method Client.HealthCheckLoop should have comment or be unexported (golint)
    • Line 780: warning: exported method Client.ReOpen should have comment or be unexported (golint)
    • Line 812: warning: exported method Client.SyncMembers should have comment or be unexported (golint)
    • Line 881: warning: exported function NewRegistry should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/log/logrotate.go
    • Line 34: warning: exported function EscapPath should have comment or be unexported (golint)
    • Line 208: warning: exported function RotateFile should have comment or be unexported (golint)
    • Line 219: warning: comment on exported function Rotate should be of the form "Rotate ..." (golint)
    • Line 247: warning: comment on exported function FilterFileList should be of the form "FilterFileList ..." (golint)
    • Line 281: warning: exported function CopyFile should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/log/zap.go
    • Line 39: warning: exported var StdoutSyncer should have comment or be unexported (golint)
    • Line 68: warning: exported method Config.WithCallerSkip should have comment or be unexported (golint)
    • Line 73: warning: exported method Config.WithFile should have comment or be unexported (golint)
    • Line 78: warning: exported method Config.WithNoTime should have comment or be unexported (golint)
    • Line 83: warning: exported method Config.WithNoLevel should have comment or be unexported (golint)
    • Line 88: warning: exported method Config.WithNoCaller should have comment or be unexported (golint)
    • Line 93: warning: exported function Configure should have comment or be unexported (golint)
    • Line 162: warning: exported type Logger should have comment or be unexported (golint)
    • Line 169: warning: exported method Logger.Debug should have comment or be unexported (golint)
    • Line 173: warning: exported method Logger.Debugf should have comment or be unexported (golint)
    • Line 177: warning: exported method Logger.Info should have comment or be unexported (golint)
    • Line 181: warning: exported method Logger.Infof should have comment or be unexported (golint)
    • Line 185: warning: exported method Logger.Warn should have comment or be unexported (golint)
    • Line 189: warning: exported method Logger.Warnf should have comment or be unexported (golint)
    • Line 201: warning: exported method Logger.Errorf should have comment or be unexported (golint)
    • Line 209: warning: exported method Logger.Fatal should have comment or be unexported (golint)
    • Line 217: warning: exported method Logger.Fatalf should have comment or be unexported (golint)
    • Line 225: warning: comment on exported method Logger.Recover should be of the form "Recover ..." (golint)
    • Line 254: warning: exported method Logger.Sync should have comment or be unexported (golint)
    • Line 269: warning: exported function NewLogger should have comment or be unexported (golint)
    • servicecomb-service-center/server/service/dependency.go
    • Line 29: warning: exported method MicroServiceService.AddDependenciesForMicroServices should have comment or be unexported (golint)
    • Line 41: warning: exported method MicroServiceService.CreateDependenciesForMicroServices should have comment or be unexported (golint)
    • Line 53: warning: exported method MicroServiceService.GetProviderDependencies should have comment or be unexported (golint)
    • Line 66: warning: exported method MicroServiceService.GetConsumerDependencies should have comment or be unexported (golint)
    • servicecomb-service-center/server/config/types.go
    • Line 25: warning: exported const EnvironmentDev should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported type Gov should have comment or be unexported (golint)
    • Line 38: warning: exported type DistributorOptions should have comment or be unexported (golint)
    • Line 48: warning: exported method AppConfig.GetPluginDir should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/path/key_convertor.go
    • Line 29: warning: exported function ToResponse should have comment or be unexported (golint)
    • Line 33: warning: exported function GetInfoFromSvcKV should have comment or be unexported (golint)
    • Line 44: warning: exported function GetInfoFromInstKV should have comment or be unexported (golint)
    • Line 56: warning: exported function GetInfoFromDomainKV should have comment or be unexported (golint)
    • Line 66: warning: exported function GetInfoFromProjectKV should have comment or be unexported (golint)
    • Line 75: warning: exported function GetInfoFromRuleKV should have comment or be unexported (golint)
    • Line 87: warning: exported function GetInfoFromTagKV should have comment or be unexported (golint)
    • Line 98: warning: exported function GetInfoFromSvcIndexKV should have comment or be unexported (golint)
    • Line 114: warning: exported function GetInfoFromSvcAliasKV should have comment or be unexported (golint)
    • Line 118: warning: exported function GetInfoFromSchemaSummaryKV should have comment or be unexported (golint)
    • Line 128: warning: exported function GetInfoFromSchemaKV should have comment or be unexported (golint)
    • Line 138: warning: exported function GetInfoFromDependencyQueueKV should have comment or be unexported (golint)
    • Line 150: warning: exported function GetInfoFromDependencyRuleKV should have comment or be unexported (golint)
    • servicecomb-service-center/server/server.go
    • Line 50: warning: exported function Run should have comment or be unexported (golint)
    • Line 63: warning: exported type ServiceCenterServer should have comment or be unexported (golint)
    • Line 72: warning: exported method ServiceCenterServer.Run should have comment or be unexported (golint)
    • Line 216: warning: exported method ServiceCenterServer.Stop should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v4/main_controller.go
    • Line 37: warning: exported const APIVersion should have comment or be unexported (golint)
    • Line 39: warning: exported type Result should have comment or be unexported (golint)
    • Line 44: warning: exported type MainService should have comment or be unexported (golint)
    • Line 48: warning: exported method MainService.URLPatterns should have comment or be unexported (golint)
    • Line 55: warning: exported method MainService.ClusterHealth should have comment or be unexported (golint)
    • Line 60: warning: exported method MainService.GetVersion should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/metrics/metrics.go
    • Line 31: warning: exported function NewMetrics should have comment or be unexported (golint)
    • Line 37: warning: exported function NewDetails should have comment or be unexported (golint)
    • Line 78: warning: exported method Details.Get should have comment or be unexported (golint)
    • Line 89: warning: exported method Details.ForEach should have comment or be unexported (golint)
    • Line 106: warning: exported method Metrics.Get should have comment or be unexported (golint)
    • Line 113: warning: exported method Metrics.ForEach should have comment or be unexported (golint)
    • Line 121: warning: exported method Metrics.Summary should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/client/errortypes.go
    • Line 25: warning: exported const DuplicateKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported function IsDuplicateKey should have comment or be unexported (golint)
    • Line 33: warning: exported function IsCollectionsExist should have comment or be unexported (golint)
    • Line 43: warning: exported function IsNoneDocErr should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v3/tag_controller.go
    • Line 1: warning: package comment should be of the form "Package v3 ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 26: warning: exported type TagService should have comment or be unexported (golint)
    • Line 30: warning: exported method TagService.URLPatterns should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • servicecomb-service-center/pkg/cache/option.go
    • Line 20: warning: exported type Option should have comment or be unexported (golint)
    • Line 25: warning: comment on exported method Option.ToLevel should be of the form "ToLevel ..." (golint)
    • Line 31: warning: comment on exported method Option.Temporary should be of the form "Temporary ..." (golint)
    • Line 37: warning: exported function Options should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/queue/taskqueue.go
    • Line 28: warning: exported type Worker should have comment or be unexported (golint)
    • Line 32: warning: exported type Task should have comment or be unexported (golint)
    • Line 39: warning: exported type TaskQueue should have comment or be unexported (golint)
    • Line 94: warning: exported function NewTaskQueue should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/sd/event_proxy.go
    • Line 32: warning: exported type MongoEventProxy should have comment or be unexported (golint)
    • Line 37: warning: exported method MongoEventProxy.AddHandleFunc should have comment or be unexported (golint)
    • Line 43: warning: exported method MongoEventProxy.OnEvent should have comment or be unexported (golint)
    • Line 51: warning: exported function EventProxy should have comment or be unexported (golint)
    • Line 60: warning: exported function AddEventHandler should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/ms.go
    • Line 56: warning: exported method DataSource.RegisterService should have comment or be unexported (golint)
    • Line 141: warning: exported method DataSource.GetServices should have comment or be unexported (golint)
    • Line 160: warning: exported method DataSource.GetApplications should have comment or be unexported (golint)
    • Line 199: warning: exported method DataSource.GetService should have comment or be unexported (golint)
    • Line 223: warning: exported method DataSource.ExistServiceByID should have comment or be unexported (golint)
    • Line 238: warning: exported method DataSource.ExistService should have comment or be unexported (golint)
    • Line 275: warning: exported method DataSource.UnregisterService should have comment or be unexported (golint)
    • Line 287: warning: exported method DataSource.DelServicePri should have comment or be unexported (golint)
    • Line 369: warning: exported method DataSource.UpdateService should have comment or be unexported (golint)
    • Line 390: warning: exported method DataSource.GetDeleteServiceFunc should have comment or be unexported (golint)
    • Line 407: warning: exported method DataSource.GetServiceDetail should have comment or be unexported (golint)
    • Line 454: warning: exported method DataSource.GetServicesInfo should have comment or be unexported (golint)
    • Line 545: warning: exported method DataSource.GetServicesStatistics should have comment or be unexported (golint)
    • Line 562: warning: exported method DataSource.AddTags should have comment or be unexported (golint)
    • Line 587: warning: exported method DataSource.GetTags should have comment or be unexported (golint)
    • Line 608: warning: exported method DataSource.UpdateTag should have comment or be unexported (golint)
    • Line 654: warning: exported method DataSource.DeleteTags should have comment or be unexported (golint)
    • Line 702: warning: exported method DataSource.GetSchema should have comment or be unexported (golint)
    • Line 733: warning: exported method DataSource.GetAllSchemas should have comment or be unexported (golint)
    • Line 784: warning: exported method DataSource.ExistSchema should have comment or be unexported (golint)
    • Line 816: warning: exported method DataSource.DeleteSchema should have comment or be unexported (golint)
    • Line 845: warning: exported method DataSource.ModifySchema should have comment or be unexported (golint)
    • Line 871: warning: exported method DataSource.ModifySchemas should have comment or be unexported (golint)
    • Line 1111: warning: exported method DataSource.AddRule should have comment or be unexported (golint)
    • Line 1201: warning: exported method DataSource.GetRules should have comment or be unexported (golint)
    • Line 1226: warning: exported method DataSource.DeleteRule should have comment or be unexported (golint)
    • Line 1269: warning: exported method DataSource.UpdateRule should have comment or be unexported (golint)
    • Line 1331: warning: exported function ServiceExistID should have comment or be unexported (golint)
    • Line 1414: warning: comment on exported method DataSource.RegisterInstance should be of the form "RegisterInstance ..." (golint)
    • Line 1440: warning: exported function RegisterInstanceSingle should have comment or be unexported (golint)
    • Line 1453: warning: exported function RegisterInstanceBatch should have comment or be unexported (golint)
    • Line 1533: warning: exported method DataSource.ExistInstanceByID should have comment or be unexported (golint)
    • Line 1659: warning: exported method DataSource.GetInstances should have comment or be unexported (golint)
    • Line 1752: warning: exported method DataSource.GetAllInstances should have comment or be unexported (golint)
    • Line 1776: warning: exported method DataSource.BatchGetProviderInstances should have comment or be unexported (golint)
    • Line 1828: warning: exported method DataSource.UpdateInstanceStatus should have comment or be unexported (golint)
    • Line 1871: warning: exported method DataSource.UpdateInstanceProperties should have comment or be unexported (golint)
    • Line 1917: warning: exported method DataSource.UnregisterInstance should have comment or be unexported (golint)
    • Line 1939: warning: exported method DataSource.Heartbeat should have comment or be unexported (golint)
    • Line 1959: warning: exported method DataSource.HeartbeatSet should have comment or be unexported (golint)
    • Line 2012: warning: exported method DataSource.BatchFind should have comment or be unexported (golint)
    • Line 2267: warning: exported function AddServiceVersionRule should have comment or be unexported (golint)
    • Line 2288: warning: exported function DependencyRuleExist should have comment or be unexported (golint)
    • Line 2302: warning: exported function DependencyRuleExistUtil should have comment or be unexported (golint)
    • Line 2320: warning: exported function KeepAliveLease should have comment or be unexported (golint)
    • Line 2416: warning: exported function AppendFindResponse should have comment or be unexported (golint)
    • Line 2644: warning: exported function MatchRules should have comment or be unexported (golint)
    • Line 2740: warning: exported function DeleteDependencyForDeleteService should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/util/util.go
    • Line 27: warning: exported function SafeCloseChan should have comment or be unexported (golint)
    • Line 42: warning: exported function BytesToStringWithNoCopy should have comment or be unexported (golint)
    • Line 46: warning: exported function StringToBytesWithNoCopy should have comment or be unexported (golint)
    • Line 52: warning: exported function ListToMap should have comment or be unexported (golint)
    • Line 60: warning: exported function MapToList should have comment or be unexported (golint)
    • Line 68: warning: exported function StringJoin should have comment or be unexported (golint)
    • Line 92: warning: exported function GetCaller should have comment or be unexported (golint)
    • Line 98: warning: exported function Int16ToInt64 should have comment or be unexported (golint)
    • Line 118: warning: exported function FileLastName should have comment or be unexported (golint)
    • Line 127: warning: exported function SliceHave should have comment or be unexported (golint)
    • Line 136: warning: comment on exported function ResetTimer should be of the form "ResetTimer ..." (golint)
    • Line 152: warning: exported function StringTRUE should have comment or be unexported (golint)
    • Line 160: warning: exported function FromDomainProject should have comment or be unexported (golint)
    • Line 167: warning: exported function ToDomainProject should have comment or be unexported (golint)
    • Line 172: warning: exported function IsVersionOrHealthPattern should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/gopool/goroutines.go
    • Line 29: warning: exported var GlobalConfig should have comment or be unexported (golint)
    • Line 37: warning: exported type Config should have comment or be unexported (golint)
    • Line 42: warning: exported method Config.Workers should have comment or be unexported (golint)
    • Line 47: warning: exported method Config.Idle should have comment or be unexported (golint)
    • Line 52: warning: exported function Configure should have comment or be unexported (golint)
    • Line 59: warning: exported type Pool should have comment or be unexported (golint)
    • Line 150: warning: exported function New should have comment or be unexported (golint)
    • Line 166: warning: exported function Go should have comment or be unexported (golint)
    • Line 170: warning: exported function CloseAndWait should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/chain/callback.go
    • Line 29: warning: exported type CallbackFunc should have comment or be unexported (golint)
    • Line 31: warning: exported type Result should have comment or be unexported (golint)
    • Line 44: warning: exported type Callback should have comment or be unexported (golint)
    • Line 49: warning: exported method Callback.Invoke should have comment or be unexported (golint)
    • Line 60: warning: exported method Callback.Fail should have comment or be unexported (golint)
    • Line 68: warning: exported method Callback.Success should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/rpc/grpc.go
    • Line 22: warning: exported type RegisterServiceFunc should have comment or be unexported (golint)
    • Line 30: warning: exported function RegisterService should have comment or be unexported (golint)
    • Line 34: warning: exported function RegisterGRpcServer should have comment or be unexported (golint)
    • servicecomb-service-center/server/plugin/security/tlsconf/tlsconf.go
    • Line 26: warning: exported const TLS should have comment or be unexported (golint)
    • Line 30: warning: exported type TLSConfig should have comment or be unexported (golint)
    • Line 35: warning: exported function ClientConfig should have comment or be unexported (golint)
    • Line 39: warning: exported function ServerConfig should have comment or be unexported (golint)
    • Line 43: warning: exported function Init should have comment or be unexported (golint)
    • Line 48: warning: exported function GetOptions should have comment or be unexported (golint)
    • servicecomb-service-center/syncer/plugins/export.go
    • Line 20: warning: exported type PluginType should have comment or be unexported (golint)
    • Line 23: warning: exported const PluginServicecenter should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: exported method Manager.Servicecenter should have comment or be unexported (golint)
    • servicecomb-service-center/syncer/plugins/option.go
    • Line 34: warning: exported type SCConfigOption should have comment or be unexported (golint)
    • Line 36: warning: exported function WithEndpoints should have comment or be unexported (golint)
    • Line 40: warning: exported function WithTLSEnabled should have comment or be unexported (golint)
    • Line 44: warning: exported function WithTLSVerifyPeer should have comment or be unexported (golint)
    • Line 48: warning: exported function WithTLSPassphrase should have comment or be unexported (golint)
    • Line 52: warning: exported function WithTLSCAFile should have comment or be unexported (golint)
    • Line 56: warning: exported function WithTLSCertFile should have comment or be unexported (golint)
    • Line 60: warning: exported function WithTLSKeyFile should have comment or be unexported (golint)
    • Line 64: warning: exported function ToSCConfig should have comment or be unexported (golint)
    • servicecomb-service-center/client/instance.go
    • Line 37: warning: exported method Client.RegisterInstance should have comment or be unexported (golint)
    • Line 71: warning: exported method Client.UnregisterInstance should have comment or be unexported (golint)
    • Line 95: warning: exported method Client.DiscoveryInstances should have comment or be unexported (golint)
    • Line 131: warning: exported method Client.Heartbeat should have comment or be unexported (golint)
    • Line 155: warning: exported method Client.HeartbeatSet should have comment or be unexported (golint)
    • Line 190: warning: exported method Client.GetInstancesByServiceID should have comment or be unexported (golint)
    • Line 220: warning: exported method Client.GetInstanceByInstanceID should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/client/common.go
    • Line 25: warning: exported const ActionGet should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported const OrderByKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported const SortNone should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported const CmpVersion should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported const CmpEqual should have comment (or a comment on this block) or be unexported (golint)
    • Line 56: warning: exported const ModeBoth should have comment (or a comment on this block) or be unexported (golint)
    • Line 62: warning: comment on exported const DefaultPageCount should be of the form "DefaultPageCount ..." (golint)
    • Line 64: warning: comment on exported const DefaultDialTimeout should be of the form "DefaultDialTimeout ..." (golint)
    • Line 66: warning: exported const DefaultRequestTimeout should have comment (or a comment on this block) or be unexported (golint)
    • servicecomb-service-center/client/client.go
    • Line 23: warning: exported function NewSCClient should have comment or be unexported (golint)
    • Line 31: warning: exported type Client should have comment or be unexported (golint)
    • Line 36: warning: exported method Client.CommonHeaders should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/cache/instance.go
    • Line 30: warning: exported var FindInstances should have comment or be unexported (golint)
    • Line 44: warning: exported type VersionRuleCacheItem should have comment or be unexported (golint)
    • Line 53: warning: exported method VersionRuleCacheItem.InitBrokenQueue should have comment or be unexported (golint)
    • Line 61: warning: exported method VersionRuleCacheItem.BrokenWait should have comment or be unexported (golint)
    • Line 66: warning: exported method VersionRuleCacheItem.Broken should have comment or be unexported (golint)
    • Line 71: warning: exported type FindInstancesCache should have comment or be unexported (golint)
    • Line 75: warning: exported method FindInstancesCache.Get should have comment or be unexported (golint)
    • Line 90: warning: exported method FindInstancesCache.GetWithProviderID should have comment or be unexported (golint)
    • Line 96: warning: exported method FindInstancesCache.Remove should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/admin/controller_v4.go
    • Line 30: warning: comment on exported type ControllerV4 should be of the form "ControllerV4 ..." (with optional leading article) (golint)
    • Line 44: warning: exported method ControllerV4.Dump should have comment or be unexported (golint)
    • Line 58: warning: exported method ControllerV4.Clusters should have comment or be unexported (golint)
    • Line 65: warning: exported method ControllerV4.AlarmList should have comment or be unexported (golint)
    • Line 72: warning: exported method ControllerV4.ClearAlarm should have comment or be unexported (golint)
    • servicecomb-service-center/syncer/server/http.go
    • Line 31: warning: exported const Message should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported method Server.FullSync should have comment or be unexported (golint)
    • Line 44: warning: exported method Server.URLPatterns should have comment or be unexported (golint)
    • Line 52: warning: exported method Server.NewHTTPServer should have comment or be unexported (golint)
    • servicecomb-service-center/server/api.go
    • Line 51: warning: exported function InitAPI should have comment or be unexported (golint)
    • Line 55: warning: exported type APIType should have comment or be unexported (golint)
    • Line 68: warning: exported type APIServer should have comment or be unexported (golint)
    • Line 79: warning: exported const RPC should have comment (or a comment on this block) or be unexported (golint)
    • Line 83: warning: exported method APIServer.Err should have comment or be unexported (golint)
    • Line 95: warning: exported method APIServer.MarkForked should have comment or be unexported (golint)
    • Line 99: warning: exported method APIServer.AddListener should have comment or be unexported (golint)
    • Line 144: warning: exported method APIServer.Start should have comment or be unexported (golint)
    • Line 171: warning: exported method APIServer.Stop should have comment or be unexported (golint)
    • Line 210: warning: exported function GetAPIServer should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/client/dao/rule.go
    • Line 35: warning: exported function GetRulesByServiceID should have comment or be unexported (golint)
    • Line 40: warning: exported function GetRules should have comment or be unexported (golint)
    • Line 62: warning: exported function GetServiceRules should have comment or be unexported (golint)
    • Line 79: warning: exported function RuleExist should have comment or be unexported (golint)
    • Line 83: warning: exported function UpdateRule should have comment or be unexported (golint)
    • Line 87: warning: exported function UpdateSchema should have comment or be unexported (golint)
    • servicecomb-service-center/scctl/pkg/model/types.go
    • Line 28: warning: exported function GetDomainProject should have comment or be unexported (golint)
    • Line 40: warning: exported type Service should have comment or be unexported (golint)
    • Line 51: warning: exported method Service.AppendVersion should have comment or be unexported (golint)
    • Line 55: warning: exported method Service.AppendFramework should have comment or be unexported (golint)
    • Line 67: warning: exported method Service.AppendEndpoints should have comment or be unexported (golint)
    • Line 71: warning: exported method Service.UpdateTimestamp should have comment or be unexported (golint)
    • Line 81: warning: exported method Service.Age should have comment or be unexported (golint)
    • Line 85: warning: exported type Instance should have comment or be unexported (golint)
    • Line 98: warning: exported method Instance.SetLease should have comment or be unexported (golint)
    • Line 110: warning: exported method Instance.UpdateTimestamp should have comment or be unexported (golint)
    • Line 120: warning: exported method Instance.Age should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/client/dao/microservice.go
    • Line 34: warning: exported function GetServiceByID should have comment or be unexported (golint)
    • Line 38: warning: exported function GetService should have comment or be unexported (golint)
    • Line 54: warning: exported function GetServiceID should have comment or be unexported (golint)
    • Line 91: warning: exported function GetServices should have comment or be unexported (golint)
    • Line 108: warning: exported function GetMicroServices should have comment or be unexported (golint)
    • Line 125: warning: exported function UpdateService should have comment or be unexported (golint)
    • Line 137: warning: exported function GetServicesVersions should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/prometheus/decorator.go
    • Line 40: warning: exported function NewCounterVec should have comment or be unexported (golint)
    • Line 47: warning: exported function NewGaugeVec should have comment or be unexported (golint)
    • Line 54: warning: exported function NewSummaryVec should have comment or be unexported (golint)
    • Line 61: warning: exported function Gather should have comment or be unexported (golint)
    • servicecomb-service-center/scctl/pkg/cmd/cmd.go
    • Line 30: warning: exported const ExitSuccess should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported var ScClientConfig should have comment or be unexported (golint)
    • Line 78: warning: exported function RootCmd should have comment or be unexported (golint)
    • Line 82: warning: exported function StopAndExit should have comment or be unexported (golint)
    • Line 95: warning: exported function Run should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/value/parser.go
    • Line 33: warning: comment on exported type CreateValueFunc should be of the form "CreateValueFunc ..." (with optional leading article) (golint)
    • Line 48: warning: comment on exported type ParseValueFunc should be of the form "ParseValueFunc ..." (with optional leading article) (golint)
    • Line 52: warning: exported var UnParse should have comment or be unexported (golint)
    • Line 85: warning: exported type Parser should have comment or be unexported (golint)
    • Line 89: warning: exported type CommonParser should have comment or be unexported (golint)
    • Line 94: warning: exported method CommonParser.Unmarshal should have comment or be unexported (golint)
    • servicecomb-service-center/server/service/tag.go
    • Line 30: warning: exported method MicroServiceService.AddTags should have comment or be unexported (golint)
    • Line 43: warning: exported method MicroServiceService.UpdateTag should have comment or be unexported (golint)
    • Line 57: warning: exported method MicroServiceService.DeleteTags should have comment or be unexported (golint)
    • Line 70: warning: exported method MicroServiceService.GetTags should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/cache/ms_cache.go
    • Line 32: warning: exported const Provider should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported function GetProviderServiceOfDeps should have comment or be unexported (golint)
    • Line 63: warning: exported function GetMicroServiceInstancesByID should have comment or be unexported (golint)
    • Line 87: warning: exported function GetRulesByServiceID should have comment or be unexported (golint)
    • Line 112: warning: exported function GetServiceByID should have comment or be unexported (golint)
    • Line 121: warning: exported function GetServiceID should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/task/executor.go
    • Line 29: warning: exported type Executor should have comment or be unexported (golint)
    • Line 35: warning: exported method Executor.AddTask should have comment or be unexported (golint)
    • Line 47: warning: exported method Executor.Execute should have comment or be unexported (golint)
    • Line 65: warning: exported method Executor.Close should have comment or be unexported (golint)
    • Line 69: warning: exported function NewExecutor should have comment or be unexported (golint)
    • servicecomb-service-center/server/alarm/model/types.go
    • Line 23: warning: exported type ID should have comment or be unexported (golint)
    • Line 25: warning: exported type Status should have comment or be unexported (golint)
    • Line 27: warning: exported type Field should have comment or be unexported (golint)
    • Line 32: warning: exported type AlarmEvent should have comment or be unexported (golint)
    • Line 39: warning: exported method AlarmEvent.FieldBool should have comment or be unexported (golint)
    • Line 44: warning: exported method AlarmEvent.FieldString should have comment or be unexported (golint)
    • Line 49: warning: exported method AlarmEvent.FieldInt64 should have comment or be unexported (golint)
    • Line 54: warning: exported method AlarmEvent.FieldInt should have comment or be unexported (golint)
    • Line 59: warning: exported method AlarmEvent.FieldFloat64 should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v4/instance_watcher.go
    • Line 32: warning: exported const APIWatch should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported type WatchService should have comment or be unexported (golint)
    • Line 45: warning: exported method WatchService.URLPatterns should have comment or be unexported (golint)
    • Line 65: warning: exported method WatchService.Watch should have comment or be unexported (golint)
    • Line 78: warning: exported method WatchService.Heartbeat should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/path/key_generator.go
    • Line 27: warning: exported const SPLIT should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported function GetRootKey should have comment or be unexported (golint)
    • Line 56: warning: exported function GenerateRBACAccountKey should have comment or be unexported (golint)
    • Line 64: warning: exported function GetProjectRootKey should have comment or be unexported (golint)
    • Line 72: warning: exported function GenerateRBACRoleKey should have comment or be unexported (golint)
    • Line 80: warning: exported function GenerateETCDProjectKey should have comment or be unexported (golint)
    • Line 87: warning: exported function GenerateETCDDomainKey should have comment or be unexported (golint)
    • Line 94: warning: exported function GetServiceRootKey should have comment or be unexported (golint)
    • Line 103: warning: exported function GenerateServiceKey should have comment or be unexported (golint)
    • Line 110: warning: exported function GetServiceIndexRootKey should have comment or be unexported (golint)
    • Line 119: warning: exported function GetServiceAliasRootKey should have comment or be unexported (golint)
    • Line 128: warning: exported function GetServiceAppKey should have comment or be unexported (golint)
    • Line 136: warning: exported function GetServiceRuleRootKey should have comment or be unexported (golint)
    • Line 145: warning: exported function GetServiceRuleIndexRootKey should have comment or be unexported (golint)
    • Line 154: warning: exported function GetServiceTagRootKey should have comment or be unexported (golint)
    • Line 163: warning: exported function GetServiceSchemaRootKey should have comment or be unexported (golint)
    • Line 172: warning: exported function GetInstanceRootKey should have comment or be unexported (golint)
    • Line 181: warning: exported function GetInstanceLeaseRootKey should have comment or be unexported (golint)
    • Line 190: warning: exported function GenerateRuleIndexKey should have comment or be unexported (golint)
    • Line 199: warning: exported function GenerateServiceIndexKey should have comment or be unexported (golint)
    • Line 209: warning: exported function GenerateServiceAliasKey should have comment or be unexported (golint)
    • Line 219: warning: exported function GenerateServiceRuleKey should have comment or be unexported (golint)
    • Line 227: warning: exported function GenerateServiceTagKey should have comment or be unexported (golint)
    • Line 234: warning: exported function GenerateServiceSchemaKey should have comment or be unexported (golint)
    • Line 242: warning: exported function GenerateServiceSchemaSummaryKey should have comment or be unexported (golint)
    • Line 250: warning: exported function GetServiceSchemaSummaryRootKey should have comment or be unexported (golint)
    • Line 259: warning: exported function GenerateInstanceKey should have comment or be unexported (golint)
    • Line 267: warning: exported function GenerateInstanceLeaseKey should have comment or be unexported (golint)
    • Line 275: warning: exported function GenerateServiceDependencyRuleKey should have comment or be unexported (golint)
    • Line 300: warning: exported function GenerateConsumerDependencyRuleKey should have comment or be unexported (golint)
    • Line 304: warning: exported function GenerateProviderDependencyRuleKey should have comment or be unexported (golint)
    • Line 308: warning: exported function GetServiceDependencyRuleRootKey should have comment or be unexported (golint)
    • Line 317: warning: exported function GetServiceDependencyQueueRootKey should have comment or be unexported (golint)
    • Line 326: warning: exported function GenerateConsumerDependencyQueueKey should have comment or be unexported (golint)
    • Line 334: warning: exported function GetServiceDependencyRootKey should have comment or be unexported (golint)
    • Line 343: warning: exported function GetDomainRootKey should have comment or be unexported (golint)
    • Line 350: warning: exported function GenerateDomainKey should have comment or be unexported (golint)
    • Line 356: warning: exported function GenerateAccountKey should have comment or be unexported (golint)
    • Line 363: warning: exported function GenerateRBACSecretKey should have comment or be unexported (golint)
    • Line 369: warning: exported function GetServerInfoKey should have comment or be unexported (golint)
    • Line 376: warning: exported function GetMetricsRootKey should have comment or be unexported (golint)
    • Line 383: warning: exported function GenerateMetricsKey should have comment or be unexported (golint)
    • Line 392: warning: exported function GenerateProjectKey should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/server_mux.go
    • Line 38: warning: exported var DefaultServerMux should have comment or be unexported (golint)
    • Line 44: warning: exported function RegisterServeMux should have comment or be unexported (golint)
    • Line 48: warning: exported function RegisterServeMuxHandleFunc should have comment or be unexported (golint)
    • Line 55: warning: exported function RegisterServeMuxHandler should have comment or be unexported (golint)
    • Line 63: warning: exported function RegisterServerHandleFunc should have comment or be unexported (golint)
    • Line 67: warning: exported function RegisterServerHandler should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/kv/kv.go
    • Line 18: warning: package comment should be of the form "Package kv ..." (golint)
    • Line 40: warning: exported type TypeStore should have comment or be unexported (golint)
    • Line 49: warning: exported method TypeStore.Initialize should have comment or be unexported (golint)
    • Line 55: warning: exported method TypeStore.OnCacheEvent should have comment or be unexported (golint)
    • Line 61: warning: exported method TypeStore.InjectConfig should have comment or be unexported (golint)
    • Line 83: warning: exported method TypeStore.Run should have comment or be unexported (golint)
    • Line 128: warning: exported method TypeStore.Stop should have comment or be unexported (golint)
    • Line 146: warning: exported method TypeStore.Ready should have comment or be unexported (golint)
    • Line 150: warning: exported method TypeStore.Install should have comment or be unexported (golint)
    • Line 170: warning: exported method TypeStore.MustInstall should have comment or be unexported (golint)
    • Line 178: warning: exported method TypeStore.Adaptors should have comment or be unexported (golint)
    • Line 179: warning: exported method TypeStore.Service should have comment or be unexported (golint)
    • Line 180: warning: exported method TypeStore.SchemaSummary should have comment or be unexported (golint)
    • Line 181: warning: exported method TypeStore.Instance should have comment or be unexported (golint)
    • Line 182: warning: exported method TypeStore.Lease should have comment or be unexported (golint)
    • Line 183: warning: exported method TypeStore.ServiceIndex should have comment or be unexported (golint)
    • Line 184: warning: exported method TypeStore.ServiceAlias should have comment or be unexported (golint)
    • Line 185: warning: exported method TypeStore.ServiceTag should have comment or be unexported (golint)
    • Line 186: warning: exported method TypeStore.Rule should have comment or be unexported (golint)
    • Line 187: warning: exported method TypeStore.RuleIndex should have comment or be unexported (golint)
    • Line 188: warning: exported method TypeStore.Schema should have comment or be unexported (golint)
    • Line 189: warning: exported method TypeStore.DependencyRule should have comment or be unexported (golint)
    • Line 190: warning: exported method TypeStore.DependencyQueue should have comment or be unexported (golint)
    • Line 191: warning: exported method TypeStore.Domain should have comment or be unexported (golint)
    • Line 192: warning: exported method TypeStore.Project should have comment or be unexported (golint)
    • Line 194: warning: exported function Store should have comment or be unexported (golint)
    • Line 198: warning: exported function Revision should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/dump/types.go
    • Line 24: warning: exported type AlarmListRequest should have comment or be unexported (golint)
    • Line 27: warning: exported type AlarmListResponse should have comment or be unexported (golint)
    • Line 32: warning: exported type ClustersRequest should have comment or be unexported (golint)
    • Line 35: warning: exported type ClustersResponse should have comment or be unexported (golint)
    • Line 40: warning: exported type ClearAlarmRequest should have comment or be unexported (golint)
    • Line 43: warning: exported type ClearAlarmResponse should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/account.go
    • Line 36: warning: exported method DataSource.CreateAccount should have comment or be unexported (golint)
    • Line 80: warning: exported method DataSource.AccountExist should have comment or be unexported (golint)
    • Line 91: warning: exported method DataSource.GetAccount should have comment or be unexported (golint)
    • Line 120: warning: exported method DataSource.ListAccount should have comment or be unexported (golint)
    • Line 140: warning: exported method DataSource.DeleteAccount should have comment or be unexported (golint)
    • Line 154: warning: exported method DataSource.UpdateAccount should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/metrics/gatherer.go
    • Line 31: warning: exported function NewGatherer should have comment or be unexported (golint)
    • Line 39: warning: exported type Gather should have comment or be unexported (golint)
    • Line 47: warning: exported method Gather.Start should have comment or be unexported (golint)
    • Line 77: warning: exported method Gather.Collect should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/role.go
    • Line 37: warning: exported method DataSource.CreateRole should have comment or be unexported (golint)
    • Line 74: warning: exported method DataSource.RoleExist should have comment or be unexported (golint)
    • Line 85: warning: exported method DataSource.GetRole should have comment or be unexported (golint)
    • Line 102: warning: exported method DataSource.ListRole should have comment or be unexported (golint)
    • Line 121: warning: exported method DataSource.DeleteRole should have comment or be unexported (golint)
    • Line 129: warning: exported method DataSource.UpdateRole should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/event/poster.go
    • Line 30: warning: exported method Poster.Subject should have comment or be unexported (golint)
    • Line 34: warning: exported method Poster.Post should have comment or be unexported (golint)
    • Line 56: warning: exported method Poster.Groups should have comment or be unexported (golint)
    • Line 64: warning: exported method Poster.GetOrNewGroup should have comment or be unexported (golint)
    • Line 71: warning: exported method Poster.RemoveGroup should have comment or be unexported (golint)
    • Line 75: warning: exported method Poster.Size should have comment or be unexported (golint)
    • Line 79: warning: exported function NewPoster should have comment or be unexported (golint)
    • servicecomb-service-center/server/config/options.go
    • Line 20: warning: exported type Options should have comment or be unexported (golint)
    • Line 25: warning: exported type Option should have comment or be unexported (golint)
    • Line 27: warning: exported function WithENV should have comment or be unexported (golint)
    • Line 33: warning: exported function WithStandby should have comment or be unexported (golint)
    • Line 39: warning: exported function NewOptions should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/client/model/types.go
    • Line 27: warning: exported const CollectionAccount should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported const ColumnDomain should have comment (or a comment on this block) or be unexported (golint)
    • Line 80: warning: exported type Service should have comment or be unexported (golint)
    • Line 87: warning: exported type Schema should have comment or be unexported (golint)
    • Line 96: warning: exported type Rule should have comment or be unexported (golint)
    • Line 103: warning: exported type Instance should have comment or be unexported (golint)
    • Line 110: warning: exported type ConsumerDep should have comment or be unexported (golint)
    • Line 118: warning: exported type DependencyRule should have comment or be unexported (golint)
    • Line 126: warning: exported type DelDepCacheKey should have comment or be unexported (golint)
    • Line 131: warning: exported type Domain should have comment or be unexported (golint)
    • Line 135: warning: exported type Project should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/dump/dump.go
    • Line 25: warning: exported type Getter should have comment or be unexported (golint)
    • Line 29: warning: exported type Setter should have comment or be unexported (golint)
    • Line 33: warning: exported type MicroserviceSlice should have comment or be unexported (golint)
    • Line 34: warning: exported type MicroserviceIndexSlice should have comment or be unexported (golint)
    • Line 35: warning: exported type MicroserviceAliasSlice should have comment or be unexported (golint)
    • Line 36: warning: exported type TagSlice should have comment or be unexported (golint)
    • Line 37: warning: exported type MicroServiceRuleSlice should have comment or be unexported (golint)
    • Line 38: warning: exported type MicroServiceRuleIndexSlice should have comment or be unexported (golint)
    • Line 39: warning: exported type MicroServiceDependencyRuleSlice should have comment or be unexported (golint)
    • Line 40: warning: exported type SummarySlice should have comment or be unexported (golint)
    • Line 41: warning: exported type InstanceSlice should have comment or be unexported (golint)
    • Line 43: warning: exported method MicroserviceSlice.ForEach should have comment or be unexported (golint)
    • Line 51: warning: exported method MicroserviceIndexSlice.ForEach should have comment or be unexported (golint)
    • Line 59: warning: exported method MicroserviceAliasSlice.ForEach should have comment or be unexported (golint)
    • Line 67: warning: exported method TagSlice.ForEach should have comment or be unexported (golint)
    • Line 75: warning: exported method MicroServiceRuleIndexSlice.ForEach should have comment or be unexported (golint)
    • Line 83: warning: exported method MicroServiceRuleSlice.ForEach should have comment or be unexported (golint)
    • Line 91: warning: exported method MicroServiceDependencyRuleSlice.ForEach should have comment or be unexported (golint)
    • Line 99: warning: exported method SummarySlice.ForEach should have comment or be unexported (golint)
    • Line 107: warning: exported method InstanceSlice.ForEach should have comment or be unexported (golint)
    • Line 116: warning: exported method MicroserviceSlice.SetValue should have comment or be unexported (golint)
    • Line 117: warning: exported method MicroserviceIndexSlice.SetValue should have comment or be unexported (golint)
    • Line 118: warning: exported method MicroserviceAliasSlice.SetValue should have comment or be unexported (golint)
    • Line 119: warning: exported method TagSlice.SetValue should have comment or be unexported (golint)
    • Line 120: warning: exported method MicroServiceRuleIndexSlice.SetValue should have comment or be unexported (golint)
    • Line 121: warning: exported method MicroServiceRuleSlice.SetValue should have comment or be unexported (golint)
    • Line 122: warning: exported method MicroServiceDependencyRuleSlice.SetValue should have comment or be unexported (golint)
    • Line 125: warning: exported method SummarySlice.SetValue should have comment or be unexported (golint)
    • Line 126: warning: exported method InstanceSlice.SetValue should have comment or be unexported (golint)
    • Line 128: warning: exported function NewMicroservice should have comment or be unexported (golint)
    • Line 131: warning: exported function NewMicroserviceIndex should have comment or be unexported (golint)
    • Line 134: warning: exported function NewMicroserviceAlias should have comment or be unexported (golint)
    • Line 137: warning: exported function NewTag should have comment or be unexported (golint)
    • Line 138: warning: exported function NewMicroServiceRuleIndex should have comment or be unexported (golint)
    • Line 141: warning: exported function NewMicroServiceRule should have comment or be unexported (golint)
    • Line 144: warning: exported function NewMicroServiceDependencyRule should have comment or be unexported (golint)
    • Line 147: warning: exported function NewSummary should have comment or be unexported (golint)
    • Line 148: warning: exported function NewInstance should have comment or be unexported (golint)
    • Line 152: warning: exported type Cache should have comment or be unexported (golint)
    • Line 164: warning: exported type KV should have comment or be unexported (golint)
    • Line 171: warning: exported type Microservice should have comment or be unexported (golint)
    • Line 176: warning: exported type MicroserviceIndex should have comment or be unexported (golint)
    • Line 181: warning: exported type MicroserviceAlias should have comment or be unexported (golint)
    • Line 186: warning: exported type MicroServiceDependencyRule should have comment or be unexported (golint)
    • Line 191: warning: exported type MicroServiceRuleIndex should have comment or be unexported (golint)
    • Line 196: warning: exported type MicroServiceRule should have comment or be unexported (golint)
    • Line 200: warning: exported type Summary should have comment or be unexported (golint)
    • Line 205: warning: exported type Tag should have comment or be unexported (golint)
    • Line 210: warning: exported type Instance should have comment or be unexported (golint)
    • Line 215: warning: exported type Request should have comment or be unexported (golint)
    • Line 219: warning: exported type Response should have comment or be unexported (golint)
    • Line 226: warning: exported type WatchInstanceChangedEvent should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/rest/client.go
    • Line 51: warning: exported type URLClientOption should have comment or be unexported (golint)
    • Line 76: warning: exported function NewGZipBodyReader should have comment or be unexported (golint)
    • Line 84: warning: exported type URLClient should have comment or be unexported (golint)
    • Line 92: warning: exported method URLClient.HTTPDoWithContext should have comment or be unexported (golint)
    • Line 151: warning: exported function DumpRequestOut should have comment or be unexported (golint)
    • Line 167: warning: exported function DumpResponse should have comment or be unexported (golint)
    • Line 182: warning: exported method URLClient.HTTPDo should have comment or be unexported (golint)
    • Line 186: warning: exported function DefaultURLClientOption should have comment or be unexported (golint)
    • Line 211: warning: exported function GetURLClient should have comment or be unexported (golint)
    • servicecomb-service-center/syncer/client/watch_client.go
    • Line 42: warning: exported var TenantHeader should have comment or be unexported (golint)
    • Line 47: warning: exported type WatchClient should have comment or be unexported (golint)
    • Line 66: warning: exported method WatchClient.GetDefaultHeaders should have comment or be unexported (golint)
    • Line 75: warning: exported method WatchClient.WebsocketDial should have comment or be unexported (golint)
    • Line 104: warning: exported method WatchClient.WatchInstances should have comment or be unexported (golint)
    • Line 160: warning: exported method WatchClient.WatchInstanceHeartbeat should have comment or be unexported (golint)
    • servicecomb-service-center/syncer/server/handler.go
    • Line 36: warning: exported const EventDiscovered should have comment (or a comment on this block) or be unexported (golint)
    • Line 79: warning: exported method Server.IncrementPull should have comment or be unexported (golint)
    • Line 84: warning: exported method Server.DeclareDataLength should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/sd/types.go
    • Line 40: warning: exported var CacherRegister should have comment or be unexported (golint)
    • Line 42: warning: exported function RegisterCacher should have comment or be unexported (golint)
    • Line 51: warning: exported type MongoEvent should have comment or be unexported (golint)
    • Line 57: warning: exported type MongoEventFunc should have comment or be unexported (golint)
    • Line 59: warning: exported type MongoEventHandler should have comment or be unexported (golint)
    • Line 64: warning: exported function NewMongoEventByResource should have comment or be unexported (golint)
    • Line 72: warning: exported function NewMongoEvent should have comment or be unexported (golint)
    • Line 80: warning: exported type MongoWatchResponse should have comment or be unexported (golint)
    • Line 86: warning: exported type MongoDocument should have comment or be unexported (golint)
    • Line 90: warning: exported type ResumeToken should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/client/remote/tracing.go
    • Line 28: warning: exported type EtcdOptions should have comment or be unexported (golint)
    • Line 32: warning: exported method EtcdOptions.Method should have comment or be unexported (golint)
    • Line 36: warning: exported method EtcdOptions.URL should have comment or be unexported (golint)
    • Line 40: warning: exported function TracingBegin should have comment or be unexported (golint)
    • Line 49: warning: exported function TracingEnd should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/fast_register_timer.go
    • Line 43: warning: exported type FastRegisterTimeTask should have comment or be unexported (golint)
    • Line 47: warning: exported function NewRegisterTimeTask should have comment or be unexported (golint)
    • Line 53: warning: exported method FastRegisterTimeTask.Start should have comment or be unexported (golint)
    • Line 57: warning: exported method FastRegisterTimeTask.Stop should have comment or be unexported (golint)
    • Line 132: warning: exported method FastRegisterTimeTask.RegisterInstancesAsync should have comment or be unexported (golint)
    • Line 156: warning: exported method FastRegisterTimeTask.RegisterInstance should have comment or be unexported (golint)
    • servicecomb-service-center/test/test.go
    • Line 22: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 24: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • servicecomb-service-center/datasource/mongo/sd/mongo_cacher.go
    • Line 53: warning: exported method MongoCacher.Cache should have comment or be unexported (golint)
    • Line 57: warning: exported method MongoCacher.Run should have comment or be unexported (golint)
    • Line 63: warning: exported method MongoCacher.Stop should have comment or be unexported (golint)
    • Line 69: warning: exported method MongoCacher.Ready should have comment or be unexported (golint)
    • Line 73: warning: exported method MongoCacher.IsReady should have comment or be unexported (golint)
    • Line 137: warning: exported method MongoCacher.ListAndWatch should have comment or be unexported (golint)
    • Line 411: warning: exported function NewMongoCacher should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/event/tag_event_handler.go
    • Line 39: warning: exported type TagsChangedTask should have comment or be unexported (golint)
    • Line 49: warning: exported method TagsChangedTask.Key should have comment or be unexported (golint)
    • Line 53: warning: exported method TagsChangedTask.Do should have comment or be unexported (golint)
    • Line 58: warning: exported method TagsChangedTask.Err should have comment or be unexported (golint)
    • Line 105: warning: exported method TagEventHandler.Type should have comment or be unexported (golint)
    • Line 109: warning: exported method TagEventHandler.OnEvent should have comment or be unexported (golint)
    • Line 131: warning: exported function NewTagEventHandler should have comment or be unexported (golint)
    • Line 135: warning: exported function NewTagsChangedAsyncTask should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/metrics/calculator.go
    • Line 25: warning: exported var DefaultCalculator should have comment or be unexported (golint)
    • Line 33: warning: exported type CommonCalculator should have comment or be unexported (golint)
    • Line 36: warning: comment on exported method CommonCalculator.Calc should be of the form "Calc ..." (golint)
    • Line 106: warning: exported function RegisterCalculator should have comment or be unexported (golint)
    • Line 110: warning: exported function Calculate should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v4/query_rule_controller.go
    • Line 33: warning: exported type RuleService should have comment or be unexported (golint)
    • Line 37: warning: exported method RuleService.URLPatterns should have comment or be unexported (golint)
    • Line 45: warning: exported method RuleService.AddRule should have comment or be unexported (golint)
    • Line 72: warning: exported method RuleService.DeleteRule should have comment or be unexported (golint)
    • Line 84: warning: exported method RuleService.UpdateRule should have comment or be unexported (golint)
    • Line 113: warning: exported method RuleService.GetRules should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/util/reflect.go
    • Line 39: warning: exported type ReflectObject should have comment or be unexported (golint)
    • Line 52: warning: exported type Reflector should have comment or be unexported (golint)
    • Line 57: warning: exported method Reflector.Load should have comment or be unexported (golint)
    • Line 122: warning: exported function Reflect should have comment or be unexported (golint)
    • Line 126: warning: exported function Sizeof should have comment or be unexported (golint)
    • Line 205: warning: exported function FormatFuncName should have comment or be unexported (golint)
    • Line 216: warning: exported function FuncName should have comment or be unexported (golint)
    • servicecomb-service-center/client/microservice.go
    • Line 35: warning: exported method Client.CreateService should have comment or be unexported (golint)
    • Line 69: warning: exported method Client.DeleteService should have comment or be unexported (golint)
    • Line 93: warning: exported method Client.ServiceExistence should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/ms.go
    • Line 47: warning: comment on exported method DataSource.RegisterService should be of the form "RegisterService ..." (golint)
    • Line 162: warning: exported method DataSource.GetServices should have comment or be unexported (golint)
    • Line 178: warning: exported method DataSource.GetService should have comment or be unexported (golint)
    • Line 201: warning: exported method DataSource.GetServiceDetail should have comment or be unexported (golint)
    • Line 253: warning: exported method DataSource.GetServicesInfo should have comment or be unexported (golint)
    • Line 356: warning: exported method DataSource.GetServicesStatistics should have comment or be unexported (golint)
    • Line 373: warning: exported method DataSource.GetApplications should have comment or be unexported (golint)
    • Line 413: warning: exported method DataSource.ExistServiceByID should have comment or be unexported (golint)
    • Line 421: warning: exported method DataSource.ExistService should have comment or be unexported (golint)
    • Line 459: warning: exported method DataSource.UpdateService should have comment or be unexported (golint)
    • Line 521: warning: exported method DataSource.UnregisterService should have comment or be unexported (golint)
    • Line 529: warning: exported method DataSource.GetServiceCountByDomainProject should have comment or be unexported (golint)
    • Line 544: warning: exported method DataSource.RegisterInstance should have comment or be unexported (golint)
    • Line 662: warning: exported method DataSource.ExistInstanceByID should have comment or be unexported (golint)
    • Line 677: warning: exported method DataSource.GetInstance should have comment or be unexported (golint)
    • Line 758: warning: exported method DataSource.GetInstances should have comment or be unexported (golint)
    • Line 838: warning: exported method DataSource.GetProviderInstances should have comment or be unexported (golint)
    • Line 851: warning: exported method DataSource.BatchGetProviderInstances should have comment or be unexported (golint)
    • Line 895: warning: exported method DataSource.FindInstances should have comment or be unexported (golint)
    • Line 1056: warning: exported method DataSource.UpdateInstanceStatus should have comment or be unexported (golint)
    • Line 1094: warning: exported method DataSource.UpdateInstanceProperties should have comment or be unexported (golint)
    • Line 1133: warning: exported method DataSource.HeartbeatSet should have comment or be unexported (golint)
    • Line 1181: warning: exported method DataSource.BatchFind should have comment or be unexported (golint)
    • Line 1274: warning: exported method DataSource.UnregisterInstance should have comment or be unexported (golint)
    • Line 1302: warning: exported method DataSource.Heartbeat should have comment or be unexported (golint)
    • Line 1333: warning: exported method DataSource.GetAllInstances should have comment or be unexported (golint)
    • Line 1355: warning: exported method DataSource.ModifySchemas should have comment or be unexported (golint)
    • Line 1394: warning: exported method DataSource.ModifySchema should have comment or be unexported (golint)
    • Line 1423: warning: exported method DataSource.ExistSchema should have comment or be unexported (golint)
    • Line 1463: warning: exported method DataSource.GetSchema should have comment or be unexported (golint)
    • Line 1507: warning: exported method DataSource.GetAllSchemas should have comment or be unexported (golint)
    • Line 1582: warning: exported method DataSource.DeleteSchema should have comment or be unexported (golint)
    • Line 1644: warning: exported method DataSource.AddTags should have comment or be unexported (golint)
    • Line 1675: warning: exported method DataSource.GetTags should have comment or be unexported (golint)
    • Line 1698: warning: exported method DataSource.UpdateTag should have comment or be unexported (golint)
    • Line 1754: warning: exported method DataSource.DeleteTags should have comment or be unexported (golint)
    • Line 1829: warning: exported method DataSource.AddRule should have comment or be unexported (golint)
    • Line 1947: warning: exported method DataSource.GetRules should have comment or be unexported (golint)
    • Line 1973: warning: exported method DataSource.UpdateRule should have comment or be unexported (golint)
    • Line 2082: warning: exported method DataSource.DeleteRule should have comment or be unexported (golint)
    • Line 2369: warning: exported method DataSource.DeleteServicePri should have comment or be unexported (golint)
    • Line 2510: warning: exported method DataSource.GetDeleteServiceFunc should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/util/rule_util.go
    • Line 38: warning: exported type RuleFilter should have comment or be unexported (golint)
    • Line 43: warning: exported method RuleFilter.Filter should have comment or be unexported (golint)
    • Line 68: warning: exported method RuleFilter.FilterAll should have comment or be unexported (golint)
    • Line 92: warning: exported function GetRulesUtil should have comment or be unexported (golint)
    • Line 112: warning: exported function RuleExist should have comment or be unexported (golint)
    • Line 123: warning: exported function GetServiceRuleType should have comment or be unexported (golint)
    • Line 139: warning: exported function GetOneRule should have comment or be unexported (golint)
    • Line 154: warning: exported function AllowAcrossDimension should have comment or be unexported (golint)
    • Line 173: warning: exported function MatchRules should have comment or be unexported (golint)
    • Line 253: warning: exported function Accessible should have comment or be unexported (golint)
    • servicecomb-service-center/scctl/bootstrap/bootstrap.go
    • Line 19: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 21: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 23: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 25: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 27: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 29: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 31: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • servicecomb-service-center/syncer/plugins/servicecenter/transform.go
    • Line 301: warning: exported function ServiceCopy should have comment or be unexported (golint)
    • Line 353: warning: exported function ServiceCopyRe should have comment or be unexported (golint)
    • Line 405: warning: exported function InstanceCopy should have comment or be unexported (golint)
    • Line 443: warning: exported function InstanceCopyRe should have comment or be unexported (golint)
    • Line 483: warning: exported function SchemaCopy should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/validate/validator.go
    • Line 29: warning: exported type Validator should have comment or be unexported (golint)
    • Line 35: warning: exported method Validator.Init should have comment or be unexported (golint)
    • Line 42: warning: exported method Validator.GetRule should have comment or be unexported (golint)
    • Line 49: warning: exported method Validator.AddRule should have comment or be unexported (golint)
    • Line 56: warning: exported method Validator.GetRules should have comment or be unexported (golint)
    • Line 60: warning: exported method Validator.AddRules should have comment or be unexported (golint)
    • Line 69: warning: exported method Validator.GetSub should have comment or be unexported (golint)
    • Line 76: warning: exported method Validator.AddSub should have comment or be unexported (golint)
    • Line 83: warning: exported method Validator.GetSubs should have comment or be unexported (golint)
    • Line 87: warning: exported method Validator.AddSubs should have comment or be unexported (golint)
    • Line 96: warning: exported method Validator.Validate should have comment or be unexported (golint)
    • Line 174: warning: exported function NewValidator should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/validate/version_func.go
    • Line 28: warning: exported type VersionRegexp should have comment or be unexported (golint)
    • Line 33: warning: exported method VersionRegexp.MatchString should have comment or be unexported (golint)
    • Line 79: warning: exported function NewVersionRegexp should have comment or be unexported (golint)
    • Line 89: warning: exported function VersionToInt64 should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/engine.go
    • Line 42: warning: exported method DataSource.SelfRegister should have comment or be unexported (golint)
    • Line 57: warning: exported method DataSource.SelfUnregister should have comment or be unexported (golint)
    • Line 79: warning: comment on exported method DataSource.ClearNoInstanceServices should be of the form "ClearNoInstanceServices ..." (golint)
    • Line 137: warning: exported method DataSource.UpgradeVersion should have comment or be unexported (golint)
    • Line 141: warning: exported method DataSource.GetClusters should have comment or be unexported (golint)
    • Line 236: warning: exported function GetAllServicesAcrossDomainProject should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/util/net.go
    • Line 29: warning: exported const CtxRemoteIP should have comment or be unexported (golint)
    • Line 31: warning: exported type IPPort should have comment or be unexported (golint)
    • Line 36: warning: exported function GetIPFromContext should have comment or be unexported (golint)
    • Line 44: warning: exported function ParseEndpoint should have comment or be unexported (golint)
    • Line 52: warning: exported function ParseIPPort should have comment or be unexported (golint)
    • Line 61: warning: exported function GetRealIP should have comment or be unexported (golint)
    • Line 76: warning: exported function InetNtoIP should have comment or be unexported (golint)
    • Line 80: warning: exported function InetNtoa should have comment or be unexported (golint)
    • Line 84: warning: exported function InetAton should have comment or be unexported (golint)
    • Line 95: warning: exported function ParseRequestURL should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/client/embedded/embededetcd.go
    • Line 49: warning: exported type EtcdEmbed should have comment or be unexported (golint)
    • Line 56: warning: exported method EtcdEmbed.Err should have comment or be unexported (golint)
    • Line 60: warning: exported method EtcdEmbed.Ready should have comment or be unexported (golint)
    • Line 64: warning: exported method EtcdEmbed.Close should have comment or be unexported (golint)
    • Line 234: warning: exported method EtcdEmbed.Compact should have comment or be unexported (golint)
    • Line 264: warning: exported method EtcdEmbed.PutNoOverride should have comment or be unexported (golint)
    • Line 276: warning: exported method EtcdEmbed.Do should have comment or be unexported (golint)
    • Line 321: warning: comment on exported method EtcdEmbed.Txn should be of the form "Txn ..." (golint)
    • Line 333: warning: exported method EtcdEmbed.TxnWithCmp should have comment or be unexported (golint)
    • Line 376: warning: exported method EtcdEmbed.LeaseGrant should have comment or be unexported (golint)
    • Line 388: warning: exported method EtcdEmbed.LeaseRenew should have comment or be unexported (golint)
    • Line 401: warning: exported method EtcdEmbed.LeaseRevoke should have comment or be unexported (golint)
    • Line 416: warning: exported method EtcdEmbed.Watch should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/event/bus.go
    • Line 35: warning: exported method Bus.Name should have comment or be unexported (golint)
    • Line 39: warning: exported method Bus.Fire should have comment or be unexported (golint)
    • Line 44: warning: exported method Bus.Handle should have comment or be unexported (golint)
    • Line 54: warning: exported method Bus.Subjects should have comment or be unexported (golint)
    • Line 62: warning: exported method Bus.AddSubscriber should have comment or be unexported (golint)
    • Line 69: warning: exported method Bus.RemoveSubscriber should have comment or be unexported (golint)
    • Line 91: warning: exported method Bus.Clear should have comment or be unexported (golint)
    • Line 95: warning: exported function NewBus should have comment or be unexported (golint)
    • servicecomb-service-center/scctl/pkg/writer/writer.go
    • Line 27: warning: exported const Day should have comment or be unexported (golint)
    • Line 29: warning: exported type Printer should have comment or be unexported (golint)
    • Line 36: warning: exported function TimeFormat should have comment or be unexported (golint)
    • Line 49: warning: exported function Reshape should have comment or be unexported (golint)
    • Line 58: warning: exported function MakeTable should have comment or be unexported (golint)
    • Line 68: warning: exported function PrintTable should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v4/tag_controller.go
    • Line 33: warning: exported type TagService should have comment or be unexported (golint)
    • Line 37: warning: exported method TagService.URLPatterns should have comment or be unexported (golint)
    • Line 46: warning: exported method TagService.AddTags should have comment or be unexported (golint)
    • Line 73: warning: exported method TagService.UpdateTag should have comment or be unexported (golint)
    • Line 83: warning: exported method TagService.GetTags should have comment or be unexported (golint)
    • Line 90: warning: exported method TagService.DeleteTags should have comment or be unexported (golint)
    • servicecomb-service-center/server/syncernotify/notify_service.go
    • Line 31: warning: exported function GetSyncerNotifyCenter should have comment or be unexported (golint)
    • Line 35: warning: exported type Service should have comment or be unexported (golint)
    • Line 41: warning: exported function NewSyncerNotifyService should have comment or be unexported (golint)
    • Line 48: warning: exported method Service.AddEvent should have comment or be unexported (golint)
    • Line 53: warning: exported method Service.Start should have comment or be unexported (golint)
    • Line 66: warning: exported method Service.Closed should have comment or be unexported (golint)
    • Line 73: warning: exported method Service.Stop should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/util/microservice_util.go
    • Line 37: warning: comment on exported function GetServiceWithRev should be of the form "GetServiceWithRev ..." (golint)
    • Line 54: warning: exported function GetService should have comment or be unexported (golint)
    • Line 113: warning: exported function GetServicesByDomainProject should have comment or be unexported (golint)
    • Line 125: warning: exported function GetServiceID should have comment or be unexported (golint)
    • Line 163: warning: exported function GetServiceAllVersions should have comment or be unexported (golint)
    • Line 185: warning: exported function FindServiceIds should have comment or be unexported (golint)
    • Line 220: warning: exported function ServiceExist should have comment or be unexported (golint)
    • Line 231: warning: exported function GetAllServiceUtil should have comment or be unexported (golint)
    • Line 240: warning: exported function RemandServiceQuota should have comment or be unexported (golint)
    • Line 244: warning: exported function RemandInstanceQuota should have comment or be unexported (golint)
    • Line 248: warning: exported function UpdateService should have comment or be unexported (golint)
    • Line 260: warning: exported function GetOneDomainProjectServiceCount should have comment or be unexported (golint)
    • Line 273: warning: exported function GetOneDomainProjectInstanceCount should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v3/instance_controller.go
    • Line 1: warning: package comment should be of the form "Package v3 ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 26: warning: exported type MicroServiceInstanceService should have comment or be unexported (golint)
    • Line 30: warning: exported method MicroServiceInstanceService.URLPatterns should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • servicecomb-service-center/server/service/rbac/dao/account_dao.go
    • Line 18: warning: package comment should be of the form "Package dao ..." (golint)
    • Line 71: warning: exported function GetAccount should have comment or be unexported (golint)
    • Line 74: warning: exported function ListAccount should have comment or be unexported (golint)
    • Line 77: warning: exported function AccountExist should have comment or be unexported (golint)
    • Line 80: warning: exported function DeleteAccount should have comment or be unexported (golint)
    • Line 84: warning: comment on exported function EditAccount should be of the form "EditAccount ..." (golint)
    • servicecomb-service-center/server/service/rbac/dao/role_dao.go
    • Line 29: warning: exported function CreateRole should have comment or be unexported (golint)
    • Line 33: warning: exported function GetRole should have comment or be unexported (golint)
    • Line 37: warning: exported function ListRole should have comment or be unexported (golint)
    • Line 41: warning: exported function RoleExist should have comment or be unexported (golint)
    • Line 45: warning: exported function DeleteRole should have comment or be unexported (golint)
    • Line 53: warning: exported function EditRole should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/util/db.go
    • Line 32: warning: exported type Option should have comment or be unexported (golint)
    • Line 34: warning: exported function Domain should have comment or be unexported (golint)
    • Line 40: warning: exported function Project should have comment or be unexported (golint)
    • Line 46: warning: exported function AccountName should have comment or be unexported (golint)
    • Line 52: warning: exported function Password should have comment or be unexported (golint)
    • Line 58: warning: exported function Roles should have comment or be unexported (golint)
    • Line 64: warning: exported function TokenExpirationTime should have comment or be unexported (golint)
    • Line 70: warning: exported function CurrentPassword should have comment or be unexported (golint)
    • Line 76: warning: exported function Status should have comment or be unexported (golint)
    • Line 82: warning: exported function ID should have comment or be unexported (golint)
    • Line 88: warning: exported function RoleName should have comment or be unexported (golint)
    • Line 94: warning: exported function Perms should have comment or be unexported (golint)
    • Line 100: warning: exported function In should have comment or be unexported (golint)
    • Line 106: warning: exported function Set should have comment or be unexported (golint)
    • Line 112: warning: exported function NewFilter should have comment or be unexported (golint)
    • Line 120: warning: exported function NewDomainProjectFilter should have comment or be unexported (golint)
    • Line 131: warning: exported function NewBasicFilter should have comment or be unexported (golint)
    • Line 145: warning: exported function InstanceServiceID should have comment or be unexported (golint)
    • Line 151: warning: exported function InstanceInstanceID should have comment or be unexported (golint)
    • Line 157: warning: exported function ServiceServiceID should have comment or be unexported (golint)
    • Line 163: warning: exported function ServiceEnv should have comment or be unexported (golint)
    • Line 169: warning: exported function ServiceAppID should have comment or be unexported (golint)
    • Line 175: warning: exported function ServiceModTime should have comment or be unexported (golint)
    • Line 181: warning: exported function ServiceProperty should have comment or be unexported (golint)
    • Line 187: warning: exported function ServiceServiceName should have comment or be unexported (golint)
    • Line 193: warning: exported function ServiceID should have comment or be unexported (golint)
    • Line 199: warning: exported function ServiceAlias should have comment or be unexported (golint)
    • Line 205: warning: exported function ServiceSchemas should have comment or be unexported (golint)
    • Line 211: warning: exported function ServiceVersion should have comment or be unexported (golint)
    • Line 217: warning: exported function ServiceType should have comment or be unexported (golint)
    • Line 223: warning: exported function ServiceKeyTenant should have comment or be unexported (golint)
    • Line 229: warning: exported function ServiceKeyAppID should have comment or be unexported (golint)
    • Line 235: warning: exported function ServiceKeyServiceName should have comment or be unexported (golint)
    • Line 241: warning: exported function ServiceKeyServiceEnv should have comment or be unexported (golint)
    • Line 247: warning: exported function ServiceKeyServiceVersion should have comment or be unexported (golint)
    • Line 253: warning: exported function Schema should have comment or be unexported (golint)
    • Line 259: warning: exported function SchemaID should have comment or be unexported (golint)
    • Line 265: warning: exported function RuleAttribute should have comment or be unexported (golint)
    • Line 271: warning: exported function RuleRuleID should have comment or be unexported (golint)
    • Line 277: warning: exported function RuleRuleType should have comment or be unexported (golint)
    • Line 283: warning: exported function RulePattern should have comment or be unexported (golint)
    • Line 289: warning: exported function RuleDescription should have comment or be unexported (golint)
    • Line 295: warning: exported function RuleModTime should have comment or be unexported (golint)
    • Line 301: warning: exported function SchemaSummary should have comment or be unexported (golint)
    • Line 307: warning: exported function Tags should have comment or be unexported (golint)
    • Line 313: warning: exported function InstanceModTime should have comment or be unexported (golint)
    • Line 319: warning: exported function InstanceStatus should have comment or be unexported (golint)
    • Line 325: warning: exported function InstanceProperties should have comment or be unexported (golint)
    • Line 331: warning: exported function BuildIndexDoc should have comment or be unexported (golint)
    • servicecomb-service-center/version/version.go
    • Line 33: warning: exported var BuildTag should have comment or be unexported (golint)
    • Line 36: warning: exported type Set should have comment or be unexported (golint)
    • Line 44: warning: exported method Set.Print should have comment or be unexported (golint)
    • Line 51: warning: exported method Set.Log should have comment or be unexported (golint)
    • Line 58: warning: exported method Set.LoadRuntimeInfo should have comment or be unexported (golint)
    • Line 72: warning: exported function Ver should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/sd/k8s/adaptor/kube_client.go
    • Line 41: warning: exported type K8sType should have comment or be unexported (golint)
    • Line 43: warning: exported type K8sClient should have comment or be unexported (golint)
    • Line 135: warning: comment on exported method K8sClient.AppendEventFunc should be of the form "AppendEventFunc ..." (golint)
    • Line 150: warning: exported method K8sClient.Services should have comment or be unexported (golint)
    • Line 154: warning: exported method K8sClient.Endpoints should have comment or be unexported (golint)
    • Line 158: warning: exported method K8sClient.Pods should have comment or be unexported (golint)
    • Line 162: warning: exported method K8sClient.Nodes should have comment or be unexported (golint)
    • Line 166: warning: exported method K8sClient.GetDomainProject should have comment or be unexported (golint)
    • Line 170: warning: exported method K8sClient.GetService should have comment or be unexported (golint)
    • Line 183: warning: exported method K8sClient.GetEndpoints should have comment or be unexported (golint)
    • Line 196: warning: exported method K8sClient.GetPodByIP should have comment or be unexported (golint)
    • Line 213: warning: exported method K8sClient.GetNodeByPod should have comment or be unexported (golint)
    • Line 226: warning: exported method K8sClient.Run should have comment or be unexported (golint)
    • Line 254: warning: exported method K8sClient.Stop should have comment or be unexported (golint)
    • Line 260: warning: exported method K8sClient.Ready should have comment or be unexported (golint)
    • Line 264: warning: exported function Kubernetes should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/proto/service.go
    • Line 27: warning: exported type ServiceCtrlServer should have comment or be unexported (golint)
    • Line 53: warning: exported type ServiceInstanceCtrlServer should have comment or be unexported (golint)
    • Line 65: warning: exported type ServiceInstanceCtrlWatchServer should have comment or be unexported (golint)
    • Line 69: warning: exported type GovernServiceCtrlServer should have comment or be unexported (golint)
    • servicecomb-service-center/scctl/pkg/plugin/get/cluster/printer.go
    • Line 27: warning: exported type ClusterRecord should have comment or be unexported (golint)
    • Line 32: warning: exported method ClusterRecord.EndpointsString should have comment or be unexported (golint)
    • Line 36: warning: exported method ClusterRecord.PrintBody should have comment or be unexported (golint)
    • Line 40: warning: exported type ClustersPrinter should have comment or be unexported (golint)
    • Line 45: warning: exported method ClustersPrinter.SetOutputFormat should have comment or be unexported (golint)
    • Line 49: warning: exported method ClustersPrinter.Flags should have comment or be unexported (golint)
    • Line 56: warning: exported method ClustersPrinter.PrintBody should have comment or be unexported (golint)
    • Line 63: warning: exported method ClustersPrinter.PrintTitle should have comment or be unexported (golint)
    • Line 67: warning: exported method ClustersPrinter.Sorter should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/sd/event_proxy.go
    • Line 31: warning: exported type KvEventProxy should have comment or be unexported (golint)
    • Line 36: warning: exported method KvEventProxy.AddHandleFunc should have comment or be unexported (golint)
    • Line 42: warning: exported method KvEventProxy.OnEvent should have comment or be unexported (golint)
    • Line 55: warning: comment on exported function EventProxy should be of the form "EventProxy ..." (golint)
    • Line 65: warning: comment on exported function AddEventHandleFunc should be of the form "AddEventHandleFunc ..." (golint)
    • Line 71: warning: exported function AddEventHandler should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/sdcommon/types.go
    • Line 25: warning: exported const ActionCreate should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported type ActionType should have comment or be unexported (golint)
    • Line 49: warning: exported type ListWatchResp should have comment or be unexported (golint)
    • Line 57: warning: exported type Resource should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/time/time.go
    • Line 20: warning: exported type Time should have comment or be unexported (golint)
    • Line 29: warning: exported method Time.UTC should have comment or be unexported (golint)
    • Line 33: warning: exported method Time.Local should have comment or be unexported (golint)
    • Line 37: warning: exported function FromTime should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/role.go
    • Line 33: warning: exported method DataSource.CreateRole should have comment or be unexported (golint)
    • Line 54: warning: exported method DataSource.RoleExist should have comment or be unexported (golint)
    • Line 66: warning: exported method DataSource.GetRole should have comment or be unexported (golint)
    • Line 84: warning: exported method DataSource.ListRole should have comment or be unexported (golint)
    • Line 104: warning: exported method DataSource.DeleteRole should have comment or be unexported (golint)
    • Line 116: warning: exported method DataSource.UpdateRole should have comment or be unexported (golint)
    • servicecomb-service-center/server/service/instance.go
    • Line 36: warning: exported type InstanceService should have comment or be unexported (golint)
    • Line 39: warning: exported method InstanceService.Register should have comment or be unexported (golint)
    • Line 67: warning: exported method InstanceService.Unregister should have comment or be unexported (golint)
    • Line 80: warning: exported method InstanceService.Heartbeat should have comment or be unexported (golint)
    • Line 92: warning: exported method InstanceService.HeartbeatSet should have comment or be unexported (golint)
    • Line 103: warning: exported method InstanceService.GetOneInstance should have comment or be unexported (golint)
    • Line 116: warning: exported method InstanceService.GetInstances should have comment or be unexported (golint)
    • Line 128: warning: exported method InstanceService.Find should have comment or be unexported (golint)
    • Line 140: warning: exported method InstanceService.BatchFind should have comment or be unexported (golint)
    • Line 160: warning: exported method InstanceService.UpdateStatus should have comment or be unexported (golint)
    • Line 172: warning: exported method InstanceService.UpdateInstanceProperties should have comment or be unexported (golint)
    • Line 184: warning: exported method InstanceService.ClusterHealth should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/client/mongo.go
    • Line 37: warning: exported const MongoDB should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: exported type MongoClient should have comment or be unexported (golint)
    • Line 56: warning: exported type MongoOperation should have comment or be unexported (golint)
    • Line 61: warning: exported function GetMongoClient should have comment or be unexported (golint)
    • Line 65: warning: exported function NewMongoClient should have comment or be unexported (golint)
    • Line 74: warning: exported method MongoClient.Initialize should have comment or be unexported (golint)
    • Line 88: warning: exported method MongoClient.Err should have comment or be unexported (golint)
    • Line 92: warning: exported method MongoClient.Ready should have comment or be unexported (golint)
    • Line 96: warning: exported method MongoClient.Close should have comment or be unexported (golint)
    • Line 104: warning: exported method MongoClient.StartHealthCheck should have comment or be unexported (golint)
    • Line 108: warning: exported method MongoClient.HealthCheck should have comment or be unexported (golint)
    • Line 185: warning: exported method MongoClient.CreateIndexes should have comment or be unexported (golint)
    • Line 193: warning: exported method MongoClient.Insert should have comment or be unexported (golint)
    • Line 197: warning: exported method MongoClient.BatchInsert should have comment or be unexported (golint)
    • Line 201: warning: exported method MongoClient.Delete should have comment or be unexported (golint)
    • Line 205: warning: exported method MongoClient.BatchDelete should have comment or be unexported (golint)
    • Line 209: warning: exported method MongoClient.Update should have comment or be unexported (golint)
    • Line 213: warning: exported method MongoClient.FindOneAndUpdate should have comment or be unexported (golint)
    • Line 217: warning: exported method MongoClient.BatchUpdate should have comment or be unexported (golint)
    • Line 221: warning: exported method MongoClient.Find should have comment or be unexported (golint)
    • Line 225: warning: exported method MongoClient.FindOne should have comment or be unexported (golint)
    • Line 229: warning: exported method MongoClient.Count should have comment or be unexported (golint)
    • Line 233: warning: exported method MongoClient.Aggregate should have comment or be unexported (golint)
    • Line 237: warning: exported method MongoClient.Watch should have comment or be unexported (golint)
    • Line 241: warning: exported method MongoClient.StartSession should have comment or be unexported (golint)
    • Line 245: warning: exported method MongoClient.MultiTableBatchUpdate should have comment or be unexported (golint)
    • Line 255: warning: exported method MongoClient.DocExist should have comment or be unexported (golint)
    • Line 266: warning: exported method MongoClient.DocUpdate should have comment or be unexported (golint)
    • Line 278: warning: exported method MongoClient.DocDelete should have comment or be unexported (golint)
    • Line 286: warning: exported method MongoClient.DeleteOne should have comment or be unexported (golint)
    • Line 290: warning: exported method MongoClient.GetDB should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/task/service_async.go
    • Line 45: warning: exported type AsyncTaskService should have comment or be unexported (golint)
    • Line 79: warning: exported method AsyncTaskService.Add should have comment or be unexported (golint)
    • Line 99: warning: exported method AsyncTaskService.LatestHandled should have comment or be unexported (golint)
    • Line 172: warning: exported method AsyncTaskService.Run should have comment or be unexported (golint)
    • Line 183: warning: exported method AsyncTaskService.Stop should have comment or be unexported (golint)
    • Line 202: warning: exported method AsyncTaskService.Ready should have comment or be unexported (golint)
    • Line 214: warning: exported function NewTaskService should have comment or be unexported (golint)
    • servicecomb-service-center/server/connection/ws/websocket.go
    • Line 33: warning: exported const Websocket should have comment or be unexported (golint)
    • Line 37: warning: exported type WebSocket should have comment or be unexported (golint)
    • Line 49: warning: exported method WebSocket.Init should have comment or be unexported (golint)
    • Line 100: warning: exported method WebSocket.ReadMessage should have comment or be unexported (golint)
    • Line 171: warning: exported method WebSocket.WritePingPong should have comment or be unexported (golint)
    • Line 175: warning: exported method WebSocket.WriteTextMessage should have comment or be unexported (golint)
    • Line 188: warning: exported method WebSocket.Idle should have comment or be unexported (golint)
    • Line 192: warning: exported method WebSocket.SetIdle should have comment or be unexported (golint)
    • Line 199: warning: exported function NewWebSocket should have comment or be unexported (golint)
    • servicecomb-service-center/server/interceptor/interceptors.go
    • Line 30: warning: exported type Intercept should have comment or be unexported (golint)
    • Line 32: warning: exported method Intercept.Name should have comment or be unexported (golint)
    • Line 36: warning: exported type Interception should have comment or be unexported (golint)
    • Line 40: warning: exported method Interception.Invoke should have comment or be unexported (golint)
    • Line 48: warning: exported function RegisterInterceptFunc should have comment or be unexported (golint)
    • Line 56: warning: exported function InvokeInterceptors should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/sd/etcd/cacher_kv.go
    • Line 59: warning: exported method KvCacher.Config should have comment or be unexported (golint)
    • Line 129: warning: exported method KvCacher.ListAndWatch should have comment or be unexported (golint)
    • Line 469: warning: exported method KvCacher.Cache should have comment or be unexported (golint)
    • Line 473: warning: exported method KvCacher.Run should have comment or be unexported (golint)
    • Line 481: warning: exported method KvCacher.Stop should have comment or be unexported (golint)
    • Line 487: warning: exported method KvCacher.Ready should have comment or be unexported (golint)
    • Line 491: warning: exported method KvCacher.IsReady should have comment or be unexported (golint)
    • Line 517: warning: exported function NewKvCacher should have comment or be unexported (golint)
    • servicecomb-service-center/server/syncernotify/syncer_publisher.go
    • Line 36: warning: exported type Publisher should have comment or be unexported (golint)
    • Line 41: warning: exported method Publisher.Run should have comment or be unexported (golint)
    • Line 45: warning: exported method Publisher.Stop should have comment or be unexported (golint)
    • Line 92: warning: exported method Publisher.Accept should have comment or be unexported (golint)
    • Line 97: warning: exported function NewPublisher should have comment or be unexported (golint)
    • Line 103: warning: exported function Instance should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/util/tree.go
    • Line 26: warning: exported function NewTree should have comment or be unexported (golint)
    • Line 32: warning: exported type Node should have comment or be unexported (golint)
    • Line 37: warning: exported method Tree.GetRoot should have comment or be unexported (golint)
    • Line 41: warning: comment on exported method Tree.AddNode should be of the form "AddNode ..." (golint)
    • Line 63: warning: comment on exported method Tree.InOrderTraversal should be of the form "InOrderTraversal ..." (golint)
    • servicecomb-service-center/scctl/pkg/plugin/get/schema/writer.go
    • Line 25: warning: exported type Config should have comment or be unexported (golint)
    • Line 29: warning: exported type SchemaWriter should have comment or be unexported (golint)
    • Line 33: warning: exported function NewSchemaWriter should have comment or be unexported (golint)
    • Line 42: warning: exported type SchemaStdoutWriter should have comment or be unexported (golint)
    • Line 55: warning: exported type SchemaFileWriter should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/client/dao/instance.go
    • Line 33: warning: exported function GetInstance should have comment or be unexported (golint)
    • Line 50: warning: exported function GetInstances should have comment or be unexported (golint)
    • Line 67: warning: exported function GetMicroServiceInstancesByID should have comment or be unexported (golint)
    • Line 73: warning: exported function GetMicroServiceInstances should have comment or be unexported (golint)
    • Line 90: warning: exported function CountInstance should have comment or be unexported (golint)
    • Line 98: warning: exported function UpdateInstance should have comment or be unexported (golint)
    • Line 106: warning: exported function ExistInstance should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/sd/cache_kv.go
    • Line 38: warning: exported method KvCache.Name should have comment or be unexported (golint)
    • Line 42: warning: exported method KvCache.Size should have comment or be unexported (golint)
    • Line 49: warning: exported method KvCache.Get should have comment or be unexported (golint)
    • Line 59: warning: exported method KvCache.GetAll should have comment or be unexported (golint)
    • Line 66: warning: exported method KvCache.GetPrefix should have comment or be unexported (golint)
    • Line 73: warning: exported method KvCache.Put should have comment or be unexported (golint)
    • Line 79: warning: exported method KvCache.Remove should have comment or be unexported (golint)
    • Line 85: warning: exported method KvCache.MarkDirty should have comment or be unexported (golint)
    • Line 89: warning: exported method KvCache.Dirty should have comment or be unexported (golint)
    • Line 91: warning: exported method KvCache.Clear should have comment or be unexported (golint)
    • Line 98: warning: exported method KvCache.ForEach should have comment or be unexported (golint)
    • Line 190: warning: exported function NewKvCache should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/cache/filter_instances.go
    • Line 34: warning: exported type InstancesFilter should have comment or be unexported (golint)
    • Line 37: warning: exported method InstancesFilter.Name should have comment or be unexported (golint)
    • Line 45: warning: exported method InstancesFilter.Init should have comment or be unexported (golint)
    • Line 59: warning: exported method InstancesFilter.Find should have comment or be unexported (golint)
    • Line 106: warning: exported method InstancesFilter.FindInstances should have comment or be unexported (golint)
    • Line 118: warning: exported method InstancesFilter.BatchFindInstances should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/grace/grace.go
    • Line 34: warning: exported const PreSignal should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported var SignalHooks should have comment or be unexported (golint)
    • Line 73: warning: exported function ParseCommandLine should have comment or be unexported (golint)
    • Line 79: warning: exported function Before should have comment or be unexported (golint)
    • Line 83: warning: exported function After should have comment or be unexported (golint)
    • Line 87: warning: exported function RegisterSignalHook should have comment or be unexported (golint)
    • Line 97: warning: exported function RegisterFiles should have comment or be unexported (golint)
    • Line 185: warning: exported function IsFork should have comment or be unexported (golint)
    • Line 189: warning: exported function ExtraFileOrder should have comment or be unexported (golint)
    • Line 202: warning: exported function Done should have comment or be unexported (golint)
    • servicecomb-service-center/scctl/pkg/version/version.go
    • Line 1: warning: package comment should be of the form "Package version ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 24: warning: comment on exported var VERSION should be of the form "VERSION ..." (golint)
    • Line 29: warning: exported var BUILD_TAG should have comment or be unexported (golint)
    • Line 41: warning: exported function Ver should have comment or be unexported (golint)
    • servicecomb-service-center/server/service/microservice.go
    • Line 36: warning: exported type MicroServiceService should have comment or be unexported (golint)
    • Line 41: warning: exported const ExistTypeMicroservice should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported method MicroServiceService.Create should have comment or be unexported (golint)
    • Line 67: warning: exported method MicroServiceService.CreateServicePri should have comment or be unexported (golint)
    • Line 99: warning: exported method MicroServiceService.Delete should have comment or be unexported (golint)
    • Line 112: warning: exported method MicroServiceService.DeleteServices should have comment or be unexported (golint)
    • Line 206: warning: exported method MicroServiceService.GetOne should have comment or be unexported (golint)
    • Line 218: warning: exported method MicroServiceService.GetServices should have comment or be unexported (golint)
    • Line 222: warning: exported method MicroServiceService.UpdateProperties should have comment or be unexported (golint)
    • Line 235: warning: exported method MicroServiceService.Exist should have comment or be unexported (golint)
    • Line 266: warning: exported method MicroServiceService.CreateServiceEx should have comment or be unexported (golint)
    • servicecomb-service-center/client/apis.go
    • Line 38: warning: exported const QueryGlobal should have comment (or a comment on this block) or be unexported (golint)
    • Line 60: warning: exported method Client.GetScVersion should have comment or be unexported (golint)
    • Line 85: warning: exported method Client.GetScCache should have comment or be unexported (golint)
    • Line 113: warning: exported method Client.GetClusters should have comment or be unexported (golint)
    • Line 141: warning: exported method Client.HealthCheck should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/event/dependency_event_handler.go
    • Line 51: warning: exported method DependencyEventHandler.Type should have comment or be unexported (golint)
    • Line 55: warning: exported method DependencyEventHandler.OnEvent should have comment or be unexported (golint)
    • Line 128: warning: exported type DependencyEventHandlerResource should have comment or be unexported (golint)
    • Line 134: warning: exported function NewDependencyEventHandlerResource should have comment or be unexported (golint)
    • Line 142: warning: exported method DependencyEventHandler.Handle should have comment or be unexported (golint)
    • Line 226: warning: exported method DependencyEventHandler.CleanUp should have comment or be unexported (golint)
    • Line 235: warning: exported function NewDependencyEventHandler should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/cache/config.go
    • Line 22: warning: exported type Config should have comment or be unexported (golint)
    • Line 27: warning: exported method Config.TTL should have comment or be unexported (golint)
    • Line 31: warning: exported method Config.WithTTL should have comment or be unexported (golint)
    • Line 36: warning: exported method Config.MaxSize should have comment or be unexported (golint)
    • Line 40: warning: exported method Config.WithMaxSize should have comment or be unexported (golint)
    • Line 45: warning: exported function Configure should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/util/dependency_query.go
    • Line 42: warning: exported type DependencyRelationFilterOption should have comment or be unexported (golint)
    • Line 44: warning: exported function WithSameDomainProject should have comment or be unexported (golint)
    • Line 50: warning: exported function WithoutSelfDependency should have comment or be unexported (golint)
    • Line 57: warning: exported function ToDependencyRelationFilterOpt should have comment or be unexported (golint)
    • Line 64: warning: exported type DependencyRelation should have comment or be unexported (golint)
    • Line 71: warning: exported method DependencyRelation.GetDependencyProviders should have comment or be unexported (golint)
    • Line 117: warning: exported method DependencyRelation.GetDependencyProviderIds should have comment or be unexported (golint)
    • Line 139: warning: exported method DependencyRelation.GetProviderIdsByRules should have comment or be unexported (golint)
    • Line 192: warning: exported method DependencyRelation.GetDependencyConsumers should have comment or be unexported (golint)
    • Line 225: warning: exported method DependencyRelation.GetServiceByMicroServiceKey should have comment or be unexported (golint)
    • Line 238: warning: exported method DependencyRelation.GetDependencyConsumerIds should have comment or be unexported (golint)
    • Line 262: warning: exported method DependencyRelation.GetDependencyConsumersOfProvider should have comment or be unexported (golint)
    • Line 302: warning: exported method DependencyRelation.GetConsumerOfSameServiceNameAndAppID should have comment or be unexported (golint)
    • Line 354: warning: exported function NewProviderDependencyRelation should have comment or be unexported (golint)
    • Line 358: warning: exported function NewConsumerDependencyRelation should have comment or be unexported (golint)
    • Line 362: warning: exported function NewDependencyRelation should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/client/buildin/buildin.go
    • Line 37: warning: exported type Registry should have comment or be unexported (golint)
    • Line 41: warning: exported method Registry.Err should have comment or be unexported (golint)
    • Line 44: warning: exported method Registry.Ready should have comment or be unexported (golint)
    • Line 47: warning: exported method Registry.PutNoOverride should have comment or be unexported (golint)
    • Line 50: warning: exported method Registry.Do should have comment or be unexported (golint)
    • Line 53: warning: exported method Registry.Txn should have comment or be unexported (golint)
    • Line 56: warning: exported method Registry.TxnWithCmp should have comment or be unexported (golint)
    • Line 59: warning: exported method Registry.LeaseGrant should have comment or be unexported (golint)
    • Line 62: warning: exported method Registry.LeaseRenew should have comment or be unexported (golint)
    • Line 65: warning: exported method Registry.LeaseRevoke should have comment or be unexported (golint)
    • Line 68: warning: exported method Registry.Watch should have comment or be unexported (golint)
    • Line 71: warning: exported method Registry.Compact should have comment or be unexported (golint)
    • Line 74: warning: exported method Registry.Close should have comment or be unexported (golint)
    • Line 77: warning: exported function NewRegistry should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/sd/index_cache.go
    • Line 24: warning: exported type IndexCache should have comment or be unexported (golint)
    • Line 28: warning: exported function NewIndexCache should have comment or be unexported (golint)
    • Line 34: warning: exported method IndexCache.Get should have comment or be unexported (golint)
    • Line 44: warning: exported method IndexCache.Put should have comment or be unexported (golint)
    • Line 58: warning: exported method IndexCache.Delete should have comment or be unexported (golint)
    • servicecomb-service-center/server/broker/service.go
    • Line 41: warning: exported var ServiceAPI should have comment or be unexported (golint)
    • Line 43: warning: exported type Service should have comment or be unexported (golint)
    • Line 46: warning: exported method Service.GetBrokerHome should have comment or be unexported (golint)
    • Line 59: warning: exported method Service.GetPactsOfProvider should have comment or be unexported (golint)
    • Line 102: warning: exported method Service.DeletePacts should have comment or be unexported (golint)
    • Line 110: warning: exported method Service.RetrieveProviderPacts should have comment or be unexported (golint)
    • Line 262: warning: exported method Service.GetAllProviderPacts should have comment or be unexported (golint)
    • Line 415: warning: exported method Service.RetrieveVerificationResults should have comment or be unexported (golint)
    • Line 590: warning: exported method Service.PublishVerificationResults should have comment or be unexported (golint)
    • Line 738: warning: exported method Service.PublishPact should have comment or be unexported (golint)
    • Line 911: warning: exported function InvalidInput should have comment or be unexported (golint)
    • servicecomb-service-center/server/plugin/auth/buildin/parser.go
    • Line 32: warning: comment on exported var APIAccountList should be of the form "APIAccountList ..." (golint)
    • Line 34: warning: exported var APIRoleList should have comment or be unexported (golint)
    • Line 39: warning: exported var APIMapping should have comment or be unexported (golint)
    • Line 41: warning: exported type ParseFunc should have comment or be unexported (golint)
    • Line 43: warning: exported function ApplyAll should have comment or be unexported (golint)
    • Line 47: warning: exported function FromRequest should have comment or be unexported (golint)
    • Line 63: warning: exported function GetAPIParseFunc should have comment or be unexported (golint)
    • Line 80: warning: exported function RegisterParseFunc should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/ms.go
    • Line 27: warning: exported var ErrServiceNotExists should have comment or be unexported (golint)
    • Line 28: warning: exported var ErrInstanceNotExists should have comment or be unexported (golint)
    • Line 30: warning: comment on exported type MetadataManager should be of the form "MetadataManager ..." (with optional leading article) (golint)
    • servicecomb-service-center/datasource/etcd/dep.go
    • Line 37: warning: exported method DataSource.SearchProviderDependency should have comment or be unexported (golint)
    • Line 70: warning: exported method DataSource.SearchConsumerDependency should have comment or be unexported (golint)
    • Line 102: warning: exported method DataSource.DeleteDependency should have comment or be unexported (golint)
    • Line 106: warning: exported method DataSource.DependencyHandle should have comment or be unexported (golint)
    • Line 127: warning: exported method DataSource.AddOrUpdateDependencies should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/event/bus_service.go
    • Line 60: warning: exported method BusService.Start should have comment or be unexported (golint)
    • Line 78: warning: exported method BusService.AddSubscriber should have comment or be unexported (golint)
    • Line 99: warning: exported method BusService.RemoveSubscriber should have comment or be unexported (golint)
    • Line 121: warning: comment on exported method BusService.Fire should be of the form "Fire ..." (golint)
    • Line 138: warning: exported method BusService.Closed should have comment or be unexported (golint)
    • Line 145: warning: exported method BusService.Stop should have comment or be unexported (golint)
    • Line 158: warning: exported function NewBusService should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/dependency_query.go
    • Line 40: warning: exported type DependencyRelation should have comment or be unexported (golint)
    • Line 47: warning: exported type DependencyRelationFilterOpt should have comment or be unexported (golint)
    • Line 52: warning: exported type DependencyRelationFilterOption should have comment or be unexported (golint)
    • Line 54: warning: exported function NewConsumerDependencyRelation should have comment or be unexported (golint)
    • Line 58: warning: exported function NewProviderDependencyRelation should have comment or be unexported (golint)
    • Line 62: warning: exported function NewDependencyRelation should have comment or be unexported (golint)
    • Line 71: warning: exported method DependencyRelation.GetDependencyProviders should have comment or be unexported (golint)
    • Line 118: warning: exported method DependencyRelation.GetDependencyConsumers should have comment or be unexported (golint)
    • Line 147: warning: exported method DependencyRelation.GetDependencyConsumersOfProvider should have comment or be unexported (golint)
    • Line 167: warning: exported method DependencyRelation.GetConsumerOfSameServiceNameAndAppID should have comment or be unexported (golint)
    • Line 210: warning: comment on exported function VersionMatchRule should be of the form "VersionMatchRule ..." (golint)
    • Line 230: warning: exported method DependencyRelation.GetServiceByMicroServiceKey should have comment or be unexported (golint)
    • Line 341: warning: exported method DependencyRelation.GetDependencyConsumerIds should have comment or be unexported (golint)
    • Line 364: warning: exported function MicroServiceKeyFilter should have comment or be unexported (golint)
    • Line 378: warning: exported function RelyAllServiceKey should have comment or be unexported (golint)
    • Line 387: warning: exported function FindServiceIds should have comment or be unexported (golint)
    • Line 458: warning: exported type ServiceVersionFilter should have comment or be unexported (golint)
    • Line 480: warning: exported function GetVersionServiceLatest should have comment or be unexported (golint)
    • Line 504: warning: exported function GetVersionService should have comment or be unexported (golint)
    • Line 524: warning: exported function ParseVersionRule should have comment or be unexported (golint)
    • Line 552: warning: exported function GetFilterVersionService should have comment or be unexported (golint)
    • Line 571: warning: exported function GetFilterVersionServiceLatest should have comment or be unexported (golint)
    • Line 595: warning: exported function WithSameDomainProject should have comment or be unexported (golint)
    • Line 601: warning: exported function WithoutSelfDependency should have comment or be unexported (golint)
    • Line 608: warning: exported function ToDependencyFilterOptions should have comment or be unexported (golint)
    • Line 618: warning: exported function ToDependencyRelationFilterOpt should have comment or be unexported (golint)
    • Line 625: warning: exported function GenerateConsumerDependencyRuleKey should have comment or be unexported (golint)
    • Line 629: warning: exported function GenerateProviderDependencyRuleKey should have comment or be unexported (golint)
    • Line 633: warning: exported function GenerateRuleKeyWithSameServiceNameAndAppID should have comment or be unexported (golint)
    • Line 642: warning: exported function GenerateServiceDependencyRuleKey should have comment or be unexported (golint)
    • servicecomb-service-center/server/resource/v4/auth_resource.go
    • Line 42: warning: exported type AuthResource should have comment or be unexported (golint)
    • Line 57: warning: exported method AuthResource.CreateAccount should have comment or be unexported (golint)
    • Line 87: warning: exported method AuthResource.DeleteAccount should have comment or be unexported (golint)
    • Line 101: warning: exported method AuthResource.UpdateAccount should have comment or be unexported (golint)
    • Line 128: warning: exported method AuthResource.ListAccount should have comment or be unexported (golint)
    • Line 141: warning: exported method AuthResource.GetAccount should have comment or be unexported (golint)
    • Line 152: warning: exported method AuthResource.ChangePassword should have comment or be unexported (golint)
    • Line 202: warning: exported method AuthResource.Login should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/util/sys.go
    • Line 37: warning: exported function IsBigEndian should have comment or be unexported (golint)
    • Line 41: warning: exported function IsLittleEndian should have comment or be unexported (golint)
    • Line 45: warning: exported function PathExist should have comment or be unexported (golint)
    • Line 50: warning: exported function HostName should have comment or be unexported (golint)
    • Line 59: warning: exported function GetEnvInt should have comment or be unexported (golint)
    • Line 71: warning: exported function GetEnvString should have comment or be unexported (golint)
    • Line 79: warning: exported function GetProcCPUUsage should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v4/dependency_controller.go
    • Line 32: warning: exported type DependencyService should have comment or be unexported (golint)
    • Line 35: warning: exported method DependencyService.URLPatterns should have comment or be unexported (golint)
    • Line 44: warning: comment on exported method DependencyService.AddDependenciesForMicroServices should be of the form "AddDependenciesForMicroServices ..." (golint)
    • Line 68: warning: comment on exported method DependencyService.CreateDependenciesForMicroServices should be of the form "CreateDependenciesForMicroServices ..." (golint)
    • Line 92: warning: exported method DependencyService.GetConProDependencies should have comment or be unexported (golint)
    • Line 103: warning: exported method DependencyService.GetProConDependencies should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/govern/controller_v4.go
    • Line 32: warning: comment on exported type ResourceV4 should be of the form "ResourceV4 ..." (with optional leading article) (golint)
    • Line 138: warning: exported method ResourceV4.GetAllServicesInfo should have comment or be unexported (golint)
    • Line 160: warning: exported method ResourceV4.GetAllServicesStatistics should have comment or be unexported (golint)
    • Line 167: warning: exported method ResourceV4.GetAllApplications should have comment or be unexported (golint)
    • servicecomb-service-center/server/service/validator/microservice_validator.go
    • Line 57: warning: exported function MicroServiceKeyValidator should have comment or be unexported (golint)
    • Line 66: warning: exported function ExistenceReqValidator should have comment or be unexported (golint)
    • Line 74: warning: exported function GetServiceReqValidator should have comment or be unexported (golint)
    • Line 80: warning: exported function CreateServiceReqValidator should have comment or be unexported (golint)
    • Line 109: warning: exported function UpdateServicePropsReqValidator should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/sd/types.go
    • Line 34: warning: exported var Types should have comment or be unexported (golint)
    • Line 39: warning: exported const TypeError should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported type Type should have comment or be unexported (golint)
    • Line 44: warning: exported type Kind should have comment or be unexported (golint)
    • Line 56: warning: exported function RegisterType should have comment or be unexported (golint)
    • Line 68: warning: exported type KeyValue should have comment or be unexported (golint)
    • Line 83: warning: exported function NewKeyValue should have comment or be unexported (golint)
    • Line 87: warning: exported type Response should have comment or be unexported (golint)
    • Line 92: warning: exported type KvEvent should have comment or be unexported (golint)
    • Line 99: warning: exported type KvEventFunc should have comment or be unexported (golint)
    • Line 101: warning: exported type KvEventHandler should have comment or be unexported (golint)
    • Line 106: warning: exported function NewKvEvent should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v3/query_rule_controller.go
    • Line 1: warning: package comment should be of the form "Package v3 ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 26: warning: exported type RuleService should have comment or be unexported (golint)
    • Line 30: warning: exported method RuleService.URLPatterns should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • servicecomb-service-center/server/service/schema.go
    • Line 31: warning: exported method MicroServiceService.GetSchemaInfo should have comment or be unexported (golint)
    • Line 43: warning: exported method MicroServiceService.GetAllSchemaInfo should have comment or be unexported (golint)
    • Line 55: warning: exported method MicroServiceService.DeleteSchema should have comment or be unexported (golint)
    • servicecomb-service-center/server/broker/util.go
    • Line 39: warning: exported var PactLogger should have comment or be unexported (golint)
    • Line 42: warning: exported const HomeURL should have comment (or a comment on this block) or be unexported (golint)
    • Line 85: warning: exported function GetDefaultTenantProject should have comment or be unexported (golint)
    • Line 147: warning: exported function GetParticipant should have comment or be unexported (golint)
    • Line 167: warning: exported function GetVersion should have comment or be unexported (golint)
    • Line 186: warning: exported function GetPact should have comment or be unexported (golint)
    • Line 204: warning: exported function GetPactVersion should have comment or be unexported (golint)
    • Line 223: warning: exported function GetData should have comment or be unexported (golint)
    • Line 238: warning: exported function CreateParticipant should have comment or be unexported (golint)
    • Line 272: warning: exported function CreateVersion should have comment or be unexported (golint)
    • Line 305: warning: exported function CreatePact should have comment or be unexported (golint)
    • Line 340: warning: exported function CreatePactVersion should have comment or be unexported (golint)
    • Line 371: warning: exported function CreateVerification should have comment or be unexported (golint)
    • Line 404: warning: exported function GetLastestVersionNumberForParticipant should have comment or be unexported (golint)
    • Line 432: warning: exported function RetrieveProviderConsumerPact should have comment or be unexported (golint)
    • Line 567: warning: exported function DeletePactData should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/util/context.go
    • Line 28: warning: exported const CtxDomain should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported type StringContext should have comment or be unexported (golint)
    • Line 40: warning: exported method StringContext.Deadline should have comment or be unexported (golint)
    • Line 44: warning: exported method StringContext.Done should have comment or be unexported (golint)
    • Line 48: warning: exported method StringContext.Err should have comment or be unexported (golint)
    • Line 52: warning: exported method StringContext.Value should have comment or be unexported (golint)
    • Line 64: warning: exported method StringContext.SetKV should have comment or be unexported (golint)
    • Line 68: warning: exported function NewStringContext should have comment or be unexported (golint)
    • Line 79: warning: exported function SetContext should have comment or be unexported (golint)
    • Line 85: warning: exported function CloneContext should have comment or be unexported (golint)
    • Line 106: warning: exported function FromContext should have comment or be unexported (golint)
    • Line 113: warning: exported function SetRequestContext should have comment or be unexported (golint)
    • Line 123: warning: exported function ParseDomainProject should have comment or be unexported (golint)
    • Line 127: warning: exported function ParseTargetDomainProject should have comment or be unexported (golint)
    • Line 131: warning: exported function ParseDomain should have comment or be unexported (golint)
    • Line 139: warning: exported function ParseTargetDomain should have comment or be unexported (golint)
    • Line 147: warning: exported function ParseProject should have comment or be unexported (golint)
    • Line 155: warning: exported function ParseTargetProject should have comment or be unexported (golint)
    • Line 163: warning: exported function SetDomain should have comment or be unexported (golint)
    • Line 167: warning: exported function SetProject should have comment or be unexported (golint)
    • Line 171: warning: exported function SetTargetDomain should have comment or be unexported (golint)
    • Line 175: warning: exported function SetTargetProject should have comment or be unexported (golint)
    • Line 179: warning: exported function SetDomainProject should have comment or be unexported (golint)
    • Line 183: warning: exported function SetDomainProjectString should have comment or be unexported (golint)
    • Line 191: warning: exported function SetTargetDomainProject should have comment or be unexported (golint)
    • Line 195: warning: exported function WithNoCache should have comment or be unexported (golint)
    • Line 199: warning: exported function WithCacheOnly should have comment or be unexported (golint)
    • Line 203: warning: exported function WithGlobal should have comment or be unexported (golint)
    • Line 207: warning: exported function WithRequestRev should have comment or be unexported (golint)
    • Line 211: warning: exported function WithResponseRev should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/mongo/heartbeat/cache/heartbeatcache.go
    • Line 39: warning: exported var ErrHeartbeatConversionFailed should have comment or be unexported (golint)
    • Line 45: warning: exported type HeartBeatCache should have comment or be unexported (golint)
    • Line 49: warning: exported function NewHeartBeatCache should have comment or be unexported (golint)
    • Line 53: warning: exported method HeartBeatCache.Heartbeat should have comment or be unexported (golint)
    • Line 60: warning: comment on exported method HeartBeatCache.CheckInstance should be of the form "CheckInstance ..." (golint)
    • servicecomb-service-center/server/core/microservice.go
    • Line 32: warning: exported var ServiceAPI should have comment or be unexported (golint)
    • Line 40: warning: exported const RegistryDomain should have comment (or a comment on this block) or be unexported (golint)
    • Line 89: warning: exported function AddDefaultContextValue should have comment or be unexported (golint)
    • Line 95: warning: exported function IsDefaultDomainProject should have comment or be unexported (golint)
    • Line 99: warning: exported function RegisterGlobalServices should have comment or be unexported (golint)
    • Line 109: warning: exported function IsGlobal should have comment or be unexported (golint)
    • Line 123: warning: exported function IsSCInstance should have comment or be unexported (golint)
    • Line 128: warning: exported function GetExistenceRequest should have comment or be unexported (golint)
    • Line 138: warning: exported function GetServiceRequest should have comment or be unexported (golint)
    • Line 144: warning: exported function CreateServiceRequest should have comment or be unexported (golint)
    • Line 150: warning: exported function RegisterInstanceRequest should have comment or be unexported (golint)
    • Line 156: warning: exported function UnregisterInstanceRequest should have comment or be unexported (golint)
    • Line 163: warning: exported function HeartbeatRequest should have comment or be unexported (golint)
    • servicecomb-service-center/server/connection/ws/health_check.go
    • Line 37: warning: exported type HealthCheck should have comment or be unexported (golint)
    • Line 43: warning: exported method HealthCheck.Run should have comment or be unexported (golint)
    • Line 47: warning: exported method HealthCheck.Stop should have comment or be unexported (golint)
    • Line 79: warning: exported method HealthCheck.Accept should have comment or be unexported (golint)
    • Line 87: warning: exported method HealthCheck.Remove should have comment or be unexported (golint)
    • Line 100: warning: exported function NewHealthCheck should have comment or be unexported (golint)
    • Line 106: warning: exported function HealthChecker should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/dependency_util.go
    • Line 33: warning: exported type Dependency should have comment or be unexported (golint)
    • Line 43: warning: exported function ParamsChecker should have comment or be unexported (golint)
    • Line 69: warning: exported function BadParamsResponse should have comment or be unexported (golint)
    • Line 83: warning: exported function ParseAddOrUpdateRules should have comment or be unexported (golint)
    • Line 117: warning: exported function ParseOverrideRules should have comment or be unexported (golint)
    • Line 154: warning: exported function ContainServiceDependency should have comment or be unexported (golint)
    • Line 167: warning: exported function EqualServiceDependency should have comment or be unexported (golint)
    • Line 173: warning: exported function IsNeedUpdate should have comment or be unexported (golint)
    • Line 182: warning: exported function DiffServiceVersion should have comment or be unexported (golint)
    • servicecomb-service-center/server/plugin/auth/auth.go
    • Line 26: warning: exported const AUTH should have comment or be unexported (golint)
    • Line 28: warning: exported type Authenticate should have comment or be unexported (golint)
    • Line 35: warning: exported function Auth should have comment or be unexported (golint)
    • Line 39: warning: exported function Identify should have comment or be unexported (golint)
    • Line 43: warning: exported function ResourceScopes should have comment or be unexported (golint)
    • servicecomb-service-center/server/health/health.go
    • Line 26: warning: exported type Checker should have comment or be unexported (golint)
    • Line 30: warning: exported type DefaultHealthChecker should have comment or be unexported (golint)
    • Line 33: warning: exported method DefaultHealthChecker.Healthy should have comment or be unexported (golint)
    • Line 42: warning: exported function SetGlobalHealthChecker should have comment or be unexported (golint)
    • Line 46: warning: exported function GlobalHealthChecker should have comment or be unexported (golint)
    • servicecomb-service-center/server/broker/store.go
    • Line 26: warning: exported var PARTICIPANT should have comment or be unexported (golint)
    • Line 37: warning: exported type BKvStore should have comment or be unexported (golint)
    • Line 40: warning: exported method BKvStore.Participant should have comment or be unexported (golint)
    • Line 44: warning: exported method BKvStore.Version should have comment or be unexported (golint)
    • Line 48: warning: exported method BKvStore.Pact should have comment or be unexported (golint)
    • Line 52: warning: exported method BKvStore.PactVersion should have comment or be unexported (golint)
    • Line 56: warning: exported method BKvStore.PactTag should have comment or be unexported (golint)
    • Line 60: warning: exported method BKvStore.Verification should have comment or be unexported (golint)
    • Line 64: warning: exported method BKvStore.PactLatest should have comment or be unexported (golint)
    • Line 68: warning: exported function Store should have comment or be unexported (golint)
    • servicecomb-service-center/datasource/etcd/mux/mux.go
    • Line 27: warning: exported type Type should have comment or be unexported (golint)
    • Line 38: warning: exported const GlobalLock should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported function Lock should have comment or be unexported (golint)
    • Line 47: warning: exported function Try should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/cache/cache.go
    • Line 27: warning: exported type Cache should have comment or be unexported (golint)
    • Line 32: warning: exported method Cache.Set should have comment or be unexported (golint)
    • Line 38: warning: exported method Cache.Get should have comment or be unexported (golint)
    • Line 45: warning: exported function NewCache should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/etcdsync/mutex.go
    • Line 35: warning: exported const DefaultLockTTL should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported type DLock should have comment or be unexported (golint)
    • Line 52: warning: exported var IsDebug should have comment or be unexported (golint)
    • Line 57: warning: exported function NewDLock should have comment or be unexported (golint)
    • Line 90: warning: exported method DLock.ID should have comment or be unexported (golint)
    • Line 94: warning: exported method DLock.Lock should have comment or be unexported (golint)
    • Line 159: warning: exported method DLock.Unlock should have comment or be unexported (golint)
    • Line 187: warning: exported function Lock should have comment or be unexported (golint)
    • servicecomb-service-center/server/service/gov/kie/kie_distributor.go
    • Line 40: warning: exported type Distributor should have comment or be unexported (golint)
    • Line 46: warning: exported const KeyPrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 56: warning: exported var PolicyNames should have comment or be unexported (golint)
    • Line 60: warning: exported method Distributor.Create should have comment or be unexported (golint)
    • Line 98: warning: exported method Distributor.Update should have comment or be unexported (golint)
    • Line 126: warning: exported method Distributor.Delete should have comment or be unexported (golint)
    • Line 140: warning: exported method Distributor.DeleteMatchGroup should have comment or be unexported (golint)
    • Line 173: warning: exported method Distributor.Display should have comment or be unexported (golint)
    • Line 214: warning: exported method Distributor.List should have comment or be unexported (golint)
    • Line 231: warning: exported method Distributor.Get should have comment or be unexported (golint)
    • Line 252: warning: exported method Distributor.Type should have comment or be unexported (golint)
    • Line 255: warning: exported method Distributor.Name should have comment or be unexported (golint)
    • servicecomb-service-center/server/service/rbac/blocker.go
    • Line 28: warning: exported const MaxAttempts should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported var BanTime should have comment or be unexported (golint)
    • Line 35: warning: exported type Client should have comment or be unexported (golint)
    • Line 44: warning: exported function BannedList should have comment or be unexported (golint)
    • servicecomb-service-center/server/service/rbac/decision.go
    • Line 29: warning: comment on exported function Allow should be of the form "Allow ..." (golint)
    • Line 63: warning: exported function FilterLabel should have comment or be unexported (golint)
    • Line 75: warning: exported function LabelMatched should have comment or be unexported (golint)
    • Line 118: warning: comment on exported function GetLabelFromSinglePerm should be of the form "GetLabelFromSinglePerm ..." (golint)
    • servicecomb-service-center/datasource/etcd/sd/cacher.go
    • Line 38: warning: exported method CommonCacher.Cache should have comment or be unexported (golint)
    • Line 42: warning: exported method CommonCacher.Notify should have comment or be unexported (golint)
    • Line 52: warning: exported method CommonCacher.OnEvent should have comment or be unexported (golint)
    • Line 61: warning: exported method CommonCacher.Run should have comment or be unexported (golint)
    • Line 65: warning: exported method CommonCacher.Stop should have comment or be unexported (golint)
    • Line 68: warning: exported method CommonCacher.Ready should have comment or be unexported (golint)
    • Line 72: warning: exported function NewCommonCacher should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/cache/tree.go
    • Line 30: warning: exported type Tree should have comment or be unexported (golint)
    • Line 37: warning: exported method Tree.AddFilter should have comment or be unexported (golint)
    • Line 44: warning: exported method Tree.Get should have comment or be unexported (golint)
    • Line 75: warning: exported method Tree.Remove should have comment or be unexported (golint)
    • Line 155: warning: exported function NewTree should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/plugin/loader.go
    • Line 43: warning: exported type Loader should have comment or be unexported (golint)
    • Line 48: warning: exported method Loader.Init should have comment or be unexported (golint)
    • Line 57: warning: exported method Loader.ReloadPlugins should have comment or be unexported (golint)
    • Line 96: warning: exported method Loader.Find should have comment or be unexported (golint)
    • Line 123: warning: exported method Loader.Exist should have comment or be unexported (golint)
    • Line 130: warning: exported function GetLoader should have comment or be unexported (golint)
    • Line 135: warning: exported function Reload should have comment or be unexported (golint)
    • Line 139: warning: exported function FindFunc should have comment or be unexported (golint)
    • servicecomb-service-center/pkg/rest/server.go
    • Line 43: warning: exported type ServerConfig should have comment or be unexported (golint)
    • Line 58: warning: exported function DefaultServerConfig should have comment or be unexported (golint)
    • Line 72: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 99: warning: exported type Server should have comment or be unexported (golint)
    • Line 115: warning: exported method Server.Serve should have comment or be unexported (golint)
    • Line 127: warning: exported method Server.AcceptOne should have comment or be unexported (golint)
    • Line 133: warning: exported method Server.CloseOne should have comment or be unexported (golint)
    • Line 147: warning: exported method Server.Listen should have comment or be unexported (golint)
    • Line 163: warning: exported method Server.ListenTLS should have comment or be unexported (golint)
    • Line 180: warning: exported method Server.ListenAndServe should have comment or be unexported (golint)
    • Line 188: warning: exported method Server.ListenAndServeTLS should have comment or be unexported (golint)
    • Line 240: warning: exported method Server.Shutdown should have comment or be unexported (golint)
    • Line 285: warning: exported method Server.File should have comment or be unexported (golint)
    • servicecomb-service-center/client/client_lb.go
    • Line 29: warning: exported function NewLBClient should have comment or be unexported (golint)
    • Line 41: warning: exported type LBClient should have comment or be unexported (golint)
    • Line 47: warning: exported method LBClient.Next should have comment or be unexported (golint)
    • Line 51: warning: exported method LBClient.RestDoWithContext should have comment or be unexported (golint)
    • servicecomb-service-center/server/rest/controller/v3/dependency_controller.go
    • Line 1: warning: package comment should be of the form "Package v3 ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 26: warning: exported type DependencyService should have comment or be unexported (golint)
    • Line 30: warning: exported method DependencyService.URLPatterns should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.


misspell99%

Misspell Finds commonly misspelled English words