Report for github.com/erda-project/erda

A+    Excellent!    Found 3374 issues across 4579 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!


golint27%

Golint is a linter for Go source code.

    • erda/modules/openapi/component-protocol/scenarios/notify-config/components/notifyConfigTable/model.go
    • Line 14: warning: don't use MixedCaps in package name; notifyConfigTable should be notifyconfigtable (golint)
    • Line 31: warning: exported type Notify should have comment or be unexported (golint)
    • Line 36: warning: exported type DeleteNotifyOperation should have comment or be unexported (golint)
    • Line 40: warning: exported type DeleteOperationData should have comment or be unexported (golint)
    • Line 44: warning: exported type EditOperation should have comment or be unexported (golint)
    • Line 51: warning: exported type Meta should have comment or be unexported (golint)
    • Line 55: warning: exported type InParams should have comment or be unexported (golint)
    • erda/modules/orchestrator/events/publish_activity.go
    • Line 26: warning: exported type ActivityPublisher should have comment or be unexported (golint)
    • Line 30: warning: exported function NewActivityPublisher should have comment or be unexported (golint)
    • Line 35: warning: exported method ActivityPublisher.OnEvent should have comment or be unexported (golint)
    • Line 70: warning: don't use underscores in Go names; var ctx_ should be ctx (golint)
    • erda/modules/cmp/impl/aliyun-resources/ecs/ecs.go
    • Line 31: warning: exported function List should have comment or be unexported (golint)
    • Line 96: warning: exported function Stop should have comment or be unexported (golint)
    • Line 118: warning: exported function Start should have comment or be unexported (golint)
    • Line 138: warning: exported function Restart should have comment or be unexported (golint)
    • Line 160: warning: exported function AutoRenew should have comment or be unexported (golint)
    • Line 186: warning: exported function Classify should have comment or be unexported (golint)
    • Line 240: warning: exported type MonthAddTrendData should have comment or be unexported (golint)
    • Line 249: warning: don't use underscores in Go names; type MonthAddTrendData_0 should be MonthAddTrendData0 (golint)
    • Line 249: warning: exported type MonthAddTrendData_0 should have comment or be unexported (golint)
    • Line 254: warning: exported type MonthAddTrend should have comment or be unexported (golint)
    • Line 259: warning: exported function Trend should have comment or be unexported (golint)
    • Line 327: warning: exported function ListInstanceTypes should have comment or be unexported (golint)
    • Line 342: warning: exported function ListByCluster should have comment or be unexported (golint)
    • Line 357: warning: exported function DescribeResource should have comment or be unexported (golint)
    • Line 407: warning: exported function GetAllResourceIDs should have comment or be unexported (golint)
    • Line 439: warning: exported function OverwriteTags should have comment or be unexported (golint)
    • Line 468: warning: exported function TagResource should have comment or be unexported (golint)
    • Line 501: warning: exported function UnTag should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/app-pipeline-tree/components/fileTree/file_tree.go
    • Line 14: warning: don't use MixedCaps in package name; fileTree should be filetree (golint)
    • Line 22: warning: exported type ComponentFileTree should have comment or be unexported (golint)
    • Line 31: warning: exported method ComponentFileTree.SetBundle should have comment or be unexported (golint)
    • Line 40: warning: exported type State should have comment or be unexported (golint)
    • Line 46: warning: exported type Data should have comment or be unexported (golint)
    • Line 57: warning: exported type ComponentNodeFormModal should have comment or be unexported (golint)
    • Line 64: warning: exported type InParams should have comment or be unexported (golint)
    • erda/modules/ecp/dbclient/models.go
    • Line 32: warning: exported method EdgeSite.TableName should have comment or be unexported (golint)
    • Line 46: warning: exported method EdgeConfigSet.TableName should have comment or be unexported (golint)
    • Line 60: warning: exported method EdgeConfigSetItem.TableName should have comment or be unexported (golint)
    • Line 95: warning: exported method EdgeApp.TableName should have comment or be unexported (golint)
    • erda/apistructs/issue_stream_locale.go
    • Line 119: warning: exported method ISTParam.Value should have comment or be unexported (golint)
    • Line 127: warning: exported method ISTParam.Scan should have comment or be unexported (golint)
    • Line 157: warning: exported method ISTParam.Localize should have comment or be unexported (golint)
    • erda/modules/pipeline/events/event_pipeline.go
    • Line 30: warning: exported type PipelineEvent should have comment or be unexported (golint)
    • Line 37: warning: exported method PipelineEvent.Kind should have comment or be unexported (golint)
    • Line 41: warning: exported method PipelineEvent.Header should have comment or be unexported (golint)
    • Line 45: warning: exported method PipelineEvent.Sender should have comment or be unexported (golint)
    • Line 49: warning: exported method PipelineEvent.Content should have comment or be unexported (golint)
    • Line 74: warning: exported method PipelineEvent.HandleWebhook should have comment or be unexported (golint)
    • Line 84: warning: exported const WSTypePipelineStatusUpdate should have comment (or a comment on this block) or be unexported (golint)
    • Line 94: warning: exported type WSPipelineStatusUpdatePayload should have comment or be unexported (golint)
    • Line 101: warning: exported method PipelineEvent.HandleWebSocket should have comment or be unexported (golint)
    • Line 122: warning: exported method PipelineEvent.HandleDingDing should have comment or be unexported (golint)
    • Line 155: warning: exported method PipelineEvent.HandleHTTP should have comment or be unexported (golint)
    • Line 171: warning: exported method PipelineEvent.HandleDB should have comment or be unexported (golint)
    • erda/modules/eventbox/subscriber/sms/sms.go
    • Line 30: warning: exported type MobileSubscriber should have comment or be unexported (golint)
    • Line 38: warning: exported type MobileData should have comment or be unexported (golint)
    • Line 44: warning: exported type Option should have comment or be unexported (golint)
    • Line 46: warning: exported function New should have comment or be unexported (golint)
    • Line 56: warning: exported method MobileSubscriber.Publish should have comment or be unexported (golint)
    • Line 129: warning: exported method MobileSubscriber.Status should have comment or be unexported (golint)
    • Line 133: warning: exported method MobileSubscriber.Name should have comment or be unexported (golint)
    • erda/pkg/syncmap/string_interface_map.go
    • Line 23: warning: exported type StringInterfaceMap should have comment or be unexported (golint)
    • Line 27: warning: exported method StringInterfaceMap.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method StringInterfaceMap.UnmarshalJSON should have comment or be unexported (golint)
    • Line 47: warning: exported method StringInterfaceMap.Get should have comment or be unexported (golint)
    • Line 64: warning: exported method StringInterfaceMap.GetMap should have comment or be unexported (golint)
    • Line 73: warning: exported method StringInterfaceMap.Store should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/spark/spark.go
    • Line 88: warning: exported method Spark.Kind should have comment or be unexported (golint)
    • Line 92: warning: exported method Spark.Name should have comment or be unexported (golint)
    • Line 96: warning: exported method Spark.Create should have comment or be unexported (golint)
    • Line 171: warning: exported method Spark.Destroy should have comment or be unexported (golint)
    • Line 204: warning: exported method Spark.Status should have comment or be unexported (golint)
    • Line 239: warning: exported method Spark.Remove should have comment or be unexported (golint)
    • Line 243: warning: exported method Spark.Update should have comment or be unexported (golint)
    • Line 247: warning: exported method Spark.Inspect should have comment or be unexported (golint)
    • Line 277: warning: exported method Spark.Cancel should have comment or be unexported (golint)
    • Line 280: warning: exported method Spark.Precheck should have comment or be unexported (golint)
    • Line 284: warning: exported method Spark.CapacityInfo should have comment or be unexported (golint)
    • Line 312: warning: exported method Spark.SetNodeLabels should have comment or be unexported (golint)
    • Line 312: warning: receiver name m should be consistent with previous receiver name s for Spark (golint)
    • Line 315: warning: exported method Spark.ResourceInfo should have comment or be unexported (golint)
    • Line 315: warning: receiver name m should be consistent with previous receiver name s for Spark (golint)
    • Line 318: warning: exported method Spark.CleanUpBeforeDelete should have comment or be unexported (golint)
    • Line 319: warning: exported method Spark.JobVolumeCreate should have comment or be unexported (golint)
    • Line 322: warning: exported method Spark.KillPod should have comment or be unexported (golint)
    • Line 326: warning: exported method Spark.Scale should have comment or be unexported (golint)
    • erda/modules/cmp/impl/resource-factory/resource_factory.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 30: warning: exported type BaseResourceMaterial should have comment or be unexported (golint)
    • Line 53: warning: exported type ResourceCreator should have comment or be unexported (golint)
    • Line 55: warning: exported type ResourceFactory should have comment or be unexported (golint)
    • Line 63: warning: exported type BaseResourceFactory should have comment or be unexported (golint)
    • Line 71: warning: exported function Register should have comment or be unexported (golint)
    • Line 80: warning: exported function GetResourceFactory should have comment or be unexported (golint)
    • Line 93: warning: exported method BaseResourceFactory.GetDbClient should have comment or be unexported (golint)
    • Line 97: warning: exported method BaseResourceFactory.SetDbClient should have comment or be unexported (golint)
    • Line 101: warning: exported method BaseResourceFactory.GetRecordType should have comment or be unexported (golint)
    • Line 105: warning: exported method BaseResourceFactory.GetCreator should have comment or be unexported (golint)
    • Line 109: warning: exported method BaseResourceFactory.SetRecordType should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_consumer_api_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 23: warning: exported type GatewayConsumerApiServiceImpl should have comment or be unexported (golint)
    • Line 27: warning: exported function NewGatewayConsumerApiServiceImpl should have comment or be unexported (golint)
    • Line 72: warning: exported method GatewayConsumerApiServiceImpl.Update should have comment or be unexported (golint)
    • Line 83: warning: exported method GatewayConsumerApiServiceImpl.Insert should have comment or be unexported (golint)
    • Line 94: warning: exported method GatewayConsumerApiServiceImpl.DeleteById should have comment or be unexported (golint)
    • Line 109: warning: exported method GatewayConsumerApiServiceImpl.GetById should have comment or be unexported (golint)
    • Line 124: warning: exported method GatewayConsumerApiServiceImpl.GetByConsumerAndApi should have comment or be unexported (golint)
    • Line 140: warning: exported method GatewayConsumerApiServiceImpl.SelectByConsumer should have comment or be unexported (golint)
    • Line 152: warning: exported method GatewayConsumerApiServiceImpl.SelectByApi should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/id_linter.go
    • Line 31: warning: exported type IDExistsLinter should have comment or be unexported (golint)
    • Line 35: warning: exported function NewIDExistsLinter should have comment or be unexported (golint)
    • Line 39: warning: exported method IDExistsLinter.Enter should have comment or be unexported (golint)
    • Line 63: warning: exported method IDExistsLinter.Leave should have comment or be unexported (golint)
    • Line 71: warning: exported type IDTypeLinter should have comment or be unexported (golint)
    • Line 75: warning: exported function NewIDTypeLinter should have comment or be unexported (golint)
    • Line 79: warning: exported method IDTypeLinter.Enter should have comment or be unexported (golint)
    • Line 110: warning: exported method IDTypeLinter.Leave should have comment or be unexported (golint)
    • Line 118: warning: exported type IDIsPrimaryLinter should have comment or be unexported (golint)
    • Line 122: warning: exported function NewIDIsPrimaryLinter should have comment or be unexported (golint)
    • Line 126: warning: exported method IDIsPrimaryLinter.Enter should have comment or be unexported (golint)
    • Line 168: warning: exported method IDIsPrimaryLinter.Leave should have comment or be unexported (golint)
    • erda/modules/pipeline/pipengine/queue/enhancedqueue/enhanced_queue.go
    • Line 39: warning: exported function NewEnhancedQueue should have comment or be unexported (golint)
    • Line 48: warning: exported method EnhancedQueue.PendingQueue should have comment or be unexported (golint)
    • Line 55: warning: exported method EnhancedQueue.ProcessingQueue should have comment or be unexported (golint)
    • Line 157: warning: exported method EnhancedQueue.ProcessingWindow should have comment or be unexported (golint)
    • Line 164: warning: exported method EnhancedQueue.SetProcessingWindow should have comment or be unexported (golint)
    • Line 171: warning: exported method EnhancedQueue.RangePending should have comment or be unexported (golint)
    • erda/modules/pipeline/events/hook.go
    • Line 16: warning: exported type Hook should have comment or be unexported (golint)
    • Line 24: warning: exported type HandleWebhook should have comment or be unexported (golint)
    • Line 25: warning: exported type HandleWebSocket should have comment or be unexported (golint)
    • Line 26: warning: exported type HandleDingDing should have comment or be unexported (golint)
    • Line 27: warning: exported type HandleHTTP should have comment or be unexported (golint)
    • Line 28: warning: exported type HandleDB should have comment or be unexported (golint)
    • Line 30: warning: exported type HookType should have comment or be unexported (golint)
    • Line 33: warning: exported const HookTypeWebHook should have comment (or a comment on this block) or be unexported (golint)
    • erda/modules/pipeline/endpoints/endpoints.go
    • Line 62: warning: exported type Option should have comment or be unexported (golint)
    • Line 75: warning: exported function WithDBClient should have comment or be unexported (golint)
    • Line 81: warning: exported function WithAppSvc should have comment or be unexported (golint)
    • Line 87: warning: exported function WithCMSvc should have comment or be unexported (golint)
    • Line 93: warning: exported function WithBuildArtifactSvc should have comment or be unexported (golint)
    • Line 99: warning: exported function WithBuildCacheSvc should have comment or be unexported (golint)
    • Line 105: warning: exported function WithPermissionSvc should have comment or be unexported (golint)
    • Line 111: warning: exported function WithCrondSvc should have comment or be unexported (golint)
    • Line 117: warning: exported function WithActionAgentSvc should have comment or be unexported (golint)
    • Line 123: warning: exported function WithExtMarketSvc should have comment or be unexported (golint)
    • Line 129: warning: exported function WithPipelineCronSvc should have comment or be unexported (golint)
    • Line 135: warning: exported function WithPipelineSvc should have comment or be unexported (golint)
    • Line 141: warning: exported function WithSnippetSvc should have comment or be unexported (golint)
    • Line 147: warning: exported function WithReportSvc should have comment or be unexported (golint)
    • Line 153: warning: exported function WithQueueManage should have comment or be unexported (golint)
    • Line 159: warning: exported function WithQueryStringDecoder should have comment or be unexported (golint)
    • Line 165: warning: exported function WithReconciler should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/configSheetInParams/render.go
    • Line 14: warning: don't use MixedCaps in package name; configSheetInParams should be configsheetinparams (golint)
    • Line 27: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 129: warning: exported method ComponentAction.SetBundle should have comment or be unexported (golint)
    • Line 138: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 138: warning: receiver name ca should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 185: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 219: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 303: warning: exported method ComponentAction.HandlerSubmitValue should have comment or be unexported (golint)
    • Line 303: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 345: warning: exported method ComponentAction.HandlerCancelValue should have comment or be unexported (golint)
    • Line 345: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 354: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/gittar/models/repo.go
    • Line 32: warning: exported var ModeExternal should have comment or be unexported (golint)
    • Line 34: warning: exported type Repo should have comment or be unexported (golint)
    • Line 49: warning: exported method Repo.TableName should have comment or be unexported (golint)
    • Line 53: warning: exported method Repo.DiskPath should have comment or be unexported (golint)
    • Line 68: warning: exported method Service.CreateRepo should have comment or be unexported (golint)
    • Line 123: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 129: warning: error var ERROR_REPO_LOCKED should have name of the form ErrFoo (golint)
    • Line 129: warning: exported var ERROR_REPO_LOCKED should have comment or be unexported (golint)
    • Line 131: warning: exported method Service.SetLocked should have comment or be unexported (golint)
    • Line 143: warning: exported method Service.DeleteRepo should have comment or be unexported (golint)
    • Line 172: warning: exported method Service.UpdateRepoSizeCache should have comment or be unexported (golint)
    • Line 177: warning: exported method Service.GetRepoByApp should have comment or be unexported (golint)
    • Line 186: warning: exported method Service.UpdateRepo should have comment or be unexported (golint)
    • Line 204: warning: exported method Service.GetRepoById should have comment or be unexported (golint)
    • Line 213: warning: exported method Service.GetRepoByPath should have comment or be unexported (golint)
    • Line 222: warning: exported method Service.GetRepoByNames should have comment or be unexported (golint)
    • Line 231: warning: exported method Service.GetRepoLocked should have comment or be unexported (golint)
    • Line 252: warning: exported method Repository.FullName should have comment or be unexported (golint)
    • Line 256: warning: comment on exported method Repository.Path should be of the form "Path ..." (golint)
    • erda/modules/pipeline/dbclient/op_pipeline_cron.go
    • Line 23: warning: comment on exported method Client.PagingPipelineCron should be of the form "PagingPipelineCron ..." (golint)
    • Line 81: warning: exported method Client.ListPipelineCronsByApplicationID should have comment or be unexported (golint)
    • Line 88: warning: exported method Client.ListAllPipelineCrons should have comment or be unexported (golint)
    • Line 95: warning: exported method Client.ListPipelineCrons should have comment or be unexported (golint)
    • Line 107: warning: exported method Client.GetPipelineCron should have comment or be unexported (golint)
    • Line 121: warning: exported method Client.CheckExistPipelineCronByApplicationBranchYmlName should have comment or be unexported (golint)
    • Line 134: warning: exported method Client.CreatePipelineCron should have comment or be unexported (golint)
    • Line 139: warning: exported method Client.DeletePipelineCron should have comment or be unexported (golint)
    • Line 146: warning: comment on exported method Client.DisablePipelineCron should be of the form "DisablePipelineCron ..." (golint)
    • Line 147: warning: don't use underscores in Go names; method parameter new_ should be new (golint)
    • Line 195: warning: exported method Client.UpdatePipelineCron should have comment or be unexported (golint)
    • Line 200: warning: comment on exported method Client.UpdatePipelineCronWillUseDefault should be of the form "UpdatePipelineCronWillUseDefault ..." (golint)
    • Line 206: warning: exported method Client.InsertOrUpdatePipelineCron should have comment or be unexported (golint)
    • Line 206: warning: don't use underscores in Go names; method parameter new_ should be new (golint)
    • erda/modules/dicehub/dbclient/blacklist.go
    • Line 43: warning: comment on exported method DBClient.DeleteBlacklist should be of the form "DeleteBlacklist ..." (golint)
    • Line 80: warning: comment on exported method DBClient.GetBlacklistByUserID should be of the form "GetBlacklistByUserID ..." (golint)
    • erda/modules/hepa/apipolicy/policies/cors/dto.go
    • Line 21: warning: exported const ANNOTATION_CORS_ENABLE should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported type PolicyDto should have comment or be unexported (golint)
    • Line 38: warning: exported method PolicyDto.IsValidDto should have comment or be unexported (golint)
    • erda/modules/hepa/k8s/k8s_adapter.go
    • Line 39: warning: exported const REWRITE_HOST_KEY should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported type BackendProtocl should have comment or be unexported (golint)
    • Line 48: warning: exported const HTTP should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: exported type RouteOptions should have comment or be unexported (golint)
    • Line 66: warning: exported type IngressRoute should have comment or be unexported (golint)
    • Line 71: warning: exported type IngressBackend should have comment or be unexported (golint)
    • Line 76: warning: exported type K8SAdapter should have comment or be unexported (golint)
    • Line 92: warning: exported type K8SAdapterImpl should have comment or be unexported (golint)
    • Line 98: warning: exported const HEPA_BEGIN should have comment (or a comment on this block) or be unexported (golint)
    • Line 110: warning: exported method K8SAdapterImpl.CountIngressController should have comment or be unexported (golint)
    • Line 123: warning: exported method K8SAdapterImpl.IsGatewaySupportHttps should have comment or be unexported (golint)
    • Line 141: warning: exported method K8SAdapterImpl.MakeGatewaySupportMesh should have comment or be unexported (golint)
    • Line 200: warning: exported method K8SAdapterImpl.MakeGatewaySupportHttps should have comment or be unexported (golint)
    • Line 238: warning: exported method K8SAdapterImpl.CheckDomainExist should have comment or be unexported (golint)
    • Line 274: warning: exported method K8SAdapterImpl.DeleteIngress should have comment or be unexported (golint)
    • Line 371: warning: exported method K8SAdapterImpl.CreateOrUpdateIngress should have comment or be unexported (golint)
    • Line 395: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 426: warning: exported method K8SAdapterImpl.SetUpstreamHost should have comment or be unexported (golint)
    • Line 448: warning: exported method K8SAdapterImpl.SetRewritePath should have comment or be unexported (golint)
    • Line 470: warning: exported method K8SAdapterImpl.EnableRegex should have comment or be unexported (golint)
    • Line 520: warning: exported method K8SAdapterImpl.CheckIngressExist should have comment or be unexported (golint)
    • Line 529: warning: exported method K8SAdapterImpl.UpdateIngressAnnotaion should have comment or be unexported (golint)
    • Line 571: warning: exported method K8SAdapterImpl.UpdateIngressConroller should have comment or be unexported (golint)
    • Line 630: warning: exported function NewAdapter should have comment or be unexported (golint)
    • erda/tools/cli/cmd/init.go
    • Line 22: warning: should not use dot imports (golint)
    • Line 27: warning: exported var INIT should have comment or be unexported (golint)
    • Line 38: warning: exported function RunInit should have comment or be unexported (golint)
    • erda/modules/gittar/pkg/gitmodule/commit.go
    • Line 31: warning: exported const INIT_COMMIT_ID should have comment or be unexported (golint)
    • Line 45: warning: exported method Commit.Git2Oid should have comment or be unexported (golint)
    • Line 93: warning: comment on exported function AddChanges should be of the form "AddChanges ..." (golint)
    • Line 103: warning: exported type CommitChangesOptions should have comment or be unexported (golint)
    • Line 159: warning: exported method Commit.CommitsCount should have comment or be unexported (golint)
    • Line 163: warning: exported method Commit.CommitsByRangeSize should have comment or be unexported (golint)
    • Line 167: warning: exported method Commit.CommitsByRange should have comment or be unexported (golint)
    • Line 171: warning: exported method Commit.CommitsBefore should have comment or be unexported (golint)
    • Line 175: warning: exported method Commit.CommitsBeforeLimit should have comment or be unexported (golint)
    • Line 179: warning: exported method Commit.CommitsBeforeUntil should have comment or be unexported (golint)
    • Line 187: warning: exported method Commit.SearchCommits should have comment or be unexported (golint)
    • Line 191: warning: exported method Commit.GetFilesChangedSinceCommit should have comment or be unexported (golint)
    • Line 195: warning: exported method Commit.GetSubModules should have comment or be unexported (golint)
    • Line 233: warning: exported method Commit.GetSubModule should have comment or be unexported (golint)
    • Line 253: warning: exported function NewCommitFileStatus should have comment or be unexported (golint)
    • Line 300: warning: exported function NewCommitFromLibgit2 should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/page/render.go
    • Line 26: warning: exported type Page should have comment or be unexported (golint)
    • Line 32: warning: exported type Props should have comment or be unexported (golint)
    • Line 38: warning: exported method Page.SetCtxBundle should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method Page.Render should have comment or be unexported (golint)
    • Line 59: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/pipeline/cms/pipeline_cms.go
    • Line 33: warning: exported const CtxKeyPipelineSource should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported function NewPipelineCms should have comment or be unexported (golint)
    • Line 332: warning: exported var KeyValidator should have comment or be unexported (golint)
    • Line 342: warning: exported var EnvTransferValidator should have comment or be unexported (golint)
    • erda/apistructs/api_doc.go
    • Line 22: warning: exported type NodeType should have comment or be unexported (golint)
    • Line 25: warning: exported const NodeTypeDir should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported type APIDocLockModel should have comment or be unexported (golint)
    • Line 43: warning: exported method APIDocLockModel.TableName should have comment or be unexported (golint)
    • Line 47: warning: exported type APIDocTmpContentModel should have comment or be unexported (golint)
    • Line 59: warning: exported method APIDocTmpContentModel.TableName should have comment or be unexported (golint)
    • Line 63: warning: exported type APIDocCreateNodeReq should have comment or be unexported (golint)
    • Line 70: warning: exported type APIDocCreateUpdateNodeBody should have comment or be unexported (golint)
    • Line 77: warning: exported type APIDocDeleteNodeReq should have comment or be unexported (golint)
    • Line 83: warning: exported type APIDocUpdateNodeReq should have comment or be unexported (golint)
    • Line 90: warning: exported type FileTreeNodeRspData should have comment or be unexported (golint)
    • Line 102: warning: exported type APIDocMvCpNodeReq should have comment or be unexported (golint)
    • Line 109: warning: exported type APIDocMvCpNodeReqBody should have comment or be unexported (golint)
    • Line 113: warning: comment on exported type APIDocListChildrenReq should be of the form "APIDocListChildrenReq ..." (with optional leading article) (golint)
    • Line 121: warning: exported type FileTreeQueryParameters should have comment or be unexported (golint)
    • Line 127: warning: exported type APIDocNodeDetailReq should have comment or be unexported (golint)
    • Line 133: warning: exported type FileTreeDetailURI should have comment or be unexported (golint)
    • Line 138: warning: exported type FileTreeActionURI should have comment or be unexported (golint)
    • Line 144: warning: exported type CreateAPIDocMeta should have comment or be unexported (golint)
    • Line 148: warning: exported type RenameAPIDocBody should have comment or be unexported (golint)
    • Line 152: warning: exported type APIDocMeta should have comment or be unexported (golint)
    • Line 162: warning: exported type APIDocMetaLock should have comment or be unexported (golint)
    • Line 168: warning: exported type APIDocMetaAssetInfo should have comment or be unexported (golint)
    • Line 176: warning: exported type BaseResponse should have comment or be unexported (golint)
    • Line 182: warning: exported type BaseResponseErr should have comment or be unexported (golint)
    • Line 194: warning: exported type GittarTreeRspData should have comment or be unexported (golint)
    • Line 205: warning: exported type GittarTreeRspDataCommit should have comment or be unexported (golint)
    • Line 213: warning: exported type GittarBlobRspData should have comment or be unexported (golint)
    • Line 221: warning: exported type PumpType should have comment or be unexported (golint)
    • Line 224: warning: exported const PumpTypeHeartBeat should have comment (or a comment on this block) or be unexported (golint)
    • Line 233: warning: exported type WebsocketRequest should have comment or be unexported (golint)
    • Line 241: warning: exported type WsAPIDocHeartBeatReqData should have comment or be unexported (golint)
    • Line 246: warning: exported type WsAPIDocAutoSaveReqData should have comment or be unexported (golint)
    • Line 252: warning: exported type WsAPIDocHandShakeReq should have comment or be unexported (golint)
    • Line 258: warning: exported type ListSchemasReq should have comment or be unexported (golint)
    • Line 264: warning: exported type ListSchemasQueryParams should have comment or be unexported (golint)
    • erda/modules/monitor/common/permission/permission.go
    • Line 78: warning: comment on exported function Intercepter should be of the form "Intercepter ..." (golint)
    • Line 230: warning: exported function ScopeIdFromParams should have comment or be unexported (golint)
    • Line 236: warning: exported function TenantGroupFromParams should have comment or be unexported (golint)
    • Line 242: warning: exported function TkFromParams should have comment or be unexported (golint)
    • Line 248: warning: exported function ProjectIdFromParams should have comment or be unexported (golint)
    • Line 302: warning: exported type MonitorPermission should have comment or be unexported (golint)
    • Line 345: warning: exported function ProjectId should have comment or be unexported (golint)
    • Line 363: warning: exported function Tk should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_upstream_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayUpstreamServiceImpl should have comment or be unexported (golint)
    • Line 28: warning: exported function NewGatewayUpstreamServiceImpl should have comment or be unexported (golint)
    • Line 36: warning: exported method GatewayUpstreamServiceImpl.UpdateRegister should have comment or be unexported (golint)
    • Line 97: warning: exported method GatewayUpstreamServiceImpl.GetValidIdForUpdate should have comment or be unexported (golint)
    • Line 112: warning: exported method GatewayUpstreamServiceImpl.UpdateValidId should have comment or be unexported (golint)
    • Line 125: warning: exported method GatewayUpstreamServiceImpl.UpdateAutoBind should have comment or be unexported (golint)
    • Line 129: warning: exported method GatewayUpstreamServiceImpl.SelectByAny should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/interface.go
    • Line 26: warning: should not use dot imports (golint)
    • Line 32: warning: exported type DiceInfo should have comment or be unexported (golint)
    • Line 41: warning: exported type EndpointDto should have comment or be unexported (golint)
    • Line 46: warning: exported type PackageApiInfo should have comment or be unexported (golint)
    • Line 55: warning: exported type RuntimeEndpointInfo should have comment or be unexported (golint)
    • Line 60: warning: exported type GatewayOpenapiService should have comment or be unexported (golint)
    • Line 89: warning: exported type GatewayOrgClientService should have comment or be unexported (golint)
    • Line 99: warning: exported type GatewayOpenapiConsumerService should have comment or be unexported (golint)
    • Line 126: warning: exported type GatewayOpenapiRuleService should have comment or be unexported (golint)
    • Line 145: warning: exported type GatewayApiService should have comment or be unexported (golint)
    • Line 159: warning: exported type GatewayCategoryService should have comment or be unexported (golint)
    • Line 166: warning: exported type GatewayConsumerService should have comment or be unexported (golint)
    • Line 177: warning: exported type GatewayConsumerApiService should have comment or be unexported (golint)
    • Line 183: warning: exported type GatewayApiPolicyService should have comment or be unexported (golint)
    • Line 191: warning: exported type RouteConfig should have comment or be unexported (golint)
    • Line 197: warning: exported type ZoneRoute should have comment or be unexported (golint)
    • Line 202: warning: exported type ZoneConfig should have comment or be unexported (golint)
    • Line 210: warning: exported type GatewayZoneService should have comment or be unexported (golint)
    • Line 224: warning: exported type GatewayGlobalService should have comment or be unexported (golint)
    • Line 241: warning: exported type GatewayMockService should have comment or be unexported (golint)
    • Line 246: warning: exported type GatewayUpstreamService should have comment or be unexported (golint)
    • Line 252: warning: exported type GatewayUpstreamLbService should have comment or be unexported (golint)
    • Line 257: warning: exported type GatewayRuntimeServiceService should have comment or be unexported (golint)
    • Line 267: warning: exported type GatewayDomainService should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_kong_info_service.go
    • Line 23: warning: should not use dot imports (golint)
    • Line 31: warning: exported type GatewayKongInfoServiceImpl should have comment or be unexported (golint)
    • Line 37: warning: exported function NewGatewayKongInfoServiceImpl should have comment or be unexported (golint)
    • Line 48: warning: exported method GatewayKongInfoServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 71: warning: exported method GatewayKongInfoServiceImpl.GetBelongTuples should have comment or be unexported (golint)
    • Line 88: warning: exported method GatewayKongInfoServiceImpl.GenK8SInfo should have comment or be unexported (golint)
    • Line 92: warning: exported method GatewayKongInfoServiceImpl.GetK8SInfo should have comment or be unexported (golint)
    • Line 100: warning: exported method GatewayKongInfoServiceImpl.GetKongInfo should have comment or be unexported (golint)
    • Line 126: warning: exported method GatewayKongInfoServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 149: warning: exported method GatewayKongInfoServiceImpl.GetTenantId should have comment or be unexported (golint)
    • Line 204: warning: exported method GatewayKongInfoServiceImpl.Update should have comment or be unexported (golint)
    • Line 219: warning: exported method GatewayKongInfoServiceImpl.Insert should have comment or be unexported (golint)
    • erda/pkg/expression/expression_reconcile.go
    • Line 32: warning: comment on exported var Re should be of the form "Re ..." (golint)
    • Line 34: warning: exported var OldRe should have comment or be unexported (golint)
    • Line 37: warning: exported const Dirs should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: exported const TaskNotJumpOver should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: exported var MockString should have comment or be unexported (golint)
    • Line 60: warning: exported type SignType should have comment or be unexported (golint)
    • Line 62: warning: exported type ExpressionExecSign should have comment or be unexported (golint)
    • Line 69: warning: exported function Reconcile should have comment or be unexported (golint)
    • Line 121: warning: exported function ReplacePlaceholder should have comment or be unexported (golint)
    • Line 127: warning: exported function AppendPlaceholder should have comment or be unexported (golint)
    • Line 131: warning: comment on exported function MatchEval should be of the form "MatchEval ..." (golint)
    • Line 162: warning: exported function EvalResultToString should have comment or be unexported (golint)
    • Line 183: warning: exported function ReplaceRandomParams should have comment or be unexported (golint)
    • Line 206: warning: exported function GenConfigParams should have comment or be unexported (golint)
    • Line 210: warning: exported function GenAutotestConfigParams should have comment or be unexported (golint)
    • Line 214: warning: exported function GenDirsRef should have comment or be unexported (golint)
    • Line 218: warning: exported function GenParamsRef should have comment or be unexported (golint)
    • Line 222: warning: exported function GenOldParamsRef should have comment or be unexported (golint)
    • Line 226: warning: exported function GenRandomRef should have comment or be unexported (golint)
    • Line 230: warning: exported function GenOutputRef should have comment or be unexported (golint)
    • erda/modules/pipeline/spec/pipeline_store.go
    • Line 16: warning: exported type StoreType should have comment or be unexported (golint)
    • Line 19: warning: exported var StoreTypeOSS should have comment or be unexported (golint)
    • Line 28: warning: exported const StoreTypeNFSProto should have comment (or a comment on this block) or be unexported (golint)
    • erda/modules/monitor/dashboard/report/engine/report.go
    • Line 93: warning: exported type Report should have comment or be unexported (golint)
    • Line 99: warning: exported function New should have comment or be unexported (golint)
    • Line 105: warning: comment on exported method Report.Run should be of the form "Run ..." (golint)
    • Line 321: warning: exported method Report.CurrentFetchAndConvert should have comment or be unexported (golint)
    • Line 424: warning: don't use underscores in Go names; var url_ should be url (golint)
    • erda/apistructs/gittar.go
    • Line 21: warning: exported const GitPushEvent should have comment (or a comment on this block) or be unexported (golint)
    • Line 250: warning: exported type RepoCreateMrEvent should have comment or be unexported (golint)
    • Line 255: warning: exported type MergeRequestInfo should have comment or be unexported (golint)
    • Line 291: warning: exported type MergeStatusInfo should have comment or be unexported (golint)
    • Line 529: warning: comment on exported type RepoTagEvent should be of the form "RepoTagEvent ..." (with optional leading article) (golint)
    • Line 628: warning: comment on exported type GittarMergeTemplatesResponse should be of the form "GittarMergeTemplatesResponse ..." (with optional leading article) (golint)
    • Line 660: warning: comment on exported type GittarRegisterHookRequest should be of the form "GittarRegisterHookRequest ..." (with optional leading article) (golint)
    • Line 685: warning: exported type GitRepoConfig should have comment or be unexported (golint)
    • Line 698: warning: exported type CheckRunStatus should have comment or be unexported (golint)
    • Line 699: warning: exported type CheckRunResult should have comment or be unexported (golint)
    • Line 702: warning: exported const CheckRunStatusCompleted should have comment (or a comment on this block) or be unexported (golint)
    • Line 711: warning: comment on exported type CheckRun should be of the form "CheckRun ..." (with optional leading article) (golint)
    • Line 739: warning: exported type CheckRuns should have comment or be unexported (golint)
    • Line 745: warning: comment on exported type CreateCheckRunResponse should be of the form "CreateCheckRunResponse ..." (with optional leading article) (golint)
    • Line 751: warning: comment on exported type QueryCheckRunRequest should be of the form "QueryCheckRunRequest ..." (with optional leading article) (golint)
    • Line 756: warning: comment on exported type QueryCheckRunResponse should be of the form "QueryCheckRunResponse ..." (with optional leading article) (golint)
    • Line 762: warning: exported type UpdateMR should have comment or be unexported (golint)
    • Line 767: warning: exported type CheckRunRequest should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/tableGroup/model.go
    • Line 14: warning: don't use MixedCaps in package name; tableGroup should be tablegroup (golint)
    • Line 18: warning: exported type TableGroup should have comment or be unexported (golint)
    • Line 30: warning: exported type OperationData should have comment or be unexported (golint)
    • Line 35: warning: exported type Meta should have comment or be unexported (golint)
    • Line 39: warning: exported type PageNo should have comment or be unexported (golint)
    • Line 43: warning: exported type State should have comment or be unexported (golint)
    • Line 50: warning: exported type ChangePageNoOperation should have comment or be unexported (golint)
    • Line 56: warning: exported type ClickOperation should have comment or be unexported (golint)
    • Line 66: warning: exported type TitleProps should have comment or be unexported (golint)
    • Line 72: warning: exported type ProItem should have comment or be unexported (golint)
    • Line 100: warning: exported type ProData should have comment or be unexported (golint)
    • Line 104: warning: exported type IssueData should have comment or be unexported (golint)
    • Line 108: warning: exported type IssueName should have comment or be unexported (golint)
    • Line 115: warning: exported type IssueItem should have comment or be unexported (golint)
    • Line 124: warning: exported type ExtraInfo should have comment or be unexported (golint)
    • Line 129: warning: exported type ExtraProps should have comment or be unexported (golint)
    • Line 134: warning: exported type Value should have comment or be unexported (golint)
    • Line 138: warning: exported type ValueText should have comment or be unexported (golint)
    • Line 144: warning: exported type ToSpecificProjectOperation should have comment or be unexported (golint)
    • erda/modules/pipeline/pipengine/reconciler/taskrun/concurrency.go
    • Line 67: warning: exported method TaskRun.GetTaskConcurrencyCount should have comment or be unexported (golint)
    • Line 84: warning: exported method TaskRun.AddTaskConcurrencyCount should have comment or be unexported (golint)
    • Line 126: warning: exported method TaskRun.GetActionSpec should have comment or be unexported (golint)
    • Line 147: warning: comment on exported const NoConcurrencyLimit should be of the form "NoConcurrencyLimit ..." (golint)
    • Line 150: warning: exported method TaskRun.GetConcurrencyLimit should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/scenesets.go
    • Line 29: warning: exported method Endpoints.GetSceneSet should have comment or be unexported (golint)
    • Line 45: warning: exported method Endpoints.GetSceneSets should have comment or be unexported (golint)
    • Line 68: warning: exported method Endpoints.CreateSceneSet should have comment or be unexported (golint)
    • Line 108: warning: exported method Endpoints.UpdateSceneSet should have comment or be unexported (golint)
    • Line 144: warning: exported method Endpoints.DeleteSceneSet should have comment or be unexported (golint)
    • Line 182: warning: exported method Endpoints.DragSceneSet should have comment or be unexported (golint)
    • Line 216: warning: exported method Endpoints.CopySceneSet should have comment or be unexported (golint)
    • erda/modules/scheduler/conf/conf.go
    • Line 80: warning: exported function KafkaBrokers should have comment or be unexported (golint)
    • Line 83: warning: exported function KafkaContainerTopic should have comment or be unexported (golint)
    • Line 86: warning: exported function KafkaGroup should have comment or be unexported (golint)
    • Line 95: warning: exported function WsDiceRootDomain should have comment or be unexported (golint)
    • erda/modules/dop/services/issuestate/issuestate.go
    • Line 138: warning: exported method IssueState.GetIssuesStatesByID should have comment or be unexported (golint)
    • Line 154: warning: exported method IssueState.GetIssueStatesBelong should have comment or be unexported (golint)
    • Line 182: warning: exported method IssueState.GetIssuesStatesNameByID should have comment or be unexported (golint)
    • Line 202: warning: exported method IssueState.InitProjectState should have comment or be unexported (golint)
    • erda/modules/gittar/uc/user_center.go
    • Line 33: warning: exported type Token should have comment or be unexported (golint)
    • Line 43: warning: exported function GetToken should have comment or be unexported (golint)
    • Line 67: warning: exported function FindUserById should have comment or be unexported (golint)
    • Line 118: warning: exported function FindUserByIdWithDesensitize should have comment or be unexported (golint)
    • Line 133: warning: comment on exported function ListUserByIds should be of the form "ListUserByIds ..." (golint)
    • erda/apistructs/testplan_v2.go
    • Line 111: warning: exported method TestPlanV2PagingRequest.UrlQueryString should have comment or be unexported (golint)
    • Line 149: warning: comment on exported type TestPlanV2StepGetResponse should be of the form "TestPlanV2StepGetResponse ..." (with optional leading article) (golint)
    • Line 180: warning: exported type TestPlanV2StepAddResp should have comment or be unexported (golint)
    • Line 185: warning: exported type TestPlanV2StepMoveResp should have comment or be unexported (golint)
    • Line 208: warning: exported type TestPlanV2StepUpdateResp should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-plan-detail/components/executeAlertInfo/render.go
    • Line 14: warning: don't use MixedCaps in package name; executeAlertInfo should be executealertinfo (golint)
    • Line 27: warning: exported type ComponentAlertInfo should have comment or be unexported (golint)
    • Line 33: warning: exported type CommonAlertInfo should have comment or be unexported (golint)
    • Line 43: warning: exported type PropColumn should have comment or be unexported (golint)
    • Line 51: warning: exported type State should have comment or be unexported (golint)
    • Line 56: warning: exported method ComponentAlertInfo.Import should have comment or be unexported (golint)
    • Line 68: warning: receiver name i should be consistent with previous receiver name a for ComponentAlertInfo (golint)
    • Line 79: warning: receiver name i should be consistent with previous receiver name a for ComponentAlertInfo (golint)
    • Line 99: warning: exported method ComponentAlertInfo.RenderProtocol should have comment or be unexported (golint)
    • Line 99: warning: receiver name i should be consistent with previous receiver name a for ComponentAlertInfo (golint)
    • Line 109: warning: exported method ComponentAlertInfo.Render should have comment or be unexported (golint)
    • Line 109: warning: receiver name i should be consistent with previous receiver name a for ComponentAlertInfo (golint)
    • Line 175: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/openapi/oauth2/server.go
    • Line 32: warning: exported type OAuth2Server should have comment or be unexported (golint)
    • Line 36: warning: exported method OAuth2Server.Server should have comment or be unexported (golint)
    • Line 40: warning: exported function NewOAuth2Server should have comment or be unexported (golint)
    • Line 73: warning: comment on exported method OAuth2Server.Token should be of the form "Token ..." (golint)
    • Line 81: warning: comment on exported method OAuth2Server.InvalidateToken should be of the form "InvalidateToken ..." (golint)
    • Line 98: warning: comment on exported method OAuth2Server.ValidateToken should be of the form "ValidateToken ..." (golint)
    • erda/modules/dop/services/migrate/service.go
    • Line 24: warning: exported type Inode should have comment or be unexported (golint)
    • Line 26: warning: exported type Service should have comment or be unexported (golint)
    • Line 30: warning: exported function New should have comment or be unexported (golint)
    • Line 38: warning: exported type Option should have comment or be unexported (golint)
    • Line 40: warning: exported function WithDBClient should have comment or be unexported (golint)
    • erda/pkg/common/errors/parameter.go
    • Line 47: warning: exported method InvalidParameterError.HTTPStatus should have comment or be unexported (golint)
    • Line 48: warning: exported method InvalidParameterError.Translate should have comment or be unexported (golint)
    • Line 62: warning: exported function NewMissingParameterError should have comment or be unexported (golint)
    • Line 69: warning: exported method MissingParameterError.HTTPStatus should have comment or be unexported (golint)
    • Line 70: warning: exported method MissingParameterError.Translate should have comment or be unexported (golint)
    • Line 74: warning: comment on exported type ParameterTypeError should be of the form "ParameterTypeError ..." (with optional leading article) (golint)
    • Line 93: warning: exported method ParameterTypeError.HTTPStatus should have comment or be unexported (golint)
    • Line 94: warning: exported method ParameterTypeError.Translate should have comment or be unexported (golint)
    • Line 101: warning: comment on exported function ParseValidateError should be of the form "ParseValidateError ..." (golint)
    • erda/modules/openapi/component-protocol/scenarios/edge-application/components/appConfigForm/render.go
    • Line 27: warning: exported const MIRROR should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported var AppNameMatchRegexp should have comment or be unexported (golint)
    • Line 38: warning: exported type Application should have comment or be unexported (golint)
    • Line 54: warning: exported type ApplicationStorage should have comment or be unexported (golint)
    • Line 61: warning: exported type ApplicationMirror should have comment or be unexported (golint)
    • Line 67: warning: exported type ApplicationHealthCheckConfig should have comment or be unexported (golint)
    • Line 74: warning: exported type ApplicationPortMap should have comment or be unexported (golint)
    • Line 78: warning: exported type ApplicationPortMapData should have comment or be unexported (golint)
    • Line 84: warning: exported type ChangeClusterReqForm should have comment or be unexported (golint)
    • Line 88: warning: exported type ChangeClusterReqProps should have comment or be unexported (golint)
    • Line 92: warning: exported method ComponentFormModal.Render should have comment or be unexported (golint)
    • erda/modules/cluster-manager/services/cluster/cluster.go
    • Line 31: warning: exported type Option should have comment or be unexported (golint)
    • Line 48: warning: exported function WithDBClient should have comment or be unexported (golint)
    • Line 54: warning: exported function WithBundle should have comment or be unexported (golint)
    • Line 391: warning: exported method Cluster.ListClusterByType should have comment or be unexported (golint)
    • erda/apistructs/openapi.go
    • Line 16: warning: exported type OpenapiOAuth2Token should have comment or be unexported (golint)
    • Line 23: warning: exported type OpenapiOAuth2TokenPayload should have comment or be unexported (golint)
    • Line 30: warning: exported type AccessibleAPI should have comment or be unexported (golint)
    • Line 36: warning: exported type OpenapiOAuth2TokenGetRequest should have comment or be unexported (golint)
    • Line 42: warning: exported type OpenapiOAuth2TokenGetResponse should have comment or be unexported (golint)
    • Line 44: warning: exported type OpenapiOAuth2TokenInvalidateRequest should have comment or be unexported (golint)
    • Line 48: warning: exported type OpenapiOauth2TokenInvalidateResponse should have comment or be unexported (golint)
    • erda/modules/dop/services/assetsvc/bdl.go
    • Line 27: warning: comment on exported type Action should be of the form "Action ..." (with optional leading article) (golint)
    • Line 45: warning: exported method Service.CheckClientIDSecret should have comment or be unexported (golint)
    • Line 57: warning: exported method Service.EmailNotify should have comment or be unexported (golint)
    • Line 74: warning: exported method Service.MboxNotify should have comment or be unexported (golint)
    • Line 81: warning: exported method Service.GetEndpointDomains should have comment or be unexported (golint)
    • erda/modules/monitor/utils/time.go
    • Line 25: warning: exported const Seconds should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported function ConvertTimeToMS should have comment or be unexported (golint)
    • Line 37: warning: exported function ConvertUnitToMS should have comment or be unexported (golint)
    • Line 48: warning: exported function ConvertMSToUnit should have comment or be unexported (golint)
    • Line 59: warning: exported function ConvertStringToMS should have comment or be unexported (golint)
    • erda/modules/scheduler/impl/volume/driver/default.go
    • Line 28: warning: error var ExistedVolumeID should have name of the form ErrFoo (golint)
    • Line 28: warning: exported var ExistedVolumeID should have comment or be unexported (golint)
    • Line 29: warning: error var NotFoundVolume should have name of the form ErrFoo (golint)
    • Line 30: warning: error var VolumeNameReferNilVolume should have name of the form ErrFoo (golint)
    • erda/modules/openapi/oauth2/tokenstore/mysqltokenstore/token_store.go
    • Line 30: warning: exported type TokenStore should have comment or be unexported (golint)
    • Line 48: warning: exported type TokenStoreItemData should have comment or be unexported (golint)
    • Line 52: warning: exported method TokenStoreItemData.Value should have comment or be unexported (golint)
    • Line 55: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 60: warning: exported method TokenStoreItemData.Scan should have comment or be unexported (golint)
    • Line 81: warning: exported method TokenStoreItem.TableName should have comment or be unexported (golint)
    • erda/apistructs/autotest_plan_detail.go
    • Line 16: warning: exported type TestPlanActiveKey should have comment or be unexported (golint)
    • Line 19: warning: exported const ConfigTestPlanActiveKey should have comment (or a comment on this block) or be unexported (golint)
    • erda/apistructs/deployment.go
    • Line 21: warning: comment on exported type DeploymentListRequest should be of the form "DeploymentListRequest ..." (with optional leading article) (golint)
    • Line 35: warning: comment on exported type DeploymentListResponse should be of the form "DeploymentListResponse ..." (with optional leading article) (golint)
    • Line 42: warning: exported type DeploymentListData should have comment or be unexported (golint)
    • Line 47: warning: exported type Deployment should have comment or be unexported (golint)
    • Line 73: warning: exported type DeploymentDetailListResponse should have comment or be unexported (golint)
    • Line 78: warning: exported type DeploymentWithDetail should have comment or be unexported (golint)
    • Line 90: warning: exported type DeploymentDetailListData should have comment or be unexported (golint)
    • Line 95: warning: exported type DeploymentCancelRequest should have comment or be unexported (golint)
    • Line 100: warning: exported type DeploymentCancelResponse should have comment or be unexported (golint)
    • Line 105: warning: exported type DeploymentApproveRequest should have comment or be unexported (golint)
    • Line 110: warning: exported type DeploymentApproveResponse should have comment or be unexported (golint)
    • Line 114: warning: exported type DeployStagesAddonsRequest should have comment or be unexported (golint)
    • Line 116: warning: exported type DeployStagesServicesRequest should have comment or be unexported (golint)
    • Line 118: warning: exported type DeployStagesDomainsRequest should have comment or be unexported (golint)
    • erda/apistructs/pipeline_templates.go
    • Line 21: warning: exported type TemplateVersion should have comment or be unexported (golint)
    • Line 24: warning: exported const TemplateVersionV1 should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: exported type SnippetQueryDetailsRequest should have comment or be unexported (golint)
    • Line 31: warning: exported type SnippetQueryDetailsResponse should have comment or be unexported (golint)
    • Line 35: warning: exported type SnippetQueryDetail should have comment or be unexported (golint)
    • Line 40: warning: exported type SnippetDetailQuery should have comment or be unexported (golint)
    • Line 45: warning: exported type PipelineTemplateCreateRequest should have comment or be unexported (golint)
    • Line 57: warning: exported type PipelineTemplateCreateResponse should have comment or be unexported (golint)
    • Line 62: warning: exported type PipelineTemplateApplyRequest should have comment or be unexported (golint)
    • Line 68: warning: exported type PipelineTemplateVersionCreateRequest should have comment or be unexported (golint)
    • Line 71: warning: exported type PipelineTemplateVersionCreateResponse should have comment or be unexported (golint)
    • Line 76: warning: exported type PipelineTemplateQueryRequest should have comment or be unexported (golint)
    • Line 84: warning: exported type PipelineTemplateQueryResponse should have comment or be unexported (golint)
    • Line 89: warning: exported type PipelineTemplateVersionGetRequest should have comment or be unexported (golint)
    • Line 96: warning: exported type PipelineTemplateVersionQueryRequest should have comment or be unexported (golint)
    • Line 102: warning: exported type PipelineTemplateRenderRequest should have comment or be unexported (golint)
    • Line 112: warning: exported type PipelineTemplateRenderSpecRequest should have comment or be unexported (golint)
    • Line 119: warning: exported type PipelineTemplateRenderResponse should have comment or be unexported (golint)
    • Line 124: warning: exported type PipelineTemplateVersionGetResponse should have comment or be unexported (golint)
    • Line 129: warning: exported type PipelineTemplateVersionQueryResponse should have comment or be unexported (golint)
    • Line 134: warning: exported type PipelineTemplateSearchRequest should have comment or be unexported (golint)
    • Line 137: warning: exported type PipelineTemplateSearchResponse should have comment or be unexported (golint)
    • Line 142: warning: exported type PipelineTemplateRender should have comment or be unexported (golint)
    • Line 148: warning: exported type SnippetFormatOutputs should have comment or be unexported (golint)
    • Line 153: warning: exported type PipelineTemplate should have comment or be unexported (golint)
    • Line 165: warning: exported type PipelineTemplateVersion should have comment or be unexported (golint)
    • Line 176: warning: exported type PipelineTemplateSpec should have comment or be unexported (golint)
    • Line 187: warning: exported method PipelineTemplateSpec.Check should have comment or be unexported (golint)
    • Line 219: warning: exported type PipelineTemplateSpecParams should have comment or be unexported (golint)
    • Line 228: warning: exported method PipelineParam.Check should have comment or be unexported (golint)
    • Line 237: warning: exported type PipelineTemplateSpecOutput should have comment or be unexported (golint)
    • Line 243: warning: exported method PipelineOutput.Check should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/ddl_dml_linter.go
    • Line 24: warning: exported type DDLDMLLinter should have comment or be unexported (golint)
    • Line 28: warning: exported function NewDDLDMLLinter should have comment or be unexported (golint)
    • Line 32: warning: exported method DDLDMLLinter.Enter should have comment or be unexported (golint)
    • Line 50: warning: exported method DDLDMLLinter.Leave should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/pipelineymlv1/define.go
    • Line 14: warning: package comment should be of the form "Package pipelineymlv1 ..." (golint)
    • Line 17: warning: exported type Pipeline should have comment or be unexported (golint)
    • Line 29: warning: exported type Stage should have comment or be unexported (golint)
    • Line 35: warning: exported type TaskConfig should have comment or be unexported (golint)
    • Line 37: warning: exported type Resource should have comment or be unexported (golint)
    • Line 44: warning: exported type ResourceType should have comment or be unexported (golint)
    • Line 50: warning: exported type Trigger should have comment or be unexported (golint)
    • Line 54: warning: exported type Schedule should have comment or be unexported (golint)
    • Line 59: warning: exported type Version should have comment or be unexported (golint)
    • erda/apistructs/cluster_info.go
    • Line 23: warning: exported const ETCD_ENDPOINTS should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported type ClusterInfoResponse should have comment or be unexported (golint)
    • Line 57: warning: exported type ClusterInfoListResponse should have comment or be unexported (golint)
    • Line 62: warning: exported type IstioInfo should have comment or be unexported (golint)
    • Line 68: warning: exported type ClusterInfoData should have comment or be unexported (golint)
    • Line 70: warning: exported type ClusterInfoDataList should have comment or be unexported (golint)
    • Line 72: warning: exported type ClusterInfoMapKey should have comment or be unexported (golint)
    • Line 74: warning: exported method ClusterInfoData.MustGet should have comment or be unexported (golint)
    • Line 82: warning: exported method ClusterInfoData.Get should have comment or be unexported (golint)
    • Line 86: warning: comment on exported method ClusterInfoData.MustGetPublicURL should be of the form "MustGetPublicURL ..." (golint)
    • Line 115: warning: exported method ClusterInfoData.IsK8S should have comment or be unexported (golint)
    • Line 125: warning: exported method ClusterInfoData.IsDCOS should have comment or be unexported (golint)
    • Line 135: warning: exported method ClusterInfoData.IsEDAS should have comment or be unexported (golint)
    • Line 140: warning: exported method ClusterInfoData.GetIstioInfo should have comment or be unexported (golint)
    • Line 154: warning: exported method ClusterInfoData.GetApiServerUrl should have comment or be unexported (golint)
    • Line 159: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 164: warning: exported type ClusterResourceInfoResponse should have comment or be unexported (golint)
    • Line 169: warning: exported type ClusterResourceInfoData should have comment or be unexported (golint)
    • Line 183: warning: exported type NodeResourceInfo should have comment or be unexported (golint)
    • erda/modules/gittar/pkg/gitmodule/cache.go
    • Line 24: warning: exported type CacheStatus should have comment or be unexported (golint)
    • Line 31: warning: comment on exported type Cache should be of the form "Cache ..." (with optional leading article) (golint)
    • Line 81: warning: exported method MemCache.GetCacheMap should have comment or be unexported (golint)
    • erda/modules/scheduler/impl/resourceinfo/resourceinfo.go
    • Line 25: warning: exported type ResourceInfo should have comment or be unexported (golint)
    • Line 29: warning: exported type ResourceInfoImpl should have comment or be unexported (golint)
    • Line 32: warning: exported function NewResourceInfoImpl should have comment or be unexported (golint)
    • Line 36: warning: exported method ResourceInfoImpl.Info should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/project-list-my/components/list/model.go
    • Line 20: warning: exported type ComponentList should have comment or be unexported (golint)
    • Line 26: warning: exported type CommonList should have comment or be unexported (golint)
    • Line 36: warning: exported type Props should have comment or be unexported (golint)
    • Line 41: warning: exported type Data should have comment or be unexported (golint)
    • Line 45: warning: exported type State should have comment or be unexported (golint)
    • Line 54: warning: exported type ProItem should have comment or be unexported (golint)
    • Line 64: warning: exported type ExtraInfos should have comment or be unexported (golint)
    • Line 71: warning: exported type Command should have comment or be unexported (golint)
    • Line 76: warning: exported type PageSizeNo should have comment or be unexported (golint)
    • Line 81: warning: exported type Meta should have comment or be unexported (golint)
    • Line 89: warning: exported type Operation should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/index_name_linter.go
    • Line 27: warning: exported type IndexNameLinter should have comment or be unexported (golint)
    • Line 31: warning: exported function NewIndexNameLinter should have comment or be unexported (golint)
    • Line 35: warning: exported method IndexNameLinter.Enter should have comment or be unexported (golint)
    • Line 69: warning: exported method IndexNameLinter.Leave should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/vpc/get.go
    • Line 27: warning: exported function GetVpcByCluster should have comment or be unexported (golint)
    • Line 27: warning: don't use underscores in Go names; func parameter ak_ctx should be akCtx (golint)
    • Line 45: warning: exported function GetVpcBaseInfo should have comment or be unexported (golint)
    • Line 45: warning: don't use underscores in Go names; func parameter ak_ctx should be akCtx (golint)
    • erda/bundle/notify_group.go
    • Line 48: warning: exported method Bundle.QueryNotifiesBySource should have comment or be unexported (golint)
    • Line 76: warning: exported method Bundle.CreateNotifyHistory should have comment or be unexported (golint)
    • erda/modules/monitor/alert/alert-apis/org-custom-apis.go
    • Line 359: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 373: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 386: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 393: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • erda/modules/dop/endpoints/contract.go
    • Line 28: warning: comment on exported method Endpoints.CreateContract should be of the form "CreateContract ..." (golint)
    • Line 63: warning: comment on exported method Endpoints.ListContract should be of the form "ListContract ..." (golint)
    • Line 99: warning: exported method Endpoints.GetContract should have comment or be unexported (golint)
    • Line 129: warning: comment on exported method Endpoints.ListContractRecords should be of the form "ListContractRecords ..." (golint)
    • Line 162: warning: comment on exported method Endpoints.UpdateContract should be of the form "UpdateContract ..." (golint)
    • Line 195: warning: exported method Endpoints.DeleteContract should have comment or be unexported (golint)
    • erda/pkg/cron/cron.go
    • Line 104: warning: exported type OpOption should have comment or be unexported (golint)
    • Line 106: warning: exported function WithoutDLock should have comment or be unexported (golint)
    • Line 147: warning: comment on exported type FuncJob should be of the form "FuncJob ..." (with optional leading article) (golint)
    • Line 150: warning: exported method FuncJob.Run should have comment or be unexported (golint)
    • Line 164: warning: comment on exported method Cron.AddOnceFunc should be of the form "AddOnceFunc ..." (golint)
    • Line 409: warning: comment on exported method Cron.Close should be of the form "Close ..." (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/emptyOrgText/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyOrgText should be emptyorgtext (golint)
    • Line 28: warning: exported const DefaultFontSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported function RenderCreator should have comment or be unexported (golint)
    • Line 37: warning: exported type EmptyOrgText should have comment or be unexported (golint)
    • Line 50: warning: exported type Command should have comment or be unexported (golint)
    • Line 57: warning: exported type Operation should have comment or be unexported (golint)
    • Line 64: warning: exported method EmptyOrgText.SetCtxBundle should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method EmptyOrgText.Render should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • erda/modules/orchestrator/dbclient/deployment.go
    • Line 31: warning: exported type Deployment should have comment or be unexported (golint)
    • Line 63: warning: exported method Deployment.TableName should have comment or be unexported (golint)
    • Line 67: warning: exported type DeploymentExtra should have comment or be unexported (golint)
    • Line 79: warning: exported method DeploymentExtra.Value should have comment or be unexported (golint)
    • Line 82: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 87: warning: exported method DeploymentExtra.Scan should have comment or be unexported (golint)
    • Line 104: warning: comment on exported type PreDeployment should be of the form "PreDeployment ..." (with optional leading article) (golint)
    • Line 115: warning: exported method PreDeployment.TableName should have comment or be unexported (golint)
    • Line 119: warning: exported method DBClient.CreateDeployment should have comment or be unexported (golint)
    • Line 126: warning: exported method DBClient.UpdateDeployment should have comment or be unexported (golint)
    • Line 134: warning: exported method DBClient.GetDeployment should have comment or be unexported (golint)
    • Line 144: warning: exported type DeploymentFilter should have comment or be unexported (golint)
    • Line 155: warning: exported method DBClient.FindDeployments should have comment or be unexported (golint)
    • Line 171: warning: exported method DBClient.FindMultiRuntimesDeployments should have comment or be unexported (golint)
    • Line 216: warning: exported method DBClient.FindUnfinishedDeployments should have comment or be unexported (golint)
    • Line 226: warning: exported method DBClient.FindSuccessfulDeployments should have comment or be unexported (golint)
    • Line 237: warning: comment on exported method DBClient.FindLastDeployment should be of the form "FindLastDeployment ..." (golint)
    • Line 252: warning: exported method DBClient.FindTopDeployments should have comment or be unexported (golint)
    • Line 263: warning: comment on exported method DBClient.FindNotOutdatedOlderThan should be of the form "FindNotOutdatedOlderThan ..." (golint)
    • Line 275: warning: exported method DBClient.FindPreDeployment should have comment or be unexported (golint)
    • Line 285: warning: exported method DBClient.FindPreDeploymentOrCreate should have comment or be unexported (golint)
    • Line 323: warning: exported method DBClient.UpdatePreDeployment should have comment or be unexported (golint)
    • Line 330: warning: exported method DBClient.ResetPreDice should have comment or be unexported (golint)
    • Line 339: warning: comment on exported method Deployment.Convert should be of the form "Convert ..." (golint)
    • erda/modules/pipeline/events/event.go
    • Line 23: warning: exported type Event should have comment or be unexported (golint)
    • Line 32: warning: exported type DefaultEvent should have comment or be unexported (golint)
    • Line 38: warning: exported type IdentityInfo should have comment or be unexported (golint)
    • Line 43: warning: exported method DefaultEvent.HandleWebhook should have comment or be unexported (golint)
    • Line 44: warning: exported method DefaultEvent.HandleWebSocket should have comment or be unexported (golint)
    • Line 45: warning: exported method DefaultEvent.HandleDingDing should have comment or be unexported (golint)
    • Line 46: warning: exported method DefaultEvent.HandleHTTP should have comment or be unexported (golint)
    • Line 47: warning: exported method DefaultEvent.HandleDB should have comment or be unexported (golint)
    • Line 50: warning: exported const SenderPipeline should have comment (or a comment on this block) or be unexported (golint)
    • Line 53: warning: exported type EventKind should have comment or be unexported (golint)
    • Line 56: warning: exported const EventKindPipeline should have comment (or a comment on this block) or be unexported (golint)
    • erda/modules/hepa/repository/service/ini_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 23: warning: exported type IniServiceImpl should have comment or be unexported (golint)
    • Line 27: warning: exported function NewIniServiceImpl should have comment or be unexported (golint)
    • Line 35: warning: exported method IniServiceImpl.GetValueByName should have comment or be unexported (golint)
    • erda/modules/msp/apm/checker/storage/db/metric.go
    • Line 33: warning: exported method MetricDB.GetByFields should have comment or be unexported (golint)
    • Line 48: warning: exported method MetricDB.GetByID should have comment or be unexported (golint)
    • Line 54: warning: exported method MetricDB.ListIDs should have comment or be unexported (golint)
    • Line 62: warning: exported method MetricDB.ListByIDs should have comment or be unexported (golint)
    • Line 70: warning: exported method MetricDB.Create should have comment or be unexported (golint)
    • Line 76: warning: exported method MetricDB.Update should have comment or be unexported (golint)
    • Line 81: warning: exported method MetricDB.Delete should have comment or be unexported (golint)
    • Line 88: warning: exported method MetricDB.ListByProjectID should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_domain_service.go
    • Line 26: warning: should not use dot imports (golint)
    • Line 47: warning: exported type GatewayDomainServiceImpl should have comment or be unexported (golint)
    • Line 57: warning: exported function NewGatewayDomainServiceImpl should have comment or be unexported (golint)
    • Line 127: warning: exported method GatewayDomainServiceImpl.FindDomains should have comment or be unexported (golint)
    • Line 222: warning: exported type RuntimeData should have comment or be unexported (golint)
    • Line 235: warning: exported type RuntimeResponse should have comment or be unexported (golint)
    • Line 240: warning: exported method GatewayDomainServiceImpl.UpdateRuntimeServicePort should have comment or be unexported (golint)
    • Line 316: warning: exported function MakeEndpointMaterial should have comment or be unexported (golint)
    • Line 338: warning: exported method GatewayDomainServiceImpl.GiveRuntimeDomainToPackage should have comment or be unexported (golint)
    • Line 403: warning: exported method GatewayDomainServiceImpl.TouchRuntimeDomain should have comment or be unexported (golint)
    • Line 636: warning: exported method GatewayDomainServiceImpl.RefreshRuntimeDomain should have comment or be unexported (golint)
    • Line 670: warning: exported method GatewayDomainServiceImpl.IsPackageDomainsDiff should have comment or be unexported (golint)
    • Line 694: warning: exported method GatewayDomainServiceImpl.SetCloudapiDomain should have comment or be unexported (golint)
    • Line 771: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 818: warning: exported method GatewayDomainServiceImpl.TouchPackageDomain should have comment or be unexported (golint)
    • Line 929: warning: exported method GatewayDomainServiceImpl.GetPackageDomains should have comment or be unexported (golint)
    • Line 954: warning: exported method GatewayDomainServiceImpl.GetTenantDomains should have comment or be unexported (golint)
    • Line 1037: warning: exported method GatewayDomainServiceImpl.GetRuntimeDomains should have comment or be unexported (golint)
    • Line 1143: warning: exported method GatewayDomainServiceImpl.UpdateRuntimeServiceDomain should have comment or be unexported (golint)
    • Line 1257: warning: exported method GatewayDomainServiceImpl.CreateOrUpdateComponentIngress should have comment or be unexported (golint)
    • Line 1389: warning: exported method GatewayDomainServiceImpl.GetOrgDomainInfo should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/stages/model.go
    • Line 21: warning: exported type ComponentStageForm should have comment or be unexported (golint)
    • Line 27: warning: exported type CommonStageForm should have comment or be unexported (golint)
    • Line 38: warning: exported type Data should have comment or be unexported (golint)
    • Line 43: warning: exported type StageData should have comment or be unexported (golint)
    • Line 50: warning: exported type InParams should have comment or be unexported (golint)
    • Line 54: warning: exported type DragParams should have comment or be unexported (golint)
    • Line 61: warning: exported type State should have comment or be unexported (golint)
    • Line 75: warning: exported type OperationBaseInfo should have comment or be unexported (golint)
    • Line 91: warning: exported type OpMetaData should have comment or be unexported (golint)
    • Line 100: warning: exported type OpMetaInfo should have comment or be unexported (golint)
    • Line 105: warning: exported type OperationInfo should have comment or be unexported (golint)
    • Line 110: warning: exported type CreateOperation should have comment or be unexported (golint)
    • Line 111: warning: exported type OnChangeOperation should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/regionid.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 28: warning: exported type CachedRegionIDs should have comment or be unexported (golint)
    • Line 59: warning: exported function ActiveRegionIDs should have comment or be unexported (golint)
    • Line 176: warning: exported function GetCachedRegions should have comment or be unexported (golint)
    • Line 176: warning: don't use underscores in Go names; func parameter ak_ctx should be akCtx (golint)
    • Line 190: warning: exported function PutCachedRegions should have comment or be unexported (golint)
    • Line 190: warning: don't use underscores in Go names; func parameter ak_ctx should be akCtx (golint)
    • Line 204: warning: exported function UpdateGlobalCachedRegions should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/apidoc.go
    • Line 29: warning: exported method Endpoints.APIDocWebsocket should have comment or be unexported (golint)
    • Line 54: warning: exported method Endpoints.ValidateSwagger should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/notify-config/components/notifyAddButton/render.go
    • Line 14: warning: don't use MixedCaps in package name; notifyAddButton should be notifyaddbutton (golint)
    • Line 26: warning: exported type ComponentButton should have comment or be unexported (golint)
    • Line 34: warning: exported type State should have comment or be unexported (golint)
    • Line 40: warning: exported type Props should have comment or be unexported (golint)
    • Line 45: warning: exported type AddButtonOperation should have comment or be unexported (golint)
    • Line 49: warning: exported type Click should have comment or be unexported (golint)
    • Line 54: warning: exported type CommandState should have comment or be unexported (golint)
    • Line 59: warning: exported method ComponentButton.Render should have comment or be unexported (golint)
    • Line 104: warning: exported method ComponentButton.Import should have comment or be unexported (golint)
    • Line 115: warning: exported method ComponentButton.Export should have comment or be unexported (golint)
    • Line 126: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/pkg/storage/storage.go
    • Line 18: warning: exported type Storager should have comment or be unexported (golint)
    • Line 25: warning: exported type Type should have comment or be unexported (golint)
    • Line 28: warning: exported var TypeFileSystem should have comment or be unexported (golint)
    • erda/pkg/http/httpserver/response.go
    • Line 53: warning: comment on exported method HTTPResponse.GetLocaledResp should be of the form "GetLocaledResp ..." (golint)
    • Line 119: warning: exported function WriteJSON should have comment or be unexported (golint)
    • Line 132: warning: exported function WriteData should have comment or be unexported (golint)
    • Line 139: warning: exported function WriteErr should have comment or be unexported (golint)
    • erda/bundle/gittar_path.go
    • Line 37: warning: exported function NewGittarFileTree should have comment or be unexported (golint)
    • Line 52: warning: exported method GittarFileTree.Clone should have comment or be unexported (golint)
    • Line 64: warning: exported method GittarFileTree.ProjectID should have comment or be unexported (golint)
    • Line 68: warning: exported method GittarFileTree.ProjectName should have comment or be unexported (golint)
    • Line 72: warning: exported method GittarFileTree.SetProjectIDName should have comment or be unexported (golint)
    • Line 78: warning: exported method GittarFileTree.ApplicationID should have comment or be unexported (golint)
    • Line 82: warning: exported method GittarFileTree.ApplicationName should have comment or be unexported (golint)
    • Line 86: warning: exported method GittarFileTree.SetApplicationIDName should have comment or be unexported (golint)
    • Line 92: warning: exported method GittarFileTree.BranchName should have comment or be unexported (golint)
    • Line 96: warning: exported method GittarFileTree.SetBranchName should have comment or be unexported (golint)
    • Line 101: warning: exported method GittarFileTree.PathFromRepoRoot should have comment or be unexported (golint)
    • Line 105: warning: exported method GittarFileTree.SetPathFromRepoRoot should have comment or be unexported (golint)
    • Line 110: warning: exported method GittarFileTree.DeletePathFromRepoRoot should have comment or be unexported (golint)
    • Line 115: warning: comment on exported method GittarFileTree.BlobPath should be of the form "BlobPath ..." (golint)
    • Line 120: warning: comment on exported method GittarFileTree.TreePath should be of the form "TreePath ..." (golint)
    • Line 125: warning: exported method GittarFileTree.BranchesPath should have comment or be unexported (golint)
    • Line 129: warning: exported method GittarFileTree.RepoPath should have comment or be unexported (golint)
    • Line 133: warning: exported method GittarFileTree.Inode should have comment or be unexported (golint)
    • Line 137: warning: exported method Bundle.GetGittarTreeNodeInfo should have comment or be unexported (golint)
    • Line 161: warning: exported method Bundle.GetGittarBlobNodeInfo should have comment or be unexported (golint)
    • Line 188: warning: comment on exported method Bundle.CreateGittarCommitV3 should be of the form "CreateGittarCommitV3 ..." (golint)
    • Line 197: warning: don't use underscores in Go names; var path_ should be path (golint)
    • erda/modules/dop/services/assetsvc/list.go
    • Line 35: warning: exported const AddonNameAPIGateway should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported const WorkspaceDev should have comment (or a comment on this block) or be unexported (golint)
    • Line 126: warning: exported method Service.ListSwaggerVersions should have comment or be unexported (golint)
    • Line 432: warning: exported method Service.ListMyClients should have comment or be unexported (golint)
    • Line 469: warning: exported method Service.ListContracts should have comment or be unexported (golint)
    • Line 527: warning: exported method Service.ListContractRecords should have comment or be unexported (golint)
    • Line 544: warning: exported method Service.ListAccess should have comment or be unexported (golint)
    • Line 617: warning: exported method Service.ListSwaggerVersionClients should have comment or be unexported (golint)
    • Line 665: warning: exported method Service.ListAPIGateways should have comment or be unexported (golint)
    • Line 688: warning: exported method Service.ListProjectAPIGateways should have comment or be unexported (golint)
    • Line 720: warning: exported method Service.GetApplicationServices should have comment or be unexported (golint)
    • Line 759: warning: exported method Service.GetRuntimeServices should have comment or be unexported (golint)
    • Line 763: warning: comment on exported method Service.ListSLAs should be of the form "ListSLAs ..." (golint)
    • erda/modules/scheduler/executor/plugins/k8s/addon/elasticsearch/elasticsearch.go
    • Line 37: warning: exported type ElasticsearchOperator should have comment or be unexported (golint)
    • Line 48: warning: exported function New should have comment or be unexported (golint)
    • Line 157: warning: exported method ElasticsearchOperator.Create should have comment or be unexported (golint)
    • Line 192: warning: exported method ElasticsearchOperator.Inspect should have comment or be unexported (golint)
    • Line 229: warning: exported method ElasticsearchOperator.Remove should have comment or be unexported (golint)
    • Line 255: warning: comment on exported method ElasticsearchOperator.Update should be of the form "Update ..." (golint)
    • Line 302: warning: exported method ElasticsearchOperator.NodeSetsConvert should have comment or be unexported (golint)
    • erda/pkg/swagger/ddlconv/extrator.go
    • Line 23: warning: exported function ExtractCreateName should have comment or be unexported (golint)
    • Line 33: warning: exported function ExtractRename should have comment or be unexported (golint)
    • Line 46: warning: exported function ExtractDropNames should have comment or be unexported (golint)
    • Line 61: warning: exported function ExtractColName should have comment or be unexported (golint)
    • Line 71: warning: exported function ExtractColType should have comment or be unexported (golint)
    • Line 81: warning: exported function ExtractColComment should have comment or be unexported (golint)
    • Line 96: warning: exported function ExtractAlterTableName should have comment or be unexported (golint)
    • Line 103: warning: exported function ExtractAlterTableAddColName should have comment or be unexported (golint)
    • Line 110: warning: exported function ExtractAlterTableAddColType should have comment or be unexported (golint)
    • Line 117: warning: exported function ExtractAlterTableAddColComment should have comment or be unexported (golint)
    • Line 124: warning: exported function ExtractAlterTableDropColName should have comment or be unexported (golint)
    • Line 131: warning: exported function ExtractAlterTableModifyColName should have comment or be unexported (golint)
    • Line 138: warning: exported function ExtractAlterTableModifyColType should have comment or be unexported (golint)
    • Line 145: warning: exported function ExtractAlterTableModifyColComment should have comment or be unexported (golint)
    • Line 152: warning: exported function ExtractAlterTableChangeColOldName should have comment or be unexported (golint)
    • Line 159: warning: exported function ExtractAlterTableChangeColNewName should have comment or be unexported (golint)
    • Line 166: warning: exported function ExtractAlterTableChangeColType should have comment or be unexported (golint)
    • Line 173: warning: exported function ExtractAlterTableChangeColComment should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/marathon/types.go
    • Line 20: warning: exported type Group should have comment or be unexported (golint)
    • Line 26: warning: exported type App should have comment or be unexported (golint)
    • Line 76: warning: exported type Constraint should have comment or be unexported (golint)
    • Line 78: warning: comment on exported type AppTasks should be of the form "AppTasks ..." (with optional leading article) (golint)
    • Line 83: warning: exported type AppCounts should have comment or be unexported (golint)
    • Line 90: warning: exported type AppDeployments should have comment or be unexported (golint)
    • Line 94: warning: exported type AppDeployment should have comment or be unexported (golint)
    • Line 98: warning: exported type AppNetwork should have comment or be unexported (golint)
    • Line 103: warning: exported type AppContainer should have comment or be unexported (golint)
    • Line 111: warning: exported type AppContainerDocker should have comment or be unexported (golint)
    • Line 122: warning: exported type AppContainerDockerParameter should have comment or be unexported (golint)
    • Line 127: warning: exported type AppContainerPortMapping should have comment or be unexported (golint)
    • Line 136: warning: exported type AppContainerVolume should have comment or be unexported (golint)
    • Line 144: warning: exported type AppHealthCheck should have comment or be unexported (golint)
    • Line 159: warning: exported type AppHealthCheckCommand should have comment or be unexported (golint)
    • Line 163: warning: exported type AppReadinessCheck should have comment or be unexported (golint)
    • Line 174: warning: exported type AppIpAddress should have comment or be unexported (golint)
    • Line 181: warning: exported type AppIpAddressDiscovery should have comment or be unexported (golint)
    • Line 185: warning: exported type AppIpAddressDiscoveryPort should have comment or be unexported (golint)
    • Line 191: warning: exported type AppPortDefinition should have comment or be unexported (golint)
    • Line 198: warning: exported type AppUpgradeStrategy should have comment or be unexported (golint)
    • Line 203: warning: exported type AppFetch should have comment or be unexported (golint)
    • Line 211: warning: exported type AppSecret should have comment or be unexported (golint)
    • Line 215: warning: exported type GroupPutResponse should have comment or be unexported (golint)
    • Line 223: warning: exported type GroupPutResponseDetail should have comment or be unexported (golint)
    • Line 228: warning: exported type GroupPutResponseDeployment should have comment or be unexported (golint)
    • Line 232: warning: exported type Queue should have comment or be unexported (golint)
    • Line 236: warning: exported type QueueOffer should have comment or be unexported (golint)
    • Line 244: warning: exported type QueueOfferDelay should have comment or be unexported (golint)
    • Line 261: warning: exported type GetErrorResponse should have comment or be unexported (golint)
    • Line 265: warning: exported type AppStatus should have comment or be unexported (golint)
    • Line 268: warning: exported const AppStatusRunning should have comment (or a comment on this block) or be unexported (golint)
    • Line 276: warning: comment on exported type GroupHTTPResult should be of the form "GroupHTTPResult ..." (with optional leading article) (golint)
    • Line 282: warning: comment on exported type QueueHTTPResult should be of the form "QueueHTTPResult ..." (with optional leading article) (golint)
    • Line 288: warning: exported type InstanceIpAddr should have comment or be unexported (golint)
    • Line 292: warning: exported type HealthCheckResult should have comment or be unexported (golint)
    • Line 296: warning: exported type Task should have comment or be unexported (golint)
    • Line 304: warning: exported type ShortApp should have comment or be unexported (golint)
    • Line 308: warning: exported type AppGet should have comment or be unexported (golint)
    • Line 312: warning: exported type Deployments should have comment or be unexported (golint)
    • Line 314: warning: exported type Deployment should have comment or be unexported (golint)
    • Line 319: warning: exported method GroupPutResponse.ToString should have comment or be unexported (golint)
    • Line 340: warning: exported method Constraint.Equal should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/components/table/table.go
    • Line 20: warning: exported type CommonTable should have comment or be unexported (golint)
    • Line 28: warning: exported type Data should have comment or be unexported (golint)
    • Line 32: warning: exported type NotifyTableList should have comment or be unexported (golint)
    • Line 41: warning: exported type Target should have comment or be unexported (golint)
    • Line 47: warning: exported type Operate should have comment or be unexported (golint)
    • Line 53: warning: exported type Operations should have comment or be unexported (golint)
    • Line 61: warning: exported type Meta should have comment or be unexported (golint)
    • Line 65: warning: exported type FormData should have comment or be unexported (golint)
    • Line 73: warning: exported type State should have comment or be unexported (golint)
    • Line 79: warning: exported type Props should have comment or be unexported (golint)
    • Line 85: warning: exported type PropColumn should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/myApplicationFilter/render.go
    • Line 14: warning: don't use MixedCaps in package name; myApplicationFilter should be myapplicationfilter (golint)
    • Line 29: warning: exported function RenderCreator should have comment or be unexported (golint)
    • Line 33: warning: exported type MyApplicationFilter should have comment or be unexported (golint)
    • Line 41: warning: exported type Props should have comment or be unexported (golint)
    • Line 47: warning: exported type Condition should have comment or be unexported (golint)
    • Line 57: warning: exported type State should have comment or be unexported (golint)
    • Line 67: warning: exported type Operation should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 115: warning: exported method MyApplicationFilter.SetCtxBundle should have comment or be unexported (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 125: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 141: warning: exported method MyApplicationFilter.Render should have comment or be unexported (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • erda/pkg/nexus/repository_request_docker.go
    • Line 20: warning: comment on exported type DockerHostedRepositoryCreateRequest should be of the form "DockerHostedRepositoryCreateRequest ..." (with optional leading article) (golint)
    • Line 26: warning: exported type DockerHostedRepositoryUpdateRequest should have comment or be unexported (golint)
    • Line 28: warning: comment on exported type DockerProxyRepositoryCreateRequest should be of the form "DockerProxyRepositoryCreateRequest ..." (with optional leading article) (golint)
    • Line 35: warning: exported type DockerProxyRepositoryUpdateRequest should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/filetree.go
    • Line 32: warning: exported method Endpoints.CreateNode should have comment or be unexported (golint)
    • Line 68: warning: exported method Endpoints.DeleteNode should have comment or be unexported (golint)
    • Line 101: warning: exported method Endpoints.UpdateNode should have comment or be unexported (golint)
    • Line 147: warning: exported method Endpoints.MvCpNode should have comment or be unexported (golint)
    • Line 204: warning: exported method Endpoints.ListChildrenNodes should have comment or be unexported (golint)
    • Line 234: warning: exported method Endpoints.GetNodeDetail should have comment or be unexported (golint)
    • Line 261: warning: exported method Endpoints.ListGittarFileTreeNodes should have comment or be unexported (golint)
    • Line 289: warning: exported method Endpoints.GetGittarFileTreeNode should have comment or be unexported (golint)
    • Line 316: warning: exported method Endpoints.GetGittarFileByPipelineId should have comment or be unexported (golint)
    • Line 340: warning: exported method Endpoints.FuzzySearchGittarFileTreeNodes should have comment or be unexported (golint)
    • Line 380: warning: exported method Endpoints.CreateGittarFileTreeNode should have comment or be unexported (golint)
    • Line 412: warning: exported method Endpoints.DeleteGittarFileTreeNode should have comment or be unexported (golint)
    • Line 439: warning: exported method Endpoints.FindGittarFileTreeNodeAncestors should have comment or be unexported (golint)
    • erda/modules/dop/services/uc/uc.go
    • Line 34: warning: exported const UserAPI should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported type User should have comment or be unexported (golint)
    • Line 50: warning: exported function GetUsers should have comment or be unexported (golint)
    • erda/apistructs/addon.go
    • Line 23: warning: exported const AddonCategoryDataBase should have comment (or a comment on this block) or be unexported (golint)
    • Line 173: warning: exported const AddonScheduleSoldierAddr should have comment (or a comment on this block) or be unexported (golint)
    • Line 227: warning: exported const AddCustomAddon should have comment (or a comment on this block) or be unexported (golint)
    • Line 248: warning: exported const AddonNotDiffEnv should have comment (or a comment on this block) or be unexported (golint)
    • Line 253: warning: exported const WORKSPACE_PROD should have comment (or a comment on this block) or be unexported (golint)
    • Line 307: warning: comment on exported const AddonCloudRds should be of the form "AddonCloudRds ..." (golint)
    • Line 309: warning: comment on exported const AddonCloudOns should be of the form "AddonCloudOns ..." (golint)
    • Line 311: warning: comment on exported const AddonCloudRedis should be of the form "AddonCloudRedis ..." (golint)
    • Line 313: warning: comment on exported const AddonCloudOss should be of the form "AddonCloudOss ..." (golint)
    • Line 315: warning: comment on exported const AddonCloudGateway should be of the form "AddonCloudGateway ..." (golint)
    • Line 555: warning: comment on exported type AddonReferenceInfo should be of the form "AddonReferenceInfo ..." (with optional leading article) (golint)
    • Line 702: warning: exported type MicroServiceProjectResponse should have comment or be unexported (golint)
    • Line 707: warning: exported type MicroServiceProjectResponseData should have comment or be unexported (golint)
    • Line 715: warning: exported type MicroServiceMenuResponse should have comment or be unexported (golint)
    • Line 720: warning: exported type MicroServiceMenuResponseData should have comment or be unexported (golint)
    • Line 729: warning: exported type UniversalProjectResponse should have comment or be unexported (golint)
    • Line 734: warning: exported type UniversalProjectResponseData should have comment or be unexported (golint)
    • Line 741: warning: exported type UniversalMenuResponse should have comment or be unexported (golint)
    • Line 746: warning: exported type UniversalMenuResponseData should have comment or be unexported (golint)
    • Line 806: warning: exported type AddonDirectCreateRequest should have comment or be unexported (golint)
    • Line 831: warning: exported type AddonDirectDeleteRequest should have comment or be unexported (golint)
    • Line 1175: warning: comment on exported type PostAddonConfigCallBackResponse should be of the form "PostAddonConfigCallBackResponse ..." (with optional leading article) (golint)
    • Line 1220: warning: comment on exported type ResourceReferenceData should be of the form "ResourceReferenceData ..." (with optional leading article) (golint)
    • Line 1242: warning: exported type AddonTenantCreateRequest should have comment or be unexported (golint)
    • Line 1251: warning: exported type AddonTenantCreateResponse should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/edge-application/components/appConfigForm/operation.go
    • Line 30: warning: exported const IMAGE should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported type ComponentFormModal should have comment or be unexported (golint)
    • Line 42: warning: exported method ComponentFormModal.SetBundle should have comment or be unexported (golint)
    • Line 50: warning: exported method ComponentFormModal.SetComponent should have comment or be unexported (golint)
    • Line 58: warning: exported method ComponentFormModal.OperateSubmit should have comment or be unexported (golint)
    • Line 198: warning: exported method ComponentFormModal.OperateChangeCluster should have comment or be unexported (golint)
    • Line 271: warning: exported method ComponentFormModal.OperateRendering should have comment or be unexported (golint)
    • Line 397: warning: exported function ConvertDeployResource should have comment or be unexported (golint)
    • Line 400: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 408: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 416: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 489: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/eventbox/testutil/testutil.go
    • Line 45: warning: exported function GenContent should have comment or be unexported (golint)
    • Line 49: warning: exported function InputEtcd should have comment or be unexported (golint)
    • Line 54: warning: exported function InputHTTP should have comment or be unexported (golint)
    • Line 58: warning: exported function InputHTTPRaw should have comment or be unexported (golint)
    • Line 74: warning: exported function FakeFileContains should have comment or be unexported (golint)
    • Line 83: warning: exported function IsCleanEtcd should have comment or be unexported (golint)
    • Line 95: warning: comment on exported function RunAHTTPServer should be of the form "RunAHTTPServer ..." (golint)
    • Line 97: warning: don't use underscores in Go names; var content_ should be content (golint)
    • erda/modules/cmp/impl/nodes/add.go
    • Line 34: warning: exported type Nodes should have comment or be unexported (golint)
    • Line 39: warning: exported function New should have comment or be unexported (golint)
    • Line 43: warning: exported method Nodes.AddNodes should have comment or be unexported (golint)
    • Line 120: warning: exported method Nodes.AddCSNodes should have comment or be unexported (golint)
    • Line 237: warning: exported method Nodes.AddCloudNodes should have comment or be unexported (golint)
    • erda/pkg/pipeline_snippet_client/snippet_client.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 30: warning: exported function SetSnippetClientMap should have comment or be unexported (golint)
    • Line 44: warning: exported function BatchGetSnippetPipelineYml should have comment or be unexported (golint)
    • Line 88: warning: exported function GetSnippetPipelineYml should have comment or be unexported (golint)
    • erda/modules/scheduler/impl/job/job.go
    • Line 32: warning: comment on exported const NotFoundSuffix should be of the form "NotFoundSuffix ..." (golint)
    • Line 40: warning: exported type Job should have comment or be unexported (golint)
    • Line 54: warning: exported type JobImpl should have comment or be unexported (golint)
    • Line 59: warning: exported function NewJobImpl should have comment or be unexported (golint)
    • erda/modules/extensions/cloud/aliyun/metrics/cloudcat/api/api.go
    • Line 31: warning: exported var ErrEmptyResults should have comment or be unexported (golint)
    • Line 34: warning: comment on exported function GetDescribeMetricLast should be of the form "GetDescribeMetricLast ..." (golint)
    • Line 63: warning: exported function ListMetricMeta should have comment or be unexported (golint)
    • Line 87: warning: exported function ListProjectMeta should have comment or be unexported (golint)
    • Line 117: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 128: warning: exported function ListOrgInfos should have comment or be unexported (golint)
    • Line 159: warning: exported function ListAllOrgs should have comment or be unexported (golint)
    • Line 181: warning: exported function GetAccountByOrgId should have comment or be unexported (golint)
    • erda/modules/cmdb/dao/mysql.go
    • Line 22: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 32: warning: exported const BULK_INSERT_CHUNK_SIZE should have comment or be unexported (golint)
    • Line 70: warning: exported method DBClient.BulkInsert should have comment or be unexported (golint)
    • erda/modules/hepa/apipolicy/policy_engine.go
    • Line 24: warning: exported type IngressAnnotation should have comment or be unexported (golint)
    • Line 29: warning: exported type IngressController should have comment or be unexported (golint)
    • Line 36: warning: exported type PolicyConfig should have comment or be unexported (golint)
    • Line 43: warning: exported type ServiceInfo should have comment or be unexported (golint)
    • Line 49: warning: exported const CTX_IDENTIFY should have comment (or a comment on this block) or be unexported (golint)
    • Line 56: warning: exported type PolicyEngine should have comment or be unexported (golint)
    • Line 70: warning: exported function GetPolicyEngine should have comment or be unexported (golint)
    • Line 78: warning: exported function RegisterPolicyEngine should have comment or be unexported (golint)
    • Line 89: warning: exported type PolicyDto should have comment or be unexported (golint)
    • Line 96: warning: exported type BaseDto should have comment or be unexported (golint)
    • Line 101: warning: exported method BaseDto.Enable should have comment or be unexported (golint)
    • Line 105: warning: exported method BaseDto.SetEnable should have comment or be unexported (golint)
    • Line 109: warning: exported method BaseDto.SetGlobal should have comment or be unexported (golint)
    • Line 113: warning: exported method BaseDto.IsGlobal should have comment or be unexported (golint)
    • Line 117: warning: exported type BasePolicy should have comment or be unexported (golint)
    • Line 121: warning: exported method BasePolicy.MergeDiceConfig should have comment or be unexported (golint)
    • Line 125: warning: exported method BasePolicy.GetConfig should have comment or be unexported (golint)
    • Line 181: warning: exported method BasePolicy.CreateDefaultConfig should have comment or be unexported (golint)
    • Line 185: warning: exported method BasePolicy.SetName should have comment or be unexported (golint)
    • Line 189: warning: exported method BasePolicy.GetName should have comment or be unexported (golint)
    • Line 193: warning: exported method BasePolicy.NeedResetAnnotation should have comment or be unexported (golint)
    • Line 197: warning: exported method BasePolicy.NeedSerialUpdate should have comment or be unexported (golint)
    • Line 200: warning: exported method BasePolicy.ParseConfig should have comment or be unexported (golint)
    • Line 204: warning: error should be the last type when returning multiple items (golint)
    • Line 204: warning: exported method BasePolicy.UnmarshalConfig should have comment or be unexported (golint)
    • erda/apistructs/issue_property_relation.go
    • Line 18: warning: comment on exported type IssuePropertyInstance should be of the form "IssuePropertyInstance ..." (with optional leading article) (golint)
    • Line 26: warning: exported method IssuePropertyInstance.GetArb should have comment or be unexported (golint)
    • Line 37: warning: exported type PropertyEnumerate should have comment or be unexported (golint)
    • Line 42: warning: exported type IssueAndPropertyAndValue should have comment or be unexported (golint)
    • Line 47: warning: comment on exported type IssuePropertyExtraProperty should be of the form "IssuePropertyExtraProperty ..." (with optional leading article) (golint)
    • Line 59: warning: comment on exported type IssuePropertyRelationCreateRequest should be of the form "IssuePropertyRelationCreateRequest ..." (with optional leading article) (golint)
    • Line 68: warning: comment on exported type IssuePropertyRelationUpdateRequest should be of the form "IssuePropertyRelationUpdateRequest ..." (with optional leading article) (golint)
    • Line 77: warning: exported method IssuePropertyRelationUpdateRequest.GetArb should have comment or be unexported (golint)
    • Line 88: warning: comment on exported type IssuePropertyRelationGetRequest should be of the form "IssuePropertyRelationGetRequest ..." (with optional leading article) (golint)
    • Line 96: warning: comment on exported type IssuePropertyRelationGetResponse should be of the form "IssuePropertyRelationGetResponse ..." (with optional leading article) (golint)
    • erda/modules/core-services/services/notify/notify_group.go
    • Line 37: warning: exported type NotifyGroup should have comment or be unexported (golint)
    • Line 43: warning: exported type Option should have comment or be unexported (golint)
    • Line 45: warning: exported function New should have comment or be unexported (golint)
    • Line 67: warning: exported method NotifyGroup.Create should have comment or be unexported (golint)
    • Line 82: warning: exported method NotifyGroup.Update should have comment or be unexported (golint)
    • Line 90: warning: exported method NotifyGroup.Get should have comment or be unexported (golint)
    • Line 94: warning: exported method NotifyGroup.BatchGet should have comment or be unexported (golint)
    • Line 98: warning: exported method NotifyGroup.Delete should have comment or be unexported (golint)
    • Line 109: warning: exported method NotifyGroup.Query should have comment or be unexported (golint)
    • Line 113: warning: exported method NotifyGroup.GetDetail should have comment or be unexported (golint)
    • Line 216: warning: exported type USERID should have comment or be unexported (golint)
    • erda/modules/dicehub/service/publish_item/item.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 31: warning: comment on exported type PublishItem should be of the form "PublishItem ..." (with optional leading article) (golint)
    • Line 129: warning: comment on exported method PublishItem.GetPublishItemDistribution should be of the form "GetPublishItemDistribution ..." (golint)
    • erda/pkg/database/sqlparser/migrator/model.go
    • Line 20: warning: exported const SchemaMigrationHistory should have comment or be unexported (golint)
    • Line 22: warning: exported type HistoryModel should have comment or be unexported (golint)
    • Line 36: warning: exported method HistoryModel.TableName should have comment or be unexported (golint)
    • erda/modules/eventbox/server/server.go
    • Line 14: warning: package comment should be of the form "Package server ..." (golint)
    • Line 32: warning: exported type Server should have comment or be unexported (golint)
    • Line 38: warning: exported function New should have comment or be unexported (golint)
    • Line 45: warning: exported method Server.AddEndPoints should have comment or be unexported (golint)
    • Line 52: warning: exported method Server.Start should have comment or be unexported (golint)
    • Line 73: warning: exported method Server.Stop should have comment or be unexported (golint)
    • Line 78: warning: exported method Server.Router should have comment or be unexported (golint)
    • erda/modules/gittar/api/apistructs.go
    • Line 16: warning: exported type CreateTagRequest should have comment or be unexported (golint)
    • Line 22: warning: exported type CreateBranchRequest should have comment or be unexported (golint)
    • Line 27: warning: exported type CreateRepoRequest should have comment or be unexported (golint)
    • Line 38: warning: exported type CreateRepoResponseData should have comment or be unexported (golint)
    • Line 45: warning: exported type MergeTemplatesResponseData should have comment or be unexported (golint)
    • Line 51: warning: comment on exported type PagingRequest should be of the form "PagingRequest ..." (with optional leading article) (golint)
    • erda/modules/dop/services/apidocsvc/ws_handler.go
    • Line 51: warning: exported type APIDocWSHandler should have comment or be unexported (golint)
    • Line 160: warning: comment on exported method APIDocWSHandler.AfterConnected should be of the form "AfterConnected ..." (golint)
    • Line 169: warning: comment on exported method APIDocWSHandler.BeforeClose should be of the form "BeforeClose ..." (golint)
    • Line 350: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • erda/modules/pipeline/dbclient/op_pipeline_cms.go
    • Line 23: warning: exported method Client.IdempotentCreateCmsNs should have comment or be unexported (golint)
    • Line 44: warning: exported method Client.IdempotentDeleteCmsNs should have comment or be unexported (golint)
    • Line 65: warning: exported method Client.GetCmsNs should have comment or be unexported (golint)
    • Line 79: warning: exported method Client.PrefixListNs should have comment or be unexported (golint)
    • Line 90: warning: exported method Client.UpdateCmsNsConfigs should have comment or be unexported (golint)
    • Line 103: warning: exported method Client.InsertOrUpdateCmsNsConfig should have comment or be unexported (golint)
    • Line 131: warning: exported method Client.DeleteCmsNsConfigs should have comment or be unexported (golint)
    • Line 143: warning: exported method Client.GetCmsNsConfigs should have comment or be unexported (golint)
    • erda/tools/cli/cmd/extensions_retag.go
    • Line 30: warning: exported var EXTENSIONSRETAG should have comment or be unexported (golint)
    • Line 45: warning: exported type ExtensionInfo should have comment or be unexported (golint)
    • Line 53: warning: exported function RunExtensionsReTag should have comment or be unexported (golint)
    • Line 112: warning: exported function GetExtMetas should have comment or be unexported (golint)
    • erda/modules/scheduler/conf/executor.go
    • Line 21: warning: exported const CLUSTERS_CONFIG_PATH should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported function GetConfStore should have comment or be unexported (golint)
    • Line 30: warning: exported type ConfStore should have comment or be unexported (golint)
    • erda/modules/dicehub/endpoints/release.go
    • Line 80: warning: exported method Endpoints.InjectDiceInitContainer should have comment or be unexported (golint)
    • Line 272: warning: comment on exported method Endpoints.GetIosPlist should be of the form "GetIosPlist ..." (golint)
    • Line 448: warning: don't use underscores in Go names; var isVersion_s should be isVersionS (golint)
    • erda/modules/hepa/repository/service/gateay_upstream_lb_target.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayUpstreamLbTargetServiceImpl should have comment or be unexported (golint)
    • Line 28: warning: exported function NewGatewayUpstreamLbTargetServiceImpl should have comment or be unexported (golint)
    • Line 36: warning: exported method GatewayUpstreamLbTargetServiceImpl.Insert should have comment or be unexported (golint)
    • Line 47: warning: exported method GatewayUpstreamLbTargetServiceImpl.Select should have comment or be unexported (golint)
    • Line 59: warning: exported method GatewayUpstreamLbTargetServiceImpl.Delete should have comment or be unexported (golint)
    • Line 73: warning: exported method GatewayUpstreamLbTargetServiceImpl.SelectByDeploymentId should have comment or be unexported (golint)
    • erda/modules/actionagent/define.go
    • Line 27: warning: exported const CONTEXTDIR should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type Agent should have comment or be unexported (golint)
    • Line 52: warning: exported type AgentArg should have comment or be unexported (golint)
    • Line 64: warning: exported type EasyUse should have comment or be unexported (golint)
    • Line 93: warning: exported type RunningEnvironment should have comment or be unexported (golint)
    • Line 97: warning: exported function NewAgentArgForPull should have comment or be unexported (golint)
    • Line 105: warning: exported method Agent.AppendError should have comment or be unexported (golint)
    • Line 113: warning: exported method Agent.MergeErrors should have comment or be unexported (golint)
    • erda/apistructs/effectiveness.go
    • Line 16: warning: comment on exported type EffectivenessRequest should be of the form "EffectivenessRequest ..." (with optional leading article) (golint)
    • Line 22: warning: exported type EffectivenessResponse should have comment or be unexported (golint)
    • Line 27: warning: exported type PluginParamDto should have comment or be unexported (golint)
    • Line 46: warning: exported type WidgetResponse should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/cloud_resource_mysql.go
    • Line 41: warning: exported method Endpoints.DeleteMysql should have comment or be unexported (golint)
    • Line 108: warning: exported method Endpoints.DeleteMysqlDatabase should have comment or be unexported (golint)
    • Line 186: warning: exported method Endpoints.ListMysql should have comment or be unexported (golint)
    • Line 220: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 332: warning: exported method Endpoints.GetMysqlDetailInfo should have comment or be unexported (golint)
    • Line 370: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 390: warning: exported method Endpoints.CreateMysqlInstance should have comment or be unexported (golint)
    • Line 433: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 455: warning: exported method Endpoints.CreateMysqlDatabase should have comment or be unexported (golint)
    • Line 493: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 542: warning: exported method Endpoints.ListMysqlAccount should have comment or be unexported (golint)
    • Line 580: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 622: warning: exported method Endpoints.ListMysqlDatabase should have comment or be unexported (golint)
    • Line 661: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 700: warning: exported method Endpoints.CreateMysqlAccount should have comment or be unexported (golint)
    • Line 733: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 754: warning: exported method Endpoints.ResetMysqlAccountPassword should have comment or be unexported (golint)
    • Line 787: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 808: warning: exported method Endpoints.GrantMysqlAccountPrivilege should have comment or be unexported (golint)
    • Line 841: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • erda/modules/gittar/models/web_hook_system.go
    • Line 16: warning: exported method Service.GetSystemHooksByEvent should have comment or be unexported (golint)
    • Line 27: warning: exported method Service.AddSystemHook should have comment or be unexported (golint)
    • Line 37: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • erda/modules/dicehub/service/publish_item/item_security.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 38: warning: exported function GetUserList should have comment or be unexported (golint)
    • Line 184: warning: error should be the last type when returning multiple items (golint)
    • Line 229: warning: error should be the last type when returning multiple items (golint)
    • Line 247: warning: error should be the last type when returning multiple items (golint)
    • Line 419: warning: exported function Smaller should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/projectpipelinefiletree.go
    • Line 30: warning: exported method Endpoints.ListFileTreeNodes should have comment or be unexported (golint)
    • Line 58: warning: exported method Endpoints.GetFileTreeNode should have comment or be unexported (golint)
    • Line 87: warning: exported method Endpoints.FuzzySearchFileTreeNodes should have comment or be unexported (golint)
    • Line 115: warning: exported method Endpoints.CreateFileTreeNode should have comment or be unexported (golint)
    • Line 147: warning: exported method Endpoints.DeleteFileTreeNode should have comment or be unexported (golint)
    • Line 177: warning: exported method Endpoints.FindFileTreeNodeAncestors should have comment or be unexported (golint)
    • erda/modules/pipeline/services/cmsvc/define.go
    • Line 24: warning: exported type CMSvc should have comment or be unexported (golint)
    • Line 31: warning: exported function New should have comment or be unexported (golint)
    • Line 50: warning: exported type Option should have comment or be unexported (golint)
    • Line 52: warning: exported function WithRsaCrypt should have comment or be unexported (golint)
    • erda/modules/pkg/diceworkspace/workspace.go
    • Line 23: warning: exported function GetByGitReference should have comment or be unexported (golint)
    • Line 30: warning: exported function GetValidBranchByGitReference should have comment or be unexported (golint)
    • Line 56: warning: exported function IsRefPatternMatch should have comment or be unexported (golint)
    • erda/pkg/common/errors/authorization.go
    • Line 30: warning: exported function NewUnauthorizedError should have comment or be unexported (golint)
    • Line 37: warning: exported method UnauthorizedError.HTTPStatus should have comment or be unexported (golint)
    • Line 38: warning: exported method UnauthorizedError.Translate should have comment or be unexported (golint)
    • Line 71: warning: exported method PermissionError.HTTPStatus should have comment or be unexported (golint)
    • Line 72: warning: exported method PermissionError.Translate should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/redis/get.go
    • Line 33: warning: exported function GetInstanceFullDetailInfo should have comment or be unexported (golint)
    • Line 130: warning: exported function DescribeResourceDetailInfo should have comment or be unexported (golint)
    • Line 153: warning: exported function NetInfo should have comment or be unexported (golint)
    • Line 184: warning: exported function SupportZones should have comment or be unexported (golint)
    • Line 201: warning: exported function DescribeZones should have comment or be unexported (golint)
    • Line 218: warning: exported function GetAvailableVsw should have comment or be unexported (golint)
    • erda/modules/dop/dbclient/dto.go
    • Line 16: warning: exported type Pipeline should have comment or be unexported (golint)
    • Line 29: warning: exported type Stage should have comment or be unexported (golint)
    • Line 34: warning: exported type ResourceType should have comment or be unexported (golint)
    • Line 40: warning: exported type Trigger should have comment or be unexported (golint)
    • Line 44: warning: exported type Schedule should have comment or be unexported (golint)
    • Line 48: warning: exported type Tasks should have comment or be unexported (golint)
    • Line 50: warning: exported type Resource should have comment or be unexported (golint)
    • Line 56: warning: exported type KV should have comment or be unexported (golint)
    • erda/modules/eventbox/subscriber/vms/vms.go
    • Line 46: warning: exported type Option should have comment or be unexported (golint)
    • Line 142: warning: exported method VoiceSubscriber.Status should have comment or be unexported (golint)
    • Line 146: warning: exported method VoiceSubscriber.Name should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/testcase.go
    • Line 57: warning: exported method Endpoints.BatchCreateTestCases should have comment or be unexported (golint)
    • Line 158: warning: comment on exported method Endpoints.BatchCopyTestCases should be of the form "BatchCopyTestCases ..." (golint)
    • Line 185: warning: exported method Endpoints.BatchCleanTestCasesFromRecycleBin should have comment or be unexported (golint)
    • erda/modules/actionagent/step_validate.go
    • Line 75: warning: exported const EnvSuffixPublicURL should have comment (or a comment on this block) or be unexported (golint)
    • Line 219: warning: exported const EnvEnablePushLog2Collector should have comment (or a comment on this block) or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/oss/tag.go
    • Line 30: warning: exported function OverwriteTags should have comment or be unexported (golint)
    • Line 60: warning: exported function TagResource should have comment or be unexported (golint)
    • Line 113: warning: exported function GetResourceTags should have comment or be unexported (golint)
    • Line 165: warning: exported function UnTag should have comment or be unexported (golint)
    • erda/bundle/notice.go
    • Line 26: warning: exported method Bundle.CreateNoticeRequest should have comment or be unexported (golint)
    • Line 58: warning: exported method Bundle.PublishORUnPublishNotice should have comment or be unexported (golint)
    • Line 85: warning: exported method Bundle.ListNoticeByOrgID should have comment or be unexported (golint)
    • erda/modules/hepa/endpoint/endpoint_factory.go
    • Line 20: warning: exported type Route should have comment or be unexported (golint)
    • Line 25: warning: exported type EndpointMaterial should have comment or be unexported (golint)
    • Line 37: warning: exported type EndpointFactory should have comment or be unexported (golint)
    • Line 44: warning: exported function TouchEndpoint should have comment or be unexported (golint)
    • Line 51: warning: exported function TouchComponentEndpoint should have comment or be unexported (golint)
    • erda/apistructs/pipeline_dto.go
    • Line 20: warning: exported type PipelineDTO should have comment or be unexported (golint)
    • Line 61: warning: exported type CommitDetail should have comment or be unexported (golint)
    • Line 72: warning: exported type PipelineExtra should have comment or be unexported (golint)
    • Line 88: warning: exported type PipelineUser should have comment or be unexported (golint)
    • Line 94: warning: exported type ShowMessage should have comment or be unexported (golint)
    • Line 100: warning: exported type StorageConfig should have comment or be unexported (golint)
    • Line 106: warning: comment on exported method StorageConfig.EnableNFSVolume should be of the form "EnableNFSVolume ..." (golint)
    • Line 112: warning: comment on exported method StorageConfig.EnableShareVolume should be of the form "EnableShareVolume ..." (golint)
    • Line 137: warning: exported type PipelineParamDTO should have comment or be unexported (golint)
    • Line 142: warning: exported type PipelineTaskActionDetail should have comment or be unexported (golint)
    • Line 148: warning: exported type PipelineButton should have comment or be unexported (golint)
    • Line 172: warning: exported type PipelineExecuteRecord should have comment or be unexported (golint)
    • Line 181: warning: exported type PipelineStageDetailDTO should have comment or be unexported (golint)
    • Line 186: warning: exported method UserInfo.ConvertToPipelineUser should have comment or be unexported (golint)
    • erda/modules/dop/services/testset/testset.go
    • Line 30: warning: exported method Service.Get should have comment or be unexported (golint)
    • Line 169: warning: comment on exported method Service.Recover should be of the form "Recover ..." (golint)
    • Line 217: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • erda/modules/openapi/component-protocol/scenarios/issue-manage/components/issueKanban/render.go
    • Line 14: warning: don't use MixedCaps in package name; issueKanban should be issuekanban (golint)
    • Line 32: warning: exported type ChangePageNoOperationData should have comment or be unexported (golint)
    • Line 43: warning: exported method ComponentIssueBoard.SetCtxBundle should have comment or be unexported (golint)
    • Line 53: warning: exported function GetCartOpsInfo should have comment or be unexported (golint)
    • Line 82: warning: exported method ComponentIssueBoard.GetFilterReq should have comment or be unexported (golint)
    • Line 111: warning: exported method ComponentIssueBoard.GetDefaultFilterReq should have comment or be unexported (golint)
    • Line 138: warning: exported method ComponentIssueBoard.GenComponentState should have comment or be unexported (golint)
    • Line 157: warning: comment on exported method ComponentIssueBoard.RenderOnFilter should be of the form "RenderOnFilter ..." (golint)
    • Line 168: warning: exported method ComponentIssueBoard.RenderOnMoveOut should have comment or be unexported (golint)
    • Line 195: warning: exported method ComponentIssueBoard.RefreshOnMoveOut should have comment or be unexported (golint)
    • Line 208: warning: exported method ComponentIssueBoard.RenderOnDrag should have comment or be unexported (golint)
    • Line 263: warning: exported method ComponentIssueBoard.RenderOnMoveTo should have comment or be unexported (golint)
    • Line 289: warning: exported method ComponentIssueBoard.RenderOnMoveToAssignee should have comment or be unexported (golint)
    • Line 315: warning: exported method ComponentIssueBoard.RenderOnMoveToPriority should have comment or be unexported (golint)
    • Line 341: warning: comment on exported method ComponentIssueBoard.RefreshOnMoveTo should be of the form "RefreshOnMoveTo ..." (golint)
    • Line 362: warning: comment on exported method ComponentIssueBoard.RenderOnAddCustom should be of the form "RenderOnAddCustom ..." (golint)
    • Line 404: warning: exported method ComponentIssueBoard.RenderOnMoveToCustom should have comment or be unexported (golint)
    • Line 429: warning: exported method ComponentIssueBoard.RenderDefault should have comment or be unexported (golint)
    • Line 433: warning: exported method ComponentIssueBoard.RenderProtocol should have comment or be unexported (golint)
    • Line 443: warning: exported method ComponentIssueBoard.Render should have comment or be unexported (golint)
    • Line 630: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/tools/cli/dicedir/dicedir.go
    • Line 24: warning: error var NotExist should have name of the form ErrFoo (golint)
    • Line 24: warning: exported var NotExist should have comment or be unexported (golint)
    • Line 30: warning: exported function FindGlobalDiceDir should have comment or be unexported (golint)
    • Line 47: warning: exported function CreateGlobalDiceDir should have comment or be unexported (golint)
    • Line 59: warning: exported function FindProjectDiceDir should have comment or be unexported (golint)
    • Line 78: warning: exported function CreateProjectDiceDir should have comment or be unexported (golint)
    • erda/pkg/kms/kmstypes/api_asymmetric.go
    • Line 16: warning: exported type AsymmetricDecryptRequest should have comment or be unexported (golint)
    • Line 20: warning: exported type AsymmetricDecryptResponse should have comment or be unexported (golint)
    • Line 24: warning: exported type GetPublicKeyRequest should have comment or be unexported (golint)
    • Line 28: warning: exported type PublicKey should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/orgSwitch/render.go
    • Line 14: warning: don't use MixedCaps in package name; orgSwitch should be orgswitch (golint)
    • Line 29: warning: exported const DefaultPageSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported function RenderCreator should have comment or be unexported (golint)
    • Line 36: warning: exported type OrgSwitch should have comment or be unexported (golint)
    • Line 44: warning: exported type Data should have comment or be unexported (golint)
    • Line 48: warning: exported type OrgItem should have comment or be unexported (golint)
    • Line 63: warning: exported type MenuItem should have comment or be unexported (golint)
    • Line 70: warning: exported type Meta should have comment or be unexported (golint)
    • Line 75: warning: exported type State should have comment or be unexported (golint)
    • Line 81: warning: exported type Operation should have comment or be unexported (golint)
    • Line 90: warning: exported method OrgSwitch.SetCtxBundle should have comment or be unexported (golint)
    • Line 90: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 100: warning: exported method OrgSwitch.Render should have comment or be unexported (golint)
    • Line 100: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 147: warning: exported function RenItem should have comment or be unexported (golint)
    • Line 177: warning: exported method OrgSwitch.RenderList should have comment or be unexported (golint)
    • Line 177: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • erda/modules/cmp/autoscanner/autoScanner.go
    • Line 27: warning: exported const NoticeContent should have comment or be unexported (golint)
    • Line 29: warning: exported type AutoScanner should have comment or be unexported (golint)
    • Line 34: warning: exported type Option should have comment or be unexported (golint)
    • Line 36: warning: exported function New should have comment or be unexported (golint)
    • Line 43: warning: exported method AutoScanner.Run should have comment or be unexported (golint)
    • Line 57: warning: exported method AutoScanner.CheckNoticeExist should have comment or be unexported (golint)
    • Line 88: warning: exported method AutoScanner.CheckNoticeExpired should have comment or be unexported (golint)
    • Line 119: warning: exported method AutoScanner.UnPublishNotice should have comment or be unexported (golint)
    • Line 127: warning: exported method AutoScanner.PublishNotice should have comment or be unexported (golint)
    • erda/modules/dop/pipeline/pipelineyml/define.go
    • Line 16: warning: exported type Pipeline should have comment or be unexported (golint)
    • Line 26: warning: exported type Stage should have comment or be unexported (golint)
    • Line 32: warning: exported type TaskConfig should have comment or be unexported (golint)
    • Line 34: warning: exported type Resource should have comment or be unexported (golint)
    • Line 41: warning: exported type ResourceType should have comment or be unexported (golint)
    • erda/pkg/qaparser/surefilexml/parser.go
    • Line 26: warning: exported type DefaultParser should have comment or be unexported (golint)
    • Line 37: warning: exported method DefaultParser.Register should have comment or be unexported (golint)
    • Line 41: warning: exported method DefaultParser.Parse should have comment or be unexported (golint)
    • erda/pkg/terminal/color/color.go
    • Line 22: warning: exported const TextBlack should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported function Black should have comment or be unexported (golint)
    • Line 36: warning: exported function Red should have comment or be unexported (golint)
    • Line 40: warning: exported function Green should have comment or be unexported (golint)
    • Line 44: warning: exported function Yellow should have comment or be unexported (golint)
    • Line 48: warning: exported function Blue should have comment or be unexported (golint)
    • Line 52: warning: exported function Magenta should have comment or be unexported (golint)
    • Line 56: warning: exported function Cyan should have comment or be unexported (golint)
    • Line 60: warning: exported function White should have comment or be unexported (golint)
    • Line 91: warning: exported function IsWindows should have comment or be unexported (golint)
    • Line 94: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/projectTipWithOrg/render.go
    • Line 14: warning: don't use MixedCaps in package name; projectTipWithOrg should be projecttipwithorg (golint)
    • Line 28: warning: exported type ProjectTipWithOrg should have comment or be unexported (golint)
    • Line 35: warning: exported type Props should have comment or be unexported (golint)
    • Line 39: warning: exported type State should have comment or be unexported (golint)
    • Line 43: warning: exported method ProjectTipWithOrg.SetCtxBundle should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method ProjectTipWithOrg.GenComponentState should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 93: warning: exported method ProjectTipWithOrg.Render should have comment or be unexported (golint)
    • Line 109: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8s/addon/daemonset/daemonset.go
    • Line 31: warning: exported type DaemonsetOperator should have comment or be unexported (golint)
    • Line 40: warning: exported function New should have comment or be unexported (golint)
    • Line 53: warning: exported method DaemonsetOperator.IsSupported should have comment or be unexported (golint)
    • Line 57: warning: exported method DaemonsetOperator.Validate should have comment or be unexported (golint)
    • Line 71: warning: comment on exported method DaemonsetOperator.Convert should be of the form "Convert ..." (golint)
    • Line 126: warning: exported method DaemonsetOperator.Create should have comment or be unexported (golint)
    • Line 147: warning: exported method DaemonsetOperator.Inspect should have comment or be unexported (golint)
    • Line 162: warning: exported method DaemonsetOperator.Remove should have comment or be unexported (golint)
    • Line 170: warning: exported method DaemonsetOperator.Update should have comment or be unexported (golint)
    • erda/tools/cli/format/format.go
    • Line 28: warning: comment on exported function ShortID should be of the form "ShortID ..." (golint)
    • Line 36: warning: exported function Time should have comment or be unexported (golint)
    • Line 59: warning: exported function ToTimeSpanString should have comment or be unexported (golint)
    • Line 68: warning: exported function FormatErrMsg should have comment or be unexported (golint)
    • Line 78: warning: exported function ReadYml should have comment or be unexported (golint)
    • Line 90: warning: exported function FormatMemOutput should have comment or be unexported (golint)
    • erda/apistructs/publish_item.go
    • Line 29: warning: exported const PublishItemTypeMobile should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type PublishItem should have comment or be unexported (golint)
    • Line 60: warning: exported type PublishItemVersion should have comment or be unexported (golint)
    • Line 168: warning: comment on exported type CreatePublishItemVersionRequest should be of the form "CreatePublishItemVersionRequest ..." (with optional leading article) (golint)
    • Line 212: warning: exported type CreatePublishItemVersionResponse should have comment or be unexported (golint)
    • Line 269: warning: exported const PublishItemReleaseVersion should have comment (or a comment on this block) or be unexported (golint)
    • Line 283: warning: exported type PublishItemDistributionResponse should have comment or be unexported (golint)
    • Line 288: warning: exported type PublishItemDistributionData should have comment or be unexported (golint)
    • Line 363: warning: exported type PublishItemAddBlacklistResponse should have comment or be unexported (golint)
    • Line 368: warning: exported type PublicItemAddEraseData should have comment or be unexported (golint)
    • Line 373: warning: exported type PublicItemAddEraseResponse should have comment or be unexported (golint)
    • Line 378: warning: exported type PublishItemDeleteBlacklistResponse should have comment or be unexported (golint)
    • Line 383: warning: comment on exported type PublishItemUserListResponse should be of the form "PublishItemUserListResponse ..." (with optional leading article) (golint)
    • Line 395: warning: exported type PublishItemCertificationResponse should have comment or be unexported (golint)
    • Line 452: warning: comment on exported type PublishItemStatisticsDetailResponse should be of the form "PublishItemStatisticsDetailResponse ..." (with optional leading article) (golint)
    • Line 522: warning: exported type CardinalityResults should have comment or be unexported (golint)
    • Line 529: warning: exported type CardinalityResultItem should have comment or be unexported (golint)
    • Line 534: warning: exported type CardinalityResultDataMapValue should have comment or be unexported (golint)
    • Line 547: warning: exported type CardinalityResultsSingle should have comment or be unexported (golint)
    • Line 554: warning: exported type CardinalityResultSingleItem should have comment or be unexported (golint)
    • Line 559: warning: exported type CardinalityResultDataMapSingleValue should have comment or be unexported (golint)
    • Line 572: warning: exported type CardinalityResultsInterface should have comment or be unexported (golint)
    • Line 579: warning: exported type CardinalityResultInterfaceItem should have comment or be unexported (golint)
    • Line 584: warning: exported type CardinalityResultDataMapInterfaceValue should have comment or be unexported (golint)
    • erda/modules/eventbox/conf/conf.go
    • Line 26: warning: exported type Conf should have comment or be unexported (golint)
    • Line 41: warning: exported var C should have comment or be unexported (golint)
    • Line 64: warning: exported function ListenAddr should have comment or be unexported (golint)
    • Line 78: warning: exported function PoolSize should have comment or be unexported (golint)
    • Line 95: warning: exported function SchedulerAddr should have comment or be unexported (golint)
    • Line 109: warning: exported function MysqlAddr should have comment or be unexported (golint)
    • Line 123: warning: exported function MysqlPort should have comment or be unexported (golint)
    • Line 137: warning: exported function DbName should have comment or be unexported (golint)
    • Line 151: warning: exported function DbUser should have comment or be unexported (golint)
    • Line 165: warning: exported function DbPWD should have comment or be unexported (golint)
    • Line 179: warning: exported function Debug should have comment or be unexported (golint)
    • Line 196: warning: exported function UseK8S should have comment or be unexported (golint)
    • Line 204: warning: exported function SmtpHost should have comment or be unexported (golint)
    • Line 208: warning: exported function SmtpPort should have comment or be unexported (golint)
    • Line 212: warning: exported function SmtpUser should have comment or be unexported (golint)
    • Line 216: warning: exported function SmtpPassword should have comment or be unexported (golint)
    • Line 220: warning: exported function SmtpDisplayUser should have comment or be unexported (golint)
    • Line 224: warning: exported function SmtpIsSSL should have comment or be unexported (golint)
    • Line 228: warning: exported function SMTPInsecureSkipVerify should have comment or be unexported (golint)
    • Line 232: warning: exported function AliyunAccessKeyID should have comment or be unexported (golint)
    • Line 236: warning: exported function AliyunAccessKeySecret should have comment or be unexported (golint)
    • Line 240: warning: exported function AliyunSmsSignName should have comment or be unexported (golint)
    • Line 259: warning: comment on exported function ErdaSystemFQDN should be of the form "ErdaSystemFQDN ..." (golint)
    • Line 264: warning: exported function Proxy should have comment or be unexported (golint)
    • Line 268: warning: exported function BundleUserID should have comment or be unexported (golint)
    • erda/modules/dop/dao/issue_property_relation.go
    • Line 30: warning: exported method IssuePropertyRelation.TableName should have comment or be unexported (golint)
    • Line 34: warning: exported method DBClient.CreatePropertyRelation should have comment or be unexported (golint)
    • Line 38: warning: exported method DBClient.CreatePropertyRelations should have comment or be unexported (golint)
    • Line 42: warning: exported method DBClient.DeletePropertyRelationsByPropertyID should have comment or be unexported (golint)
    • Line 51: warning: exported method DBClient.UpdatePropertyRelationArbitraryValue should have comment or be unexported (golint)
    • Line 56: warning: exported method DBClient.DeletePropertyRelationByIssueID should have comment or be unexported (golint)
    • Line 61: warning: exported method DBClient.GetPropertyRelationByID should have comment or be unexported (golint)
    • Line 70: warning: exported method DBClient.PagingPropertyRelationByIDs should have comment or be unexported (golint)
    • Line 79: warning: exported method DBClient.GetPropertyRelationByPropertyID should have comment or be unexported (golint)
    • Line 88: warning: exported method DBClient.GetPropertyRelationByIssueID should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/inParamsForm/render.go
    • Line 14: warning: don't use MixedCaps in package name; inParamsForm should be inparamsform (golint)
    • Line 58: warning: exported method ComponentInParamsForm.GetInparams should have comment or be unexported (golint)
    • Line 74: warning: exported method ComponentInParamsForm.RenderProtocol should have comment or be unexported (golint)
    • Line 95: warning: exported function GetOpsInfo should have comment or be unexported (golint)
    • Line 115: warning: exported method ComponentInParamsForm.GetInParams should have comment or be unexported (golint)
    • Line 131: warning: exported method ComponentInParamsForm.Render should have comment or be unexported (golint)
    • Line 191: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/pkg/colonyutil/file.go
    • Line 24: warning: exported function CheckMd5 should have comment or be unexported (golint)
    • Line 39: warning: exported function GetFileName should have comment or be unexported (golint)
    • Line 44: warning: exported function GetFileSize should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/edas/edas.go
    • Line 350: warning: comment on exported method EDAS.Remove should be of the form "Remove ..." (golint)
    • Line 2136: warning: exported method EDAS.Cancel should have comment or be unexported (golint)
    • Line 2139: warning: exported method EDAS.Precheck should have comment or be unexported (golint)
    • Line 2142: warning: exported method EDAS.SetNodeLabels should have comment or be unexported (golint)
    • Line 2146: warning: exported method EDAS.CapacityInfo should have comment or be unexported (golint)
    • Line 2150: warning: exported method EDAS.ResourceInfo should have comment or be unexported (golint)
    • Line 2173: warning: exported method EDAS.CleanUpBeforeDelete should have comment or be unexported (golint)
    • Line 2174: warning: exported method EDAS.JobVolumeCreate should have comment or be unexported (golint)
    • Line 2177: warning: exported method EDAS.KillPod should have comment or be unexported (golint)
    • Line 2181: warning: exported method EDAS.Scale should have comment or be unexported (golint)
    • erda/pkg/swagger/oasconv/yamlconv.go
    • Line 33: warning: comment on exported function Marshal should be of the form "Marshal ..." (golint)
    • Line 95: warning: comment on exported function JSONToYAML should be of the form "JSONToYAML ..." (golint)
    • Line 129: warning: comment on exported function YAMLToJSONIndent should be of the form "YAMLToJSONIndent ..." (golint)
    • erda/pkg/encoding/jsonmap/json.go
    • Line 24: warning: exported type JSONMap should have comment or be unexported (golint)
    • Line 26: warning: comment on exported method JSONMap.Scan should be of the form "Scan ..." (golint)
    • Line 41: warning: comment on exported method JSONMap.Value should be of the form "Value ..." (golint)
    • Line 54: warning: exported type NullMap should have comment or be unexported (golint)
    • Line 59: warning: comment on exported method NullMap.Scan should be of the form "Scan ..." (golint)
    • Line 75: warning: comment on exported method NullMap.Value should be of the form "Value ..." (golint)
    • Line 112: warning: exported function IsJsonArray should have comment or be unexported (golint)
    • erda/modules/msp/instance/connom.go
    • Line 38: warning: comment on exported type ConfigOption should be of the form "ConfigOption ..." (with optional leading article) (golint)
    • Line 44: warning: comment on exported method Instance.GetConfigOptionByGroup should be of the form "GetConfigOptionByGroup ..." (golint)
    • erda/apistructs/nexus.go
    • Line 22: warning: exported type NexusRepositoryEnsureRequest should have comment or be unexported (golint)
    • Line 32: warning: exported type NexusRepositoryListRequest should have comment or be unexported (golint)
    • Line 41: warning: exported type NexusRepository should have comment or be unexported (golint)
    • Line 59: warning: exported type NexusUser should have comment or be unexported (golint)
    • Line 68: warning: exported type NexusUserListRequest should have comment or be unexported (golint)
    • Line 76: warning: exported type NexusDeploymentUserEnsureRequest should have comment or be unexported (golint)
    • Line 84: warning: exported type NexusOrgReadonlyUserEnsureRequest should have comment or be unexported (golint)
    • Line 92: warning: exported type NexusUserEnsureRequest should have comment or be unexported (golint)
    • Line 121: warning: exported type NexusSyncConfigToPipelineCM should have comment or be unexported (golint)
    • Line 127: warning: exported type NexusSyncConfigToPipelineCMItem should have comment or be unexported (golint)
    • Line 131: warning: exported type NexusUserGetResponse should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_upstream_lb_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayUpstreamLbServiceImpl should have comment or be unexported (golint)
    • Line 28: warning: exported function NewGatewayUpstreamLbServiceImpl should have comment or be unexported (golint)
    • Line 36: warning: exported method GatewayUpstreamLbServiceImpl.Get should have comment or be unexported (golint)
    • Line 51: warning: exported method GatewayUpstreamLbServiceImpl.GetForUpdate should have comment or be unexported (golint)
    • Line 66: warning: exported method GatewayUpstreamLbServiceImpl.Insert should have comment or be unexported (golint)
    • Line 77: warning: exported method GatewayUpstreamLbServiceImpl.UpdateDeploymentId should have comment or be unexported (golint)
    • Line 91: warning: exported method GatewayUpstreamLbServiceImpl.GetById should have comment or be unexported (golint)
    • Line 106: warning: exported method GatewayUpstreamLbServiceImpl.GetByKongId should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/flink/flink.go
    • Line 76: warning: exported method Flink.Kind should have comment or be unexported (golint)
    • Line 80: warning: exported method Flink.Name should have comment or be unexported (golint)
    • Line 84: warning: exported type FlinkCreateRequest should have comment or be unexported (golint)
    • Line 89: warning: exported method Flink.Create should have comment or be unexported (golint)
    • Line 120: warning: comment on exported method Flink.Destroy should be of the form "Destroy ..." (golint)
    • Line 149: warning: exported method Flink.Status should have comment or be unexported (golint)
    • Line 185: warning: exported method Flink.Remove should have comment or be unexported (golint)
    • Line 189: warning: exported method Flink.Update should have comment or be unexported (golint)
    • Line 193: warning: exported method Flink.Inspect should have comment or be unexported (golint)
    • Line 222: warning: exported method Flink.Cancel should have comment or be unexported (golint)
    • Line 225: warning: exported method Flink.Precheck should have comment or be unexported (golint)
    • Line 243: warning: exported method Flink.SetNodeLabels should have comment or be unexported (golint)
    • Line 247: warning: exported method Flink.CapacityInfo should have comment or be unexported (golint)
    • Line 251: warning: exported method Flink.ResourceInfo should have comment or be unexported (golint)
    • Line 254: warning: exported method Flink.CleanUpBeforeDelete should have comment or be unexported (golint)
    • Line 255: warning: exported method Flink.JobVolumeCreate should have comment or be unexported (golint)
    • Line 258: warning: exported method Flink.KillPod should have comment or be unexported (golint)
    • Line 262: warning: exported method Flink.Scale should have comment or be unexported (golint)
    • erda/apistructs/autotest_space.go
    • Line 21: warning: exported method AutoTestSpace.IsOpen should have comment or be unexported (golint)
    • Line 55: warning: comment on exported type AutoTestSceneCopyRef should be of the form "AutoTestSceneCopyRef ..." (with optional leading article) (golint)
    • Line 81: warning: comment on exported type AutoTestSpaceResponse should be of the form "AutoTestSpaceResponse ..." (with optional leading article) (golint)
    • Line 109: warning: exported type TestSpaceFileType should have comment or be unexported (golint)
    • Line 112: warning: exported var TestSpaceFileTypeExcel should have comment or be unexported (golint)
    • Line 115: warning: exported method TestSpaceFileType.Valid should have comment or be unexported (golint)
    • Line 124: warning: exported type AutoTestSpaceImportRequest should have comment or be unexported (golint)
    • Line 131: warning: exported type AutoTestSpaceImportResponse should have comment or be unexported (golint)
    • Line 136: warning: exported type AutoTestSpaceImportResult should have comment or be unexported (golint)
    • erda/modules/monitor/notify/template/model/model.go
    • Line 23: warning: comment on exported type Model should be of the form "Model ..." (with optional leading article) (golint)
    • Line 30: warning: exported type Metadata should have comment or be unexported (golint)
    • Line 36: warning: exported type Behavior should have comment or be unexported (golint)
    • Line 39: warning: exported type Render should have comment or be unexported (golint)
    • Line 45: warning: exported type Templates should have comment or be unexported (golint)
    • Line 52: warning: exported type Target should have comment or be unexported (golint)
    • Line 58: warning: exported type GetNotifyRes should have comment or be unexported (golint)
    • Line 63: warning: exported type CreateNotifyReq should have comment or be unexported (golint)
    • Line 73: warning: exported type GroupInfo should have comment or be unexported (golint)
    • Line 78: warning: exported type NotifyTarget should have comment or be unexported (golint)
    • Line 83: warning: exported type TargetValue should have comment or be unexported (golint)
    • Line 89: warning: exported type UpdateNotifyReq should have comment or be unexported (golint)
    • Line 99: warning: exported type CreateUserDefineNotifyTemplate should have comment or be unexported (golint)
    • Line 111: warning: exported type QueryNotifyListReq should have comment or be unexported (golint)
    • Line 116: warning: exported type QueryNotifyListRes should have comment or be unexported (golint)
    • Line 119: warning: exported type NotifyRes should have comment or be unexported (golint)
    • Line 130: warning: exported type NotifyDetailResponse should have comment or be unexported (golint)
    • Line 138: warning: exported type GetAllGroupData should have comment or be unexported (golint)
    • Line 144: warning: exported type NotifyRecord should have comment or be unexported (golint)
    • Line 157: warning: exported function ValidateString should have comment or be unexported (golint)
    • Line 169: warning: exported function ValidateInt should have comment or be unexported (golint)
    • Line 176: warning: exported method CreateNotifyReq.CheckNotify should have comment or be unexported (golint)
    • Line 188: warning: exported method CreateUserDefineNotifyTemplate.CheckCustomizeNotify should have comment or be unexported (golint)
    • Line 214: warning: exported function CheckElements should have comment or be unexported (golint)
    • Line 236: warning: exported method UpdateNotifyReq.CheckNotify should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/compose_visitor.go
    • Line 16: warning: exported type ComposeVisitor should have comment or be unexported (golint)
    • Line 22: warning: exported function NewComposeVisitor should have comment or be unexported (golint)
    • Line 26: warning: exported method ComposeVisitor.VisitEnvObjects should have comment or be unexported (golint)
    • Line 33: warning: don't use underscores in Go names; var obj_ should be obj (golint)
    • Line 47: warning: exported function Compose should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/allowed_stmt_linter.go
    • Line 27: warning: exported const CreateDatabaseStmt should have comment (or a comment on this block) or be unexported (golint)
    • Line 92: warning: exported const SelectStmt should have comment (or a comment on this block) or be unexported (golint)
    • Line 103: warning: exported const AlterTableStmt should have comment (or a comment on this block) or be unexported (golint)
    • Line 132: warning: exported type AllowedStmt should have comment or be unexported (golint)
    • Line 139: warning: exported function NewAllowedStmtLinter should have comment or be unexported (golint)
    • Line 153: warning: exported method AllowedStmt.Enter should have comment or be unexported (golint)
    • Line 608: warning: exported method AllowedStmt.Leave should have comment or be unexported (golint)
    • erda/modules/gittar/api/error_data.go
    • Line 18: warning: exported type Map should have comment or be unexported (golint)
    • Line 21: warning: exported var ERROR_CODE_INTERNAL should have comment or be unexported (golint)
    • Line 27: warning: error var ERROR_NOT_FILE should have name of the form ErrFoo (golint)
    • Line 27: warning: exported var ERROR_NOT_FILE should have comment or be unexported (golint)
    • Line 28: warning: error var ERROR_PATH_NOT_FOUND should have name of the form ErrFoo (golint)
    • Line 29: warning: error var ERROR_DB should have name of the form ErrFoo (golint)
    • Line 30: warning: error var ERROR_ARG_ID should have name of the form ErrFoo (golint)
    • Line 31: warning: error var ERROR_HOOK_NOT_FOUND should have name of the form ErrFoo (golint)
    • Line 32: warning: error var ERROR_LOCKED_DENIED should have name of the form ErrFoo (golint)
    • Line 33: warning: error var ERROR_REPO_LOCKED should have name of the form ErrFoo (golint)
    • erda/modules/gittar/pkg/gitmodule/repo_submodule.go
    • Line 23: warning: exported type SubModuleData should have comment or be unexported (golint)
    • Line 28: warning: exported method Repository.GetSubmodules should have comment or be unexported (golint)
    • Line 36: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 83: warning: exported method Repository.FillSubmoduleInfo should have comment or be unexported (golint)
    • erda/tools/cli/httputils/utils.go
    • Line 26: warning: exported type Resp should have comment or be unexported (golint)
    • Line 32: warning: exported type Page should have comment or be unexported (golint)
    • Line 37: warning: exported type Err should have comment or be unexported (golint)
    • Line 43: warning: exported method Resp.ParseData should have comment or be unexported (golint)
    • Line 56: warning: exported method Resp.ParsePagingListData should have comment or be unexported (golint)
    • Line 73: warning: exported function DoResp should have comment or be unexported (golint)
    • erda/modules/core-services/dao/mbox.go
    • Line 23: warning: exported method DBClient.CreateMBox should have comment or be unexported (golint)
    • Line 44: warning: exported method DBClient.DeleteMBox should have comment or be unexported (golint)
    • Line 53: warning: exported method DBClient.SetMBoxReadStatus should have comment or be unexported (golint)
    • Line 64: warning: exported method DBClient.GetMBoxStats should have comment or be unexported (golint)
    • Line 77: warning: exported method DBClient.GetMBox should have comment or be unexported (golint)
    • Line 86: warning: exported method DBClient.QueryMBox should have comment or be unexported (golint)
    • erda/apistructs/health.go
    • Line 16: warning: exported type HealthStatus should have comment or be unexported (golint)
    • Line 19: warning: exported const HealthStatusOk should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported type Module should have comment or be unexported (golint)
    • erda/modules/pkg/sysconf/validate.go
    • Line 52: warning: exported function IsPort should have comment or be unexported (golint)
    • Line 66: warning: exported function IsDNSName should have comment or be unexported (golint)
    • Line 238: warning: exported function IsDiceTags should have comment or be unexported (golint)
    • Line 244: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 259: warning: exported function CleanDiceTag should have comment or be unexported (golint)
    • erda/modules/dop/services/autotest_v2/export.go
    • Line 24: warning: exported type AutoTestSpaceDB should have comment or be unexported (golint)
    • Line 28: warning: exported method AutoTestSpaceDB.CreateNewSpace should have comment or be unexported (golint)
    • Line 47: warning: exported method AutoTestSpaceDB.SetSpace should have comment or be unexported (golint)
    • Line 57: warning: exported method AutoTestSpaceDB.SetSceneSets should have comment or be unexported (golint)
    • Line 67: warning: exported method AutoTestSpaceDB.SetScenes should have comment or be unexported (golint)
    • Line 106: warning: exported method AutoTestSpaceDB.SetSceneSteps should have comment or be unexported (golint)
    • Line 120: warning: exported method AutoTestSpaceDB.SetConfigs should have comment or be unexported (golint)
    • Line 133: warning: exported method AutoTestSpaceDB.GetSpaceData should have comment or be unexported (golint)
    • Line 137: warning: exported method Service.Export should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/cloud_cluster.go
    • Line 32: warning: exported method Endpoints.AddCloudClusters should have comment or be unexported (golint)
    • Line 123: warning: comment on exported method Endpoints.LockCluster should be of the form "LockCluster ..." (golint)
    • Line 163: warning: comment on exported method Endpoints.UnlockCluster should be of the form "UnlockCluster ..." (golint)
    • erda/apistructs/pipeline_define.go
    • Line 28: warning: exported var PipelineSourceDefault should have comment or be unexported (golint)
    • Line 40: warning: comment on exported var PipelineSourceCDPDev should be of the form "PipelineSourceCDPDev ..." (golint)
    • Line 46: warning: comment on exported var PipelineSourceRecommendDev should be of the form "PipelineSourceRecommendDev ..." (golint)
    • Line 75: warning: exported method PipelineSource.IsBigData should have comment or be unexported (golint)
    • Line 88: warning: exported method PipelineSource.IsTest should have comment or be unexported (golint)
    • Line 97: warning: exported method PipelineSource.IsConfigSheet should have comment or be unexported (golint)
    • Line 106: warning: exported method PipelineSource.IsProjectPipeline should have comment or be unexported (golint)
    • Line 121: warning: exported var PipelineYmlSourceContent should have comment or be unexported (golint)
    • Line 141: warning: exported var PipelineTriggerModeManual should have comment or be unexported (golint)
    • Line 161: warning: exported var PipelineTypeNormal should have comment or be unexported (golint)
    • erda/modules/dop/dao/iteration.go
    • Line 23: warning: exported type Iteration should have comment or be unexported (golint)
    • Line 35: warning: exported method Iteration.TableName should have comment or be unexported (golint)
    • Line 39: warning: exported method Iteration.Convert should have comment or be unexported (golint)
    • Line 118: warning: exported method DBClient.FindIterations should have comment or be unexported (golint)
    • erda/modules/monitor/notify/template/db/dice_notify_groups.go
    • Line 26: warning: exported type BaseModel should have comment or be unexported (golint)
    • Line 32: warning: exported type NotifyGroup should have comment or be unexported (golint)
    • Line 45: warning: exported method NotifyGroup.TableName should have comment or be unexported (golint)
    • Line 49: warning: exported method NotifyGroup.ToApiData should have comment or be unexported (golint)
    • Line 78: warning: exported method NotifyDB.GetNotifyGroup should have comment or be unexported (golint)
    • Line 84: warning: exported method NotifyDB.CreateNotifyGroup should have comment or be unexported (golint)
    • Line 92: warning: exported method NotifyDB.GetAllNotifyGroup should have comment or be unexported (golint)
    • erda/modules/monitor/dashboard/chart-block/db.go
    • Line 30: warning: comment on exported type SystemBlock should be of the form "SystemBlock ..." (with optional leading article) (golint)
    • Line 48: warning: comment on exported type UserBlock should be of the form "UserBlock ..." (with optional leading article) (golint)
    • Line 66: warning: comment on exported type DB should be of the form "DB ..." (with optional leading article) (golint)
    • erda/modules/core-services/services/mbox/mbox.go
    • Line 23: warning: exported type MBox should have comment or be unexported (golint)
    • Line 29: warning: exported type Option should have comment or be unexported (golint)
    • Line 31: warning: exported function New should have comment or be unexported (golint)
    • Line 53: warning: exported method MBox.CreateMBox should have comment or be unexported (golint)
    • Line 57: warning: exported method MBox.QueryMBox should have comment or be unexported (golint)
    • Line 61: warning: exported method MBox.GetMBox should have comment or be unexported (golint)
    • Line 79: warning: exported method MBox.SetMBoxReadStatus should have comment or be unexported (golint)
    • Line 83: warning: exported method MBox.GetMBoxStats should have comment or be unexported (golint)
    • erda/bundle/hepa.go
    • Line 25: warning: comment on exported method Bundle.CreateEndpoint should be of the form "CreateEndpoint ..." (golint)
    • Line 51: warning: comment on exported method Bundle.UpdateEndpoint should be of the form "UpdateEndpoint ..." (golint)
    • Line 73: warning: comment on exported method Bundle.DeleteEndpoint should be of the form "DeleteEndpoint ..." (golint)
    • Line 95: warning: comment on exported method Bundle.GetEndpoint should be of the form "GetEndpoint ..." (golint)
    • Line 118: warning: comment on exported method Bundle.CreateOrUpdateEndpointRootRoute should be of the form "CreateOrUpdateEndpointRootRoute ..." (golint)
    • Line 144: warning: comment on exported method Bundle.CreateClientConsumer should be of the form "CreateClientConsumer ..." (golint)
    • Line 169: warning: comment on exported method Bundle.DeleteClientConsumer should be of the form "DeleteClientConsumer ..." (golint)
    • Line 191: warning: comment on exported method Bundle.GetClientCredentials should be of the form "GetClientCredentials ..." (golint)
    • Line 214: warning: comment on exported method Bundle.ResetClientCredentials should be of the form "ResetClientCredentials ..." (golint)
    • Line 237: warning: comment on exported method Bundle.GrantEndpointToClient should be of the form "GrantEndpointToClient ..." (golint)
    • Line 259: warning: comment on exported method Bundle.RevokeEndpointFromClient should be of the form "RevokeEndpointFromClient ..." (golint)
    • Line 281: warning: comment on exported method Bundle.GetTenantGroupID should be of the form "GetTenantGroupID ..." (golint)
    • Line 308: warning: exported method Bundle.CreateOrUpdateClientLimits should have comment or be unexported (golint)
    • erda/modules/dop/dao/autotest_scene.go
    • Line 26: warning: exported type AutoTestScene should have comment or be unexported (golint)
    • Line 39: warning: exported method AutoTestScene.TableName should have comment or be unexported (golint)
    • Line 43: warning: exported method AutoTestScene.Convert should have comment or be unexported (golint)
    • Line 62: warning: exported method DBClient.CreateAutotestScene should have comment or be unexported (golint)
    • Line 66: warning: exported method DBClient.UpdateAutotestScene should have comment or be unexported (golint)
    • Line 70: warning: exported method DBClient.GetAutotestScene should have comment or be unexported (golint)
    • Line 79: warning: exported method DBClient.GetAutotestSceneByPreID should have comment or be unexported (golint)
    • Line 88: warning: exported method DBClient.GetAutotestSceneByName should have comment or be unexported (golint)
    • Line 100: warning: exported method DBClient.GetAutotestSceneFirst should have comment or be unexported (golint)
    • Line 109: warning: exported method DBClient.ListAutotestScene should have comment or be unexported (golint)
    • Line 137: warning: exported method DBClient.UpdateAutotestSceneUpdater should have comment or be unexported (golint)
    • Line 141: warning: exported method DBClient.UpdateAutotestSceneUpdateAt should have comment or be unexported (golint)
    • Line 145: warning: exported method DBClient.DeleteAutoTestScene should have comment or be unexported (golint)
    • Line 188: warning: comment on exported method DBClient.MoveAutoTestScene should be of the form "MoveAutoTestScene ..." (golint)
    • Line 270: warning: exported method DBClient.GetAutoTestScenePreByPosition should have comment or be unexported (golint)
    • Line 290: warning: exported method DBClient.CountSceneBySetAndName should have comment or be unexported (golint)
    • Line 298: warning: exported method DBClient.CountSceneBySetID should have comment or be unexported (golint)
    • Line 306: warning: exported method DBClient.CountSceneBySpaceID should have comment or be unexported (golint)
    • Line 314: warning: exported method DBClient.Insert should have comment or be unexported (golint)
    • Line 334: warning: exported method DBClient.UpdateSceneRefSetID should have comment or be unexported (golint)
    • erda/modules/openapi/auth/user.go
    • Line 36: warning: exported type GetUserState should have comment or be unexported (golint)
    • Line 37: warning: exported type SetUserState should have comment or be unexported (golint)
    • Line 40: warning: exported const GetInit should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported const SetInit should have comment (or a comment on this block) or be unexported (golint)
    • Line 53: warning: exported const SessionExpireDays should have comment (or a comment on this block) or be unexported (golint)
    • Line 57: warning: exported var ErrNotExist should have comment or be unexported (golint)
    • Line 60: warning: exported type ScopeInfo should have comment or be unexported (golint)
    • Line 65: warning: exported type User should have comment or be unexported (golint)
    • Line 77: warning: exported function NewUser should have comment or be unexported (golint)
    • Line 187: warning: exported method User.IsLogin should have comment or be unexported (golint)
    • Line 192: warning: comment on exported method User.GetInfo should be of the form "GetInfo ..." (golint)
    • Line 201: warning: comment on exported method User.GetScopeInfo should be of the form "GetScopeInfo ..." (golint)
    • Line 210: warning: comment on exported method User.Login should be of the form "Login ..." (golint)
    • Line 226: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 233: warning: exported method User.PwdLogin should have comment or be unexported (golint)
    • Line 247: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 258: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 264: warning: exported method User.Logout should have comment or be unexported (golint)
    • Line 275: warning: exported function MkSessionKey should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/parse.go
    • Line 68: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 77: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-plan-detail/components/executeInfo/render.go
    • Line 14: warning: don't use MixedCaps in package name; executeInfo should be executeinfo (golint)
    • Line 29: warning: exported type ComponentFileInfo should have comment or be unexported (golint)
    • Line 35: warning: exported type CommonFileInfo should have comment or be unexported (golint)
    • Line 45: warning: exported type PropColumn should have comment or be unexported (golint)
    • Line 50: warning: exported type State should have comment or be unexported (golint)
    • Line 61: warning: exported method ComponentFileInfo.Import should have comment or be unexported (golint)
    • Line 72: warning: exported method ComponentFileInfo.RenderProtocol should have comment or be unexported (golint)
    • Line 72: warning: receiver name i should be consistent with previous receiver name a for ComponentFileInfo (golint)
    • Line 82: warning: exported method ComponentFileInfo.Render should have comment or be unexported (golint)
    • Line 82: warning: receiver name i should be consistent with previous receiver name a for ComponentFileInfo (golint)
    • Line 234: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_openapi_rule_service.go
    • Line 22: warning: should not use dot imports (golint)
    • Line 34: warning: exported type GatewayOpenapiRuleServiceImpl should have comment or be unexported (golint)
    • Line 47: warning: exported function NewGatewayOpenapiRuleServiceImpl should have comment or be unexported (golint)
    • Line 154: warning: exported method GatewayOpenapiRuleServiceImpl.SetPackageApiKongPolicies should have comment or be unexported (golint)
    • Line 345: warning: exported method GatewayOpenapiRuleServiceImpl.SetPackageKongPolicies should have comment or be unexported (golint)
    • Line 406: warning: exported method GatewayOpenapiRuleServiceImpl.CreateOrUpdateLimitRule should have comment or be unexported (golint)
    • Line 470: warning: exported method GatewayOpenapiRuleServiceImpl.CreateLimitRule should have comment or be unexported (golint)
    • Line 564: warning: exported method GatewayOpenapiRuleServiceImpl.UpdateLimitRule should have comment or be unexported (golint)
    • Line 590: warning: exported method GatewayOpenapiRuleServiceImpl.GetLimitRules should have comment or be unexported (golint)
    • Line 622: warning: exported method GatewayOpenapiRuleServiceImpl.DeleteLimitRule should have comment or be unexported (golint)
    • Line 793: warning: exported method GatewayOpenapiRuleServiceImpl.CreateRule should have comment or be unexported (golint)
    • Line 844: warning: exported method GatewayOpenapiRuleServiceImpl.UpdateRule should have comment or be unexported (golint)
    • Line 887: warning: exported method GatewayOpenapiRuleServiceImpl.DeleteRule should have comment or be unexported (golint)
    • Line 965: warning: exported method GatewayOpenapiRuleServiceImpl.GetPackageRules should have comment or be unexported (golint)
    • Line 1030: warning: exported method GatewayOpenapiRuleServiceImpl.GetApiRules should have comment or be unexported (golint)
    • Line 1052: warning: exported method GatewayOpenapiRuleServiceImpl.DeleteByPackage should have comment or be unexported (golint)
    • Line 1070: warning: exported method GatewayOpenapiRuleServiceImpl.DeleteByPackageApi should have comment or be unexported (golint)
    • erda/modules/msp/registercenter/zkproxy/adapter.go
    • Line 43: warning: exported method Adapter.GetAllInterfaceList should have comment or be unexported (golint)
    • Line 62: warning: exported method Adapter.GetRouteRule should have comment or be unexported (golint)
    • Line 70: warning: exported method Adapter.CreateRouteRule should have comment or be unexported (golint)
    • Line 79: warning: exported method Adapter.DeleteRouteRule should have comment or be unexported (golint)
    • Line 107: warning: exported method Adapter.GetHostRule should have comment or be unexported (golint)
    • Line 115: warning: exported method Adapter.CreateHostRoute should have comment or be unexported (golint)
    • Line 124: warning: exported method Adapter.DeleteHostRoute should have comment or be unexported (golint)
    • Line 152: warning: exported method Adapter.GetHostRuntimeRule should have comment or be unexported (golint)
    • Line 160: warning: exported method Adapter.CreateHostRuntimeRule should have comment or be unexported (golint)
    • Line 189: warning: exported method Adapter.GetAllHostRuntimeRules should have comment or be unexported (golint)
    • Line 213: warning: exported method Adapter.GetDubboInterfaceTime should have comment or be unexported (golint)
    • erda/modules/scheduler/impl/instanceinfo/query.go
    • Line 25: warning: exported type InstanceInfo should have comment or be unexported (golint)
    • Line 31: warning: exported type QueryPodConditions should have comment or be unexported (golint)
    • Line 50: warning: exported type QueryInstanceConditions should have comment or be unexported (golint)
    • Line 74: warning: exported type QueryServiceConditions should have comment or be unexported (golint)
    • Line 88: warning: exported method QueryPodConditions.IsEmpty should have comment or be unexported (golint)
    • Line 105: warning: exported method QueryInstanceConditions.IsEmpty should have comment or be unexported (golint)
    • Line 125: warning: exported method QueryServiceConditions.IsEmpty should have comment or be unexported (golint)
    • Line 139: warning: exported type InstanceInfoImpl should have comment or be unexported (golint)
    • Line 143: warning: exported function NewInstanceInfoImpl should have comment or be unexported (golint)
    • Line 149: warning: exported method InstanceInfoImpl.QueryPod should have comment or be unexported (golint)
    • Line 243: warning: exported method InstanceInfoImpl.QueryInstance should have comment or be unexported (golint)
    • Line 367: warning: exported method InstanceInfoImpl.QueryService should have comment or be unexported (golint)
    • erda/modules/soldier/registry/remove_manifests.go
    • Line 31: warning: exported type RemoveManifestsRequest should have comment or be unexported (golint)
    • Line 36: warning: exported type RemoveManifestsResponse should have comment or be unexported (golint)
    • Line 66: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 86: warning: exported function RemoveManifests should have comment or be unexported (golint)
    • Line 122: warning: exported type State should have comment or be unexported (golint)
    • Line 129: warning: exported type StateReply should have comment or be unexported (golint)
    • Line 139: warning: exported function Readonly should have comment or be unexported (golint)
    • erda/pkg/jsonstore/timeout/timeout.go
    • Line 14: warning: package comment should be of the form "Package timeout ..." (golint)
    • Line 64: warning: exported type TimeoutStore should have comment or be unexported (golint)
    • Line 71: warning: exported function New should have comment or be unexported (golint)
    • Line 119: warning: exported method TimeoutStore.Put should have comment or be unexported (golint)
    • Line 128: warning: exported method TimeoutStore.PutWithOption should have comment or be unexported (golint)
    • Line 131: warning: exported method TimeoutStore.Get should have comment or be unexported (golint)
    • Line 140: warning: exported method TimeoutStore.PrefixGet should have comment or be unexported (golint)
    • Line 157: warning: exported method TimeoutStore.Remove should have comment or be unexported (golint)
    • Line 168: warning: exported method TimeoutStore.PrefixRemove should have comment or be unexported (golint)
    • Line 179: warning: exported method TimeoutStore.PrefixGetKey should have comment or be unexported (golint)
    • erda/modules/core-services/dao/notify_group.go
    • Line 68: warning: exported method DBClient.CheckNotifyGroupNameExist should have comment or be unexported (golint)
    • Line 145: warning: exported method DBClient.GetNotifyGroupNameByID should have comment or be unexported (golint)
    • Line 154: warning: exported method DBClient.DeleteNotifyGroup should have comment or be unexported (golint)
    • erda/modules/dop/services/assetsvc/msg.go
    • Line 80: warning: exported type ApprovalResult should have comment or be unexported (golint)
    • Line 81: warning: exported type RequestItem should have comment or be unexported (golint)
    • Line 83: warning: comment on exported function ApprovalResultSLAUpdated should be of the form "ApprovalResultSLAUpdated ..." (golint)
    • Line 91: warning: exported const ManagerProvedContract should have comment or be unexported (golint)
    • Line 93: warning: exported function ApprovalResultWhileDelete should have comment or be unexported (golint)
    • Line 100: warning: exported function ApprovalResultFromStatus should have comment or be unexported (golint)
    • Line 115: warning: exported function ManagerRewriteSLA should have comment or be unexported (golint)
    • Line 119: warning: exported const ManagerDeleteSLA should have comment or be unexported (golint)
    • Line 121: warning: comment on exported function RequestItemSLA should be of the form "RequestItemSLA ..." (golint)
    • Line 126: warning: exported function RequestItemAPI should have comment or be unexported (golint)
    • erda/apistructs/cmp.go
    • Line 21: warning: exported const AddNodesEssSource should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type AddNodesRequest should have comment or be unexported (golint)
    • Line 40: warning: exported type NodesRecordDetail should have comment or be unexported (golint)
    • Line 45: warning: exported type AddNodesResponse should have comment or be unexported (golint)
    • Line 50: warning: exported type AddNodesData should have comment or be unexported (golint)
    • Line 54: warning: exported type RmNodesRequest should have comment or be unexported (golint)
    • Line 63: warning: exported type DeleteNodesRequest should have comment or be unexported (golint)
    • Line 75: warning: exported type DeleteNodesCronRequest should have comment or be unexported (golint)
    • Line 83: warning: exported type RmNodesResponse should have comment or be unexported (golint)
    • Line 87: warning: exported type RmNodesData should have comment or be unexported (golint)
    • Line 91: warning: exported type UpgradeEdgeClusterRequest should have comment or be unexported (golint)
    • Line 97: warning: exported type UpgradeEdgeClusterResponse should have comment or be unexported (golint)
    • Line 102: warning: exported type UpgradeEdgeClusterData should have comment or be unexported (golint)
    • Line 108: warning: exported type UpgradeClusterInfo should have comment or be unexported (golint)
    • Line 116: warning: exported type BatchUpgradeEdgeClusterRequest should have comment or be unexported (golint)
    • Line 120: warning: exported type BatchUpgradeEdgeClusterResponse should have comment or be unexported (golint)
    • Line 124: warning: exported type OrgClusterInfoRequest should have comment or be unexported (golint)
    • Line 131: warning: exported type OrgClusterInfoResponse should have comment or be unexported (golint)
    • Line 136: warning: exported type OrgClusterInfoData should have comment or be unexported (golint)
    • Line 141: warning: exported type OrgClusterInfoBasicData should have comment or be unexported (golint)
    • Line 152: warning: exported type OfflineEdgeClusterRequest should have comment or be unexported (golint)
    • Line 157: warning: exported type OfflineEdgeClusterResponse should have comment or be unexported (golint)
    • Line 161: warning: exported type OfflineEdgeClusterData should have comment or be unexported (golint)
    • Line 165: warning: exported type OpsClusterInfoRequest should have comment or be unexported (golint)
    • Line 169: warning: exported type OpsClusterInfoResponse should have comment or be unexported (golint)
    • Line 174: warning: exported type NameValue should have comment or be unexported (golint)
    • Line 179: warning: comment on exported type OpsClusterInfoData should be of the form "OpsClusterInfoData ..." (with optional leading article) (golint)
    • Line 182: warning: exported type UpdateLabelsRequest should have comment or be unexported (golint)
    • Line 190: warning: exported type UpdateLabelsResponse should have comment or be unexported (golint)
    • Line 194: warning: exported type UpdateLabelsData should have comment or be unexported (golint)
    • Line 198: warning: exported type ListLabelsResponse should have comment or be unexported (golint)
    • Line 203: warning: exported type ListLabelsData should have comment or be unexported (golint)
    • Line 238: warning: exported type RecordTypeListResponse should have comment or be unexported (golint)
    • Line 243: warning: exported type RecordTypeData should have comment or be unexported (golint)
    • Line 248: warning: exported type RecordsResponseData should have comment or be unexported (golint)
    • Line 253: warning: exported type RecordsResponse should have comment or be unexported (golint)
    • Line 259: warning: exported type RecordsData should have comment or be unexported (golint)
    • Line 264: warning: exported type RecordData should have comment or be unexported (golint)
    • Line 278: warning: exported type RecordRequest should have comment or be unexported (golint)
    • Line 290: warning: exported type RecordUpdateRequest should have comment or be unexported (golint)
    • Line 298: warning: exported type OpLogsRequest should have comment or be unexported (golint)
    • Line 307: warning: exported type OpLogsResponse should have comment or be unexported (golint)
    • Line 309: warning: exported type LockCluster should have comment or be unexported (golint)
    • Line 314: warning: exported type LockClusterResponse should have comment or be unexported (golint)
    • Line 318: warning: exported type ListCloudResourcesResponse should have comment or be unexported (golint)
    • Line 323: warning: exported type ListCloudResourceTypeData should have comment or be unexported (golint)
    • Line 328: warning: exported type CloudResourcesDetailResponse should have comment or be unexported (golint)
    • Line 333: warning: exported type CloudResourcesDetailData should have comment or be unexported (golint)
    • Line 340: warning: comment on exported type CloudResourceOverviewRequest should be of the form "CloudResourceOverviewRequest ..." (with optional leading article) (golint)
    • Line 348: warning: comment on exported type CloudResourceOverviewResponse should be of the form "CloudResourceOverviewResponse ..." (with optional leading article) (golint)
    • Line 354: warning: exported type CloudResourceTypeOverview should have comment or be unexported (golint)
    • Line 358: warning: exported type CloudResourceBasicData should have comment or be unexported (golint)
    • Line 363: warning: exported type CloudResourceStatusCount should have comment or be unexported (golint)
    • Line 369: warning: exported type CloudResourceLabelCount should have comment or be unexported (golint)
    • Line 374: warning: exported type CloudResourceChargeTypeCount should have comment or be unexported (golint)
    • Line 379: warning: exported type CloudResourceOverviewDetailData should have comment or be unexported (golint)
    • Line 390: warning: exported type CloudResourceBasicDataWithType should have comment or be unexported (golint)
    • Line 396: warning: exported type CloudResourceBasicDataWithRegion should have comment or be unexported (golint)
    • Line 401: warning: exported type CloudResourceBasicView should have comment or be unexported (golint)
    • Line 406: warning: exported type TagResourceRequest should have comment or be unexported (golint)
    • Line 426: warning: exported type ListCloudResourceECSRequest should have comment or be unexported (golint)
    • Line 440: warning: exported type ListCloudResourceECSResponse should have comment or be unexported (golint)
    • Line 444: warning: exported type MonthAddTrendData should have comment or be unexported (golint)
    • Line 453: warning: don't use underscores in Go names; type MonthAddTrendData_0 should be MonthAddTrendData0 (golint)
    • Line 453: warning: exported type MonthAddTrendData_0 should have comment or be unexported (golint)
    • Line 458: warning: exported type MonthAddTrend should have comment or be unexported (golint)
    • Line 465: warning: exported type GetCloudResourceECSTrendResponse should have comment or be unexported (golint)
    • Line 470: warning: exported type ListCloudResourceECSData should have comment or be unexported (golint)
    • Line 475: warning: exported type HandleCloudResourceEcsRequest should have comment or be unexported (golint)
    • Line 481: warning: exported type HandleCloudResourceECSResponse should have comment or be unexported (golint)
    • Line 486: warning: exported type HandleCloudResourceECSData should have comment or be unexported (golint)
    • Line 490: warning: exported type HandleCloudResourceECSDataResult should have comment or be unexported (golint)
    • Line 495: warning: exported type AutoRenewCloudResourceEcsRequest should have comment or be unexported (golint)
    • Line 503: warning: exported type ListCloudResourceECS should have comment or be unexported (golint)
    • Line 520: warning: exported type ListCloudResourceVPCRequest should have comment or be unexported (golint)
    • Line 529: warning: exported type ListCloudResourceVPCResponse should have comment or be unexported (golint)
    • Line 534: warning: exported type ListCloudResourceVPCData should have comment or be unexported (golint)
    • Line 539: warning: exported type ListCloudResourceVPC should have comment or be unexported (golint)
    • Line 551: warning: exported type ListCloudResourceVSWRequest should have comment or be unexported (golint)
    • Line 553: warning: exported type ListCloudResourceVSWResponse should have comment or be unexported (golint)
    • Line 558: warning: exported type ListCloudResourceVSWData should have comment or be unexported (golint)
    • Line 563: warning: exported type ListCloudResourceVSW should have comment or be unexported (golint)
    • Line 575: warning: exported type ListCloudResourceZoneRequest should have comment or be unexported (golint)
    • Line 580: warning: exported type ListCloudResourceZoneResponse should have comment or be unexported (golint)
    • Line 585: warning: exported type ListCloudResourceZone should have comment or be unexported (golint)
    • Line 589: warning: exported type ListCloudResourceRegionRequest should have comment or be unexported (golint)
    • Line 593: warning: exported type ListCloudResourceRegionResponse should have comment or be unexported (golint)
    • Line 598: warning: exported type ListCloudResourceRegion should have comment or be unexported (golint)
    • Line 602: warning: exported type CreateCloudResourceVPCRequest should have comment or be unexported (golint)
    • Line 610: warning: exported type CreateCloudResourceVPCResponse should have comment or be unexported (golint)
    • Line 614: warning: exported type CreateCloudResourceVPC should have comment or be unexported (golint)
    • Line 618: warning: exported type TagCloudResourceVPCRequest should have comment or be unexported (golint)
    • Line 625: warning: exported type TagCloudResourceVPCResponse should have comment or be unexported (golint)
    • Line 629: warning: comment on exported type CloudResourceTagItem should be of the form "CloudResourceTagItem ..." (with optional leading article) (golint)
    • Line 637: warning: exported type CloudResourceSetTagRequest should have comment or be unexported (golint)
    • Line 656: warning: exported type CloudResourceSetTagResponse should have comment or be unexported (golint)
    • Line 660: warning: exported type CreateCloudResourceVSWRequest should have comment or be unexported (golint)
    • Line 670: warning: exported type CreateCloudResourceVSWResponse should have comment or be unexported (golint)
    • Line 675: warning: exported type CreateCloudResourceVSW should have comment or be unexported (golint)
    • Line 679: warning: exported type ListCloudAddonBasicRequest should have comment or be unexported (golint)
    • Line 690: warning: comment on exported type ListCloudResourceMysqlRequest should be of the form "ListCloudResourceMysqlRequest ..." (with optional leading article) (golint)
    • Line 693: warning: comment on exported type ListCloudResourceMysqlResponse should be of the form "ListCloudResourceMysqlResponse ..." (with optional leading article) (golint)
    • Line 699: warning: exported type CloudResourceMysqlData should have comment or be unexported (golint)
    • Line 704: warning: exported type CloudResourceMysqlBasicData should have comment or be unexported (golint)
    • Line 721: warning: comment on exported type CloudResourceMysqlDetailInfoRequest should be of the form "CloudResourceMysqlDetailInfoRequest ..." (with optional leading article) (golint)
    • Line 729: warning: comment on exported type CloudResourceMysqlDetailInfoResponse should be of the form "CloudResourceMysqlDetailInfoResponse ..." (with optional leading article) (golint)
    • Line 735: warning: exported type CloudResourceMysqlFullDetailInfoResponse should have comment or be unexported (golint)
    • Line 740: warning: exported type CloudResourceDetailInfo should have comment or be unexported (golint)
    • Line 745: warning: exported type CloudResourceDetailItem should have comment or be unexported (golint)
    • Line 749: warning: exported type CloudResourceMysqlDetailInfoData should have comment or be unexported (golint)
    • Line 767: warning: comment on exported type CloudResourceMysqlDBRequest should be of the form "CloudResourceMysqlDBRequest ..." (with optional leading article) (golint)
    • Line 774: warning: comment on exported type CloudResourceMysqlDBResponse should be of the form "CloudResourceMysqlDBResponse ..." (with optional leading article) (golint)
    • Line 780: warning: exported type CloudResourceMysqlDBInfo should have comment or be unexported (golint)
    • Line 787: warning: comment on exported type CloudResourceMysqlDB should be of the form "CloudResourceMysqlDB ..." (with optional leading article) (golint)
    • Line 796: warning: exported type CloudResourceMysqlAccount should have comment or be unexported (golint)
    • Line 808: warning: comment on exported type ListCloudResourceRedisRequest should be of the form "ListCloudResourceRedisRequest ..." (with optional leading article) (golint)
    • Line 811: warning: comment on exported type ListCloudResourceRedisResponse should be of the form "ListCloudResourceRedisResponse ..." (with optional leading article) (golint)
    • Line 817: warning: exported type ListCloudResourceRedisData should have comment or be unexported (golint)
    • Line 822: warning: exported type CloudResourceRedisBasicData should have comment or be unexported (golint)
    • Line 836: warning: comment on exported type CloudResourceRedisDetailInfoRequest should be of the form "CloudResourceRedisDetailInfoRequest ..." (with optional leading article) (golint)
    • Line 839: warning: comment on exported type CloudResourceRedisDetailInfoResponse should be of the form "CloudResourceRedisDetailInfoResponse ..." (with optional leading article) (golint)
    • Line 842: warning: exported type CloudResourceOnsDetailInfoResponse should have comment or be unexported (golint)
    • Line 844: warning: exported type CloudResourceRedisDetailInfoData should have comment or be unexported (golint)
    • Line 877: warning: comment on exported type ListCloudResourceOnsRequest should be of the form "ListCloudResourceOnsRequest ..." (with optional leading article) (golint)
    • Line 880: warning: comment on exported type ListCloudResourceOnsResponse should be of the form "ListCloudResourceOnsResponse ..." (with optional leading article) (golint)
    • Line 886: warning: exported type CloudResourceOnsData should have comment or be unexported (golint)
    • Line 891: warning: exported type CloudResourceOnsBasicData should have comment or be unexported (golint)
    • Line 908: warning: comment on exported type CloudResourceOnsDetailInfoRequest should be of the form "CloudResourceOnsDetailInfoRequest ..." (with optional leading article) (golint)
    • Line 911: warning: exported type OnsEndpoints should have comment or be unexported (golint)
    • Line 920: warning: comment on exported type CloudResourceOnsTopicInfoRequest should be of the form "CloudResourceOnsTopicInfoRequest ..." (with optional leading article) (golint)
    • Line 927: warning: comment on exported type CloudResourceOnsTopicInfoResponse should be of the form "CloudResourceOnsTopicInfoResponse ..." (with optional leading article) (golint)
    • Line 933: warning: exported type CloudResourceOnsTopicInfo should have comment or be unexported (golint)
    • Line 939: warning: exported type OnsTopic should have comment or be unexported (golint)
    • Line 953: warning: comment on exported type CloudResourceOnsGroupInfoRequest should be of the form "CloudResourceOnsGroupInfoRequest ..." (with optional leading article) (golint)
    • Line 964: warning: comment on exported type CloudResourceOnsGroupInfoResponse should be of the form "CloudResourceOnsGroupInfoResponse ..." (with optional leading article) (golint)
    • Line 970: warning: exported type CloudResourceOnsGroupInfoData should have comment or be unexported (golint)
    • Line 975: warning: exported type CloudResourceOnsGroupBasicData should have comment or be unexported (golint)
    • Line 984: warning: comment on exported type ListCloudResourceOssRequest should be of the form "ListCloudResourceOssRequest ..." (with optional leading article) (golint)
    • Line 990: warning: comment on exported type ListCloudResourceOssResponse should be of the form "ListCloudResourceOssResponse ..." (with optional leading article) (golint)
    • Line 996: warning: exported type CloudResourceOssData should have comment or be unexported (golint)
    • Line 1001: warning: exported type CloudResourceOssBasicData should have comment or be unexported (golint)
    • Line 1009: warning: comment on exported type CloudResourceOssDetailInfoRequest should be of the form "CloudResourceOssDetailInfoRequest ..." (with optional leading article) (golint)
    • Line 1016: warning: comment on exported type CloudResourceOssDetailInfoResponse should be of the form "CloudResourceOssDetailInfoResponse ..." (with optional leading article) (golint)
    • Line 1022: warning: exported type CloudResourceOssDetailInfoData should have comment or be unexported (golint)
    • Line 1032: warning: exported type Identity should have comment or be unexported (golint)
    • Line 1037: warning: exported type CloudResourceVpcBaseInfo should have comment or be unexported (golint)
    • Line 1046: warning: exported const CloudResourceSourceAddon should have comment (or a comment on this block) or be unexported (golint)
    • Line 1050: warning: exported type CreateCloudResourceBaseInfo should have comment or be unexported (golint)
    • Line 1074: warning: exported type CreateCloudResourceChargeInfo should have comment or be unexported (golint)
    • Line 1083: warning: exported type CreateCloudResourceBaseRequest should have comment or be unexported (golint)
    • Line 1089: warning: exported method CreateCloudResourceBaseInfo.GetVendor should have comment or be unexported (golint)
    • Line 1093: warning: exported method CreateCloudResourceBaseInfo.GetRegion should have comment or be unexported (golint)
    • Line 1097: warning: exported method CreateCloudResourceBaseInfo.GetVpcID should have comment or be unexported (golint)
    • Line 1101: warning: exported method CreateCloudResourceBaseInfo.GetVSwitchID should have comment or be unexported (golint)
    • Line 1105: warning: exported method CreateCloudResourceBaseInfo.GetZoneID should have comment or be unexported (golint)
    • Line 1109: warning: exported method CreateCloudResourceBaseInfo.SetVendor should have comment or be unexported (golint)
    • Line 1113: warning: exported method CreateCloudResourceBaseInfo.SetRegion should have comment or be unexported (golint)
    • Line 1117: warning: exported method CreateCloudResourceBaseInfo.SetVpcID should have comment or be unexported (golint)
    • Line 1121: warning: exported method CreateCloudResourceBaseInfo.SetVSwitchID should have comment or be unexported (golint)
    • Line 1125: warning: exported method CreateCloudResourceBaseInfo.SetZoneID should have comment or be unexported (golint)
    • Line 1129: warning: exported method CreateCloudResourceBaseInfo.GetOrgID should have comment or be unexported (golint)
    • Line 1133: warning: exported method CreateCloudResourceBaseInfo.GetUserID should have comment or be unexported (golint)
    • Line 1137: warning: exported method CreateCloudResourceBaseInfo.GetClusterName should have comment or be unexported (golint)
    • Line 1141: warning: exported method CreateCloudResourceBaseInfo.GetProjectID should have comment or be unexported (golint)
    • Line 1145: warning: exported method CreateCloudResourceBaseInfo.GetSource should have comment or be unexported (golint)
    • Line 1149: warning: exported method CreateCloudResourceBaseInfo.GetClientToken should have comment or be unexported (golint)
    • Line 1153: warning: exported method CreateCloudResourceBaseRequest.GetChargeType should have comment or be unexported (golint)
    • Line 1157: warning: exported method CreateCloudResourceBaseRequest.GetChargePeriod should have comment or be unexported (golint)
    • Line 1161: warning: exported method CreateCloudResourceBaseRequest.GetAutoRenew should have comment or be unexported (golint)
    • Line 1165: warning: exported method CreateCloudResourceBaseRequest.GetAutoRenewPeriod should have comment or be unexported (golint)
    • Line 1169: warning: exported method CreateCloudResourceBaseRequest.GetInstanceName should have comment or be unexported (golint)
    • Line 1173: warning: exported type CreateCloudResourceBaseResponse should have comment or be unexported (golint)
    • Line 1178: warning: exported type CreateCloudResourceBaseResponseData should have comment or be unexported (golint)
    • Line 1182: warning: comment on exported type CreateCloudResourceRecord should be of the form "CreateCloudResourceRecord ..." (with optional leading article) (golint)
    • Line 1190: warning: exported type CreateCloudResourceStep should have comment or be unexported (golint)
    • Line 1197: warning: comment on exported type CloudAddonResourceDeleteRequest should be of the form "CloudAddonResourceDeleteRequest ..." (with optional leading article) (golint)
    • Line 1214: warning: comment on exported type DeleteCloudResourceMysqlRequest should be of the form "DeleteCloudResourceMysqlRequest ..." (with optional leading article) (golint)
    • Line 1217: warning: comment on exported type DeleteCloudResourceMysqlDBRequest should be of the form "DeleteCloudResourceMysqlDBRequest ..." (with optional leading article) (golint)
    • Line 1223: warning: comment on exported type DeleteCloudResourceRedisRequest should be of the form "DeleteCloudResourceRedisRequest ..." (with optional leading article) (golint)
    • Line 1226: warning: comment on exported type DeleteCloudResourceOssRequest should be of the form "DeleteCloudResourceOssRequest ..." (with optional leading article) (golint)
    • Line 1229: warning: comment on exported type DeleteCloudResourceOnsRequest should be of the form "DeleteCloudResourceOnsRequest ..." (with optional leading article) (golint)
    • Line 1232: warning: comment on exported type DeleteCloudResourceOnsTopicRequest should be of the form "DeleteCloudResourceOnsTopicRequest ..." (with optional leading article) (golint)
    • Line 1238: warning: comment on exported type CloudAddonResourceDeleteRespnse should be of the form "CloudAddonResourceDeleteRespnse ..." (with optional leading article) (golint)
    • Line 1243: warning: comment on exported type CreateCloudResourceMysqlRequest should be of the form "CreateCloudResourceMysqlRequest ..." (with optional leading article) (golint)
    • Line 1261: warning: exported method CreateCloudResourceMysqlRequest.GetAddonID should have comment or be unexported (golint)
    • Line 1268: warning: comment on exported type CreateCloudResourceMysqlResponse should be of the form "CreateCloudResourceMysqlResponse ..." (with optional leading article) (golint)
    • Line 1271: warning: comment on exported type CreateCloudResourceMysqlDBRequest should be of the form "CreateCloudResourceMysqlDBRequest ..." (with optional leading article) (golint)
    • Line 1280: warning: exported type MysqlDataBaseInfo should have comment or be unexported (golint)
    • Line 1290: warning: comment on exported type CreateCloudResourceMysqlDBResponse should be of the form "CreateCloudResourceMysqlDBResponse ..." (with optional leading article) (golint)
    • Line 1293: warning: comment on exported type CreateCloudResourceMysqlDBAccountsRequest should be of the form "CreateCloudResourceMysqlDBAccountsRequest ..." (with optional leading article) (golint)
    • Line 1299: warning: exported type CreateCloudResourceMysqlAccountRequest should have comment or be unexported (golint)
    • Line 1311: warning: exported type CreateCloudResourceMysqlAccountResponse should have comment or be unexported (golint)
    • Line 1313: warning: exported type ChangeMysqlAccountPrivilegeRequest should have comment or be unexported (golint)
    • Line 1322: warning: exported type GrantMysqlAccountPrivilegeRequest should have comment or be unexported (golint)
    • Line 1330: warning: exported type GrantMysqlAccountPrivilegeResponse should have comment or be unexported (golint)
    • Line 1332: warning: exported type MysqlAccountPrivilege should have comment or be unexported (golint)
    • Line 1337: warning: comment on exported type CreateCloudResourceRedisRequest should be of the form "CreateCloudResourceRedisRequest ..." (with optional leading article) (golint)
    • Line 1350: warning: exported type GrantCloudResourceAccountPrivilegeRequest should have comment or be unexported (golint)
    • Line 1356: warning: exported type MysqlDBAccountPrivilege should have comment or be unexported (golint)
    • Line 1360: warning: exported method CreateCloudResourceRedisRequest.GetAddonID should have comment or be unexported (golint)
    • Line 1364: warning: comment on exported type CreateCloudResourceRedisResponse should be of the form "CreateCloudResourceRedisResponse ..." (with optional leading article) (golint)
    • Line 1367: warning: comment on exported type CreateCloudResourceOnsRequest should be of the form "CreateCloudResourceOnsRequest ..." (with optional leading article) (golint)
    • Line 1377: warning: exported method CreateCloudResourceOnsRequest.GetAddonID should have comment or be unexported (golint)
    • Line 1384: warning: exported method CreateCloudResourceOnsRequest.GetInstanceName should have comment or be unexported (golint)
    • Line 1388: warning: exported type CloudResourceOnsTopicAndGroup should have comment or be unexported (golint)
    • Line 1396: warning: comment on exported type CreateCloudResourceOnsResponse should be of the form "CreateCloudResourceOnsResponse ..." (with optional leading article) (golint)
    • Line 1399: warning: comment on exported type CloudResourceOnsSetTagRequest should be of the form "CloudResourceOnsSetTagRequest ..." (with optional leading article) (golint)
    • Line 1404: warning: comment on exported type CreateCloudResourceOnsGroupRequest should be of the form "CreateCloudResourceOnsGroupRequest ..." (with optional leading article) (golint)
    • Line 1412: warning: exported type CloudResourceOnsGroupBaseInfo should have comment or be unexported (golint)
    • Line 1422: warning: exported type CreateCloudResourceOnsGroupResponse should have comment or be unexported (golint)
    • Line 1426: warning: comment on exported type CreateCloudResourceOnsTopicRequest should be of the form "CreateCloudResourceOnsTopicRequest ..." (with optional leading article) (golint)
    • Line 1434: warning: comment on exported type CreateCloudResourceOnsTopicResponse should be of the form "CreateCloudResourceOnsTopicResponse ..." (with optional leading article) (golint)
    • Line 1437: warning: comment on exported type CreateCloudResourceOssRequest should be of the form "CreateCloudResourceOssRequest ..." (with optional leading article) (golint)
    • Line 1443: warning: exported method CreateCloudResourceOssRequest.GetAddonID should have comment or be unexported (golint)
    • Line 1450: warning: exported method CreateCloudResourceOssRequest.GetInstanceName should have comment or be unexported (golint)
    • Line 1454: warning: exported type OssBucketInfo should have comment or be unexported (golint)
    • Line 1460: warning: comment on exported type CreateCloudResourceOssResponse should be of the form "CreateCloudResourceOssResponse ..." (with optional leading article) (golint)
    • Line 1463: warning: exported type ListCloudAccountResponse should have comment or be unexported (golint)
    • Line 1468: warning: exported type ListCloudAccountData should have comment or be unexported (golint)
    • Line 1473: warning: exported type ListCloudAccount should have comment or be unexported (golint)
    • Line 1480: warning: exported type CreateCloudAccountRequest should have comment or be unexported (golint)
    • Line 1487: warning: exported type CreateCloudAccountResponse should have comment or be unexported (golint)
    • Line 1491: warning: exported type DeleteCloudAccountRequest should have comment or be unexported (golint)
    • Line 1496: warning: exported type DeleteCloudAccountResponse should have comment or be unexported (golint)
    • Line 1500: warning: exported type RemoteActionRequest should have comment or be unexported (golint)
    • Line 1516: warning: exported type PrivateSlbInfo should have comment or be unexported (golint)
    • Line 1522: warning: exported type ApiGatewayInfo should have comment or be unexported (golint)
    • Line 1527: warning: comment on exported type CreateCloudResourceGatewayResponse should be of the form "CreateCloudResourceGatewayResponse ..." (with optional leading article) (golint)
    • Line 1530: warning: exported type ListCloudResourceGatewayResponse should have comment or be unexported (golint)
    • Line 1535: warning: comment on exported type ListCloudResourceGatewayRequest should be of the form "ListCloudResourceGatewayRequest ..." (with optional leading article) (golint)
    • Line 1538: warning: exported type ListCloudGateway should have comment or be unexported (golint)
    • Line 1543: warning: exported type ApiGatewayBuyInfo should have comment or be unexported (golint)
    • Line 1549: warning: exported type PrivateSlbBuyInfo should have comment or be unexported (golint)
    • Line 1555: warning: exported type ApiGatewayVpcGrantRequest should have comment or be unexported (golint)
    • Line 1562: warning: exported method ApiGatewayVpcGrantRequest.GetAddonID should have comment or be unexported (golint)
    • Line 1566: warning: exported method ApiGatewayVpcGrantRequest.GetInstanceName should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/aliyun_resources.go
    • Line 47: warning: exported method Endpoints.ListAliyunResources should have comment or be unexported (golint)
    • Line 73: warning: exported method Endpoints.TagResources should have comment or be unexported (golint)
    • Line 136: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 144: warning: don't use underscores in Go names; var pagenum_ should be pagenum (golint)
    • Line 145: warning: don't use underscores in Go names; var pagesize_ should be pagesize (golint)
    • Line 224: warning: exported method Endpoints.QueryCloudResourceDetail should have comment or be unexported (golint)
    • Line 249: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 256: warning: don't use underscores in Go names; var pagenum_ should be pagenum (golint)
    • Line 257: warning: don't use underscores in Go names; var pagesize_ should be pagesize (golint)
    • erda/modules/gittar/pkg/gitmodule/submodule.go
    • Line 9: warning: exported type SubModule should have comment or be unexported (golint)
    • Line 22: warning: exported function NewSubModuleFile should have comment or be unexported (golint)
    • Line 67: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • erda/pkg/kms/kmstypes/factory.go
    • Line 23: warning: exported const CtxKeyConfigMap should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported var PluginFactory should have comment or be unexported (golint)
    • Line 31: warning: exported function RegisterPlugin should have comment or be unexported (golint)
    • Line 45: warning: exported var StoreFactory should have comment or be unexported (golint)
    • Line 47: warning: exported function RegisterStore should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/overview/overview.go
    • Line 36: warning: exported type CachedCloudResourceOverview should have comment or be unexported (golint)
    • Line 52: warning: exported function InitCloudResourceOverview should have comment or be unexported (golint)
    • Line 107: warning: exported function CloudResourceOverview should have comment or be unexported (golint)
    • Line 107: warning: don't use underscores in Go names; func parameter ak_ctx should be akCtx (golint)
    • Line 292: warning: exported function GetCloudResourceOverView should have comment or be unexported (golint)
    • Line 292: warning: don't use underscores in Go names; func parameter ak_ctx should be akCtx (golint)
    • Line 336: warning: exported function GetCloudResourceOverViewRaw should have comment or be unexported (golint)
    • Line 336: warning: don't use underscores in Go names; func parameter ak_ctx should be akCtx (golint)
    • Line 443: warning: exported function GetCachedCloudResourceOverview should have comment or be unexported (golint)
    • Line 443: warning: don't use underscores in Go names; func parameter ak_ctx should be akCtx (golint)
    • Line 459: warning: exported function PutCachedCloudResourceOverview should have comment or be unexported (golint)
    • Line 459: warning: don't use underscores in Go names; func parameter ak_ctx should be akCtx (golint)
    • erda/modules/hepa/gateway/dto/get_openapi_dto.go
    • Line 22: warning: exported type GetOpenapiDto should have comment or be unexported (golint)
    • Line 29: warning: exported function NewGetOpenapiDto should have comment or be unexported (golint)
    • Line 38: warning: exported method GetOpenapiDto.GenSelectOptions should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_api_service.go
    • Line 28: warning: should not use dot imports (golint)
    • Line 38: warning: exported type GatewayApiServiceImpl should have comment or be unexported (golint)
    • Line 61: warning: exported function NewGatewayApiServiceImpl should have comment or be unexported (golint)
    • Line 149: warning: exported method GatewayApiServiceImpl.CreateUnitiyPackageShadowApi should have comment or be unexported (golint)
    • Line 192: warning: exported method GatewayApiServiceImpl.CreateUpstreamBindApi should have comment or be unexported (golint)
    • Line 255: warning: exported method GatewayApiServiceImpl.UpdateUpstreamBindApi should have comment or be unexported (golint)
    • Line 325: warning: exported method GatewayApiServiceImpl.DeleteUpstreamBindApi should have comment or be unexported (golint)
    • Line 514: warning: exported method GatewayApiServiceImpl.GetRuntimeApis should have comment or be unexported (golint)
    • Line 540: warning: exported method GatewayApiServiceImpl.CreateRuntimeApi should have comment or be unexported (golint)
    • Line 1008: warning: exported method GatewayApiServiceImpl.CreateApi should have comment or be unexported (golint)
    • Line 1172: warning: don't use underscores in Go names; var scheme_find should be schemeFind (golint)
    • Line 1177: warning: don't use underscores in Go names; var slash_find should be slashFind (golint)
    • Line 1287: warning: exported method GatewayApiServiceImpl.GetApiInfos should have comment or be unexported (golint)
    • Line 1499: warning: exported method GatewayApiServiceImpl.DeleteApi should have comment or be unexported (golint)
    • Line 2104: warning: exported method GatewayApiServiceImpl.UpdateApi should have comment or be unexported (golint)
    • Line 2162: warning: exported method GatewayApiServiceImpl.ClearRuntimeApi should have comment or be unexported (golint)
    • Line 2177: warning: exported method GatewayApiServiceImpl.TouchRuntimeApi should have comment or be unexported (golint)
    • Line 2195: warning: don't use underscores in Go names; var scheme_find should be schemeFind (golint)
    • Line 2199: warning: don't use underscores in Go names; var slash_find should be slashFind (golint)
    • erda/modules/hepa/common/line_hook.go
    • Line 24: warning: exported type LineHook should have comment or be unexported (golint)
    • Line 31: warning: exported method LineHook.Levels should have comment or be unexported (golint)
    • Line 35: warning: exported method LineHook.Fire should have comment or be unexported (golint)
    • Line 40: warning: exported function NewLineHook should have comment or be unexported (golint)
    • erda/pkg/nexus/generate_name.go
    • Line 26: warning: comment on exported function MakePublisherRepoName should be of the form "MakePublisherRepoName ..." (golint)
    • Line 32: warning: comment on exported function MakeOrgRepoName should be of the form "MakeOrgRepoName ..." (golint)
    • Line 42: warning: comment on exported function MakeOrgThirdPartyRepoName should be of the form "MakeOrgThirdPartyRepoName ..." (golint)
    • Line 52: warning: comment on exported function MakeDeploymentUserName should be of the form "MakeDeploymentUserName ..." (golint)
    • Line 57: warning: comment on exported function MakeReadonlyUserName should be of the form "MakeReadonlyUserName ..." (golint)
    • Line 66: warning: comment on exported function MakePublisherPipelineCmNs should be of the form "MakePublisherPipelineCmNs ..." (golint)
    • Line 71: warning: comment on exported function MakeOrgPipelineCmsNs should be of the form "MakeOrgPipelineCmsNs ..." (golint)
    • Line 76: warning: comment on exported function MakePlatformPipelineCmsNs should be of the form "MakePlatformPipelineCmsNs ..." (golint)
    • erda/pkg/schedule/executorconfig/policy.go
    • Line 22: warning: exported type ExecutorWholeConfigs should have comment or be unexported (golint)
    • Line 111: warning: comment on exported type Workspace should be of the form "Workspace ..." (with optional leading article) (golint)
    • Line 160: warning: exported type OptPlus should have comment or be unexported (golint)
    • Line 164: warning: exported type ExecutorConfig should have comment or be unexported (golint)
    • erda/pkg/schedule/schedulepolicy/labelconfig/labelconfig.go
    • Line 24: warning: comment on exported const EXECUTOR_K8S should be of the form "EXECUTOR_K8S ..." (golint)
    • Line 35: warning: comment on exported const EXECUTOR_EDASV2 should be of the form "EXECUTOR_EDASV2 ..." (golint)
    • Line 39: warning: comment on exported const EXECUTOR_K8SSPARK should be of the form "EXECUTOR_K8SSPARK ..." (golint)
    • Line 103: warning: exported const LOCATION_PREFIX should have comment (or a comment on this block) or be unexported (golint)
    • Line 116: warning: exported type RawLabelRuleResult2 should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/utils.go
    • Line 91: warning: exported function CopyObj should have comment or be unexported (golint)
    • Line 110: warning: exported function ComposeIntPortsFromServicePorts should have comment or be unexported (golint)
    • erda/modules/action-runner-scheduler/dbclient/runner_task.go
    • Line 23: warning: exported type RunnerTask should have comment or be unexported (golint)
    • Line 40: warning: exported method RunnerTask.ToApiData should have comment or be unexported (golint)
    • Line 57: warning: exported method DBClient.CreateRunnerTask should have comment or be unexported (golint)
    • Line 76: warning: exported method DBClient.GetFirstPendingTask should have comment or be unexported (golint)
    • Line 91: warning: exported method DBClient.UpdateRunnerTask should have comment or be unexported (golint)
    • Line 95: warning: exported method DBClient.GetRunnerTask should have comment or be unexported (golint)
    • erda/pkg/swagger/oas2/marshal.go
    • Line 24: warning: exported function MarshalJson should have comment or be unexported (golint)
    • Line 28: warning: exported function MarshalJsonIndent should have comment or be unexported (golint)
    • Line 32: warning: exported function MarshalYaml should have comment or be unexported (golint)
    • erda/pkg/aliyunclient/request.go
    • Line 21: warning: exported type RemoteActionRequest should have comment or be unexported (golint)
    • Line 33: warning: exported function NewRemoteActionRequest should have comment or be unexported (golint)
    • erda/modules/hepa/common/log_helper.go
    • Line 39: warning: exported var AccessLog should have comment or be unexported (golint)
    • Line 41: warning: exported var ErrorLog should have comment or be unexported (golint)
    • Line 43: warning: exported function InitLogger should have comment or be unexported (golint)
    • Line 81: warning: comment on exported function AccessWrap should be of the form "AccessWrap ..." (golint)
    • Line 132: warning: exported function LogFileRotate should have comment or be unexported (golint)
    • erda/pkg/excel/excel.go
    • Line 24: warning: exported type File should have comment or be unexported (golint)
    • Line 30: warning: exported type WorkBook should have comment or be unexported (golint)
    • Line 89: warning: exported function NewWorkBook should have comment or be unexported (golint)
    • Line 108: warning: exported function FirstNonempty should have comment or be unexported (golint)
    • Line 117: warning: exported function IsEmpty should have comment or be unexported (golint)
    • erda/bundle/branch_rule.go
    • Line 58: warning: exported method Bundle.GetAllValidBranchWorkspace should have comment or be unexported (golint)
    • Line 79: warning: exported method Bundle.GetBranchWorkspaceConfig should have comment or be unexported (golint)
    • Line 87: warning: exported method Bundle.GetPermissionByGitReference should have comment or be unexported (golint)
    • Line 95: warning: exported method Bundle.GetBranchWorkspaceConfigByProject should have comment or be unexported (golint)
    • erda/modules/orchestrator/dbclient/addon_instance_tenant.go
    • Line 24: warning: comment on exported type AddonInstanceTenant should be of the form "AddonInstanceTenant ..." (with optional leading article) (golint)
    • Line 42: warning: exported method AddonInstanceTenant.TableName should have comment or be unexported (golint)
    • Line 46: warning: exported method DBClient.CreateAddonInstanceTenant should have comment or be unexported (golint)
    • Line 50: warning: exported method DBClient.UpdateAddonInstanceTenant should have comment or be unexported (golint)
    • Line 54: warning: exported method DBClient.DeleteAddonInstanceTenant should have comment or be unexported (golint)
    • Line 63: warning: exported method DBClient.GetAddonInstanceTenant should have comment or be unexported (golint)
    • Line 77: warning: exported method DBClient.ListAddonInstanceTenantByAddonInstanceID should have comment or be unexported (golint)
    • Line 87: warning: exported method DBClient.ListAddonInstanceTenantByAddonInstanceRoutingID should have comment or be unexported (golint)
    • Line 97: warning: exported method DBClient.ListAddonInstanceTenantByProjectIDs should have comment or be unexported (golint)
    • Line 113: warning: exported method DBClient.ListAddonInstanceTenant should have comment or be unexported (golint)
    • erda/modules/pipeline/services/queuemanage/define.go
    • Line 20: warning: exported type QueueManage should have comment or be unexported (golint)
    • Line 24: warning: exported function New should have comment or be unexported (golint)
    • Line 32: warning: exported type Option should have comment or be unexported (golint)
    • Line 34: warning: exported function WithDBClient should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8s/addon/redis/redis.go
    • Line 34: warning: exported type RedisOperator should have comment or be unexported (golint)
    • Line 45: warning: exported function NewRedisOperator should have comment or be unexported (golint)
    • Line 65: warning: exported method RedisOperator.IsSupported should have comment or be unexported (golint)
    • Line 123: warning: exported method RedisOperator.Convert should have comment or be unexported (golint)
    • Line 177: warning: exported method RedisOperator.Create should have comment or be unexported (golint)
    • Line 208: warning: exported method RedisOperator.Inspect should have comment or be unexported (golint)
    • Line 266: warning: exported method RedisOperator.Remove should have comment or be unexported (golint)
    • Line 292: warning: exported method RedisOperator.Update should have comment or be unexported (golint)
    • erda/modules/scheduler/instanceinfo/model.go
    • Line 23: warning: exported type ServicePhase should have comment or be unexported (golint)
    • Line 24: warning: exported type InstancePhase should have comment or be unexported (golint)
    • Line 25: warning: exported type PodPhase should have comment or be unexported (golint)
    • Line 28: warning: exported const ServicePhaseHealthy should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported type ServiceInfo should have comment or be unexported (golint)
    • Line 71: warning: exported method ServiceInfo.TableName should have comment or be unexported (golint)
    • Line 75: warning: exported type InstanceInfo should have comment or be unexported (golint)
    • Line 119: warning: exported method InstanceInfo.TableName should have comment or be unexported (golint)
    • Line 123: warning: exported method InstanceInfo.Metadata should have comment or be unexported (golint)
    • Line 137: warning: exported type PodInfo should have comment or be unexported (golint)
    • Line 174: warning: exported method PodInfo.TableName should have comment or be unexported (golint)
    • erda/apistructs/pipeline_label.go
    • Line 24: warning: exported var PipelineLabelTypeInstance should have comment or be unexported (golint)
    • Line 29: warning: exported method PipelineLabelType.Valid should have comment or be unexported (golint)
    • Line 60: warning: exported type PipelineLabelBatchInsertRequest should have comment or be unexported (golint)
    • Line 64: warning: exported type PipelineLabelListRequest should have comment or be unexported (golint)
    • Line 72: warning: exported type PipelineLabelPageListData should have comment or be unexported (golint)
    • Line 77: warning: exported type PipelineLabel should have comment or be unexported (golint)
    • erda/modules/orchestrator/dbclient/addon_micro_attach.go
    • Line 24: warning: comment on exported type AddonMicroAttach should be of the form "AddonMicroAttach ..." (with optional leading article) (golint)
    • Line 39: warning: exported method AddonMicroAttach.TableName should have comment or be unexported (golint)
    • Line 138: warning: comment on exported method DBClient.GetMicroAttachesByAddonNameAndProjectIDs should be of the form "GetMicroAttachesByAddonNameAndProjectIDs ..." (golint)
    • Line 155: warning: comment on exported method DBClient.GetMicroAttachesByAddonName should be of the form "GetMicroAttachesByAddonName ..." (golint)
    • erda/modules/pipeline/pipengine/reconciler/define.go
    • Line 37: warning: exported const EtcdNeedCompensatePrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported type Reconciler should have comment or be unexported (golint)
    • Line 64: warning: comment on exported type PipelineSvcFunc should be of the form "PipelineSvcFunc ..." (with optional leading article) (golint)
    • erda/modules/pipeline/dbclient/op_ci_v3_build_artifact.go
    • Line 23: warning: exported method Client.NewArtifact should have comment or be unexported (golint)
    • Line 49: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 58: warning: exported method Client.DeleteArtifact should have comment or be unexported (golint)
    • Line 65: warning: exported method Client.GetBuildArtifactBySha256 should have comment or be unexported (golint)
    • Line 83: warning: exported method Client.DeleteArtifactsByImages should have comment or be unexported (golint)
    • erda/pkg/strutil/strutil.go
    • Line 489: warning: comment on exported function IntersectionInt64Slice should be of the form "IntersectionInt64Slice ..." (golint)
    • Line 508: warning: comment on exported function RemoveSlice should be of the form "RemoveSlice ..." (golint)
    • Line 528: warning: exported function Exist should have comment or be unexported (golint)
    • Line 552: warning: exported function SplitIfEmptyString should have comment or be unexported (golint)
    • erda/pkg/crypto/encryption/rsa.go
    • Line 24: warning: exported type RsaCrypt should have comment or be unexported (golint)
    • Line 28: warning: exported type RSASecret should have comment or be unexported (golint)
    • Line 36: warning: comment on exported function NewRSAScrypt should be of the form "NewRSAScrypt ..." (golint)
    • erda/modules/monitor/common/db/monitor.go
    • Line 18: warning: exported type MonitorDb should have comment or be unexported (golint)
    • Line 22: warning: exported method MonitorDb.SelectProjectIdByTk should have comment or be unexported (golint)
    • Line 34: warning: exported method MonitorDb.GetInstanceByTk should have comment or be unexported (golint)
    • Line 46: warning: exported method MonitorDb.GetTkByProjectIdAndWorkspace should have comment or be unexported (golint)
    • erda/modules/gittar/pkg/gitmodule/convert.go
    • Line 21: warning: comment on exported type StrTo should be of the form "StrTo ..." (with optional leading article) (golint)
    • Line 24: warning: exported method StrTo.Exist should have comment or be unexported (golint)
    • Line 28: warning: exported method StrTo.Uint8 should have comment or be unexported (golint)
    • Line 33: warning: exported method StrTo.Int should have comment or be unexported (golint)
    • Line 38: warning: exported method StrTo.Int64 should have comment or be unexported (golint)
    • Line 43: warning: exported method StrTo.Float64 should have comment or be unexported (golint)
    • Line 48: warning: exported method StrTo.MustUint8 should have comment or be unexported (golint)
    • Line 53: warning: exported method StrTo.MustInt should have comment or be unexported (golint)
    • Line 58: warning: exported method StrTo.MustInt64 should have comment or be unexported (golint)
    • Line 63: warning: exported method StrTo.MustFloat64 should have comment or be unexported (golint)
    • Line 75: warning: comment on exported function ToStr should be of the form "ToStr ..." (golint)
    • erda/modules/dop/services/filetree/filetree.go
    • Line 38: warning: comment on exported type GittarFileTree should be of the form "GittarFileTree ..." (with optional leading article) (golint)
    • Line 62: warning: exported method GittarFileTree.ListFileTreeNodes should have comment or be unexported (golint)
    • Line 194: warning: exported method GittarFileTree.GetFileTreeNode should have comment or be unexported (golint)
    • Line 282: warning: exported method GittarFileTree.GetWorkspaceByBranch should have comment or be unexported (golint)
    • Line 304: warning: exported method GittarFileTree.DeleteFileTreeNode should have comment or be unexported (golint)
    • Line 372: warning: exported method GittarFileTree.FuzzySearchFileTreeNodes should have comment or be unexported (golint)
    • Line 445: warning: exported method GittarFileTree.CreateFileTreeNode should have comment or be unexported (golint)
    • Line 606: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 727: warning: exported method GittarFileTree.GetGittarFileByPipelineId should have comment or be unexported (golint)
    • Line 815: warning: exported method GittarFileTree.FindFileTreeNodeAncestors should have comment or be unexported (golint)
    • erda/apistructs/container.go
    • Line 16: warning: exported type CmContainersFetchResponse should have comment or be unexported (golint)
    • Line 21: warning: exported type ContainerFetchResponse should have comment or be unexported (golint)
    • Line 36: warning: comment on exported type ContainerFetchResponseData should be of the form "ContainerFetchResponseData ..." (with optional leading article) (golint)
    • Line 93: warning: exported type Containers should have comment or be unexported (golint)
    • Line 131: warning: exported type Pod should have comment or be unexported (golint)
    • Line 144: warning: exported type Pods should have comment or be unexported (golint)
    • erda/tools/cli/command/arg.go
    • Line 27: warning: exported type Arg should have comment or be unexported (golint)
    • Line 42: warning: exported type CommonArg should have comment or be unexported (golint)
    • Line 47: warning: exported type StringArg should have comment or be unexported (golint)
    • Line 50: warning: exported type IntArg should have comment or be unexported (golint)
    • Line 53: warning: exported type FloatArg should have comment or be unexported (golint)
    • Line 56: warning: exported type IPArg should have comment or be unexported (golint)
    • Line 59: warning: exported type Level2Arg should have comment or be unexported (golint)
    • Line 62: warning: exported type Level3Arg should have comment or be unexported (golint)
    • Line 65: warning: exported type Level4Arg should have comment or be unexported (golint)
    • Line 68: warning: exported type Level5Arg should have comment or be unexported (golint)
    • Line 71: warning: exported type Level6Arg should have comment or be unexported (golint)
    • Line 75: warning: exported method CommonArg.GetName should have comment or be unexported (golint)
    • Line 79: warning: exported method StringArg.Name should have comment or be unexported (golint)
    • Line 83: warning: exported method IntArg.Name should have comment or be unexported (golint)
    • Line 87: warning: exported method FloatArg.Name should have comment or be unexported (golint)
    • Line 91: warning: exported method IPArg.Name should have comment or be unexported (golint)
    • Line 95: warning: exported method Level2Arg.Name should have comment or be unexported (golint)
    • Line 99: warning: exported method Level3Arg.Name should have comment or be unexported (golint)
    • Line 103: warning: exported method Level4Arg.Name should have comment or be unexported (golint)
    • Line 107: warning: exported method Level5Arg.Name should have comment or be unexported (golint)
    • Line 111: warning: exported method Level6Arg.Name should have comment or be unexported (golint)
    • Line 116: warning: exported method StringArg.Option should have comment or be unexported (golint)
    • Line 120: warning: exported method IntArg.Option should have comment or be unexported (golint)
    • Line 124: warning: exported method FloatArg.Option should have comment or be unexported (golint)
    • Line 128: warning: exported method IPArg.Option should have comment or be unexported (golint)
    • Line 132: warning: exported method Level2Arg.Option should have comment or be unexported (golint)
    • Line 136: warning: exported method Level3Arg.Option should have comment or be unexported (golint)
    • Line 140: warning: exported method Level4Arg.Option should have comment or be unexported (golint)
    • Line 144: warning: exported method Level5Arg.Option should have comment or be unexported (golint)
    • Line 148: warning: exported method Level6Arg.Option should have comment or be unexported (golint)
    • Line 153: warning: exported method CommonArg.IsOption should have comment or be unexported (golint)
    • Line 157: warning: exported method StringArg.Validate should have comment or be unexported (golint)
    • Line 160: warning: exported method IntArg.Validate should have comment or be unexported (golint)
    • Line 167: warning: exported method FloatArg.Validate should have comment or be unexported (golint)
    • Line 174: warning: exported method IPArg.Validate should have comment or be unexported (golint)
    • Line 198: warning: exported method Level2Arg.Validate should have comment or be unexported (golint)
    • Line 201: warning: exported method Level3Arg.Validate should have comment or be unexported (golint)
    • Line 204: warning: exported method Level4Arg.Validate should have comment or be unexported (golint)
    • Line 207: warning: exported method Level5Arg.Validate should have comment or be unexported (golint)
    • Line 210: warning: exported method Level6Arg.Validate should have comment or be unexported (golint)
    • Line 214: warning: exported method StringArg.Convert should have comment or be unexported (golint)
    • Line 218: warning: exported method IntArg.Convert should have comment or be unexported (golint)
    • Line 222: warning: exported method FloatArg.Convert should have comment or be unexported (golint)
    • Line 227: warning: exported method IPArg.Convert should have comment or be unexported (golint)
    • Line 231: warning: exported type Level2 should have comment or be unexported (golint)
    • Line 234: warning: exported type Level3 should have comment or be unexported (golint)
    • Line 237: warning: exported type Level4 should have comment or be unexported (golint)
    • Line 240: warning: exported type Level5 should have comment or be unexported (golint)
    • Line 243: warning: exported type Level6 should have comment or be unexported (golint)
    • Line 247: warning: exported method Level2.DicePathAble should have comment or be unexported (golint)
    • Line 248: warning: exported method Level3.DicePathAble should have comment or be unexported (golint)
    • Line 249: warning: exported method Level4.DicePathAble should have comment or be unexported (golint)
    • Line 250: warning: exported method Level5.DicePathAble should have comment or be unexported (golint)
    • Line 252: warning: exported method Level2Arg.Convert should have comment or be unexported (golint)
    • Line 264: warning: exported method Level3Arg.Convert should have comment or be unexported (golint)
    • Line 279: warning: exported method Level4Arg.Convert should have comment or be unexported (golint)
    • Line 296: warning: exported method Level5Arg.Convert should have comment or be unexported (golint)
    • Line 316: warning: exported method Level6Arg.Convert should have comment or be unexported (golint)
    • Line 340: warning: exported method StringArg.ConvertType should have comment or be unexported (golint)
    • Line 343: warning: exported method IntArg.ConvertType should have comment or be unexported (golint)
    • Line 347: warning: exported method FloatArg.ConvertType should have comment or be unexported (golint)
    • Line 350: warning: exported method IPArg.ConvertType should have comment or be unexported (golint)
    • Line 353: warning: exported method Level2Arg.ConvertType should have comment or be unexported (golint)
    • Line 356: warning: exported method Level3Arg.ConvertType should have comment or be unexported (golint)
    • Line 359: warning: exported method Level4Arg.ConvertType should have comment or be unexported (golint)
    • Line 362: warning: exported method Level5Arg.ConvertType should have comment or be unexported (golint)
    • Line 365: warning: exported method Level6Arg.ConvertType should have comment or be unexported (golint)
    • erda/modules/dop/services/signauth/sign_auth.go
    • Line 33: warning: exported type Signer should have comment or be unexported (golint)
    • Line 39: warning: exported function NewSigner should have comment or be unexported (golint)
    • Line 172: warning: exported type SortedURLValues should have comment or be unexported (golint)
    • Line 177: warning: exported function NewSortedURLValues should have comment or be unexported (golint)
    • Line 189: warning: exported method SortedURLValues.SortedKeyValues should have comment or be unexported (golint)
    • erda/modules/hepa/apipolicy/policies/proxy/policy.go
    • Line 29: warning: exported type Policy should have comment or be unexported (golint)
    • Line 33: warning: exported method Policy.CreateDefaultConfig should have comment or be unexported (golint)
    • Line 49: warning: error should be the last type when returning multiple items (golint)
    • Line 49: warning: exported method Policy.UnmarshalConfig should have comment or be unexported (golint)
    • Line 62: warning: exported method Policy.ParseConfig should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/leftHeadButton/render.go
    • Line 14: warning: don't use MixedCaps in package name; leftHeadButton should be leftheadbutton (golint)
    • Line 58: warning: receiver name a should be consistent with previous receiver name i for ComponentleftHeadButtonModal (golint)
    • Line 77: warning: exported method ComponentleftHeadButtonModal.Render should have comment or be unexported (golint)
    • Line 134: warning: exported method ComponentleftHeadButtonModal.RenderProtocol should have comment or be unexported (golint)
    • Line 168: warning: exported method ComponentleftHeadButtonModal.RenderClickButton should have comment or be unexported (golint)
    • Line 174: warning: exported method ComponentleftHeadButtonModal.Initial should have comment or be unexported (golint)
    • Line 183: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/orchestrator/services/addon/middleware.go
    • Line 43: warning: don't use underscores in Go names; var limited_addonids should be limitedAddonids (golint)
    • Line 82: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 97: warning: don't use underscores in Go names; method parameter limited_addonids should be limitedAddonids (golint)
    • erda/modules/scheduler/executor/plugins/k8s/addon/redis/legacy/redis.go
    • Line 33: warning: exported type RedisOperator should have comment or be unexported (golint)
    • Line 43: warning: exported function New should have comment or be unexported (golint)
    • Line 61: warning: exported method RedisOperator.IsSupported should have comment or be unexported (golint)
    • Line 77: warning: comment on exported method RedisOperator.Validate should be of the form "Validate ..." (golint)
    • Line 114: warning: exported method RedisOperator.Convert should have comment or be unexported (golint)
    • Line 152: warning: exported method RedisOperator.Create should have comment or be unexported (golint)
    • Line 179: warning: exported method RedisOperator.Inspect should have comment or be unexported (golint)
    • Line 237: warning: exported method RedisOperator.Remove should have comment or be unexported (golint)
    • Line 263: warning: exported method RedisOperator.Update should have comment or be unexported (golint)
    • erda/pkg/jsonstore/lru/lru.go
    • Line 28: warning: exported type LruStore should have comment or be unexported (golint)
    • Line 36: warning: exported function New should have comment or be unexported (golint)
    • Line 43: warning: exported method LruStore.Put should have comment or be unexported (golint)
    • Line 73: warning: exported method LruStore.PutWithOption should have comment or be unexported (golint)
    • Line 77: warning: exported method LruStore.Get should have comment or be unexported (golint)
    • Line 92: warning: exported method LruStore.PrefixGet should have comment or be unexported (golint)
    • Line 130: warning: exported method LruStore.Remove should have comment or be unexported (golint)
    • Line 136: warning: exported method LruStore.PrefixRemove should have comment or be unexported (golint)
    • Line 157: warning: exported method LruStore.PrefixGetKey should have comment or be unexported (golint)
    • erda/modules/ecp/services/edge/edge.go
    • Line 32: warning: exported const DeploymentType should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported type Edge should have comment or be unexported (golint)
    • Line 58: warning: exported type Option should have comment or be unexported (golint)
    • Line 60: warning: exported function New should have comment or be unexported (golint)
    • Line 117: warning: exported method Edge.IsContain should have comment or be unexported (golint)
    • erda/apistructs/notify_modal.go
    • Line 16: warning: exported type EditOrCreateModalData should have comment or be unexported (golint)
    • Line 23: warning: exported type InParams should have comment or be unexported (golint)
    • Line 27: warning: exported type NotifyDetailResponse should have comment or be unexported (golint)
    • Line 32: warning: exported type DetailResponse should have comment or be unexported (golint)
    • Line 40: warning: exported type AllTemplatesResponse should have comment or be unexported (golint)
    • Line 45: warning: exported type TemplateRes should have comment or be unexported (golint)
    • erda/apistructs/edge_openapi.go
    • Line 19: warning: exported const EdgeOperationChangePage should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported const EdgeDefaultMatchPattern should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported var EdgeDefaultRegexp should have comment or be unexported (golint)
    • Line 52: warning: exported type EdgeTableProps should have comment or be unexported (golint)
    • Line 58: warning: exported type EdgeKVListProps should have comment or be unexported (golint)
    • Line 65: warning: exported type EdgeKVListTitleProps should have comment or be unexported (golint)
    • Line 71: warning: exported type EdgeColumns should have comment or be unexported (golint)
    • Line 77: warning: exported type EdgeKVListColumns should have comment or be unexported (golint)
    • Line 82: warning: exported type EdgeDrawerProps should have comment or be unexported (golint)
    • Line 87: warning: exported type EdgeOperations should have comment or be unexported (golint)
    • Line 89: warning: exported type EdgeOperation should have comment or be unexported (golint)
    • Line 97: warning: exported type EdgeItemOperations should have comment or be unexported (golint)
    • Line 104: warning: exported type EdgeTextBadge should have comment or be unexported (golint)
    • Line 110: warning: exported type EdgeItemOperation should have comment or be unexported (golint)
    • Line 122: warning: exported type EdgePageState should have comment or be unexported (golint)
    • Line 128: warning: exported type EdgeFormModalProps should have comment or be unexported (golint)
    • Line 135: warning: exported type EdgeFormModalPointProps should have comment or be unexported (golint)
    • Line 143: warning: exported type EdgeFormModalField should have comment or be unexported (golint)
    • Line 160: warning: exported type EdgeFormModalFieldRule should have comment or be unexported (golint)
    • Line 165: warning: exported type EdgeButtonProps should have comment or be unexported (golint)
    • Line 170: warning: exported type EdgeRadioProps should have comment or be unexported (golint)
    • Line 177: warning: exported type EdgeButtonOption should have comment or be unexported (golint)
    • Line 183: warning: exported type EdgeConditions should have comment or be unexported (golint)
    • Line 194: warning: exported type EdgeEventMeta should have comment or be unexported (golint)
    • Line 198: warning: exported type EdgeSiteState should have comment or be unexported (golint)
    • Line 207: warning: exported type EdgeCfgSetState should have comment or be unexported (golint)
    • Line 215: warning: exported type EdgeAppState should have comment or be unexported (golint)
    • Line 224: warning: exported type EdgeRenderingID should have comment or be unexported (golint)
    • Line 228: warning: exported type EdgeViewGroupSelectState should have comment or be unexported (golint)
    • Line 232: warning: exported type EdgeSearchState should have comment or be unexported (golint)
    • Line 236: warning: exported type EdgeJumpCommand should have comment or be unexported (golint)
    • Line 243: warning: exported type EdgeJumpCommandState should have comment or be unexported (golint)
    • Line 251: warning: exported type EdgeSearchCondition should have comment or be unexported (golint)
    • erda/apistructs/issue_property_config.go
    • Line 16: warning: comment on exported type IssuePropertyConfigCreateRequest should be of the form "IssuePropertyConfigCreateRequest ..." (with optional leading article) (golint)
    • Line 29: warning: exported type IssuePropertyConfig should have comment or be unexported (golint)
    • Line 40: warning: comment on exported type IssuePropertyConfigUpdateRequest should be of the form "IssuePropertyConfigUpdateRequest ..." (with optional leading article) (golint)
    • Line 49: warning: comment on exported type IssuePropertyConfigDeleteRequest should be of the form "IssuePropertyConfigDeleteRequest ..." (with optional leading article) (golint)
    • Line 55: warning: comment on exported type IssuePropertyConfigsGetRequest should be of the form "IssuePropertyConfigsGetRequest ..." (with optional leading article) (golint)
    • erda/modules/pipeline/spec/pipeline_old.go
    • Line 22: warning: comment on exported type PipelineOld should be of the form "PipelineOld ..." (with optional leading article) (golint)
    • Line 76: warning: exported method PipelineOld.TableName should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/task.go
    • Line 31: warning: exported const BranchPrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported var TaskQueue should have comment or be unexported (golint)
    • Line 36: warning: exported function StartHookTaskConsumer should have comment or be unexported (golint)
    • Line 80: warning: exported function CreateBuild should have comment or be unexported (golint)
    • erda/modules/hepa/apipolicy/policies/custom/policy.go
    • Line 24: warning: exported type Policy should have comment or be unexported (golint)
    • Line 28: warning: exported method Policy.CreateDefaultConfig should have comment or be unexported (golint)
    • Line 34: warning: error should be the last type when returning multiple items (golint)
    • Line 34: warning: exported method Policy.UnmarshalConfig should have comment or be unexported (golint)
    • Line 47: warning: exported method Policy.ParseConfig should have comment or be unexported (golint)
    • erda/apistructs/cmp_rds.go
    • Line 16: warning: exported type CloudResourceMysqlListAccountRequest should have comment or be unexported (golint)
    • Line 23: warning: exported type CloudResourceMysqlListAccountResponse should have comment or be unexported (golint)
    • Line 28: warning: exported type CloudResourceMysqlListAccountData should have comment or be unexported (golint)
    • Line 32: warning: exported type CloudResourceMysqlListAccountItem should have comment or be unexported (golint)
    • Line 40: warning: exported type CloudResourceMysqlAccountPrivileges should have comment or be unexported (golint)
    • Line 45: warning: exported type CloudResourceMysqlListDatabaseRequest should have comment or be unexported (golint)
    • Line 52: warning: exported type CloudResourceMysqlListDatabaseResponse should have comment or be unexported (golint)
    • Line 57: warning: exported type CloudResourceMysqlListDatabaseData should have comment or be unexported (golint)
    • Line 61: warning: exported type CloudResourceMysqlListDatabaseItem should have comment or be unexported (golint)
    • Line 69: warning: exported type CloudResourceMysqlListDatabaseAccount should have comment or be unexported (golint)
    • erda/apistructs/kms.go
    • Line 20: warning: comment on exported type KMSCreateKeyRequest should be of the form "KMSCreateKeyRequest ..." (with optional leading article) (golint)
    • Line 24: warning: exported type KMSCreateKeyResponse should have comment or be unexported (golint)
    • Line 29: warning: comment on exported type KMSEncryptRequest should be of the form "KMSEncryptRequest ..." (with optional leading article) (golint)
    • Line 33: warning: exported type KMSEncryptResponse should have comment or be unexported (golint)
    • Line 38: warning: comment on exported type KMSDecryptRequest should be of the form "KMSDecryptRequest ..." (with optional leading article) (golint)
    • Line 42: warning: exported type KMSDecryptResponse should have comment or be unexported (golint)
    • Line 47: warning: comment on exported type KMSGenerateDataKeyRequest should be of the form "KMSGenerateDataKeyRequest ..." (with optional leading article) (golint)
    • Line 51: warning: exported type KMSGenerateDataKeyResponse should have comment or be unexported (golint)
    • Line 56: warning: comment on exported type KMSRotateKeyVersionRequest should be of the form "KMSRotateKeyVersionRequest ..." (with optional leading article) (golint)
    • Line 60: warning: exported type KMSRotateKeyVersionResponse should have comment or be unexported (golint)
    • Line 65: warning: comment on exported type KMSDescribeKeyRequest should be of the form "KMSDescribeKeyRequest ..." (with optional leading article) (golint)
    • Line 69: warning: exported type KMSDescribeKeyResponse should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/myProjectList/render.go
    • Line 14: warning: don't use MixedCaps in package name; myProjectList should be myprojectlist (golint)
    • Line 29: warning: exported const DefaultPageNo should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type MyProjectList should have comment or be unexported (golint)
    • Line 42: warning: exported type OperationData should have comment or be unexported (golint)
    • Line 47: warning: exported type Meta should have comment or be unexported (golint)
    • Line 51: warning: exported type PageNo should have comment or be unexported (golint)
    • Line 55: warning: exported type ProItem should have comment or be unexported (golint)
    • Line 64: warning: exported type Data should have comment or be unexported (golint)
    • Line 68: warning: exported type Props should have comment or be unexported (golint)
    • Line 76: warning: exported type Command should have comment or be unexported (golint)
    • Line 82: warning: exported type Operation should have comment or be unexported (golint)
    • Line 101: warning: exported type State should have comment or be unexported (golint)
    • Line 113: warning: exported method MyProjectList.SetCtxBundle should have comment or be unexported (golint)
    • Line 113: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 124: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 143: warning: exported function RenItem should have comment or be unexported (golint)
    • Line 194: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 236: warning: exported method MyProjectList.Render should have comment or be unexported (golint)
    • Line 236: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 332: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/orchestrator/services/deployment/deployment_context.go
    • Line 49: warning: exported type DeployFSMContext should have comment or be unexported (golint)
    • Line 73: warning: comment on exported function NewFSMContext should be of the form "NewFSMContext ..." (golint)
    • Line 91: warning: exported method DeployFSMContext.Load should have comment or be unexported (golint)
    • Line 262: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 491: warning: don't use underscores in Go names; var migrationDiceyml_aux should be migrationDiceymlAux (golint)
    • Line 502: warning: don't use underscores in Go names; var migrationDiceyml_bytes should be migrationDiceymlBytes (golint)
    • Line 601: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 863: warning: don't use underscores in Go names; var from_sexp_env should be fromSexpEnv (golint)
    • Line 994: warning: don't use underscores in Go names; var usedAddonInsMap_ should be usedAddonInsMap (golint)
    • Line 994: warning: don't use underscores in Go names; var usedAddonTenantMap_ should be usedAddonTenantMap (golint)
    • Line 1191: warning: don't use underscores in Go names; var env_trim should be envTrim (golint)
    • Line 1200: warning: don't use underscores in Go names; var result_vars should be resultVars (golint)
    • Line 1235: warning: don't use underscores in Go names; var result_envs should be resultEnvs (golint)
    • Line 1237: warning: don't use underscores in Go names; var exp_s should be expS (golint)
    • Line 1324: warning: don't use underscores in Go names; var replaced_envs should be replacedEnvs (golint)
    • Line 1514: warning: comment on exported method DeployFSMContext.PutHepaService should be of the form "PutHepaService ..." (golint)
    • Line 1600: warning: comment on exported method DeployFSMContext.PrepareCheckProjectResource should be of the form "PrepareCheckProjectResource ..." (golint)
    • Line 1680: warning: exported method DeployFSMContext.ExportLogInfoDetail should have comment or be unexported (golint)
    • erda/modules/core-services/services/security/handler.go
    • Line 26: warning: exported type PermissionHandler should have comment or be unexported (golint)
    • Line 32: warning: exported type InternalUserPermissionHandler should have comment or be unexported (golint)
    • Line 36: warning: exported method InternalUserPermissionHandler.Access should have comment or be unexported (golint)
    • Line 40: warning: exported method InternalUserPermissionHandler.CheckProcess should have comment or be unexported (golint)
    • Line 46: warning: exported method InternalUserPermissionHandler.PermissionListProcess should have comment or be unexported (golint)
    • Line 52: warning: exported type AdminUserPermissionHandler should have comment or be unexported (golint)
    • Line 56: warning: exported method AdminUserPermissionHandler.Access should have comment or be unexported (golint)
    • Line 60: warning: exported method AdminUserPermissionHandler.CheckProcess should have comment or be unexported (golint)
    • Line 66: warning: exported method AdminUserPermissionHandler.PermissionListProcess should have comment or be unexported (golint)
    • Line 83: warning: exported type SupportUserPermissionHandler should have comment or be unexported (golint)
    • Line 87: warning: exported method SupportUserPermissionHandler.Access should have comment or be unexported (golint)
    • Line 91: warning: exported method SupportUserPermissionHandler.CheckProcess should have comment or be unexported (golint)
    • Line 98: warning: exported method SupportUserPermissionHandler.PermissionListProcess should have comment or be unexported (golint)
    • Line 101: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 109: warning: exported type NormalUserPermissionHandler should have comment or be unexported (golint)
    • Line 113: warning: exported method NormalUserPermissionHandler.Access should have comment or be unexported (golint)
    • Line 117: warning: exported method NormalUserPermissionHandler.CheckProcess should have comment or be unexported (golint)
    • Line 120: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 127: warning: exported method NormalUserPermissionHandler.PermissionListProcess should have comment or be unexported (golint)
    • Line 130: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 140: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • erda/modules/core-services/dao/notify.go
    • Line 21: warning: exported method DBClient.CreateNotify should have comment or be unexported (golint)
    • Line 76: warning: exported method DBClient.CheckNotifyNameExist should have comment or be unexported (golint)
    • Line 83: warning: exported method DBClient.UpdateNotifyEnable should have comment or be unexported (golint)
    • Line 87: warning: exported method DBClient.UpdateNotify should have comment or be unexported (golint)
    • Line 147: warning: exported method DBClient.QueryNotifies should have comment or be unexported (golint)
    • Line 199: warning: exported method DBClient.QueryNotifiesBySource should have comment or be unexported (golint)
    • Line 241: warning: exported method DBClient.FuzzyQueryNotifiesBySource should have comment or be unexported (golint)
    • Line 295: warning: exported method DBClient.GetNotifyByGroupID should have comment or be unexported (golint)
    • Line 304: warning: exported method DBClient.GetNotifyDetail should have comment or be unexported (golint)
    • Line 340: warning: exported method DBClient.DeleteNotify should have comment or be unexported (golint)
    • erda/pkg/kms/plugins/dicekms/kms.go
    • Line 47: warning: exported type Dice should have comment or be unexported (golint)
    • Line 51: warning: exported method Dice.Kind should have comment or be unexported (golint)
    • Line 55: warning: exported method Dice.SetStore should have comment or be unexported (golint)
    • Line 59: warning: exported method Dice.CreateKey should have comment or be unexported (golint)
    • Line 108: warning: exported method Dice.DescribeKey should have comment or be unexported (golint)
    • Line 117: warning: exported method Dice.ListKeys should have comment or be unexported (golint)
    • Line 129: warning: exported method Dice.Encrypt should have comment or be unexported (golint)
    • Line 180: warning: exported method Dice.Decrypt should have comment or be unexported (golint)
    • Line 236: warning: exported method Dice.GenerateDataKey should have comment or be unexported (golint)
    • Line 269: warning: exported method Dice.RotateKeyVersion should have comment or be unexported (golint)
    • Line 294: warning: exported method Dice.GetPublicKey should have comment or be unexported (golint)
    • Line 298: warning: exported method Dice.AsymmetricDecrypt should have comment or be unexported (golint)
    • erda/modules/openapi/auth/token.go
    • Line 36: warning: exported const CtxKeyOauth2JwtKeyPayload should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: comment on exported function GetDiceClientToken should be of the form "GetDiceClientToken ..." (golint)
    • Line 61: warning: comment on exported function VerifyUCClientToken should be of the form "VerifyUCClientToken ..." (golint)
    • Line 70: warning: exported function NewUCTokenClient should have comment or be unexported (golint)
    • Line 77: warning: exported function VerifyOpenapiOAuth2Token should have comment or be unexported (golint)
    • Line 93: warning: should not use basic type string as key in context.WithValue (golint)
    • erda/modules/cmp/impl/clusters/upgrade_edge_cluster.go
    • Line 34: warning: exported type Clusters should have comment or be unexported (golint)
    • Line 39: warning: exported function New should have comment or be unexported (golint)
    • Line 43: warning: comment on exported method Clusters.UpgradeEdgeCluster should be of the form "UpgradeEdgeCluster ..." (golint)
    • Line 150: warning: exported method Clusters.BatchUpgradeEdgeCluster should have comment or be unexported (golint)
    • Line 191: warning: exported method Clusters.GetOrgInfo should have comment or be unexported (golint)
    • Line 203: warning: exported method Clusters.ListClusters should have comment or be unexported (golint)
    • Line 270: warning: exported method Clusters.UpdateClusterVersion should have comment or be unexported (golint)
    • Line 299: warning: exported method Clusters.GetOrgClusterInfo should have comment or be unexported (golint)
    • erda/modules/core-services/services/approve/approve.go
    • Line 340: warning: don't use underscores in Go names; var appids_str should be appidsStr (golint)
    • Line 353: warning: don't use underscores in Go names; range var id_s should be idS (golint)
    • Line 372: warning: receiver name c should be consistent with previous receiver name a for Approve (golint)
    • Line 381: warning: receiver name c should be consistent with previous receiver name a for Approve (golint)
    • Line 409: warning: receiver name p should be consistent with previous receiver name a for Approve (golint)
    • erda/modules/eventbox/webhook/http.go
    • Line 33: warning: exported const BadRequestCode should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported type WebHookHTTP should have comment or be unexported (golint)
    • Line 52: warning: exported function NewWebHookHTTP should have comment or be unexported (golint)
    • Line 64: warning: exported method WebHookHTTP.ListHooks should have comment or be unexported (golint)
    • Line 100: warning: comment on exported method WebHookHTTP.InspectHook should be of the form "InspectHook ..." (golint)
    • Line 122: warning: comment on exported method WebHookHTTP.CreateHook should be of the form "CreateHook ..." (golint)
    • Line 152: warning: exported method WebHookHTTP.EditHook should have comment or be unexported (golint)
    • Line 183: warning: exported method WebHookHTTP.PingHook should have comment or be unexported (golint)
    • Line 201: warning: exported method WebHookHTTP.DeleteHook should have comment or be unexported (golint)
    • Line 220: warning: exported type ListHookEventsResponse should have comment or be unexported (golint)
    • Line 222: warning: exported method WebHookHTTP.ListHookEvents should have comment or be unexported (golint)
    • Line 365: warning: exported method WebHookHTTP.GetHTTPEndPoints should have comment or be unexported (golint)
    • erda/modules/monitor/core/metrics/metricq/metricmeta/metric_group.go
    • Line 24: warning: exported type Group should have comment or be unexported (golint)
    • Line 31: warning: exported type Filter should have comment or be unexported (golint)
    • Line 37: warning: exported type GroupMetricMap should have comment or be unexported (golint)
    • Line 45: warning: exported type GroupProvider should have comment or be unexported (golint)
    • Line 71: warning: exported method Manager.MetricGroups should have comment or be unexported (golint)
    • Line 135: warning: exported type GroupDetail should have comment or be unexported (golint)
    • Line 141: warning: exported type GroupMetricMeta should have comment or be unexported (golint)
    • Line 149: warning: exported method Manager.MetricGroup should have comment or be unexported (golint)
    • erda/modules/openapi/validate/http/http.go
    • Line 24: warning: exported var ErrAcceptHeader should have comment or be unexported (golint)
    • Line 30: warning: exported function ValidateRequest should have comment or be unexported (golint)
    • Line 43: warning: exported function ValidateResponse should have comment or be unexported (golint)
    • erda/modules/dop/services/autotest_v2/testplan_v2.go
    • Line 310: warning: comment on exported method Service.MoveTestPlanV2Step should be of the form "MoveTestPlanV2Step ..." (golint)
    • Line 370: warning: comment on exported method Service.GetTestPlanV2Step should be of the form "GetTestPlanV2Step ..." (golint)
    • Line 412: warning: exported method Service.ExecuteDiceAutotestTestPlan should have comment or be unexported (golint)
    • Line 489: warning: exported method Service.GetTestClusterNameBySpaceID should have comment or be unexported (golint)
    • Line 505: warning: exported method Service.CancelDiceAutotestTestPlan should have comment or be unexported (golint)
    • Line 532: warning: exported method Service.BatchQuerySceneSetPipelineSnippetYaml should have comment or be unexported (golint)
    • Line 654: warning: exported method Service.QuerySceneSetPipelineSnippetYaml should have comment or be unexported (golint)
    • Line 726: warning: exported method Service.BatchQueryScenePipelineSnippetYaml should have comment or be unexported (golint)
    • Line 770: warning: exported method Service.QueryScenePipelineSnippetYaml should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_plugin_instance_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayPluginInstanceServiceImpl should have comment or be unexported (golint)
    • Line 30: warning: exported function NewGatewayPluginInstanceServiceImpl should have comment or be unexported (golint)
    • Line 41: warning: exported method GatewayPluginInstanceServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 64: warning: exported method GatewayPluginInstanceServiceImpl.Insert should have comment or be unexported (golint)
    • Line 75: warning: exported method GatewayPluginInstanceServiceImpl.DeleteByRouteId should have comment or be unexported (golint)
    • Line 87: warning: exported method GatewayPluginInstanceServiceImpl.DeleteByApiId should have comment or be unexported (golint)
    • Line 99: warning: exported method GatewayPluginInstanceServiceImpl.DeleteByServiceId should have comment or be unexported (golint)
    • Line 111: warning: exported method GatewayPluginInstanceServiceImpl.DeleteById should have comment or be unexported (golint)
    • Line 123: warning: exported method GatewayPluginInstanceServiceImpl.DeleteByConsumerId should have comment or be unexported (golint)
    • Line 135: warning: exported method GatewayPluginInstanceServiceImpl.Update should have comment or be unexported (golint)
    • Line 146: warning: exported method GatewayPluginInstanceServiceImpl.GetByPluginNameAndApiId should have comment or be unexported (golint)
    • Line 161: warning: exported method GatewayPluginInstanceServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 180: warning: exported method GatewayPluginInstanceServiceImpl.SelectByOnlyApiId should have comment or be unexported (golint)
    • Line 192: warning: exported method GatewayPluginInstanceServiceImpl.SelectByPolicyId should have comment or be unexported (golint)
    • erda/modules/orchestrator/queue/pusher_queue.go
    • Line 26: warning: exported type QueueEnum should have comment or be unexported (golint)
    • Line 29: warning: exported const DEPLOY_CONTINUING should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type PusherQueue should have comment or be unexported (golint)
    • Line 37: warning: exported function NewPusherQueue should have comment or be unexported (golint)
    • Line 48: warning: exported method PusherQueue.Push should have comment or be unexported (golint)
    • Line 61: warning: exported method PusherQueue.Pop should have comment or be unexported (golint)
    • Line 65: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 72: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 81: warning: exported method PusherQueue.List should have comment or be unexported (golint)
    • Line 85: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 90: warning: exported method PusherQueue.Lock should have comment or be unexported (golint)
    • Line 104: warning: exported method PusherQueue.Unlock should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-plan-detail/components/stages/model.go
    • Line 21: warning: exported type ComponentStageForm should have comment or be unexported (golint)
    • Line 27: warning: exported type CommonStageForm should have comment or be unexported (golint)
    • Line 38: warning: exported type Data should have comment or be unexported (golint)
    • Line 43: warning: exported type StageData should have comment or be unexported (golint)
    • Line 50: warning: exported type InParams should have comment or be unexported (golint)
    • Line 55: warning: exported type DragParams should have comment or be unexported (golint)
    • Line 61: warning: exported type State should have comment or be unexported (golint)
    • Line 70: warning: exported type OperationBaseInfo should have comment or be unexported (golint)
    • Line 86: warning: exported type OpMetaData should have comment or be unexported (golint)
    • Line 94: warning: exported type OpMetaInfo should have comment or be unexported (golint)
    • Line 99: warning: exported type OperationInfo should have comment or be unexported (golint)
    • Line 104: warning: exported type CreateOperation should have comment or be unexported (golint)
    • Line 105: warning: exported type OnChangeOperation should have comment or be unexported (golint)
    • erda/apistructs/notify.go
    • Line 22: warning: exported type NotifyChannel should have comment or be unexported (golint)
    • Line 160: warning: comment on exported type NotifyPageRequest should be of the form "NotifyPageRequest ..." (with optional leading article) (golint)
    • Line 168: warning: exported type NotifyListResponse should have comment or be unexported (golint)
    • Line 173: warning: exported type NotifyListBody should have comment or be unexported (golint)
    • Line 177: warning: exported type DataItem should have comment or be unexported (golint)
    • Line 189: warning: exported type Value should have comment or be unexported (golint)
    • Line 194: warning: exported type ValueValue should have comment or be unexported (golint)
    • Line 199: warning: exported type SwitchOperation should have comment or be unexported (golint)
    • Line 203: warning: exported type SwitchOperationData should have comment or be unexported (golint)
    • Line 208: warning: exported type AllGroupResponse should have comment or be unexported (golint)
    • Line 213: warning: exported type AllGroups should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8s/pod/pod.go
    • Line 88: warning: exported method Pod.Delete should have comment or be unexported (golint)
    • Line 113: warning: exported method Pod.WatchAllNamespace should have comment or be unexported (golint)
    • Line 204: warning: exported method Pod.LimitedListAllNamespace should have comment or be unexported (golint)
    • Line 233: warning: exported method Pod.ListAllNamespace should have comment or be unexported (golint)
    • Line 283: warning: exported method Pod.ListNamespacePods should have comment or be unexported (golint)
    • Line 302: warning: exported type UnreadyReason should have comment or be unexported (golint)
    • Line 305: warning: exported const None should have comment (or a comment on this block) or be unexported (golint)
    • Line 313: warning: exported method Pod.UnreadyPodReason should have comment or be unexported (golint)
    • Line 367: warning: exported type PodStatus should have comment or be unexported (golint)
    • Line 372: warning: exported method Pod.GetNamespacedPodsStatus should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/myOrganization/render.go
    • Line 14: warning: don't use MixedCaps in package name; myOrganization should be myorganization (golint)
    • Line 26: warning: exported type MyOrganization should have comment or be unexported (golint)
    • Line 32: warning: exported type Props should have comment or be unexported (golint)
    • Line 37: warning: exported method MyOrganization.SetCtxBundle should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported method MyOrganization.Render should have comment or be unexported (golint)
    • Line 61: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/org-list-all/components/list/model.go
    • Line 20: warning: exported type ComponentList should have comment or be unexported (golint)
    • Line 28: warning: exported type State should have comment or be unexported (golint)
    • Line 36: warning: exported type Org should have comment or be unexported (golint)
    • Line 45: warning: exported type ExtraInfo should have comment or be unexported (golint)
    • Line 51: warning: exported type Option should have comment or be unexported (golint)
    • Line 56: warning: exported type OperationBase should have comment or be unexported (golint)
    • Line 61: warning: exported type ClickOperation should have comment or be unexported (golint)
    • Line 68: warning: exported type ManageOperation should have comment or be unexported (golint)
    • Line 75: warning: exported type ExitOperation should have comment or be unexported (golint)
    • Line 83: warning: exported type Meta should have comment or be unexported (golint)
    • Line 87: warning: exported type Command should have comment or be unexported (golint)
    • Line 94: warning: exported type CommandState should have comment or be unexported (golint)
    • Line 98: warning: exported type Params should have comment or be unexported (golint)
    • Line 102: warning: exported type Props should have comment or be unexported (golint)
    • erda/modules/pipeline/dbclient/dbclient.go
    • Line 22: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 28: warning: exported type Client should have comment or be unexported (golint)
    • Line 32: warning: exported type Session should have comment or be unexported (golint)
    • Line 39: warning: exported method Client.NewSession should have comment or be unexported (golint)
    • Line 57: warning: exported method Session.Close should have comment or be unexported (golint)
    • Line 64: warning: exported type SessionOption should have comment or be unexported (golint)
    • Line 74: warning: exported function WithAllowZeroAffectedRows should have comment or be unexported (golint)
    • Line 79: warning: exported function WithTxSession should have comment or be unexported (golint)
    • Line 86: warning: exported var ErrZeroAffectedRows should have comment or be unexported (golint)
    • Line 90: warning: exported function New should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/keywords_linter.go
    • Line 181: warning: exported type KeywordsLinter should have comment or be unexported (golint)
    • Line 185: warning: exported function NewKeywordsLinter should have comment or be unexported (golint)
    • Line 189: warning: exported method KeywordsLinter.Enter should have comment or be unexported (golint)
    • Line 228: warning: exported method KeywordsLinter.Leave should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/ons/list.go
    • Line 26: warning: exported type InstanceOns should have comment or be unexported (golint)
    • Line 31: warning: exported function GetInstanceType should have comment or be unexported (golint)
    • Line 42: warning: exported function GetInstanceStatus should have comment or be unexported (golint)
    • Line 57: warning: exported function GetMsgType should have comment or be unexported (golint)
    • Line 74: warning: exported function List should have comment or be unexported (golint)
    • Line 90: warning: exported function DescribeResource should have comment or be unexported (golint)
    • Line 113: warning: exported function DescribeTopic should have comment or be unexported (golint)
    • Line 134: warning: exported function DescribeGroup should have comment or be unexported (golint)
    • Line 160: warning: exported function Classify should have comment or be unexported (golint)
    • erda/apistructs/elf.go
    • Line 22: warning: exported type ElfMetadata should have comment or be unexported (golint)
    • Line 35: warning: exported type ListMetadata should have comment or be unexported (golint)
    • Line 39: warning: exported type Notebook should have comment or be unexported (golint)
    • Line 45: warning: exported type NotebookSpec should have comment or be unexported (golint)
    • Line 59: warning: exported type NotebookStatus should have comment or be unexported (golint)
    • Line 64: warning: exported type ElfResource should have comment or be unexported (golint)
    • Line 69: warning: exported type NotebookResponse should have comment or be unexported (golint)
    • Line 74: warning: exported type NotebookListResponse should have comment or be unexported (golint)
    • Line 79: warning: exported type NoteBookList should have comment or be unexported (golint)
    • Line 84: warning: exported type NoteBookListSpec should have comment or be unexported (golint)
    • Line 88: warning: exported type EnvironmentListResponse should have comment or be unexported (golint)
    • Line 93: warning: exported type EnvironmentList should have comment or be unexported (golint)
    • Line 98: warning: exported type EnvironmentListSpec should have comment or be unexported (golint)
    • Line 102: warning: exported type Environment should have comment or be unexported (golint)
    • Line 107: warning: exported type EnvironmentSpec should have comment or be unexported (golint)
    • Line 115: warning: exported type EnvironmentResponse should have comment or be unexported (golint)
    • Line 120: warning: exported type Require should have comment or be unexported (golint)
    • Line 125: warning: exported type Package should have comment or be unexported (golint)
    • Line 130: warning: exported type DependencyPackageTypeResponse should have comment or be unexported (golint)
    • Line 135: warning: exported type DependencyPackageListResponse should have comment or be unexported (golint)
    • Line 140: warning: exported type DependencyPackageList should have comment or be unexported (golint)
    • Line 145: warning: exported type DependencyPackageSpec should have comment or be unexported (golint)
    • Line 149: warning: exported type DependencyPackageType should have comment or be unexported (golint)
    • Line 154: warning: exported type DependencyPackageTypeItem should have comment or be unexported (golint)
    • erda/modules/monitor/utils/convert.go
    • Line 23: warning: exported const StringType should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported function TypeOf should have comment or be unexported (golint)
    • Line 57: warning: exported function ConvertDataType should have comment or be unexported (golint)
    • Line 79: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 91: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 101: warning: exported function ConvertStructToMap should have comment or be unexported (golint)
    • Line 112: warning: exported function ConvertArrToMap should have comment or be unexported (golint)
    • Line 120: warning: exported function ConvertStringArrToInterfaceArr should have comment or be unexported (golint)
    • Line 128: warning: exported function ConvertString should have comment or be unexported (golint)
    • Line 152: warning: exported function ConvertBool should have comment or be unexported (golint)
    • Line 162: warning: exported function ConvertInt64 should have comment or be unexported (golint)
    • Line 192: warning: exported function ConvertUint64 should have comment or be unexported (golint)
    • Line 222: warning: exported function ConvertFloat64 should have comment or be unexported (golint)
    • erda/apistructs/iteration.go
    • Line 18: warning: exported const UnassignedIterationID should have comment or be unexported (golint)
    • Line 47: warning: exported const IterationStateFiled should have comment (or a comment on this block) or be unexported (golint)
    • Line 73: warning: exported type IterationPagingRequest should have comment or be unexported (golint)
    • Line 88: warning: exported type IterationPagingResponse should have comment or be unexported (golint)
    • Line 94: warning: exported type IterationPagingResponseData should have comment or be unexported (golint)
    • Line 106: warning: exported type Iteration should have comment or be unexported (golint)
    • Line 127: warning: exported type ISummaryState should have comment or be unexported (golint)
    • erda/modules/eventbox/constant/constant.go
    • Line 21: warning: exported var EventboxDir should have comment or be unexported (golint)
    • Line 24: warning: comment on exported var ScheMonJobLockKey should be of the form "ScheMonJobLockKey ..." (golint)
    • Line 32: warning: comment on exported var RegisterDir should be of the form "RegisterDir ..." (golint)
    • Line 36: warning: comment on exported var WebhookLabelKey should be of the form "WebhookLabelKey ..." (golint)
    • erda/pkg/parser/pipelineyml/visitor_stage.go
    • Line 31: warning: exported type StageVisitor should have comment or be unexported (golint)
    • Line 35: warning: exported function NewStageVisitor should have comment or be unexported (golint)
    • Line 41: warning: exported method StageVisitor.Visit should have comment or be unexported (golint)
    • Line 219: warning: exported function GetAction should have comment or be unexported (golint)
    • Line 227: warning: exported function ListAction should have comment or be unexported (golint)
    • erda/pkg/swagger/oas3/marshal.go
    • Line 24: warning: exported function MarshalJson should have comment or be unexported (golint)
    • Line 28: warning: exported function MarshalJsonIndent should have comment or be unexported (golint)
    • Line 32: warning: exported function MarshalYaml should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/dto/register_dto.go
    • Line 22: warning: exported type RegisterDto should have comment or be unexported (golint)
    • Line 36: warning: exported method RegisterDto.CheckValid should have comment or be unexported (golint)
    • Line 43: warning: exported type RegisterRespDto should have comment or be unexported (golint)
    • Line 47: warning: exported type RegisterStatusDto should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/inParamsForm/model.go
    • Line 14: warning: don't use MixedCaps in package name; inParamsForm should be inparamsform (golint)
    • Line 21: warning: exported type ComponentInParamsForm should have comment or be unexported (golint)
    • Line 27: warning: exported type CommonInParamsForm should have comment or be unexported (golint)
    • Line 38: warning: exported type Data should have comment or be unexported (golint)
    • Line 42: warning: exported type ParamData should have comment or be unexported (golint)
    • Line 51: warning: exported type InParams should have comment or be unexported (golint)
    • Line 56: warning: exported type PropColumn should have comment or be unexported (golint)
    • Line 65: warning: exported type PropRender should have comment or be unexported (golint)
    • Line 76: warning: exported type PropRenderProp should have comment or be unexported (golint)
    • Line 82: warning: exported type PropRenderRule should have comment or be unexported (golint)
    • Line 87: warning: exported type PropChangeOption should have comment or be unexported (golint)
    • Line 95: warning: exported method PropChangeOption.FindValue should have comment or be unexported (golint)
    • Line 108: warning: exported type PropsKey should have comment or be unexported (golint)
    • Line 111: warning: exported const PropsKeyParamsName should have comment (or a comment on this block) or be unexported (golint)
    • Line 117: warning: exported type OptionValue should have comment or be unexported (golint)
    • Line 124: warning: exported const BeforeSceneOutPutOptionValue should have comment (or a comment on this block) or be unexported (golint)
    • Line 135: warning: exported type State should have comment or be unexported (golint)
    • Line 142: warning: exported type OperationBaseInfo should have comment or be unexported (golint)
    • Line 156: warning: exported type OpMetaInfo should have comment or be unexported (golint)
    • Line 161: warning: exported type OperationInfo should have comment or be unexported (golint)
    • Line 166: warning: exported type DeleteOperation should have comment or be unexported (golint)
    • Line 167: warning: exported type OnSelectOperation should have comment or be unexported (golint)
    • erda/apistructs/qa.go
    • Line 26: warning: exported type ApiTestStatus should have comment or be unexported (golint)
    • Line 44: warning: exported type APITestEnvType should have comment or be unexported (golint)
    • Line 52: warning: exported type SonarStoreRequest should have comment or be unexported (golint)
    • Line 72: warning: exported type TextRange should have comment or be unexported (golint)
    • Line 79: warning: exported type TestIssues should have comment or be unexported (golint)
    • Line 92: warning: exported type TestIssuesTree should have comment or be unexported (golint)
    • Line 101: warning: exported type TestMeasures should have comment or be unexported (golint)
    • Line 106: warning: exported type TestIssuesStatistics should have comment or be unexported (golint)
    • Line 121: warning: exported type CodeQualityRatingLevel should have comment or be unexported (golint)
    • Line 124: warning: exported var CodeQualityRatingLevelA should have comment or be unexported (golint)
    • Line 132: warning: exported type TestIssueStatisticsRating should have comment or be unexported (golint)
    • Line 138: warning: exported type SonarStoreResponse should have comment or be unexported (golint)
    • Line 143: warning: exported type TestStatus should have comment or be unexported (golint)
    • Line 145: warning: comment on exported type TestTotals should be of the form "TestTotals ..." (with optional leading article) (golint)
    • Line 153: warning: comment on exported type TestSuite should be of the form "TestSuite ..." (with optional leading article) (golint)
    • Line 193: warning: exported type TestError should have comment or be unexported (golint)
    • Line 199: warning: exported type TestType should have comment or be unexported (golint)
    • Line 201: warning: exported type TestTypesResponse should have comment or be unexported (golint)
    • Line 206: warning: exported type TestRecordPagingRequest should have comment or be unexported (golint)
    • Line 212: warning: exported type TestRecordsResponse should have comment or be unexported (golint)
    • Line 217: warning: exported type TestDetailRecordResponse should have comment or be unexported (golint)
    • Line 222: warning: exported type TestCallBackResponse should have comment or be unexported (golint)
    • Line 227: warning: exported type TestResults should have comment or be unexported (golint)
    • Line 246: warning: exported type TestCallBackRequest should have comment or be unexported (golint)
    • Line 254: warning: exported type SonarIssueResponse should have comment or be unexported (golint)
    • Line 270: warning: comment on exported type ApiTestsGetResponse should be of the form "ApiTestsGetResponse ..." (with optional leading article) (golint)
    • Line 368: warning: comment on exported type APITestEnvGetResponse should be of the form "APITestEnvGetResponse ..." (with optional leading article) (golint)
    • Line 397: warning: comment on exported type QaBuildCreateResponse should be of the form "QaBuildCreateResponse ..." (with optional leading article) (golint)
    • Line 403: warning: comment on exported type QaBuildCreateResponseData should be of the form "QaBuildCreateResponseData ..." (with optional leading article) (golint)
    • Line 409: warning: comment on exported type SonarCredentialGetResponse should be of the form "SonarCredentialGetResponse ..." (with optional leading article) (golint)
    • erda/modules/orchestrator/dbclient/domain.go
    • Line 16: warning: exported method DBClient.GetDefaultDomainOrCreate should have comment or be unexported (golint)
    • Line 41: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 46: warning: exported method DBClient.FindDomainsByRuntimeIdAndServiceName should have comment or be unexported (golint)
    • Line 56: warning: exported method DBClient.FindDomainsByRuntimeId should have comment or be unexported (golint)
    • Line 66: warning: exported method DBClient.FindDomains should have comment or be unexported (golint)
    • Line 76: warning: exported method DBClient.DeleteDomainsByRuntimeId should have comment or be unexported (golint)
    • Line 85: warning: exported method DBClient.SaveDomain should have comment or be unexported (golint)
    • Line 89: warning: exported method DBClient.DeleteDomain should have comment or be unexported (golint)
    • erda/pkg/qaparser/testngxml/models.go
    • Line 24: warning: exported type NgStatus should have comment or be unexported (golint)
    • Line 27: warning: exported const NgPassed should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported method NgStatus.ToStatus should have comment or be unexported (golint)
    • Line 52: warning: exported type NgTestResult should have comment or be unexported (golint)
    • Line 62: warning: exported type Suite should have comment or be unexported (golint)
    • Line 71: warning: exported type Test should have comment or be unexported (golint)
    • Line 79: warning: exported type Class should have comment or be unexported (golint)
    • Line 84: warning: exported type TestMethod should have comment or be unexported (golint)
    • Line 98: warning: exported type ReporterOutput should have comment or be unexported (golint)
    • Line 102: warning: exported type Param should have comment or be unexported (golint)
    • Line 107: warning: exported type Exception should have comment or be unexported (golint)
    • Line 113: warning: exported function New should have comment or be unexported (golint)
    • Line 124: warning: exported function NewSuite should have comment or be unexported (golint)
    • Line 134: warning: exported function NewTest should have comment or be unexported (golint)
    • Line 144: warning: exported function NewClass should have comment or be unexported (golint)
    • Line 151: warning: exported function NewTestMethod should have comment or be unexported (golint)
    • Line 165: warning: exported function NewParam should have comment or be unexported (golint)
    • Line 169: warning: exported function NewReporterOutput should have comment or be unexported (golint)
    • Line 175: warning: exported function NewException should have comment or be unexported (golint)
    • Line 209: warning: comment on exported method NgTestResult.Transfer should be of the form "Transfer ..." (golint)
    • erda/apistructs/issue_stage.go
    • Line 16: warning: exported type IssueStageRequest should have comment or be unexported (golint)
    • Line 23: warning: exported type IssueStage should have comment or be unexported (golint)
    • Line 29: warning: exported type IssueStageResponse should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_az_info_service.go
    • Line 25: warning: should not use dot imports (golint)
    • Line 30: warning: exported type AdminProjectDto should have comment or be unexported (golint)
    • Line 35: warning: exported type AdminRespDto should have comment or be unexported (golint)
    • Line 41: warning: exported const CT_K8S should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: exported type ClusterRespDto should have comment or be unexported (golint)
    • Line 51: warning: exported type ClusterInfoDto should have comment or be unexported (golint)
    • Line 58: warning: exported type GatewayAzInfoServiceImpl should have comment or be unexported (golint)
    • Line 62: warning: exported function NewGatewayAzInfoServiceImpl should have comment or be unexported (golint)
    • Line 70: warning: exported method GatewayAzInfoServiceImpl.GetAz should have comment or be unexported (golint)
    • Line 78: warning: exported method GatewayAzInfoServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 90: warning: exported method GatewayAzInfoServiceImpl.SelectValidAz should have comment or be unexported (golint)
    • Line 122: warning: exported method GatewayAzInfoServiceImpl.GetAzInfoByClusterName should have comment or be unexported (golint)
    • Line 145: warning: exported method GatewayAzInfoServiceImpl.GetAzInfo should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_global_service.go
    • Line 28: warning: should not use dot imports (golint)
    • Line 39: warning: exported type GatewayGlobalServiceImpl should have comment or be unexported (golint)
    • Line 48: warning: exported function NewGatewayGlobalServiceImpl should have comment or be unexported (golint)
    • Line 146: warning: exported method GatewayGlobalServiceImpl.GetDiceHealth should have comment or be unexported (golint)
    • Line 150: warning: exported method GatewayGlobalServiceImpl.GetOrgId should have comment or be unexported (golint)
    • Line 166: warning: exported method GatewayGlobalServiceImpl.GetClusterUIType should have comment or be unexported (golint)
    • Line 187: warning: exported method GatewayGlobalServiceImpl.GenerateEndpoint should have comment or be unexported (golint)
    • Line 218: warning: exported method GatewayGlobalServiceImpl.GetServiceAddr should have comment or be unexported (golint)
    • Line 226: warning: exported method GatewayGlobalServiceImpl.GenerateDefaultPath should have comment or be unexported (golint)
    • Line 237: warning: exported method GatewayGlobalServiceImpl.GetProjectNameFromCmdb should have comment or be unexported (golint)
    • Line 249: warning: exported method GatewayGlobalServiceImpl.GetClustersByOrg should have comment or be unexported (golint)
    • Line 265: warning: exported method GatewayGlobalServiceImpl.GetProjectName should have comment or be unexported (golint)
    • Line 295: warning: exported method GatewayGlobalServiceImpl.GenTenantGroup should have comment or be unexported (golint)
    • Line 299: warning: exported method GatewayGlobalServiceImpl.GetTenantGroup should have comment or be unexported (golint)
    • Line 329: warning: exported method GatewayGlobalServiceImpl.CreateTenant should have comment or be unexported (golint)
    • Line 434: warning: exported method GatewayGlobalServiceImpl.GetRuntimeServicePrefix should have comment or be unexported (golint)
    • Line 438: warning: exported method GatewayGlobalServiceImpl.GetGatewayFeatures should have comment or be unexported (golint)
    • erda/modules/dop/services/sceneset/sceneset.go
    • Line 32: warning: exported method Service.CreateSceneSet should have comment or be unexported (golint)
    • Line 79: warning: exported method Service.GetSceneSetsBySpaceID should have comment or be unexported (golint)
    • Line 107: warning: exported method Service.UpdateSceneSet should have comment or be unexported (golint)
    • Line 144: warning: exported method Service.GetSceneSet should have comment or be unexported (golint)
    • Line 152: warning: exported method Service.DeleteSceneSet should have comment or be unexported (golint)
    • Line 178: warning: exported method Service.DragSceneSet should have comment or be unexported (golint)
    • Line 185: warning: exported method Service.CopySceneSet should have comment or be unexported (golint)
    • erda/pkg/database/sqlparser/snapshot/snapshot.go
    • Line 25: warning: exported type Snapshot should have comment or be unexported (golint)
    • Line 29: warning: exported function From should have comment or be unexported (golint)
    • Line 86: warning: exported method Snapshot.DDLNodes should have comment or be unexported (golint)
    • Line 94: warning: exported method Snapshot.HasAnyTable should have comment or be unexported (golint)
    • Line 98: warning: exported method Snapshot.TableNames should have comment or be unexported (golint)
    • Line 106: warning: exported method Snapshot.RecoverTo should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/kubernetes/secret.go
    • Line 30: warning: exported type SecretList should have comment or be unexported (golint)
    • Line 35: warning: exported method Endpoints.SecretRouters should have comment or be unexported (golint)
    • Line 65: warning: exported method Endpoints.ListSecret should have comment or be unexported (golint)
    • Line 112: warning: exported method Endpoints.GetSecret should have comment or be unexported (golint)
    • Line 145: warning: exported method Endpoints.CreateSecret should have comment or be unexported (golint)
    • Line 179: warning: exported method Endpoints.UpdateSecret should have comment or be unexported (golint)
    • Line 224: warning: exported method Endpoints.DeleteSecret should have comment or be unexported (golint)
    • erda/bundle/autotest_scene_input.go
    • Line 25: warning: exported method Bundle.ListAutoTestSceneInput should have comment or be unexported (golint)
    • Line 46: warning: exported method Bundle.UpdateAutoTestSceneInputs should have comment or be unexported (golint)
    • Line 67: warning: exported method Bundle.DeleteAutoTestSceneInput should have comment or be unexported (golint)
    • Line 87: warning: exported method Bundle.CreateAutoTestSceneInput should have comment or be unexported (golint)
    • erda/modules/scheduler/task/task.go
    • Line 28: warning: exported type Action should have comment or be unexported (golint)
    • Line 31: warning: exported const TaskCreate should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: error var BadSpec should have name of the form ErrFoo (golint)
    • Line 45: warning: exported var BadSpec should have comment or be unexported (golint)
    • Line 48: warning: exported type TaskRequest should have comment or be unexported (golint)
    • Line 56: warning: exported type TaskResponse should have comment or be unexported (golint)
    • Line 62: warning: exported method TaskResponse.Err should have comment or be unexported (golint)
    • Line 66: warning: exported method TaskResponse.Status should have comment or be unexported (golint)
    • Line 70: warning: exported type Result should have comment or be unexported (golint)
    • Line 74: warning: exported type Task should have comment or be unexported (golint)
    • Line 82: warning: exported method Task.Wait should have comment or be unexported (golint)
    • Line 93: warning: exported method Task.Run should have comment or be unexported (golint)
    • erda/modules/dop/services/org/nexus.go
    • Line 24: warning: exported method Org.EnsureNexusOrgGroupRepos should have comment or be unexported (golint)
    • Line 46: warning: exported method Org.GetOrgLevelNexus should have comment or be unexported (golint)
    • Line 85: warning: exported method Org.ShowOrgNexusPassword should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_openapi_consumer_service.go
    • Line 28: warning: should not use dot imports (golint)
    • Line 45: warning: exported type GatewayOpenapiConsumerServiceImpl should have comment or be unexported (golint)
    • Line 57: warning: exported function NewGatewayOpenapiConsumerServiceImpl should have comment or be unexported (golint)
    • Line 78: warning: exported method GatewayOpenapiConsumerServiceImpl.GetKongConsumerName should have comment or be unexported (golint)
    • Line 135: warning: exported method GatewayOpenapiConsumerServiceImpl.CreateClientConsumer should have comment or be unexported (golint)
    • Line 213: warning: exported method GatewayOpenapiConsumerServiceImpl.CreateConsumer should have comment or be unexported (golint)
    • Line 355: warning: exported method GatewayOpenapiConsumerServiceImpl.GetConsumers should have comment or be unexported (golint)
    • Line 404: warning: exported method GatewayOpenapiConsumerServiceImpl.GetConsumersName should have comment or be unexported (golint)
    • Line 444: warning: exported method GatewayOpenapiConsumerServiceImpl.UpdateConsumer should have comment or be unexported (golint)
    • Line 469: warning: exported method GatewayOpenapiConsumerServiceImpl.DeleteConsumer should have comment or be unexported (golint)
    • Line 548: warning: exported method GatewayOpenapiConsumerServiceImpl.GetConsumerCredentials should have comment or be unexported (golint)
    • Line 609: warning: exported method GatewayOpenapiConsumerServiceImpl.UpdateConsumerCredentials should have comment or be unexported (golint)
    • Line 777: warning: exported method GatewayOpenapiConsumerServiceImpl.GetPackageApiAcls should have comment or be unexported (golint)
    • Line 878: warning: exported method GatewayOpenapiConsumerServiceImpl.GetPackageAcls should have comment or be unexported (golint)
    • Line 953: warning: exported method GatewayOpenapiConsumerServiceImpl.UpdatePackageApiAcls should have comment or be unexported (golint)
    • Line 1265: warning: exported method GatewayOpenapiConsumerServiceImpl.UpdatePackageAcls should have comment or be unexported (golint)
    • Line 1353: warning: exported method GatewayOpenapiConsumerServiceImpl.GetConsumerAcls should have comment or be unexported (golint)
    • Line 1449: warning: exported method GatewayOpenapiConsumerServiceImpl.GrantPackageToConsumer should have comment or be unexported (golint)
    • Line 1488: warning: exported method GatewayOpenapiConsumerServiceImpl.RevokePackageFromConsumer should have comment or be unexported (golint)
    • Line 1528: warning: exported method GatewayOpenapiConsumerServiceImpl.UpdateConsumerAcls should have comment or be unexported (golint)
    • Line 1616: warning: exported method GatewayOpenapiConsumerServiceImpl.GetConsumersOfPackage should have comment or be unexported (golint)
    • Line 1632: warning: exported method GatewayOpenapiConsumerServiceImpl.GetConsumersOfPackageApi should have comment or be unexported (golint)
    • Line 1657: warning: comment on exported method GatewayOpenapiConsumerServiceImpl.GetCloudapiAppCredential should be of the form "GetCloudapiAppCredential ..." (golint)
    • Line 1698: warning: comment on exported method GatewayOpenapiConsumerServiceImpl.SetCloudapiAppCredential should be of the form "SetCloudapiAppCredential ..." (golint)
    • Line 1793: warning: comment on exported method GatewayOpenapiConsumerServiceImpl.DeleteCloudapiAppCredential should be of the form "DeleteCloudapiAppCredential ..." (golint)
    • erda/pkg/nexus/content_selector.go
    • Line 21: warning: exported type ContentSelector should have comment or be unexported (golint)
    • Line 28: warning: exported type ContentSelectorListRequest should have comment or be unexported (golint)
    • Line 31: warning: exported type ContentSelectorCreateRequest should have comment or be unexported (golint)
    • Line 42: warning: exported type ContentSelectorGetRequest should have comment or be unexported (golint)
    • Line 45: warning: exported type ContentSelectorUpdateRequest should have comment or be unexported (golint)
    • Line 50: warning: exported type ContentSelectorDeleteRequest should have comment or be unexported (golint)
    • Line 58: warning: exported method Nexus.ContentSelectorListRequest should have comment or be unexported (golint)
    • Line 78: warning: exported method Nexus.ContentSelectorCreateRequest should have comment or be unexported (golint)
    • Line 94: warning: exported method Nexus.ContentSelectorGetRequest should have comment or be unexported (golint)
    • Line 114: warning: exported method Nexus.UpdateContentSelector should have comment or be unexported (golint)
    • Line 130: warning: exported method Nexus.DeleteContentSelector should have comment or be unexported (golint)
    • erda/modules/action-runner-scheduler/services/runnertask/runner_task.go
    • Line 26: warning: exported type RunnerTask should have comment or be unexported (golint)
    • Line 57: warning: exported method RunnerTask.CreateRunnerTask should have comment or be unexported (golint)
    • Line 61: warning: exported method RunnerTask.GetRunnerTask should have comment or be unexported (golint)
    • Line 69: warning: exported method RunnerTask.UpdateRunnerTask should have comment or be unexported (golint)
    • Line 82: warning: exported method RunnerTask.FetchRunnerTask should have comment or be unexported (golint)
    • erda/modules/cmdb/model/notify_item.go
    • Line 18: warning: exported type NotifyItem should have comment or be unexported (golint)
    • Line 37: warning: exported method NotifyItem.TableName should have comment or be unexported (golint)
    • Line 41: warning: exported method NotifyItem.ToApiData should have comment or be unexported (golint)
    • erda/bundle/events.go
    • Line 87: warning: exported method Bundle.CreateMboxNotify should have comment or be unexported (golint)
    • Line 124: warning: exported method Bundle.CreateEmailNotify should have comment or be unexported (golint)
    • Line 164: warning: exported method Bundle.CreateGroupNotifyEvent should have comment or be unexported (golint)
    • Line 252: warning: exported method Bundle.CreateWebhook should have comment or be unexported (golint)
    • erda/modules/gittar/pkg/gitmodule/repo_tag.go
    • Line 24: warning: exported const TAG_PREFIX should have comment or be unexported (golint)
    • Line 31: warning: exported method Repository.IsTagExist should have comment or be unexported (golint)
    • Line 138: warning: exported method Repository.GetDetailTags should have comment or be unexported (golint)
    • Line 162: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • erda/modules/openapi/component-protocol/scenarios/org-list-my/components/list/model.go
    • Line 20: warning: exported type ComponentList should have comment or be unexported (golint)
    • Line 28: warning: exported type State should have comment or be unexported (golint)
    • Line 37: warning: exported type Org should have comment or be unexported (golint)
    • Line 46: warning: exported type ExtraInfo should have comment or be unexported (golint)
    • Line 52: warning: exported type Option should have comment or be unexported (golint)
    • Line 57: warning: exported type OperationBase should have comment or be unexported (golint)
    • Line 62: warning: exported type ClickOperation should have comment or be unexported (golint)
    • Line 69: warning: exported type ManageOperation should have comment or be unexported (golint)
    • Line 76: warning: exported type ExitOperation should have comment or be unexported (golint)
    • Line 84: warning: exported type Meta should have comment or be unexported (golint)
    • Line 88: warning: exported type Command should have comment or be unexported (golint)
    • Line 93: warning: exported type Props should have comment or be unexported (golint)
    • erda/conf/resources.go
    • Line 16: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 19: warning: comment on exported var OpenAPINGDefaultConfig should be of the form "OpenAPINGDefaultConfig ..." (golint)
    • Line 21: warning: exported var OpenAPINGConfigFilePath should have comment or be unexported (golint)
    • Line 23: warning: comment on exported var OpenAPIDefaultConfig should be of the form "OpenAPIDefaultConfig ..." (golint)
    • erda/modules/hepa/kong/dto/kong_plugin_req_dto.go
    • Line 18: warning: exported type KongPluginReqDto should have comment or be unexported (golint)
    • Line 40: warning: comment on exported method KongPluginReqDto.IsEmpty should be of the form "IsEmpty ..." (golint)
    • Line 47: warning: comment on exported method KongPluginReqDto.ToV2 should be of the form "ToV2 ..." (golint)
    • erda/bundle/gittar.go
    • Line 194: warning: exported method Bundle.GetGittarHost should have comment or be unexported (golint)
    • Line 252: warning: comment on exported method Bundle.CreateGittarCommitV2 should be of the form "CreateGittarCommitV2 ..." (golint)
    • Line 368: warning: comment on exported method Bundle.GetGittarTreeNode should be of the form "GetGittarTreeNode ..." (golint)
    • Line 399: warning: comment on exported method Bundle.GetGittarBlobNode should be of the form "GetGittarBlobNode ..." (golint)
    • Line 506: warning: exported method Bundle.CreateCheckRun should have comment or be unexported (golint)
    • erda/modules/orchestrator/services/addon/addon_tenant.go
    • Line 31: warning: exported const CREATE_DB should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: comment on exported method Addon.CreateAddonTenant should be of the form "CreateAddonTenant ..." (golint)
    • Line 76: warning: exported method Addon.CreateMysqlTenant should have comment or be unexported (golint)
    • Line 79: warning: don't use underscores in Go names; var dbs_s should be dbsS (golint)
    • Line 109: warning: don't use underscores in Go names; var passwd_encrypted should be passwdEncrypted (golint)
    • Line 153: warning: don't use underscores in Go names; var tenantConfig_s should be tenantConfigS (golint)
    • erda/pkg/kms/stores/etcd/store.go
    • Line 32: warning: exported const EnvKeyEtcdEndpoints should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported type Store should have comment or be unexported (golint)
    • Line 72: warning: exported method Store.GetKind should have comment or be unexported (golint)
    • Line 76: warning: exported method Store.CreateKey should have comment or be unexported (golint)
    • Line 132: warning: exported method Store.GetKey should have comment or be unexported (golint)
    • Line 144: warning: exported method Store.ListKeysByKind should have comment or be unexported (golint)
    • Line 158: warning: exported method Store.DeleteByKeyID should have comment or be unexported (golint)
    • Line 165: warning: exported method Store.GetKeyVersion should have comment or be unexported (golint)
    • Line 181: warning: exported method Store.RotateKeyVersion should have comment or be unexported (golint)
    • erda/modules/uc-adaptor/dao/mysql.go
    • Line 14: warning: package comment should be of the form "Package dao ..." (golint)
    • Line 22: warning: exported const BULK_INSERT_CHUNK_SIZE should have comment or be unexported (golint)
    • Line 24: warning: exported type DBClient should have comment or be unexported (golint)
    • Line 28: warning: exported function Open should have comment or be unexported (golint)
    • Line 44: warning: exported method DBClient.Close should have comment or be unexported (golint)
    • erda/modules/dop/services/issue/export.go
    • Line 35: warning: exported method Issue.ExportExcel should have comment or be unexported (golint)
    • Line 119: warning: exported method Issue.ExportFalseExcel should have comment or be unexported (golint)
    • Line 148: warning: exported method Issue.ExportExcel2 should have comment or be unexported (golint)
    • erda/modules/pipeline/pipengine/actionexecutor/plugins/apitest/logic/meta.go
    • Line 32: warning: exported const ResultSuccess should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported const MetaKeyResult should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported type Meta should have comment or be unexported (golint)
    • Line 56: warning: exported function NewMeta should have comment or be unexported (golint)
    • Line 62: warning: exported type KVs should have comment or be unexported (golint)
    • erda/pkg/strutil/validator.go
    • Line 59: warning: exported function MaxRuneCountValidator should have comment or be unexported (golint)
    • Line 107: warning: comment on exported var K8sNodeSelectorMatchValidator should be of the form "K8sNodeSelectorMatchValidator ..." (golint)
    • erda/modules/dop/services/testcase/export.go
    • Line 38: warning: exported method Service.Export should have comment or be unexported (golint)
    • Line 89: warning: exported method Service.ExportFile should have comment or be unexported (golint)
    • Line 199: warning: exported method Service.Upload should have comment or be unexported (golint)
    • erda/modules/hepa/apipolicy/policies/built-in/policy.go
    • Line 30: warning: exported type Policy should have comment or be unexported (golint)
    • Line 34: warning: exported method Policy.NeedSerialUpdate should have comment or be unexported (golint)
    • Line 38: warning: exported method Policy.CreateDefaultConfig should have comment or be unexported (golint)
    • Line 42: warning: error should be the last type when returning multiple items (golint)
    • Line 42: warning: exported method Policy.UnmarshalConfig should have comment or be unexported (golint)
    • Line 46: warning: exported method Policy.ParseConfig should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/merge_env_visitor.go
    • Line 16: warning: exported type MergeEnvVisitor should have comment or be unexported (golint)
    • Line 23: warning: exported function NewMergeEnvVisitor should have comment or be unexported (golint)
    • Line 27: warning: exported method MergeEnvVisitor.VisitObject should have comment or be unexported (golint)
    • Line 31: warning: exported method MergeEnvVisitor.VisitServices should have comment or be unexported (golint)
    • Line 55: warning: exported method MergeEnvVisitor.VisitService should have comment or be unexported (golint)
    • Line 73: warning: exported method MergeEnvVisitor.VisitResources should have comment or be unexported (golint)
    • Line 89: warning: exported method MergeEnvVisitor.VisitDeployments should have comment or be unexported (golint)
    • Line 104: warning: exported method MergeEnvVisitor.VisitHTTPCheck should have comment or be unexported (golint)
    • Line 119: warning: exported method MergeEnvVisitor.VisitExecCheck should have comment or be unexported (golint)
    • Line 133: warning: exported method MergeEnvVisitor.VisitAddOns should have comment or be unexported (golint)
    • Line 144: warning: exported function MergeEnv should have comment or be unexported (golint)
    • erda/pkg/schedule/schedulepolicy/pass1.go
    • Line 23: warning: comment on exported type Pass1ScheduleInfo should be of the form "Pass1ScheduleInfo ..." (with optional leading article) (golint)
    • Line 28: warning: exported function NewPass1ScheduleInfo should have comment or be unexported (golint)
    • erda/modules/cmdb/services/container/container.go
    • Line 136: warning: comment on exported method Container.GetContainerByTaskIDOrContainerID should be of the form "GetContainerByTaskIDOrContainerID ..." (golint)
    • Line 996: warning: comment on exported method Container.ListClusterServices should be of the form "ListClusterServices ..." (golint)
    • Line 1070: warning: comment on exported type ContainerList should be of the form "ContainerList ..." (with optional leading article) (golint)
    • erda/modules/dicehub/dbclient/image.go
    • Line 20: warning: exported type Image should have comment or be unexported (golint)
    • Line 28: warning: comment on exported method Image.TableName should be of the form "TableName ..." (golint)
    • Line 57: warning: comment on exported method DBClient.GetImageByID should be of the form "GetImageByID ..." (golint)
    • erda/modules/gittar/pkg/gitmodule/utils.go
    • Line 86: warning: exported function RefEndName should have comment or be unexported (golint)
    • Line 98: warning: exported function GetMirrorRepoUrl should have comment or be unexported (golint)
    • Line 109: warning: exported function GetUrlWithBasicAuth should have comment or be unexported (golint)
    • Line 117: warning: exported function CheckRemoteHttpRepo should have comment or be unexported (golint)
    • Line 130: warning: exported function RemoveAuthInfo should have comment or be unexported (golint)
    • erda/apistructs/pipeline_build_artifact.go
    • Line 16: warning: exported type BuildArtifact should have comment or be unexported (golint)
    • Line 26: warning: exported type BuildArtifactType should have comment or be unexported (golint)
    • Line 29: warning: exported const BuildArtifactOfNfsLink should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported type BuildArtifactRegisterRequest should have comment or be unexported (golint)
    • Line 44: warning: exported type BuildArtifactRegisterResponse should have comment or be unexported (golint)
    • Line 51: warning: exported type BuildArtifactDeleteByImagesRequest should have comment or be unexported (golint)
    • Line 57: warning: exported type BuildArtifactQueryResponse should have comment or be unexported (golint)
    • erda/modules/gittar/models/user.go
    • Line 23: warning: exported type Permission should have comment or be unexported (golint)
    • Line 26: warning: exported const PermissionCreateBranch should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: error var NO_PERMISSION_ERROR should have name of the form ErrFoo (golint)
    • Line 42: warning: exported var NO_PERMISSION_ERROR should have comment or be unexported (golint)
    • Line 93: warning: exported function NewInnerUser should have comment or be unexported (golint)
    • Line 102: warning: exported method User.ToGitSignature should have comment or be unexported (golint)
    • Line 118: warning: exported method User.IsInnerUser should have comment or be unexported (golint)
    • erda/modules/orchestrator/utils/resp_utils.go
    • Line 29: warning: exported type ErrCode should have comment or be unexported (golint)
    • Line 32: warning: exported const ErrCode0101 should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: comment on exported const RuntimeNotFound should be of the form "RuntimeNotFound ..." (golint)
    • Line 43: warning: exported type Resp should have comment or be unexported (golint)
    • Line 49: warning: exported type RespForRead should have comment or be unexported (golint)
    • Line 55: warning: exported function DoJson should have comment or be unexported (golint)
    • Line 82: warning: exported function ErrResp should have comment or be unexported (golint)
    • Line 94: warning: exported function ErrResp0101 should have comment or be unexported (golint)
    • Line 98: warning: exported function ErrRespIllegalParam should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/util/util.go
    • Line 32: warning: exported function ParseServiceDependency should have comment or be unexported (golint)
    • Line 116: warning: exported function ParseEnableTagOption should have comment or be unexported (golint)
    • Line 128: warning: exported function ParsePreserveProjects should have comment or be unexported (golint)
    • Line 141: warning: exported function BuildDcosConstraints should have comment or be unexported (golint)
    • Line 190: warning: exported function CombineLabels should have comment or be unexported (golint)
    • Line 207: warning: comment on exported function GetAndSetTokenAuth should be of the form "GetAndSetTokenAuth ..." (golint)
    • Line 239: warning: exported function IsNotFound should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/vswitch/vswitch.go
    • Line 28: warning: exported type WithRegionVSwitch should have comment or be unexported (golint)
    • Line 33: warning: exported function List should have comment or be unexported (golint)
    • Line 92: warning: exported type VSwitchCreateRequest should have comment or be unexported (golint)
    • Line 100: warning: exported function Create should have comment or be unexported (golint)
    • erda/modules/core-services/services/security/adaptor.go
    • Line 26: warning: exported type PermissionAdaptor should have comment or be unexported (golint)
    • Line 33: warning: exported method PermissionAdaptor.CheckPublicScope should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported method PermissionAdaptor.SetCheckRequest should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 93: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 96: warning: exported method PermissionAdaptor.GetCheckRequest should have comment or be unexported (golint)
    • Line 96: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 100: warning: exported method PermissionAdaptor.SetUserID should have comment or be unexported (golint)
    • Line 100: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 104: warning: exported method PermissionAdaptor.GetUserID should have comment or be unexported (golint)
    • Line 104: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 108: warning: exported method PermissionAdaptor.SetScopeType should have comment or be unexported (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 109: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 112: warning: exported method PermissionAdaptor.GetScopeType should have comment or be unexported (golint)
    • Line 112: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 116: warning: exported method PermissionAdaptor.SetScopeID should have comment or be unexported (golint)
    • Line 116: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 117: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 120: warning: exported method PermissionAdaptor.GetScopeID should have comment or be unexported (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 124: warning: exported method PermissionAdaptor.RegisterHandler should have comment or be unexported (golint)
    • Line 124: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 128: warning: exported method PermissionAdaptor.CheckPermission should have comment or be unexported (golint)
    • Line 128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 146: warning: exported method PermissionAdaptor.PermissionList should have comment or be unexported (golint)
    • Line 146: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • erda/modules/pipeline/spec/ci_v3_build_artifacts.go
    • Line 22: warning: exported type CIV3BuildArtifact should have comment or be unexported (golint)
    • Line 34: warning: exported method CIV3BuildArtifact.TableName should have comment or be unexported (golint)
    • Line 38: warning: exported method CIV3BuildArtifact.Convert2DTO should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/autotests.go
    • Line 29: warning: exported method Endpoints.CreateAutoTestFileTreeNode should have comment or be unexported (golint)
    • Line 55: warning: exported method Endpoints.GetAutoTestFileTreeNode should have comment or be unexported (golint)
    • Line 76: warning: exported method Endpoints.DeleteAutoTestFileTreeNode should have comment or be unexported (golint)
    • Line 97: warning: exported method Endpoints.UpdateAutoTestFileTreeNodeBasicInfo should have comment or be unexported (golint)
    • Line 124: warning: exported method Endpoints.MoveAutoTestFileTreeNode should have comment or be unexported (golint)
    • Line 151: warning: exported method Endpoints.CopyAutoTestFileTreeNode should have comment or be unexported (golint)
    • Line 178: warning: exported method Endpoints.ListAutoTestFileTreeNodeHistory should have comment or be unexported (golint)
    • Line 200: warning: exported method Endpoints.ListAutoTestFileTreeNodes should have comment or be unexported (golint)
    • Line 228: warning: exported method Endpoints.FuzzySearchAutoTestFileTreeNodes should have comment or be unexported (golint)
    • Line 256: warning: exported method Endpoints.BatchQueryPipelineSnippetYaml should have comment or be unexported (golint)
    • Line 320: warning: exported method Endpoints.QueryPipelineSnippetYaml should have comment or be unexported (golint)
    • Line 360: warning: exported method Endpoints.SaveAutoTestFileTreeNodePipeline should have comment or be unexported (golint)
    • Line 387: warning: exported method Endpoints.FindAutoTestFileTreeNodeAncestors should have comment or be unexported (golint)
    • Line 413: warning: exported method Endpoints.CreateAutoTestGlobalConfig should have comment or be unexported (golint)
    • Line 439: warning: exported method Endpoints.UpdateAutoTestGlobalConfig should have comment or be unexported (golint)
    • Line 466: warning: exported method Endpoints.DeleteAutoTestGlobalConfig should have comment or be unexported (golint)
    • Line 485: warning: exported method Endpoints.ListAutoTestGlobalConfigs should have comment or be unexported (golint)
    • erda/modules/extensions/cloud/aliyun/metrics/cloudcat/scheduler/scheduler.go
    • Line 36: warning: exported const PENDING should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported type Scheduler should have comment or be unexported (golint)
    • Line 77: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 110: warning: exported method Scheduler.Retry should have comment or be unexported (golint)
    • Line 154: warning: exported method Scheduler.Start should have comment or be unexported (golint)
    • Line 247: warning: exported method Scheduler.Close should have comment or be unexported (golint)
    • erda/pkg/swagger/openapi/validate.go
    • Line 34: warning: exported function ValidateOAS3 should have comment or be unexported (golint)
    • Line 80: warning: exported function ValidateComponents should have comment or be unexported (golint)
    • Line 138: warning: exported function ValidateInfo should have comment or be unexported (golint)
    • Line 162: warning: exported function ValidateContact should have comment or be unexported (golint)
    • Line 167: warning: exported function ValidateLicense should have comment or be unexported (golint)
    • Line 174: warning: exported function ValidatePaths should have comment or be unexported (golint)
    • Line 216: warning: exported function ValidatePathItem should have comment or be unexported (golint)
    • Line 225: warning: exported function ValidateOperation should have comment or be unexported (golint)
    • Line 246: warning: exported function ValidateSecurity should have comment or be unexported (golint)
    • Line 255: warning: exported function ValidateSecurityRequirement should have comment or be unexported (golint)
    • Line 260: warning: exported function ValidateServers should have comment or be unexported (golint)
    • Line 269: warning: exported function ValidateServer should have comment or be unexported (golint)
    • Line 281: warning: exported function ValidateIdentifier should have comment or be unexported (golint)
    • Line 286: warning: exported function ValidateSchemaRef should have comment or be unexported (golint)
    • Line 294: warning: exported function ValidateSchema should have comment or be unexported (golint)
    • Line 398: warning: exported function ValidateParameterRef should have comment or be unexported (golint)
    • Line 405: warning: exported function ValidateParameter should have comment or be unexported (golint)
    • Line 471: warning: exported function ValidateRequestBodyRef should have comment or be unexported (golint)
    • Line 479: warning: exported function ValidateRequestBody should have comment or be unexported (golint)
    • Line 486: warning: exported function ValidateResponseRef should have comment or be unexported (golint)
    • Line 493: warning: exported function ValidateResponse should have comment or be unexported (golint)
    • Line 506: warning: exported function ValidateHeaderRef should have comment or be unexported (golint)
    • Line 513: warning: exported function ValidateHeader should have comment or be unexported (golint)
    • Line 520: warning: exported function ValidateSecuritySchemeRef should have comment or be unexported (golint)
    • Line 527: warning: exported function ValidateSecurityScheme should have comment or be unexported (golint)
    • Line 588: warning: exported function ValidateOAuthFlows should have comment or be unexported (golint)
    • Line 604: warning: exported function ValidateOAuthFlow should have comment or be unexported (golint)
    • Line 621: warning: exported function ValidateContent should have comment or be unexported (golint)
    • Line 630: warning: exported function ValidateMediaType should have comment or be unexported (golint)
    • erda/bundle/openapi.go
    • Line 27: warning: comment on exported method Bundle.GetOpenapiOAuth2Token should be of the form "GetOpenapiOAuth2Token ..." (golint)
    • Line 57: warning: exported method Bundle.InvalidateOpenapiOAuth2Token should have comment or be unexported (golint)
    • erda/modules/pkg/gitflowutil/branch.go
    • Line 23: warning: exported const MASTER should have comment (or a comment on this block) or be unexported (golint)
    • Line 50: warning: exported function ErrorNotSupportedReference should have comment or be unexported (golint)
    • Line 58: warning: exported function IsMaster should have comment or be unexported (golint)
    • Line 62: warning: exported function IsHotfix should have comment or be unexported (golint)
    • Line 66: warning: exported function IsSupport should have comment or be unexported (golint)
    • Line 70: warning: exported function IsRelease should have comment or be unexported (golint)
    • Line 74: warning: exported function IsDevelop should have comment or be unexported (golint)
    • Line 78: warning: exported function IsFeature should have comment or be unexported (golint)
    • Line 82: warning: exported function IsValid should have comment or be unexported (golint)
    • Line 91: warning: exported function GetReferencePrefix should have comment or be unexported (golint)
    • Line 116: warning: comment on exported type PrefixAndBranch should be of the form "PrefixAndBranch ..." (with optional leading article) (golint)
    • Line 124: warning: exported function ListAllBranchPrefix should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/visitor_env.go
    • Line 24: warning: exported type EnvVisitor should have comment or be unexported (golint)
    • Line 28: warning: exported function NewEnvVisitor should have comment or be unexported (golint)
    • Line 32: warning: exported method EnvVisitor.Visit should have comment or be unexported (golint)
    • Line 47: warning: exported function CheckEnvs should have comment or be unexported (golint)
    • erda/pkg/kms/kmstypes/kind.go
    • Line 24: warning: exported type PluginKind should have comment or be unexported (golint)
    • Line 30: warning: exported method PluginKind.Validate should have comment or be unexported (golint)
    • Line 34: warning: exported type StoreKind should have comment or be unexported (golint)
    • Line 40: warning: exported method StoreKind.Validate should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8sjob/job.go
    • Line 49: warning: exported const EnvRetainNamespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 61: warning: exported const ENABLE_SPECIFIED_K8S_NAMESPACE should have comment (or a comment on this block) or be unexported (golint)
    • Line 62: warning: comment on exported const SpecifyImagePullPolicy should be of the form "SpecifyImagePullPolicy ..." (golint)
    • erda/modules/hepa/gateway/dto/dice_args_dto.go
    • Line 26: warning: exported type DiceArgsDto should have comment or be unexported (golint)
    • Line 38: warning: exported method DiceArgsDto.GenSelectOptions should have comment or be unexported (golint)
    • Line 138: warning: exported function NewDiceArgsDto should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/myProjectFilter/render.go
    • Line 14: warning: don't use MixedCaps in package name; myProjectFilter should be myprojectfilter (golint)
    • Line 29: warning: exported function RenderCreator should have comment or be unexported (golint)
    • Line 33: warning: exported type MyProjectFilter should have comment or be unexported (golint)
    • Line 41: warning: exported type Props should have comment or be unexported (golint)
    • Line 47: warning: exported type Condition should have comment or be unexported (golint)
    • Line 57: warning: exported type State should have comment or be unexported (golint)
    • Line 67: warning: exported type Operation should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 116: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 133: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: exported method MyProjectFilter.SetCtxBundle should have comment or be unexported (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 164: warning: exported method MyProjectFilter.Render should have comment or be unexported (golint)
    • Line 164: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • erda/modules/eventbox/dispatcher/filters/lastfilter.go
    • Line 29: warning: comment on exported type LastFilter should be of the form "LastFilter ..." (with optional leading article) (golint)
    • Line 35: warning: exported function NewLastFilter should have comment or be unexported (golint)
    • Line 42: warning: exported method LastFilter.Name should have comment or be unexported (golint)
    • Line 46: warning: exported method LastFilter.Filter should have comment or be unexported (golint)
    • Line 74: warning: don't use underscores in Go names; var content_ should be content (golint)
    • Line 80: warning: don't use underscores in Go names; var labelV_ should be labelV (golint)
    • erda/modules/dop/services/assetsvc/create.go
    • Line 47: warning: exported const InsTypeDice should have comment (or a comment on this block) or be unexported (golint)
    • Line 408: warning: exported method Service.CreateInstantiation should have comment or be unexported (golint)
    • Line 531: warning: exported method Service.CreateClient should have comment or be unexported (golint)
    • Line 589: warning: comment on exported method Service.CreateContract should be of the form "CreateContract ..." (golint)
    • Line 943: warning: exported method Service.CreateAccess should have comment or be unexported (golint)
    • Line 1102: warning: exported method Service.CreateSLA should have comment or be unexported (golint)
    • Line 1295: warning: don't use underscores in Go names; range var path_ should be path (golint)
    • erda/apistructs/dashboard.go
    • Line 18: warning: exported type DashboardCreateRequest should have comment or be unexported (golint)
    • Line 26: warning: exported type DashboardCreateResponse should have comment or be unexported (golint)
    • Line 31: warning: exported type DashboardDetailRequest should have comment or be unexported (golint)
    • Line 36: warning: exported type DashboardDetailResponse should have comment or be unexported (golint)
    • Line 41: warning: exported type DashboardListResponse should have comment or be unexported (golint)
    • Line 46: warning: exported type DashBoardDTO should have comment or be unexported (golint)
    • Line 60: warning: exported type DashboardSpotLogLine should have comment or be unexported (golint)
    • Line 72: warning: exported type DashboardSpotLogData should have comment or be unexported (golint)
    • Line 76: warning: exported type DashboardSpotLogResponse should have comment or be unexported (golint)
    • Line 81: warning: exported type DashboardSpotLogRequest should have comment or be unexported (golint)
    • Line 90: warning: exported type DashboardSpotLogStream should have comment or be unexported (golint)
    • Line 93: warning: exported var DashboardSpotLogStreamStdout should have comment or be unexported (golint)
    • Line 97: warning: exported type DashboardSpotLogSource should have comment or be unexported (golint)
    • Line 100: warning: exported var DashboardSpotLogSourceJob should have comment or be unexported (golint)
    • erda/modules/pipeline/pipengine/engine.go
    • Line 30: warning: exported type Engine should have comment or be unexported (golint)
    • Line 39: warning: exported function New should have comment or be unexported (golint)
    • Line 48: warning: exported method Engine.OnceDo should have comment or be unexported (golint)
    • Line 72: warning: exported method Engine.Start should have comment or be unexported (golint)
    • Line 88: warning: exported method Engine.Send should have comment or be unexported (golint)
    • Line 92: warning: exported method Engine.WaitDBGC should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-space-list/components/spaceList/render.go
    • Line 14: warning: don't use MixedCaps in package name; spaceList should be spacelist (golint)
    • Line 27: warning: exported type ComponentSpaceList should have comment or be unexported (golint)
    • Line 64: warning: exported type RenderType should have comment or be unexported (golint)
    • Line 67: warning: exported var RenderTable should have comment or be unexported (golint)
    • Line 76: warning: exported method ComponentSpaceList.SetBundle should have comment or be unexported (golint)
    • Line 85: warning: exported method ComponentSpaceList.Render should have comment or be unexported (golint)
    • Line 236: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/gittar/pkg/gitmodule/repo_merge.go
    • Line 24: warning: exported type MergeStatusInfo should have comment or be unexported (golint)
    • Line 31: warning: exported type MergeInfo should have comment or be unexported (golint)
    • Line 42: warning: exported method Repository.GetMergeBase should have comment or be unexported (golint)
    • Line 126: warning: exported method Repository.GetMergeStatus should have comment or be unexported (golint)
    • Line 164: warning: exported method Repository.Merge should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/testplan_v2.go
    • Line 251: warning: comment on exported method Endpoints.MoveTestPlanV2Step should be of the form "MoveTestPlanV2Step ..." (golint)
    • Line 309: warning: comment on exported method Endpoints.GetTestPlanV2Step should be of the form "GetTestPlanV2Step ..." (golint)
    • Line 338: warning: exported method Endpoints.ExecuteDiceAutotestTestPlans should have comment or be unexported (golint)
    • Line 365: warning: exported method Endpoints.CancelDiceAutotestTestPlans should have comment or be unexported (golint)
    • Line 387: warning: exported method Endpoints.QueryPipelineSnippetYamlV2 should have comment or be unexported (golint)
    • erda/modules/scheduler/impl/volume/volumeimpl.go
    • Line 20: warning: exported type VolumeImpl should have comment or be unexported (golint)
    • Line 24: warning: exported function NewVolumeImpl should have comment or be unexported (golint)
    • Line 28: warning: exported method VolumeImpl.Type should have comment or be unexported (golint)
    • Line 32: warning: exported method VolumeImpl.Create should have comment or be unexported (golint)
    • Line 36: warning: exported method VolumeImpl.Info should have comment or be unexported (golint)
    • Line 44: warning: exported method VolumeImpl.Attach should have comment or be unexported (golint)
    • Line 51: warning: exported method VolumeImpl.UnAttach should have comment or be unexported (golint)
    • Line 59: warning: exported method VolumeImpl.Delete should have comment or be unexported (golint)
    • Line 67: warning: exported function GetDriver should have comment or be unexported (golint)
    • erda/modules/hepa/server/gateway_controller.go
    • Line 30: warning: exported type GatewayController should have comment or be unexported (golint)
    • Line 45: warning: exported function NewGatewayController should have comment or be unexported (golint)
    • Line 74: warning: exported method GatewayController.Register should have comment or be unexported (golint)
    • Line 113: warning: exported method GatewayController.GetDomains should have comment or be unexported (golint)
    • Line 132: warning: exported method GatewayController.CreateOrUpdateComponentIngress should have comment or be unexported (golint)
    • Line 153: warning: exported method GatewayController.TouchRuntime should have comment or be unexported (golint)
    • Line 174: warning: exported method GatewayController.TouchRuntimeComplete should have comment or be unexported (golint)
    • Line 195: warning: exported method GatewayController.DeleteRuntime should have comment or be unexported (golint)
    • Line 211: warning: exported method GatewayController.GetTenantGroup should have comment or be unexported (golint)
    • Line 228: warning: exported method GatewayController.CreateTenant should have comment or be unexported (golint)
    • Line 249: warning: exported method GatewayController.GetRegisterApps should have comment or be unexported (golint)
    • Line 266: warning: exported method GatewayController.GetClusterUIType should have comment or be unexported (golint)
    • Line 284: warning: exported method GatewayController.UpstreamTargetOnline should have comment or be unexported (golint)
    • Line 309: warning: exported method GatewayController.UpstreamTargetOffline should have comment or be unexported (golint)
    • Line 334: warning: exported method GatewayController.UpstreamValidAsync should have comment or be unexported (golint)
    • Line 366: warning: exported method GatewayController.UpstreamRegisterAsync should have comment or be unexported (golint)
    • Line 398: warning: exported method GatewayController.UpstreamRegister should have comment or be unexported (golint)
    • Line 430: warning: exported method GatewayController.RegisterMockApi should have comment or be unexported (golint)
    • Line 451: warning: exported method GatewayController.CallMockApi should have comment or be unexported (golint)
    • Line 472: warning: exported method GatewayController.CreateConsumer should have comment or be unexported (golint)
    • Line 493: warning: exported method GatewayController.EditConsumerApi should have comment or be unexported (golint)
    • Line 514: warning: exported method GatewayController.DeleteConsumer should have comment or be unexported (golint)
    • Line 530: warning: exported method GatewayController.UpdateConsumerApi should have comment or be unexported (golint)
    • Line 551: warning: exported method GatewayController.GetProjectConsumerInfo should have comment or be unexported (golint)
    • Line 569: warning: exported method GatewayController.GetConsumer should have comment or be unexported (golint)
    • Line 584: warning: exported method GatewayController.UpdateConsumer should have comment or be unexported (golint)
    • Line 605: warning: exported method GatewayController.GetConsumerList should have comment or be unexported (golint)
    • Line 623: warning: exported method GatewayController.CreateApi should have comment or be unexported (golint)
    • Line 646: warning: exported method GatewayController.GetApiInfos should have comment or be unexported (golint)
    • Line 694: warning: exported method GatewayController.DeleteApi should have comment or be unexported (golint)
    • Line 712: warning: exported method GatewayController.UpdateApi should have comment or be unexported (golint)
    • Line 737: warning: exported method GatewayController.GetCategoryInfo should have comment or be unexported (golint)
    • Line 763: warning: exported method GatewayController.SetCategoryInfo should have comment or be unexported (golint)
    • Line 783: warning: exported method GatewayController.CreatePolicy should have comment or be unexported (golint)
    • Line 805: warning: exported method GatewayController.UpdatePolicy should have comment or be unexported (golint)
    • Line 828: warning: exported method GatewayController.DeletePolicy should have comment or be unexported (golint)
    • Line 844: warning: exported method GatewayController.HealthCheck should have comment or be unexported (golint)
    • Line 859: warning: exported method GatewayController.GetDiceHealth should have comment or be unexported (golint)
    • erda/modules/eventbox/dispatcher/dispatcher.go
    • Line 50: warning: exported type Dispatcher should have comment or be unexported (golint)
    • Line 57: warning: exported type DispatcherImpl should have comment or be unexported (golint)
    • Line 69: warning: exported function New should have comment or be unexported (golint)
    • Line 174: warning: exported method DispatcherImpl.GetRegister should have comment or be unexported (golint)
    • Line 178: warning: exported method DispatcherImpl.GetSubscribers should have comment or be unexported (golint)
    • Line 182: warning: exported method DispatcherImpl.GetSubscribersPool should have comment or be unexported (golint)
    • Line 185: warning: exported method DispatcherImpl.RegisterSubscriber should have comment or be unexported (golint)
    • Line 190: warning: exported method DispatcherImpl.RegisterInput should have comment or be unexported (golint)
    • Line 195: warning: exported method DispatcherImpl.Start should have comment or be unexported (golint)
    • Line 220: warning: comment on exported method DispatcherImpl.Stop should be of the form "Stop ..." (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-plan-detail/components/tabExecuteButton/executeButton.go
    • Line 14: warning: don't use MixedCaps in package name; tabExecuteButton should be tabexecutebutton (golint)
    • Line 28: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 35: warning: exported method ComponentAction.SetBundle should have comment or be unexported (golint)
    • Line 98: warning: exported type State should have comment or be unexported (golint)
    • Line 104: warning: exported type ClientMetaData should have comment or be unexported (golint)
    • Line 110: warning: exported type Props should have comment or be unexported (golint)
    • Line 116: warning: exported type Menu should have comment or be unexported (golint)
    • Line 122: warning: exported type ClickOperation should have comment or be unexported (golint)
    • Line 128: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 128: warning: receiver name ca should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 263: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/kms/conf/conf.go
    • Line 48: warning: comment on exported function Debug should be of the form "Debug ..." (golint)
    • Line 53: warning: exported function KmsStoreKind should have comment or be unexported (golint)
    • Line 57: warning: exported function EtcdEndpoints should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/dto/dice_health_dto.go
    • Line 16: warning: exported type DiceHealthStatus should have comment or be unexported (golint)
    • Line 19: warning: exported const DiceHealthOK should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: exported type DiceHealthModule should have comment or be unexported (golint)
    • Line 29: warning: exported type DiceHealthDto should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-plan-detail/components/scenesSetInParams/render.go
    • Line 14: warning: don't use MixedCaps in package name; scenesSetInParams should be scenessetinparams (golint)
    • Line 26: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 127: warning: exported method ComponentAction.SetBundle should have comment or be unexported (golint)
    • Line 136: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 136: warning: receiver name ca should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 181: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 197: warning: exported method ComponentAction.HandlerSubmitValue should have comment or be unexported (golint)
    • Line 197: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 218: warning: exported method ComponentAction.HandlerCancelValue should have comment or be unexported (golint)
    • Line 218: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 226: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-plan-detail/components/executeHistoryTable/render.go
    • Line 14: warning: don't use MixedCaps in package name; executeHistoryTable should be executehistorytable (golint)
    • Line 28: warning: exported type ExecuteHistoryTable should have comment or be unexported (golint)
    • Line 37: warning: exported type State should have comment or be unexported (golint)
    • Line 45: warning: exported const DefaultPageSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported type Operation should have comment or be unexported (golint)
    • Line 88: warning: exported method ExecuteHistoryTable.Import should have comment or be unexported (golint)
    • Line 99: warning: exported method ExecuteHistoryTable.Export should have comment or be unexported (golint)
    • Line 111: warning: exported method ExecuteHistoryTable.Render should have comment or be unexported (golint)
    • Line 244: warning: receiver name e should be consistent with previous receiver name a for ExecuteHistoryTable (golint)
    • Line 271: warning: receiver name e should be consistent with previous receiver name a for ExecuteHistoryTable (golint)
    • Line 295: warning: receiver name e should be consistent with previous receiver name a for ExecuteHistoryTable (golint)
    • Line 308: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/dicehub/endpoints/publish_item.go
    • Line 529: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 735: warning: comment on exported method Endpoints.GetErrAffectUserRate should be of the form "GetErrAffectUserRate ..." (golint)
    • Line 814: warning: comment on exported method Endpoints.CumulativeUsers should be of the form "CumulativeUsers ..." (golint)
    • erda/modules/eventbox/subscriber/dingding/dingding.go
    • Line 36: warning: error var DINGDINGSendErr should have name of the form ErrFoo (golint)
    • Line 36: warning: exported var DINGDINGSendErr should have comment or be unexported (golint)
    • Line 37: warning: error var DINGDINGBadURLErr should have name of the form ErrFoo (golint)
    • Line 40: warning: comment on exported type DDContent should be of the form "DDContent ..." (with optional leading article) (golint)
    • Line 56: warning: exported type DDMarkdown should have comment or be unexported (golint)
    • Line 60: warning: exported type DDAt should have comment or be unexported (golint)
    • Line 64: warning: exported type DDMessage should have comment or be unexported (golint)
    • Line 71: warning: exported type LegacyDDDest should have comment or be unexported (golint)
    • Line 73: warning: comment on exported type DDDest should be of the form "DDDest ..." (with optional leading article) (golint)
    • Line 76: warning: exported type DDSubscriber should have comment or be unexported (golint)
    • Line 80: warning: exported function New should have comment or be unexported (golint)
    • Line 86: warning: comment on exported method DDSubscriber.Publish should be of the form "Publish ..." (golint)
    • Line 136: warning: don't use underscores in Go names; var dest_ should be dest (golint)
    • Line 163: warning: don't use underscores in Go names; func parameter dest_ should be dest (golint)
    • Line 175: warning: exported method DDSubscriber.Status should have comment or be unexported (golint)
    • Line 179: warning: exported method DDSubscriber.Name should have comment or be unexported (golint)
    • Line 183: warning: exported method DDSubscriber.DINGDINGSend should have comment or be unexported (golint)
    • erda/bundle/autotest_scene_output.go
    • Line 25: warning: exported method Bundle.ListAutoTestSceneOutput should have comment or be unexported (golint)
    • Line 46: warning: exported method Bundle.ListAutoTestStepOutput should have comment or be unexported (golint)
    • Line 67: warning: exported method Bundle.UpdateAutoTestSceneOutput should have comment or be unexported (golint)
    • Line 88: warning: exported method Bundle.CreateAutoTestSceneOutput should have comment or be unexported (golint)
    • erda/modules/hepa/common/util/misc.go
    • Line 23: warning: exported function UniqStringSlice should have comment or be unexported (golint)
    • Line 37: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 42: warning: exported function DoRecover should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_mock_service.go
    • Line 19: warning: should not use dot imports (golint)
    • Line 23: warning: exported type GatewayMockServiceImpl should have comment or be unexported (golint)
    • Line 27: warning: exported function NewGatewayMockServiceImpl should have comment or be unexported (golint)
    • Line 35: warning: exported method GatewayMockServiceImpl.GetMockByAny should have comment or be unexported (golint)
    • Line 50: warning: exported method GatewayMockServiceImpl.Update should have comment or be unexported (golint)
    • Line 61: warning: exported method GatewayMockServiceImpl.Insert should have comment or be unexported (golint)
    • erda/pkg/database/sqlparser/migrator/script.go
    • Line 110: warning: exported method Script.DDLNodes should have comment or be unexported (golint)
    • Line 127: warning: exported method Script.DMLNodes should have comment or be unexported (golint)
    • Line 143: warning: exported method Script.Checksum should have comment or be unexported (golint)
    • Line 149: warning: exported method Script.IsBaseline should have comment or be unexported (golint)
    • erda/modules/monitor/notify/template/db/notify-config.go
    • Line 20: warning: exported type NotifyConfig should have comment or be unexported (golint)
    • Line 30: warning: exported method NotifyConfig.TableName should have comment or be unexported (golint)
    • Line 34: warning: exported method NotifyDB.GetAllUserDefineNotify should have comment or be unexported (golint)
    • Line 41: warning: exported method NotifyDB.CreateUserDefineNotifyTemplate should have comment or be unexported (golint)
    • Line 46: warning: exported method NotifyDB.GetUserDefine should have comment or be unexported (golint)
    • Line 52: warning: exported method NotifyDB.GetAllUserDefineTemplates should have comment or be unexported (golint)
    • erda/modules/gittar/cache/mysql_cache.go
    • Line 27: warning: exported type AtomicInt should have comment or be unexported (golint)
    • Line 29: warning: exported type MysqlCache should have comment or be unexported (golint)
    • Line 36: warning: exported function NewMysqlCache should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/createOrgBtnWrapper/render.go
    • Line 14: warning: don't use MixedCaps in package name; createOrgBtnWrapper should be createorgbtnwrapper (golint)
    • Line 27: warning: exported type CreateOrgBtnWrapper should have comment or be unexported (golint)
    • Line 33: warning: exported type Props should have comment or be unexported (golint)
    • Line 38: warning: exported method CreateOrgBtnWrapper.SetCtxBundle should have comment or be unexported (golint)
    • Line 48: warning: exported method CreateOrgBtnWrapper.Render should have comment or be unexported (golint)
    • Line 48: warning: receiver name p should be consistent with previous receiver name c for CreateOrgBtnWrapper (golint)
    • Line 61: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/pipeline/conf/conf.go
    • Line 154: warning: comment on exported function AgentAccessibleCacheTTL should be of the form "AgentAccessibleCacheTTL ..." (golint)
    • Line 261: warning: comment on exported function OpenapiOAuth2TokenClientSecret should be of the form "OpenapiOAuth2TokenClientSecret ..." (golint)
    • Line 291: warning: comment on exported function InitializeSendRunningIntervalSec should be of the form "InitializeSendRunningIntervalSec ..." (golint)
    • Line 296: warning: comment on exported function InitializeSendRunningIntervalNum should be of the form "InitializeSendRunningIntervalNum ..." (golint)
    • Line 301: warning: exported function CronCompensateTimeMinute should have comment or be unexported (golint)
    • Line 305: warning: exported function CronCompensateConcurrentNumber should have comment or be unexported (golint)
    • Line 309: warning: exported function CronFailureCreateIntervalCompensateTimeSecond should have comment or be unexported (golint)
    • erda/modules/dop/dao/testset.go
    • Line 51: warning: exported function FakeRootTestSet should have comment or be unexported (golint)
    • Line 138: warning: exported method DBClient.ListTestSetByIDs should have comment or be unexported (golint)
    • Line 146: warning: comment on exported method DBClient.ListTestSets should be of the form "ListTestSets ..." (golint)
    • Line 240: warning: comment on exported method DBClient.GetTestSetByNameAndParentIDAndProjectID should be of the form "GetTestSetByNameAndParentIDAndProjectID ..." (golint)
    • Line 284: warning: exported method DBClient.GetAllTestSets should have comment or be unexported (golint)
    • Line 294: warning: exported method DBClient.RecycleTestSet should have comment or be unexported (golint)
    • Line 303: warning: exported method DBClient.CleanTestSetFromRecycleBin should have comment or be unexported (golint)
    • Line 307: warning: exported method DBClient.RecoverTestSet should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/emptyOrgText/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyOrgText should be emptyorgtext (golint)
    • Line 26: warning: exported type EmptyOrgText should have comment or be unexported (golint)
    • Line 32: warning: exported type Props should have comment or be unexported (golint)
    • Line 36: warning: exported method EmptyOrgText.SetCtxBundle should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method EmptyOrgText.Render should have comment or be unexported (golint)
    • Line 57: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/tools/cli/cmd/version.go
    • Line 20: warning: should not use dot imports (golint)
    • Line 23: warning: exported var VERSION should have comment or be unexported (golint)
    • Line 30: warning: exported function RunVersion should have comment or be unexported (golint)
    • erda/pkg/i18n/locale_resource.go
    • Line 16: warning: exported type LocaleResource should have comment or be unexported (golint)
    • Line 22: warning: exported method LocaleResource.Name should have comment or be unexported (golint)
    • Line 26: warning: exported method LocaleResource.ExistKey should have comment or be unexported (golint)
    • Line 38: warning: exported method LocaleResource.Get should have comment or be unexported (golint)
    • Line 60: warning: exported method LocaleResource.GetTemplate should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8s/instanceinfosync/pod.go
    • Line 65: warning: don't use underscores in Go names; var now_3 should be now3 (golint)
    • Line 76: warning: don't use underscores in Go names; var now_10 should be now10 (golint)
    • Line 98: warning: don't use underscores in Go names; func pp_healthcheck should be ppHealthcheck (golint)
    • Line 114: warning: don't use underscores in Go names; func pp_image should be ppImage (golint)
    • Line 122: warning: don't use underscores in Go names; func parameter errorinfo_human should be errorinfoHuman (golint)
    • erda/modules/monitor/core/logs/schema/cql.go
    • Line 22: warning: exported const DefaultKeySpace should have comment (or a comment on this block) or be unexported (golint)
    • Line 63: warning: exported function BaseLogWithOrgName should have comment or be unexported (golint)
    • Line 67: warning: comment on exported function KeyspaceWithOrgName should be of the form "KeyspaceWithOrgName ..." (golint)
    • erda/pkg/i18n/template.go
    • Line 21: warning: exported type Template should have comment or be unexported (golint)
    • Line 26: warning: exported function NewTemplate should have comment or be unexported (golint)
    • Line 30: warning: exported method Template.Render should have comment or be unexported (golint)
    • Line 34: warning: exported method Template.Key should have comment or be unexported (golint)
    • Line 38: warning: exported method Template.Content should have comment or be unexported (golint)
    • Line 43: warning: receiver name template should be consistent with previous receiver name t for Template (golint)
    • erda/apistructs/autotest.go
    • Line 24: warning: exported const AutoTestFileTreeNodeMetaKeyPipelineYml should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported type AutoTestFileTreeNode should have comment or be unexported (golint)
    • Line 43: warning: exported type AutoTestNodeMetaSnippetObj should have comment or be unexported (golint)
    • Line 48: warning: exported type AutoTestsScope should have comment or be unexported (golint)
    • Line 51: warning: exported var AutoTestsScopeProject should have comment or be unexported (golint)
    • Line 55: warning: exported type AutoTestCaseSavePipelineRequest should have comment or be unexported (golint)
    • Line 63: warning: exported type AutoTestCaseSavePipelineResponse should have comment or be unexported (golint)
    • Line 70: warning: exported method AutoTestCaseSavePipelineRequest.BasicValidate should have comment or be unexported (golint)
    • Line 80: warning: exported type AutoTestGlobalConfigType should have comment or be unexported (golint)
    • Line 83: warning: exported var AutoTestGlobalConfigTypeAPI should have comment or be unexported (golint)
    • Line 87: warning: exported type AutoTestGlobalConfigCreateRequest should have comment or be unexported (golint)
    • Line 99: warning: exported type AutoTestGlobalConfigCreateResponse should have comment or be unexported (golint)
    • Line 104: warning: exported method AutoTestGlobalConfigCreateRequest.BasicValidate should have comment or be unexported (golint)
    • Line 147: warning: exported type AutoTestGlobalConfig should have comment or be unexported (golint)
    • Line 163: warning: exported method AutoTestGlobalConfig.GetUserIDs should have comment or be unexported (golint)
    • Line 167: warning: exported type AutoTestAPIConfig should have comment or be unexported (golint)
    • Line 173: warning: exported method AutoTestAPIConfig.BasicValidate should have comment or be unexported (golint)
    • Line 189: warning: exported type AutoTestConfigItem should have comment or be unexported (golint)
    • Line 196: warning: exported type AutoTestUIConfig should have comment or be unexported (golint)
    • Line 199: warning: exported method AutoTestUIConfig.BasicValidate should have comment or be unexported (golint)
    • Line 203: warning: exported type AutoTestGlobalConfigUpdateRequest should have comment or be unexported (golint)
    • Line 214: warning: exported type AutoTestGlobalConfigUpdateResponse should have comment or be unexported (golint)
    • Line 219: warning: exported method AutoTestGlobalConfigUpdateRequest.BasicValidate should have comment or be unexported (golint)
    • Line 247: warning: exported type AutoTestGlobalConfigDeleteRequest should have comment or be unexported (golint)
    • Line 252: warning: exported type AutoTestGlobalConfigDeleteResponse should have comment or be unexported (golint)
    • Line 257: warning: exported method AutoTestGlobalConfigDeleteRequest.BasicValidate should have comment or be unexported (golint)
    • Line 264: warning: exported type AutoTestGlobalConfigListRequest should have comment or be unexported (golint)
    • Line 270: warning: exported type AutoTestGlobalConfigListResponse should have comment or be unexported (golint)
    • Line 275: warning: exported method AutoTestGlobalConfigListRequest.BasicValidate should have comment or be unexported (golint)
    • erda/apistructs/pipeline_report.go
    • Line 24: warning: exported const PipelineReportEventMetaKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported var PipelineReportTypeBasic should have comment or be unexported (golint)
    • Line 66: warning: exported method PipelineReportCreateRequest.BasicValidate should have comment or be unexported (golint)
    • Line 76: warning: exported type PipelineReportCreateResponse should have comment or be unexported (golint)
    • Line 81: warning: exported type PipelineReportSetGetResponse should have comment or be unexported (golint)
    • Line 86: warning: exported type PipelineReportSetPagingRequest should have comment or be unexported (golint)
    • Line 112: warning: exported type PipelineReportSetPagingResponse should have comment or be unexported (golint)
    • Line 117: warning: exported type PipelineReportSetPagingResponseData should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/empty.go
    • Line 25: warning: exported type Empty should have comment or be unexported (golint)
    • Line 30: warning: exported method Empty.Kind should have comment or be unexported (golint)
    • Line 35: warning: exported method Empty.Name should have comment or be unexported (golint)
    • Line 40: warning: exported method Empty.Create should have comment or be unexported (golint)
    • Line 45: warning: exported method Empty.Destroy should have comment or be unexported (golint)
    • Line 50: warning: exported method Empty.Status should have comment or be unexported (golint)
    • Line 55: warning: exported method Empty.Remove should have comment or be unexported (golint)
    • Line 60: warning: exported method Empty.Update should have comment or be unexported (golint)
    • Line 65: warning: exported method Empty.Inspect should have comment or be unexported (golint)
    • Line 70: warning: exported method Empty.Cancel should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/components/gantt/gantt.go
    • Line 20: warning: exported type CommonGantt should have comment or be unexported (golint)
    • Line 30: warning: exported type State should have comment or be unexported (golint)
    • Line 39: warning: exported type Props should have comment or be unexported (golint)
    • Line 46: warning: exported type PropColumn should have comment or be unexported (golint)
    • Line 55: warning: exported type PropColumnData should have comment or be unexported (golint)
    • Line 61: warning: exported var OpChangePageNo should have comment or be unexported (golint)
    • Line 64: warning: exported var Operations should have comment or be unexported (golint)
    • Line 68: warning: exported type Data should have comment or be unexported (golint)
    • Line 72: warning: exported type DataItem should have comment or be unexported (golint)
    • Line 80: warning: exported type DateRange should have comment or be unexported (golint)
    • Line 85: warning: exported type DateRangeValue should have comment or be unexported (golint)
    • Line 94: warning: exported type DataTask should have comment or be unexported (golint)
    • Line 99: warning: exported type DataTaskValue should have comment or be unexported (golint)
    • Line 107: warning: exported type User should have comment or be unexported (golint)
    • Line 115: warning: exported type RenderType should have comment or be unexported (golint)
    • Line 118: warning: exported var RenderTypeGantt should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/action/components/actionForm/render.go
    • Line 30: warning: exported const DataValueKey should have comment or be unexported (golint)
    • Line 32: warning: exported method ComponentAction.GenActionState should have comment or be unexported (golint)
    • Line 47: warning: exported function GenHeaderProps should have comment or be unexported (golint)
    • Line 93: warning: exported function GenResourceProps should have comment or be unexported (golint)
    • Line 152: warning: exported function GenParamAndLoopProps should have comment or be unexported (golint)
    • Line 173: warning: exported function GenLoopProps should have comment or be unexported (golint)
    • Line 233: warning: exported method ComponentAction.GenActionProps should have comment or be unexported (golint)
    • Line 300: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 356: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 360: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/edge-configSet/components/configSetList/operation.go
    • Line 24: warning: exported type ComponentConfigsetList should have comment or be unexported (golint)
    • Line 29: warning: exported method ComponentConfigsetList.SetBundle should have comment or be unexported (golint)
    • Line 37: warning: exported method ComponentConfigsetList.SetComponent should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method ComponentConfigsetList.OperateChangePage should be of the form "OperateChangePage ..." (golint)
    • Line 118: warning: exported method ComponentConfigsetList.OperateDelete should have comment or be unexported (golint)
    • Line 146: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/pkg/http/httpclient/client.go
    • Line 43: warning: exported type BasicAuth should have comment or be unexported (golint)
    • Line 48: warning: exported type HTTPClient should have comment or be unexported (golint)
    • Line 59: warning: exported type Option should have comment or be unexported (golint)
    • Line 80: warning: exported type OpOption should have comment or be unexported (golint)
    • Line 82: warning: exported function WithClusterDialer should have comment or be unexported (golint)
    • Line 92: warning: exported function WithHTTPS should have comment or be unexported (golint)
    • Line 98: warning: exported function WithProxy should have comment or be unexported (golint)
    • Line 104: warning: exported function WithHttpsCertFromJSON should have comment or be unexported (golint)
    • Line 119: warning: exported function WithDebug should have comment or be unexported (golint)
    • Line 125: warning: exported function WithTracer should have comment or be unexported (golint)
    • Line 132: warning: exported function WithDnsCache should have comment or be unexported (golint)
    • Line 138: warning: exported function WithCompleteRedirect should have comment or be unexported (golint)
    • Line 157: warning: exported function WithLoadingPrint should have comment or be unexported (golint)
    • Line 164: warning: exported function WithDialerKeepAlive should have comment or be unexported (golint)
    • Line 170: warning: exported function WithTimeout should have comment or be unexported (golint)
    • Line 177: warning: exported function WithCookieJar should have comment or be unexported (golint)
    • Line 183: warning: exported function WithEnableAutoRetry should have comment or be unexported (golint)
    • Line 235: warning: exported function New should have comment or be unexported (golint)
    • Line 280: warning: exported method HTTPClient.BasicAuth should have comment or be unexported (golint)
    • Line 285: warning: exported method HTTPClient.TokenAuth should have comment or be unexported (golint)
    • Line 290: warning: exported method HTTPClient.BearerTokenAuth should have comment or be unexported (golint)
    • Line 295: warning: exported method HTTPClient.Get should have comment or be unexported (golint)
    • Line 305: warning: exported method HTTPClient.Post should have comment or be unexported (golint)
    • Line 312: warning: exported method HTTPClient.Delete should have comment or be unexported (golint)
    • Line 319: warning: exported method HTTPClient.Put should have comment or be unexported (golint)
    • Line 326: warning: exported method HTTPClient.Patch should have comment or be unexported (golint)
    • Line 333: warning: exported method HTTPClient.Head should have comment or be unexported (golint)
    • Line 343: warning: exported method HTTPClient.Method should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/tableGroup/render.go
    • Line 14: warning: don't use MixedCaps in package name; tableGroup should be tablegroup (golint)
    • Line 32: warning: exported const DefaultPageNo should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: exported method TableGroup.GenComponentState should have comment or be unexported (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method TableGroup.SetCtxBundle should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 84: warning: exported method TableGroup.GetProsByPage should have comment or be unexported (golint)
    • Line 133: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 343: warning: exported method TableGroup.Render should have comment or be unexported (golint)
    • Line 406: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/pkg/kms/kmstypes/plugin.go
    • Line 14: warning: package comment should be of the form "Package kmstypes ..." (golint)
    • Line 21: warning: exported type Plugin should have comment or be unexported (golint)
    • Line 29: warning: exported type BasePlugin should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/hook.go
    • Line 31: warning: exported method Endpoints.RegisterWebhooks should have comment or be unexported (golint)
    • Line 52: warning: exported method Endpoints.GittarMRCreateCallback should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8s/k8s.go
    • Line 81: warning: comment on exported const LabelServiceGroupID should be of the form "LabelServiceGroupID ..." (golint)
    • Line 85: warning: exported type RuntimeServiceOperator should have comment or be unexported (golint)
    • Line 88: warning: exported const RuntimeServiceRetain should have comment (or a comment on this block) or be unexported (golint)
    • Line 210: warning: exported method Kubernetes.GetK8SAddr should have comment or be unexported (golint)
    • Line 224: warning: exported method Kubernetes.CleanUpBeforeDelete should have comment or be unexported (golint)
    • Line 488: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 601: warning: exported method Kubernetes.Precheck should have comment or be unexported (golint)
    • Line 613: warning: exported method Kubernetes.CapacityInfo should have comment or be unexported (golint)
    • Line 622: warning: exported method Kubernetes.ResourceInfo should have comment or be unexported (golint)
    • Line 639: warning: exported method Kubernetes.JobVolumeCreate should have comment or be unexported (golint)
    • Line 643: warning: exported method Kubernetes.KillPod should have comment or be unexported (golint)
    • Line 959: warning: exported method Kubernetes.SetOverCommitMem should have comment or be unexported (golint)
    • Line 1016: warning: exported method Kubernetes.CPUOvercommit should have comment or be unexported (golint)
    • Line 1020: warning: exported method Kubernetes.MemoryOvercommit should have comment or be unexported (golint)
    • Line 1024: warning: exported function GenTolerations should have comment or be unexported (golint)
    • erda/pkg/license/license.go
    • Line 38: warning: exported type License should have comment or be unexported (golint)
    • Line 45: warning: exported type Data should have comment or be unexported (golint)
    • Line 49: warning: exported method License.IsExpired should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/issue_property_instace.go
    • Line 28: warning: exported method Endpoints.CreateIssuePropertyInstance should have comment or be unexported (golint)
    • Line 70: warning: exported method Endpoints.UpdateIssuePropertyInstance should have comment or be unexported (golint)
    • Line 110: warning: exported method Endpoints.GetIssuePropertyInstance should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8s/addon/mysql/cr.go
    • Line 27: warning: exported const ResourceCodeMySQL should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type MySQLClusterMode should have comment or be unexported (golint)
    • Line 36: warning: exported const MySQLClusterModeGroup should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported type MySQLGroupMode should have comment or be unexported (golint)
    • Line 42: warning: exported const MySQLGroupModeSinglePrimary should have comment (or a comment on this block) or be unexported (golint)
    • Line 50: warning: comment on exported type MySQL should be of the form "MySQL ..." (with optional leading article) (golint)
    • Line 58: warning: exported type MySQLSpec should have comment or be unexported (golint)
    • Line 113: warning: exported type MySQLClusterTopology should have comment or be unexported (golint)
    • Line 122: warning: exported type MySQLGroupSpec should have comment or be unexported (golint)
    • Line 141: warning: exported type MySQLStatus should have comment or be unexported (golint)
    • Line 152: warning: exported type MySQLList should have comment or be unexported (golint)
    • Line 159: warning: exported type InitSpec should have comment or be unexported (golint)
    • Line 169: warning: exported type ScriptSourceSpec should have comment or be unexported (golint)
    • Line 174: warning: exported type SnapshotSourceSpec should have comment or be unexported (golint)
    • Line 181: warning: exported type BackupScheduleSpec should have comment or be unexported (golint)
    • Line 221: warning: exported type DatabasePhase should have comment or be unexported (golint)
    • Line 224: warning: comment on exported const DatabasePhaseRunning should be of the form "DatabasePhaseRunning ..." (golint)
    • Line 226: warning: comment on exported const DatabasePhaseCreating should be of the form "DatabasePhaseCreating ..." (golint)
    • Line 228: warning: comment on exported const DatabasePhaseInitializing should be of the form "DatabasePhaseInitializing ..." (golint)
    • Line 230: warning: comment on exported const DatabasePhaseFailed should be of the form "DatabasePhaseFailed ..." (golint)
    • Line 234: warning: exported type StorageType should have comment or be unexported (golint)
    • Line 237: warning: comment on exported const StorageTypeDurable should be of the form "StorageTypeDurable ..." (golint)
    • Line 239: warning: comment on exported const StorageTypeEphemeral should be of the form "StorageTypeEphemeral ..." (golint)
    • Line 243: warning: exported type TerminationPolicy should have comment or be unexported (golint)
    • Line 246: warning: comment on exported const TerminationPolicyPause should be of the form "TerminationPolicyPause ..." (golint)
    • Line 248: warning: comment on exported const TerminationPolicyDelete should be of the form "TerminationPolicyDelete ..." (golint)
    • Line 250: warning: comment on exported const TerminationPolicyWipeOut should be of the form "TerminationPolicyWipeOut ..." (golint)
    • Line 252: warning: comment on exported const TerminationPolicyDoNotTerminate should be of the form "TerminationPolicyDoNotTerminate ..." (golint)
    • erda/apistructs/file_records.go
    • Line 20: warning: exported type TestFileRecord should have comment or be unexported (golint)
    • Line 33: warning: exported type TestFileRecordRequest should have comment or be unexported (golint)
    • Line 46: warning: exported type TestFileExtra should have comment or be unexported (golint)
    • Line 50: warning: exported type ManualTestFileExtraInfo should have comment or be unexported (golint)
    • Line 55: warning: exported type FileRecordState should have comment or be unexported (golint)
    • Line 57: warning: exported type FileActionType should have comment or be unexported (golint)
    • Line 60: warning: exported const FileRecordStatePending should have comment (or a comment on this block) or be unexported (golint)
    • Line 69: warning: exported type ListTestFileRecordsRequest should have comment or be unexported (golint)
    • Line 74: warning: exported type GetTestFileRecordResponse should have comment or be unexported (golint)
    • Line 79: warning: exported type ListTestFileRecordsResponse should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/executortypes/types.go
    • Line 41: warning: exported method Name.Validate should have comment or be unexported (golint)
    • Line 52: warning: exported method Kind.Validate should have comment or be unexported (golint)
    • Line 56: warning: comment on exported type CreateFn should be of the form "CreateFn ..." (with optional leading article) (golint)
    • Line 59: warning: comment on exported type GetEventChanFn should be of the form "GetEventChanFn ..." (with optional leading article) (golint)
    • Line 62: warning: exported type EventCbFn should have comment or be unexported (golint)
    • Line 64: warning: exported type NodeLabelSetting should have comment or be unexported (golint)
    • Line 102: warning: exported type TerminalExecutor should have comment or be unexported (golint)
    • Line 106: warning: exported type StopEventsChans should have comment or be unexported (golint)
    • Line 111: warning: exported var Factory should have comment or be unexported (golint)
    • Line 112: warning: exported var EvFuncMap should have comment or be unexported (golint)
    • Line 113: warning: exported var EvCbMap should have comment or be unexported (golint)
    • Line 127: warning: comment on exported function RegisterEvChan should be of the form "RegisterEvChan ..." (golint)
    • Line 138: warning: exported function UnRegisterEvChan should have comment or be unexported (golint)
    • erda/modules/scheduler/impl/cluster/clusterutil/clusterutil.go
    • Line 45: warning: comment on exported const K8SKindFlink should be of the form "K8SKindFlink ..." (golint)
    • Line 47: warning: comment on exported const K8SKindSpark should be of the form "K8SKindSpark ..." (golint)
    • Line 49: warning: comment on exported const K8SSparkVersion should be of the form "K8SSparkVersion ..." (golint)
    • Line 87: warning: exported function SetJobVolumeExecutorByCluster should have comment or be unexported (golint)
    • Line 133: warning: exported function GenerateExecutorByClusterName should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/edge-configSet-item/components/configItemList/operation.go
    • Line 25: warning: exported type ComponentConfigItemList should have comment or be unexported (golint)
    • Line 30: warning: exported type EdgeCfgItemListState should have comment or be unexported (golint)
    • Line 36: warning: exported method ComponentConfigItemList.SetBundle should have comment or be unexported (golint)
    • Line 44: warning: exported method ComponentConfigItemList.SetComponent should have comment or be unexported (golint)
    • Line 52: warning: comment on exported method ComponentConfigItemList.OperateChangePage should be of the form "OperateChangePage ..." (golint)
    • Line 150: warning: exported method ComponentConfigItemList.OperateDelete should have comment or be unexported (golint)
    • Line 178: warning: exported method ComponentConfigItemList.OperateReload should have comment or be unexported (golint)
    • Line 199: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/fileFormModal/render.go
    • Line 14: warning: don't use MixedCaps in package name; fileFormModal should be fileformmodal (golint)
    • Line 27: warning: exported method ComponentFileFormModal.SetBundle should have comment or be unexported (golint)
    • Line 36: warning: exported method ComponentFileFormModal.Render should have comment or be unexported (golint)
    • Line 256: warning: exported method ComponentFileFormModal.AddSceneSet should have comment or be unexported (golint)
    • Line 272: warning: exported method ComponentFileFormModal.GetSceneSet should have comment or be unexported (golint)
    • Line 289: warning: exported method ComponentFileFormModal.GetScene should have comment or be unexported (golint)
    • Line 306: warning: exported method ComponentFileFormModal.AddScene should have comment or be unexported (golint)
    • Line 325: warning: exported method ComponentFileFormModal.AddRefSceneSet should have comment or be unexported (golint)
    • Line 350: warning: exported method ComponentFileFormModal.UpdateSceneSet should have comment or be unexported (golint)
    • Line 368: warning: exported method ComponentFileFormModal.UpdateScene should have comment or be unexported (golint)
    • Line 438: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/msp/apm/checker/storage/db/project.go
    • Line 31: warning: exported method ProjectDB.GetByFields should have comment or be unexported (golint)
    • Line 46: warning: exported method ProjectDB.GetByID should have comment or be unexported (golint)
    • Line 52: warning: exported method ProjectDB.GetByProjectID should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/joinedBrief/render.go
    • Line 14: warning: don't use MixedCaps in package name; joinedBrief should be joinedbrief (golint)
    • Line 30: warning: exported const DefaultType should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported function RenderCreator should have comment or be unexported (golint)
    • Line 37: warning: exported type JoinedBrief should have comment or be unexported (golint)
    • Line 45: warning: exported type State should have comment or be unexported (golint)
    • Line 68: warning: exported type StyleNames should have comment or be unexported (golint)
    • Line 90: warning: exported method JoinedBrief.SetCtxBundle should have comment or be unexported (golint)
    • Line 90: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 120: warning: exported method JoinedBrief.Render should have comment or be unexported (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 153: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 187: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 208: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • erda/modules/openapi/component-protocol/component_spec/edit_list/spec.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 16: warning: exported type Props should have comment or be unexported (golint)
    • Line 21: warning: exported type Temp should have comment or be unexported (golint)
    • Line 29: warning: exported type Render should have comment or be unexported (golint)
    • Line 41: warning: exported type PropRenderProp should have comment or be unexported (golint)
    • Line 47: warning: exported type PropRenderRule should have comment or be unexported (golint)
    • Line 52: warning: exported type PropChangeOption should have comment or be unexported (golint)
    • Line 59: warning: exported method PropChangeOption.FindValue should have comment or be unexported (golint)
    • erda/modules/openapi/api/spec/spec.go
    • Line 33: warning: exported type APIs should have comment or be unexported (golint)
    • Line 35: warning: comment on exported method APIs.Find should be of the form "Find ..." (golint)
    • Line 46: warning: exported method APIs.FindOriginPath should have comment or be unexported (golint)
    • Line 57: warning: exported type Matcher should have comment or be unexported (golint)
    • Line 61: warning: exported function NewMatcher should have comment or be unexported (golint)
    • Line 65: warning: exported method Matcher.MatchMethod should have comment or be unexported (golint)
    • Line 69: warning: exported method Matcher.MatchPath should have comment or be unexported (golint)
    • Line 72: warning: exported method Matcher.MatchBackendPath should have comment or be unexported (golint)
    • Line 76: warning: exported type Scheme should have comment or be unexported (golint)
    • Line 79: warning: exported const WS should have comment (or a comment on this block) or be unexported (golint)
    • Line 93: warning: exported function SchemeFromString should have comment or be unexported (golint)
    • Line 104: warning: exported type Spec should have comment or be unexported (golint)
    • Line 126: warning: exported method Spec.Validate should have comment or be unexported (golint)
    • Line 138: warning: exported type Path should have comment or be unexported (golint)
    • Line 144: warning: exported function NewPath should have comment or be unexported (golint)
    • Line 168: warning: exported method Path.Vars should have comment or be unexported (golint)
    • Line 199: warning: exported method Path.Match should have comment or be unexported (golint)
    • Line 204: warning: exported method Path.Fill should have comment or be unexported (golint)
    • Line 219: warning: exported type AuditContext should have comment or be unexported (golint)
    • Line 234: warning: exported method AuditContext.GetParamInt64 should have comment or be unexported (golint)
    • Line 242: warning: exported method AuditContext.GetParamUInt64 should have comment or be unexported (golint)
    • Line 250: warning: exported method AuditContext.GetParamString should have comment or be unexported (golint)
    • Line 258: warning: exported method AuditContext.GetOrg should have comment or be unexported (golint)
    • Line 280: warning: exported method AuditContext.GetProject should have comment or be unexported (golint)
    • Line 302: warning: exported method AuditContext.GetApp should have comment or be unexported (golint)
    • Line 324: warning: exported method AuditContext.BindRequestData should have comment or be unexported (golint)
    • Line 331: warning: exported method AuditContext.BindResponseData should have comment or be unexported (golint)
    • erda/modules/orchestrator/services/migration/migration.go
    • Line 68: warning: exported method Migration.Create should have comment or be unexported (golint)
    • Line 99: warning: exported method Migration.Start should have comment or be unexported (golint)
    • Line 303: warning: exported method Migration.CleanUnusedMigrationNs should have comment or be unexported (golint)
    • Line 328: warning: exported method Migration.Remove should have comment or be unexported (golint)
    • erda/modules/orchestrator/endpoints/types.go
    • Line 16: warning: exported type RuntimeStatusEventReq should have comment or be unexported (golint)
    • Line 23: warning: exported type ServiceStatusEvent should have comment or be unexported (golint)
    • Line 30: warning: exported type InstanceStatusEvent should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/pipelineymlv1/get.go
    • Line 41: warning: exported type GetTask should have comment or be unexported (golint)
    • Line 47: warning: exported method GetTask.GetCustomTaskRunPathArgs should have comment or be unexported (golint)
    • Line 51: warning: exported method GetTask.GetTimeout should have comment or be unexported (golint)
    • Line 55: warning: exported method GetTask.GetStatus should have comment or be unexported (golint)
    • Line 59: warning: exported method GetTask.SetStatus should have comment or be unexported (golint)
    • Line 63: warning: exported method GetTask.GetTaskParams should have comment or be unexported (golint)
    • Line 67: warning: exported method GetTask.GetVersion should have comment or be unexported (golint)
    • Line 71: warning: exported method GetTask.GetParams should have comment or be unexported (golint)
    • Line 75: warning: exported method GetTask.GetTaskConfig should have comment or be unexported (golint)
    • Line 79: warning: exported method GetTask.GetResource should have comment or be unexported (golint)
    • Line 83: warning: exported method GetTask.IsDisable should have comment or be unexported (golint)
    • Line 90: warning: exported method GetTask.IsPause should have comment or be unexported (golint)
    • Line 97: warning: exported method GetTask.IsResourceTask should have comment or be unexported (golint)
    • Line 101: warning: exported method GetTask.GetResourceType should have comment or be unexported (golint)
    • Line 105: warning: comment on exported method GetTask.RequiredContext should be of the form "RequiredContext ..." (golint)
    • Line 110: warning: exported method GetTask.OutputToContext should have comment or be unexported (golint)
    • Line 114: warning: exported method GetTask.Type should have comment or be unexported (golint)
    • Line 118: warning: exported method GetTask.Name should have comment or be unexported (golint)
    • Line 122: warning: exported method GetTask.GetEnvs should have comment or be unexported (golint)
    • Line 126: warning: exported method GetTask.Validate should have comment or be unexported (golint)
    • Line 133: warning: exported type GetRequest should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/edge-site/components/siteList/operation.go
    • Line 25: warning: exported type ComponentList should have comment or be unexported (golint)
    • Line 30: warning: exported type EdgeSiteState should have comment or be unexported (golint)
    • Line 35: warning: exported method ComponentList.SetBundle should have comment or be unexported (golint)
    • Line 43: warning: exported method ComponentList.SetComponent should have comment or be unexported (golint)
    • Line 51: warning: comment on exported method ComponentList.OperateChangePage should be of the form "OperateChangePage ..." (golint)
    • Line 138: warning: exported method ComponentList.OperateDelete should have comment or be unexported (golint)
    • Line 166: warning: exported method ComponentList.OperateReload should have comment or be unexported (golint)
    • Line 193: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/dop/dao/issue_property_value.go
    • Line 27: warning: exported method IssuePropertyValue.TableName should have comment or be unexported (golint)
    • Line 31: warning: exported method DBClient.CreateIssuePropertyValue should have comment or be unexported (golint)
    • Line 35: warning: exported method DBClient.CreateIssuePropertyValues should have comment or be unexported (golint)
    • Line 39: warning: exported method DBClient.DeleteIssuePropertyValue should have comment or be unexported (golint)
    • Line 43: warning: exported method DBClient.DeleteIssuePropertyValuesByPropertyID should have comment or be unexported (golint)
    • Line 47: warning: exported method DBClient.UpdateIssuePropertyValue should have comment or be unexported (golint)
    • Line 51: warning: exported method DBClient.GetIssuePropertyValues should have comment or be unexported (golint)
    • Line 59: warning: exported method DBClient.GetIssuePropertyValue should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/issue_property.go
    • Line 28: warning: exported method Endpoints.CreateIssueProperty should have comment or be unexported (golint)
    • Line 50: warning: exported method Endpoints.DeleteIssueProperty should have comment or be unexported (golint)
    • Line 76: warning: exported method Endpoints.UpdateIssueProperty should have comment or be unexported (golint)
    • Line 111: warning: exported method Endpoints.UpdateIssuePropertiesIndex should have comment or be unexported (golint)
    • Line 146: warning: exported method Endpoints.GetIssueProperties should have comment or be unexported (golint)
    • Line 168: warning: exported method Endpoints.GetIssuePropertyUpdateTime should have comment or be unexported (golint)
    • erda/modules/openapi/auth/auth.go
    • Line 33: warning: exported type AuthResult should have comment or be unexported (golint)
    • Line 38: warning: exported type TokenClient should have comment or be unexported (golint)
    • Line 44: warning: exported const Unauthed should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: exported const HeaderAuthorization should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: exported type Auth should have comment or be unexported (golint)
    • Line 60: warning: exported function NewAuth should have comment or be unexported (golint)
    • Line 73: warning: exported method Auth.Auth should have comment or be unexported (golint)
    • Line 158: warning: exported const LOGIN should have comment (or a comment on this block) or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/edge-app-site/components/statusViewGroup/operation.go
    • Line 26: warning: exported type ComponentViewGroup should have comment or be unexported (golint)
    • Line 31: warning: exported method ComponentViewGroup.SetBundle should have comment or be unexported (golint)
    • Line 39: warning: exported method ComponentViewGroup.SetComponent should have comment or be unexported (golint)
    • Line 47: warning: exported method ComponentViewGroup.OperationChangeViewGroup should have comment or be unexported (golint)
    • Line 73: warning: exported method ComponentViewGroup.Operation should have comment or be unexported (golint)
    • Line 137: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/hepa/endpoint/factories/k8s.go
    • Line 21: warning: exported type K8SFactory should have comment or be unexported (golint)
    • Line 25: warning: exported function NewK8SFactory should have comment or be unexported (golint)
    • Line 49: warning: exported method K8SFactory.TouchRoute should have comment or be unexported (golint)
    • Line 70: warning: exported method K8SFactory.TouchComponentRoute should have comment or be unexported (golint)
    • Line 93: warning: exported method K8SFactory.ClearComponentRoute should have comment or be unexported (golint)
    • Line 100: warning: exported method K8SFactory.ClearRoute should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/instance.go
    • Line 30: warning: comment on exported method Endpoints.CreateInstantiation should be of the form "CreateInstantiation ..." (golint)
    • Line 97: warning: comment on exported method Endpoints.GetInstantiations should be of the form "GetInstantiations ..." (golint)
    • Line 167: warning: comment on exported method Endpoints.UpdateInstantiation should be of the form "UpdateInstantiation ..." (golint)
    • Line 244: warning: comment on exported method Endpoints.ListRuntimeServices should be of the form "ListRuntimeServices ..." (golint)
    • erda/modules/pipeline/services/reportsvc/define.go
    • Line 20: warning: exported type ReportSvc should have comment or be unexported (golint)
    • Line 24: warning: exported function New should have comment or be unexported (golint)
    • Line 34: warning: exported type Option should have comment or be unexported (golint)
    • Line 36: warning: exported function WithDBClient should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/pipelineymlv1/insert.go
    • Line 23: warning: exported method PipelineYml.InsertDiceHub should have comment or be unexported (golint)
    • Line 64: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 153: warning: exported function InsertStage should have comment or be unexported (golint)
    • Line 156: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • erda/tools/cli/command/context.go
    • Line 40: warning: exported function GetContext should have comment or be unexported (golint)
    • Line 44: warning: exported type Context should have comment or be unexported (golint)
    • Line 51: warning: exported type OrgInfo should have comment or be unexported (golint)
    • Line 57: warning: exported method Context.Get should have comment or be unexported (golint)
    • Line 61: warning: exported method Context.Post should have comment or be unexported (golint)
    • Line 65: warning: exported method Context.Put should have comment or be unexported (golint)
    • Line 69: warning: exported method Context.Patch should have comment or be unexported (golint)
    • Line 73: warning: exported method Context.Delete should have comment or be unexported (golint)
    • Line 89: warning: comment on exported method Context.CurrentOrg should be of the form "CurrentOrg ..." (golint)
    • Line 119: warning: exported method Context.AvailableOrgs should have comment or be unexported (golint)
    • Line 189: warning: exported method Context.DiceYml should have comment or be unexported (golint)
    • Line 195: warning: exported method Context.DevDiceYml should have comment or be unexported (golint)
    • Line 201: warning: exported method Context.TestDiceYml should have comment or be unexported (golint)
    • Line 207: warning: exported method Context.StagingDiceYml should have comment or be unexported (golint)
    • Line 213: warning: exported method Context.ProdDiceYml should have comment or be unexported (golint)
    • Line 220: warning: exported method Context.Succ should have comment or be unexported (golint)
    • Line 225: warning: exported method Context.Fail should have comment or be unexported (golint)
    • Line 230: warning: exported type Release should have comment or be unexported (golint)
    • Line 240: warning: exported type ReleaseResponse should have comment or be unexported (golint)
    • erda/modules/scheduler/events/events.go
    • Line 37: warning: exported var EventboxDir should have comment or be unexported (golint)
    • Line 69: warning: exported function New should have comment or be unexported (golint)
    • Line 84: warning: exported function WithDest should have comment or be unexported (golint)
    • Line 90: warning: exported function WithSender should have comment or be unexported (golint)
    • Line 96: warning: exported function OnlyOne should have comment or be unexported (golint)
    • erda/pkg/ucauth/kratos.go
    • Line 26: warning: exported type OryKratosSession should have comment or be unexported (golint)
    • Line 32: warning: exported type OryKratosIdentity should have comment or be unexported (golint)
    • Line 38: warning: exported type OryKratosIdentityTraits should have comment or be unexported (golint)
    • Line 43: warning: exported type OryKratosIdentityTraitsName should have comment or be unexported (golint)
    • erda/bundle/bundle.go
    • Line 101: warning: exported function WithCoreServices should have comment or be unexported (golint)
    • Line 109: warning: exported function WithDOP should have comment or be unexported (golint)
    • Line 229: warning: exported function WithPipeline should have comment or be unexported (golint)
    • Line 246: warning: exported function WithKMS should have comment or be unexported (golint)
    • Line 254: warning: exported function WithAPIM should have comment or be unexported (golint)
    • erda/pkg/http/httpclient/retry.go
    • Line 20: warning: comment on exported type RetryFunc should be of the form "RetryFunc ..." (with optional leading article) (golint)
    • Line 23: warning: exported type RetryOption should have comment or be unexported (golint)
    • Line 30: warning: exported var Retry5XX should have comment or be unexported (golint)
    • erda/modules/hepa/apipolicy/policies/ip/dto.go
    • Line 24: warning: exported const LIMIT_INNER_STATUS should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type IpRateUnit should have comment or be unexported (golint)
    • Line 30: warning: exported const SECOND should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type IpSourceType should have comment or be unexported (golint)
    • Line 37: warning: exported const REMOTE_IP should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported type IpAclType should have comment or be unexported (golint)
    • Line 45: warning: exported const ACL_BLACK should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported type IpRate should have comment or be unexported (golint)
    • Line 54: warning: exported type PolicyDto should have comment or be unexported (golint)
    • Line 65: warning: exported method PolicyDto.IsValidDto should have comment or be unexported (golint)
    • erda/apistructs/runtime.go
    • Line 20: warning: comment on exported type RuntimeInspectRequest should be of the form "RuntimeInspectRequest ..." (with optional leading article) (golint)
    • Line 38: warning: comment on exported type RuntimeInspectResponse should be of the form "RuntimeInspectResponse ..." (with optional leading article) (golint)
    • Line 44: warning: exported type RuntimeListResponse should have comment or be unexported (golint)
    • Line 66: warning: comment on exported type RuntimeCreateV2ResponseData should be of the form "RuntimeCreateV2ResponseData ..." (with optional leading article) (golint)
    • Line 71: warning: exported type RuntimeCreateRequest should have comment or be unexported (golint)
    • Line 81: warning: exported type RuntimeKillPodRequest should have comment or be unexported (golint)
    • Line 85: warning: exported type RuntimeReleaseCreatePipelineResponse should have comment or be unexported (golint)
    • Line 89: warning: exported type RuntimeReleaseCreateRequest should have comment or be unexported (golint)
    • Line 100: warning: exported type RuntimeCreateRequestExtra should have comment or be unexported (golint)
    • Line 115: warning: exported type RuntimeCreateResponse should have comment or be unexported (golint)
    • Line 120: warning: exported type RuntimeRedeployResponse should have comment or be unexported (golint)
    • Line 125: warning: exported type RuntimeRollbackRequest should have comment or be unexported (golint)
    • Line 129: warning: exported type RuntimeRollbackResponse should have comment or be unexported (golint)
    • Line 134: warning: exported type RuntimeDeleteResponse should have comment or be unexported (golint)
    • Line 139: warning: exported type PageInfo should have comment or be unexported (golint)
    • Line 147: warning: exported method PageInfo.GetOffset should have comment or be unexported (golint)
    • Line 155: warning: exported method PageInfo.GetLimit should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-plan-detail/components/scenesSetSelect/render.go
    • Line 14: warning: don't use MixedCaps in package name; scenesSetSelect should be scenessetselect (golint)
    • Line 27: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 47: warning: exported type Value should have comment or be unexported (golint)
    • Line 58: warning: exported type Data should have comment or be unexported (golint)
    • Line 144: warning: exported method ComponentAction.SetBundle should have comment or be unexported (golint)
    • Line 153: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 153: warning: receiver name ca should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 238: warning: exported method ComponentAction.HandlerChangeValue should have comment or be unexported (golint)
    • Line 238: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 248: warning: exported method ComponentAction.HandlerSearchValue should have comment or be unexported (golint)
    • Line 248: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 285: warning: exported method ComponentAction.HandlerDefaultValue should have comment or be unexported (golint)
    • Line 285: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 340: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/pipeline/services/reportsvc/report.go
    • Line 24: warning: exported method ReportSvc.Create should have comment or be unexported (golint)
    • Line 62: warning: exported method ReportSvc.GetPipelineReportSet should have comment or be unexported (golint)
    • Line 80: warning: exported method ReportSvc.PagingPipelineReportSets should have comment or be unexported (golint)
    • erda/modules/pipeline/pipengine/actionexecutor/plugins/scheduler/scheduler.go
    • Line 37: warning: exported var Kind should have comment or be unexported (golint)
    • Line 40: warning: exported const OPTION_ADDR should have comment (or a comment on this block) or be unexported (golint)
    • Line 68: warning: exported type Sched should have comment or be unexported (golint)
    • Line 74: warning: exported method Sched.Kind should have comment or be unexported (golint)
    • Line 78: warning: exported method Sched.Name should have comment or be unexported (golint)
    • Line 132: warning: exported method Sched.Create should have comment or be unexported (golint)
    • Line 184: warning: exported method Sched.Start should have comment or be unexported (golint)
    • Line 239: warning: exported method Sched.Update should have comment or be unexported (golint)
    • Line 243: warning: exported method Sched.Status should have comment or be unexported (golint)
    • Line 280: warning: exported method Sched.Inspect should have comment or be unexported (golint)
    • Line 284: warning: exported method Sched.Cancel should have comment or be unexported (golint)
    • Line 312: warning: exported method Sched.Remove should have comment or be unexported (golint)
    • Line 342: warning: exported method Sched.BatchDelete should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8sflink/types.go
    • Line 23: warning: exported type Flink should have comment or be unexported (golint)
    • Line 29: warning: exported type Option should have comment or be unexported (golint)
    • Line 31: warning: exported function New should have comment or be unexported (golint)
    • Line 39: warning: exported function WithClient should have comment or be unexported (golint)
    • Line 49: warning: exported function WithName should have comment or be unexported (golint)
    • Line 55: warning: exported function WithKind should have comment or be unexported (golint)
    • erda/modules/gittar/api/repo.go
    • Line 145: warning: comment on exported function GetRepoBranchDetail should be of the form "GetRepoBranchDetail ..." (golint)
    • Line 310: warning: exported function Commit should have comment or be unexported (golint)
    • Line 340: warning: exported function DiffFile should have comment or be unexported (golint)
    • Line 434: warning: exported function GetRepoBlobRange should have comment or be unexported (golint)
    • Line 808: warning: comment on exported function UpdateRepoByApp should be of the form "UpdateRepoByApp ..." (golint)
    • Line 838: warning: comment on exported function SearchRepoTree should be of the form "SearchRepoTree ..." (golint)
    • erda/modules/gittar/profiling/echo.go
    • Line 23: warning: exported function Wrap should have comment or be unexported (golint)
    • Line 59: warning: exported function GCHandler should have comment or be unexported (golint)
    • Line 99: warning: exported function AllocsHandler should have comment or be unexported (golint)
    • Line 130: warning: comment on exported function ProfileHandler should be of the form "ProfileHandler ..." (golint)
    • erda/apistructs/issue_property.go
    • Line 20: warning: comment on exported type IssuePropertyCreateRequest should be of the form "IssuePropertyCreateRequest ..." (with optional leading article) (golint)
    • Line 35: warning: comment on exported type IssuePropertyUpdateRequest should be of the form "IssuePropertyUpdateRequest ..." (with optional leading article) (golint)
    • Line 43: warning: exported type IssuePropertyIndexUpdateRequest should have comment or be unexported (golint)
    • Line 48: warning: exported type IssuePropertyTimeGetRequest should have comment or be unexported (golint)
    • Line 52: warning: comment on exported type IssuePropertyDeleteRequest should be of the form "IssuePropertyDeleteRequest ..." (with optional leading article) (golint)
    • Line 59: warning: comment on exported type IssuePropertiesGetRequest should be of the form "IssuePropertiesGetRequest ..." (with optional leading article) (golint)
    • Line 67: warning: comment on exported type Enumerate should be of the form "Enumerate ..." (with optional leading article) (golint)
    • Line 74: warning: comment on exported type PropertyType should be of the form "PropertyType ..." (with optional leading article) (golint)
    • Line 78: warning: exported const PropertyTypeText should have comment (or a comment on this block) or be unexported (golint)
    • Line 90: warning: exported method PropertyType.IsOptions should have comment or be unexported (golint)
    • Line 97: warning: exported method PropertyType.IsNumber should have comment or be unexported (golint)
    • Line 104: warning: comment on exported method PropertyType.IsCanChange should be of the form "IsCanChange ..." (golint)
    • Line 123: warning: comment on exported type IssuePropertyIndex should be of the form "IssuePropertyIndex ..." (with optional leading article) (golint)
    • Line 140: warning: exported type PropertyIssueType should have comment or be unexported (golint)
    • Line 143: warning: exported const PropertyIssueTypeRequirement should have comment (or a comment on this block) or be unexported (golint)
    • Line 150: warning: exported method PropertyIssueType.GetZhName should have comment or be unexported (golint)
    • Line 167: warning: exported type IssuePropertyUpdateTimes should have comment or be unexported (golint)
    • Line 173: warning: exported type IssuePropertyResponse should have comment or be unexported (golint)
    • Line 177: warning: exported type IssuePropertiesResponse should have comment or be unexported (golint)
    • Line 182: warning: exported type IssuePropertyUpdateTimesResponse should have comment or be unexported (golint)
    • erda/modules/monitor/apm/alert/alert.go
    • Line 27: warning: exported const MicroServiceScope should have comment or be unexported (golint)
    • Line 30: warning: exported const Domain should have comment (or a comment on this block) or be unexported (golint)
    • Line 443: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 457: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 460: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 461: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 466: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 469: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 472: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 479: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 482: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 488: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • erda/apistructs/api_asset.go
    • Line 24: warning: exported const UnlimitedSLAName should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type WorkSpace should have comment or be unexported (golint)
    • Line 30: warning: exported const WorkspaceDev should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported type Authentication should have comment or be unexported (golint)
    • Line 38: warning: exported method Authentication.ToLower should have comment or be unexported (golint)
    • Line 43: warning: exported const AuthenticationKeyAuth should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported type Authorization should have comment or be unexported (golint)
    • Line 50: warning: exported method Authorization.ToLower should have comment or be unexported (golint)
    • Line 54: warning: exported method Authorization.Valid should have comment or be unexported (golint)
    • Line 64: warning: exported const AuthorizationAuto should have comment (or a comment on this block) or be unexported (golint)
    • Line 68: warning: exported type Source should have comment or be unexported (golint)
    • Line 71: warning: exported const SourceSystem should have comment (or a comment on this block) or be unexported (golint)
    • Line 78: warning: exported method APISpecProtocol.Valid should have comment or be unexported (golint)
    • Line 89: warning: exported const APISpecProtocolOAS2Yaml should have comment (or a comment on this block) or be unexported (golint)
    • Line 99: warning: exported method APIInstanceType.Valid should have comment or be unexported (golint)
    • Line 109: warning: exported const APIInstanceTypeGateway should have comment (or a comment on this block) or be unexported (golint)
    • Line 114: warning: exported type ContractStatus should have comment or be unexported (golint)
    • Line 116: warning: exported method ContractStatus.ToLower should have comment or be unexported (golint)
    • Line 121: warning: exported const ContractApproved should have comment (or a comment on this block) or be unexported (golint)
    • Line 127: warning: exported type SLAUsedInContract should have comment or be unexported (golint)
    • Line 130: warning: exported const Current should have comment (or a comment on this block) or be unexported (golint)
    • Line 134: warning: exported type APIAssetID should have comment or be unexported (golint)
    • Line 136: warning: comment on exported function ValidateAPIAssetID should be of the form "ValidateAPIAssetID ..." (golint)
    • Line 147: warning: exported type DurationUnit should have comment or be unexported (golint)
    • Line 149: warning: exported method DurationUnit.Valid should have comment or be unexported (golint)
    • Line 159: warning: exported const DurationSecond should have comment (or a comment on this block) or be unexported (golint)
    • Line 165: warning: comment on exported type APIAssetsModel should be of the form "APIAssetsModel ..." (with optional leading article) (golint)
    • Line 185: warning: exported method APIAssetsModel.TableName should have comment or be unexported (golint)
    • Line 189: warning: comment on exported type APIAssetVersionsModel should be of the form "APIAssetVersionsModel ..." (with optional leading article) (golint)
    • Line 210: warning: exported method APIAssetVersionsModel.TableName should have comment or be unexported (golint)
    • Line 214: warning: comment on exported type APIAssetVersionSpecsModel should be of the form "APIAssetVersionSpecsModel ..." (with optional leading article) (golint)
    • Line 225: warning: exported method APIAssetVersionSpecsModel.TableName should have comment or be unexported (golint)
    • Line 229: warning: exported type APIAccessesModel should have comment or be unexported (golint)
    • Line 249: warning: exported method APIAccessesModel.TableName should have comment or be unexported (golint)
    • Line 256: warning: comment on exported type InstantiationModel should be of the form "InstantiationModel ..." (with optional leading article) (golint)
    • Line 275: warning: exported method InstantiationModel.TableName should have comment or be unexported (golint)
    • Line 279: warning: comment on exported type ClientModel should be of the form "ClientModel ..." (with optional leading article) (golint)
    • Line 290: warning: exported method ClientModel.TableName should have comment or be unexported (golint)
    • Line 294: warning: comment on exported type ContractModel should be of the form "ContractModel ..." (with optional leading article) (golint)
    • Line 309: warning: exported method ContractModel.TableName should have comment or be unexported (golint)
    • Line 313: warning: comment on exported type ContractRecordModel should be of the form "ContractRecordModel ..." (with optional leading article) (golint)
    • Line 323: warning: exported method ContractRecordModel.TableName should have comment or be unexported (golint)
    • Line 327: warning: exported type BaseModel should have comment or be unexported (golint)
    • Line 335: warning: comment on exported type SLAModel should be of the form "SLAModel ..." (with optional leading article) (golint)
    • Line 346: warning: exported method SLAModel.TableName should have comment or be unexported (golint)
    • Line 350: warning: exported type SLALimitModel should have comment or be unexported (golint)
    • Line 358: warning: exported method SLALimitModel.TableName should have comment or be unexported (golint)
    • Line 362: warning: exported type APIOAS3IndexModel should have comment or be unexported (golint)
    • Line 376: warning: exported method APIOAS3IndexModel.TableName should have comment or be unexported (golint)
    • Line 380: warning: exported type APIOAS3FragmentModel should have comment or be unexported (golint)
    • Line 389: warning: exported method APIOAS3FragmentModel.TableName should have comment or be unexported (golint)
    • erda/apistructs/mbox.go
    • Line 18: warning: exported type MBoxStatus should have comment or be unexported (golint)
    • Line 21: warning: exported const MBoxReadStatus should have comment (or a comment on this block) or be unexported (golint)
    • Line 72: warning: comment on exported type QueryMBoxStatsResponse should be of the form "QueryMBoxStatsResponse ..." (with optional leading article) (golint)
    • Line 78: warning: exported type QueryMBoxStatsData should have comment or be unexported (golint)
    • erda/modules/monitor/utils/duration.go
    • Line 21: warning: exported type Duration should have comment or be unexported (golint)
    • Line 23: warning: exported method Duration.UnmarshalYAML should have comment or be unexported (golint)
    • Line 37: warning: exported method Duration.MarshalYAML should have comment or be unexported (golint)
    • Line 41: warning: exported method Duration.Duration should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method Duration.FormatDuration should be of the form "FormatDuration ..." (golint)
    • erda/pkg/qaparser/types/testtype.go
    • Line 16: warning: comment on exported type TestParserType should be of the form "TestParserType ..." (with optional leading article) (golint)
    • Line 20: warning: comment on exported const Default should be of the form "Default ..." (golint)
    • Line 22: warning: comment on exported const NGTest should be of the form "NGTest ..." (golint)
    • Line 24: warning: comment on exported const JUnit should be of the form "JUnit ..." (golint)
    • Line 28: warning: exported method TestParserType.TPValue should have comment or be unexported (golint)
    • erda/modules/gittar/conf/conf.go
    • Line 150: warning: comment on exported function GitMaxDiffLines should be of the form "GitMaxDiffLines ..." (golint)
    • Line 185: warning: exported function OryEnabled should have comment or be unexported (golint)
    • Line 189: warning: exported function OryKratosAddr should have comment or be unexported (golint)
    • Line 193: warning: exported function OryCompatibleClientID should have comment or be unexported (golint)
    • Line 197: warning: exported function OryCompatibleClientSecret should have comment or be unexported (golint)
    • Line 201: warning: exported function OryKratosPrivateAddr should have comment or be unexported (golint)
    • erda/modules/gittar/pkg/gitmodule/tree_blob.go
    • Line 23: warning: error var ERROR_PATH_NOT_FOUND should have name of the form ErrFoo (golint)
    • Line 23: warning: exported var ERROR_PATH_NOT_FOUND should have comment or be unexported (golint)
    • Line 26: warning: exported method Tree.GetTreeEntryByPath should have comment or be unexported (golint)
    • Line 54: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 71: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 76: warning: exported method Tree.GetBlobByPath should have comment or be unexported (golint)
    • erda/bundle/ingress.go
    • Line 22: warning: comment on exported method Bundle.CreateOrUpdateComponentIngress should be of the form "CreateOrUpdateComponentIngress ..." (golint)
    • erda/modules/hepa/gateway/dto/api_req_dto.go
    • Line 16: warning: exported var INNER_HOSTS should have comment or be unexported (golint)
    • Line 23: warning: exported type ApiDto should have comment or be unexported (golint)
    • Line 61: warning: exported type ApiReqOptionDto should have comment or be unexported (golint)
    • Line 68: warning: exported type ApiReqDto should have comment or be unexported (golint)
    • Line 73: warning: exported method ApiReqDto.IsEmpty should have comment or be unexported (golint)
    • Line 90: warning: exported method ApiReqDto.AddHost should have comment or be unexported (golint)
    • erda/modules/ecp/endpoints/common.go
    • Line 42: warning: exported method Endpoints.EdgeOrgPermCheck should have comment or be unexported (golint)
    • Line 66: warning: exported method Endpoints.IsManager should have comment or be unexported (golint)
    • Line 88: warning: exported method Endpoints.GetIdentity should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/issue-manage/components/issueImport/render.go
    • Line 14: warning: don't use MixedCaps in package name; issueImport should be issueimport (golint)
    • Line 23: warning: comment on exported type IssueImportProps should be of the form "IssueImportProps ..." (with optional leading article) (golint)
    • Line 35: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 37: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 60: warning: comment on exported method ComponentAction.CheckUserPermission should be of the form "CheckUserPermission ..." (golint)
    • Line 81: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/edge-app-site-ip/components/siteIpList/operation.go
    • Line 25: warning: exported const DefaultSelected should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: exported type ComponentList should have comment or be unexported (golint)
    • Line 33: warning: exported type EdgeAppSiteIPInParam should have comment or be unexported (golint)
    • Line 39: warning: exported type EdgeAppSiteIPState should have comment or be unexported (golint)
    • Line 44: warning: exported method ComponentList.SetBundle should have comment or be unexported (golint)
    • Line 52: warning: exported method ComponentList.SetComponent should have comment or be unexported (golint)
    • Line 60: warning: comment on exported method ComponentList.OperateChangePage should be of the form "OperateChangePage ..." (golint)
    • Line 86: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 151: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/emptyApplication/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyApplication should be emptyapplication (golint)
    • Line 29: warning: exported function RenderCreator should have comment or be unexported (golint)
    • Line 33: warning: exported type EmptyApplication should have comment or be unexported (golint)
    • Line 46: warning: exported type State should have comment or be unexported (golint)
    • Line 51: warning: exported method EmptyApplication.GenComponentState should have comment or be unexported (golint)
    • Line 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: exported method EmptyApplication.SetCtxBundle should have comment or be unexported (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: exported method EmptyApplication.Render should have comment or be unexported (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • erda/modules/pipeline/services/pipelinesvc/convert.go
    • Line 42: warning: exported method PipelineSvc.ConvertPipeline should have comment or be unexported (golint)
    • Line 87: warning: exported method PipelineSvc.Convert2PagePipeline should have comment or be unexported (golint)
    • Line 130: warning: exported method PipelineSvc.BatchConvert2PagePipeline should have comment or be unexported (golint)
    • erda/modules/orchestrator/utils/req_utils.go
    • Line 24: warning: exported function GetPageInfo should have comment or be unexported (golint)
    • Line 26: warning: don't use underscores in Go names; var pageNO_ should be pageNO (golint)
    • Line 34: warning: don't use underscores in Go names; var pageSize_ should be pageSize (golint)
    • Line 54: warning: exported function Smaller should have comment or be unexported (golint)
    • erda/pkg/schedule/schedulepolicy/cpupolicy/cpu.go
    • Line 22: warning: comment on exported function AdjustCPUSize should be of the form "AdjustCPUSize ..." (golint)
    • Line 25: warning: don't use underscores in Go names; var value_ should be value (golint)
    • Line 29: warning: exported function CalcCPUSubscribeRatio should have comment or be unexported (golint)
    • Line 30: warning: don't use underscores in Go names; var ratio_ should be ratio (golint)
    • erda/tools/cli/common/project.go
    • Line 27: warning: exported function GetProjectDetail should have comment or be unexported (golint)
    • Line 90: warning: exported function GetProjectList should have comment or be unexported (golint)
    • erda/modules/eventbox/websocket/http.go
    • Line 24: warning: exported type WebsocketHTTP should have comment or be unexported (golint)
    • Line 29: warning: exported function New should have comment or be unexported (golint)
    • Line 41: warning: exported method WebsocketHTTP.Start should have comment or be unexported (golint)
    • Line 49: warning: exported method WebsocketHTTP.Stop should have comment or be unexported (golint)
    • Line 56: warning: exported method WebsocketHTTP.Name should have comment or be unexported (golint)
    • Line 60: warning: exported method WebsocketHTTP.HTTPHandle should have comment or be unexported (golint)
    • erda/pkg/secret/hmac/hmac.go
    • Line 14: warning: package comment should be of the form "Package hmac ..." (golint)
    • Line 30: warning: exported const ErdaHeaderPrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported type Signer should have comment or be unexported (golint)
    • Line 44: warning: exported function New should have comment or be unexported (golint)
    • Line 54: warning: comment on exported method Signer.SignCanonicalRequest should be of the form "SignCanonicalRequest ..." (golint)
    • Line 64: warning: comment on exported method Signer.Signature should be of the form "Signature ..." (golint)
    • Line 71: warning: exported method Signer.GetSignString should have comment or be unexported (golint)
    • erda/apistructs/testplan.go
    • Line 53: warning: exported const TPStatusDoing should have comment (or a comment on this block) or be unexported (golint)
    • Line 58: warning: exported method TPStatus.Valid should have comment or be unexported (golint)
    • Line 67: warning: exported type TestPlanType should have comment or be unexported (golint)
    • Line 70: warning: exported var TestPlanTypeManual should have comment or be unexported (golint)
    • Line 155: warning: exported type TestPlanTestSetListResponse should have comment or be unexported (golint)
    • Line 190: warning: exported type TestPlanCaseRelPagingResponse should have comment or be unexported (golint)
    • Line 202: warning: comment on exported type TestPlanAPITestExecuteRequest should be of the form "TestPlanAPITestExecuteRequest ..." (with optional leading article) (golint)
    • Line 210: warning: exported type TestPlanAPITestExecuteResponse should have comment or be unexported (golint)
    • Line 215: warning: exported type AutotestExecuteTestPlansRequest should have comment or be unexported (golint)
    • Line 224: warning: exported type AutotestExecuteTestPlansResponse should have comment or be unexported (golint)
    • Line 229: warning: exported type AutotestCancelTestPlansRequest should have comment or be unexported (golint)
    • Line 234: warning: exported type AutotestCancelTestPlansResponse should have comment or be unexported (golint)
    • erda/apistructs/usage.go
    • Line 21: warning: exported const GB should have comment (or a comment on this block) or be unexported (golint)
    • Line 104: warning: exported type ContainerUsageFetchResponse should have comment or be unexported (golint)
    • Line 109: warning: comment on exported type ContainerUsageFetchResponseData should be of the form "ContainerUsageFetchResponseData ..." (with optional leading article) (golint)
    • Line 117: warning: exported type ServicesUsageFetchResponse should have comment or be unexported (golint)
    • Line 133: warning: exported type RuntimeUsageFetchResponse should have comment or be unexported (golint)
    • Line 150: warning: exported type ApplicationUsageFetchResponse should have comment or be unexported (golint)
    • Line 166: warning: exported type ProjectUsageFetchResponse should have comment or be unexported (golint)
    • Line 183: warning: exported type ComponentUsageFetchResponse should have comment or be unexported (golint)
    • Line 197: warning: exported type AddOnUsageFetchResponse should have comment or be unexported (golint)
    • Line 226: warning: comment on exported type ServicesUsageListRequest should be of the form "ServicesUsageListRequest ..." (with optional leading article) (golint)
    • Line 246: warning: comment on exported type ServicesUsageListResponse should be of the form "ServicesUsageListResponse ..." (with optional leading article) (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/nestedSceneInParams/render.go
    • Line 14: warning: don't use MixedCaps in package name; nestedSceneInParams should be nestedsceneinparams (golint)
    • Line 25: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 118: warning: exported method ComponentAction.SetBundle should have comment or be unexported (golint)
    • Line 127: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 127: warning: receiver name ca should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 175: warning: exported type StepValue should have comment or be unexported (golint)
    • Line 180: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 237: warning: exported method ComponentAction.HandlerSubmitValue should have comment or be unexported (golint)
    • Line 237: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 283: warning: exported method ComponentAction.HandlerCancelValue should have comment or be unexported (golint)
    • Line 283: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 291: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/rds/account.go
    • Line 27: warning: comment on exported function DescribeAccounts should be of the form "DescribeAccounts ..." (golint)
    • Line 47: warning: comment on exported function CreateDatabaseAccount should be of the form "CreateDatabaseAccount ..." (golint)
    • Line 95: warning: exported function CreateAccount should have comment or be unexported (golint)
    • Line 122: warning: exported function ResetAccountPassword should have comment or be unexported (golint)
    • Line 148: warning: exported function ChangeAccountPrivilege should have comment or be unexported (golint)
    • Line 187: warning: exported function GrantAccountPrivilege should have comment or be unexported (golint)
    • Line 215: warning: exported function RevokeAccountPrivilege should have comment or be unexported (golint)
    • erda/apistructs/event.go
    • Line 49: warning: exported type PipelineInstanceEventData should have comment or be unexported (golint)
    • Line 75: warning: exported type PipelineTaskEventData should have comment or be unexported (golint)
    • Line 101: warning: exported type PipelineTaskRuntimeEventData should have comment or be unexported (golint)
    • Line 108: warning: exported type GroupNotifyEvent should have comment or be unexported (golint)
    • Line 114: warning: exported type GroupNotifyContent should have comment or be unexported (golint)
    • Line 127: warning: exported type GroupNotifyChannel should have comment or be unexported (golint)
    • Line 143: warning: exported type ExtensionPushEventData should have comment or be unexported (golint)
    • Line 162: warning: comment on exported type IssueEvent should be of the form "IssueEvent ..." (with optional leading article) (golint)
    • Line 168: warning: comment on exported type IssueEventData should be of the form "IssueEventData ..." (with optional leading article) (golint)
    • erda/modules/dop/services/validator/swagger.go
    • Line 31: warning: exported const OAS2JSON should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: comment on exported function ValidateOAS2 should be of the form "ValidateOAS2 ..." (golint)
    • Line 67: warning: comment on exported function BasicallyValidateSwagger should be of the form "BasicallyValidateSwagger ..." (golint)
    • erda/modules/hepa/apipolicy/policies/waf/dto.go
    • Line 25: warning: exported const WAF_SWITCH_ON should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported type PolicyDto should have comment or be unexported (golint)
    • Line 40: warning: exported method PolicyDto.IsValidDto should have comment or be unexported (golint)
    • erda/apistructs/application.go
    • Line 300: warning: exported const DefaultWorkspace should have comment (or a comment on this block) or be unexported (golint)
    • Line 311: warning: exported var DiceWorkspaceSlice should have comment or be unexported (golint)
    • Line 327: warning: exported const ApplicationModeService should have comment (or a comment on this block) or be unexported (golint)
    • Line 336: warning: receiver name w should be consistent with previous receiver name s for DiceWorkspace (golint)
    • erda/modules/openapi/component-protocol/scenarios/project-list-all/components/filter/model.go
    • Line 18: warning: exported type ComponentFilter should have comment or be unexported (golint)
    • Line 24: warning: exported type CommonFilter should have comment or be unexported (golint)
    • Line 33: warning: exported type Operations should have comment or be unexported (golint)
    • Line 38: warning: exported type Options should have comment or be unexported (golint)
    • Line 44: warning: exported type Props should have comment or be unexported (golint)
    • Line 48: warning: exported type StateConditions should have comment or be unexported (golint)
    • Line 58: warning: exported type State should have comment or be unexported (golint)
    • erda/modules/extensions/cloud/aliyun/metrics/cloudcat/grabber/grabber.go
    • Line 34: warning: exported type Grabber should have comment or be unexported (golint)
    • Line 45: warning: exported function New should have comment or be unexported (golint)
    • Line 75: warning: exported method Grabber.Subscribe should have comment or be unexported (golint)
    • Line 79: warning: exported method Grabber.Gather should have comment or be unexported (golint)
    • Line 194: warning: comment on exported method Grabber.Sync should be of the form "Sync ..." (golint)
    • Line 218: warning: exported method Grabber.Close should have comment or be unexported (golint)
    • erda/modules/dop/dao/issue_state.go
    • Line 25: warning: exported type IssueStateJoinSQL should have comment or be unexported (golint)
    • Line 34: warning: exported type IssueState should have comment or be unexported (golint)
    • Line 45: warning: exported method IssueState.TableName should have comment or be unexported (golint)
    • Line 49: warning: exported type IssueStateRelation should have comment or be unexported (golint)
    • Line 58: warning: exported method IssueStateRelation.TableName should have comment or be unexported (golint)
    • Line 62: warning: exported method DBClient.CreateIssuesState should have comment or be unexported (golint)
    • Line 66: warning: exported method DBClient.DeleteIssuesState should have comment or be unexported (golint)
    • Line 70: warning: exported method DBClient.DeleteIssuesStateRelationByStartID should have comment or be unexported (golint)
    • Line 74: warning: exported method DBClient.DeleteIssuesStateByProjectID should have comment or be unexported (golint)
    • Line 83: warning: exported method DBClient.UpdateIssuesStateIndex should have comment or be unexported (golint)
    • Line 87: warning: exported method DBClient.UpdateIssueStateRelations should have comment or be unexported (golint)
    • Line 95: warning: exported method DBClient.UpdateIssueState should have comment or be unexported (golint)
    • Line 99: warning: exported method DBClient.UpdateIssuesStateBelong should have comment or be unexported (golint)
    • Line 103: warning: exported method DBClient.GetIssuesStateRelations should have comment or be unexported (golint)
    • Line 117: warning: exported method DBClient.GetIssuesStatesByProjectID should have comment or be unexported (golint)
    • Line 129: warning: comment on exported method DBClient.GetIssuesStatesByProjectIDList should be of the form "GetIssuesStatesByProjectIDList ..." (golint)
    • Line 139: warning: exported method DBClient.GetIssueStateByID should have comment or be unexported (golint)
    • Line 148: warning: exported method DBClient.GetIssueStateByIDs should have comment or be unexported (golint)
    • Line 157: warning: exported method DBClient.GetIssueStatePermission should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/dto/api_info_dto.go
    • Line 17: warning: exported const RT_AUTO_REGISTER should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported type GetApisDto should have comment or be unexported (golint)
    • Line 47: warning: exported type ApiInfoDto should have comment or be unexported (golint)
    • erda/pkg/istioctl/executors/authentication.go
    • Line 29: warning: exported type AuthNExecutor should have comment or be unexported (golint)
    • Line 33: warning: exported method AuthNExecutor.GetName should have comment or be unexported (golint)
    • Line 113: warning: comment on exported method AuthNExecutor.OnServiceCreate should be of the form "OnServiceCreate ..." (golint)
    • Line 118: warning: comment on exported method AuthNExecutor.OnServiceUpdate should be of the form "OnServiceUpdate ..." (golint)
    • Line 123: warning: comment on exported method AuthNExecutor.OnServiceDelete should be of the form "OnServiceDelete ..." (golint)
    • erda/modules/core-services/services/notify/notify_item.go
    • Line 21: warning: exported method NotifyGroup.GetNotifyItemsByNotifyID should have comment or be unexported (golint)
    • Line 25: warning: exported method NotifyGroup.QueryNotifyItems should have comment or be unexported (golint)
    • Line 36: warning: exported method NotifyGroup.UpdateNotifyItem should have comment or be unexported (golint)
    • Line 40: warning: exported method NotifyGroup.LocaleItem should have comment or be unexported (golint)
    • erda/modules/dop/services/autotest/global_config.go
    • Line 27: warning: exported const CmsCfgKeyScope should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported method Service.CreateGlobalConfig should have comment or be unexported (golint)
    • Line 63: warning: exported method Service.UpdateGlobalConfig should have comment or be unexported (golint)
    • Line 286: warning: exported method Service.DeleteGlobalConfig should have comment or be unexported (golint)
    • Line 310: warning: exported method Service.ListGlobalConfigs should have comment or be unexported (golint)
    • erda/modules/dop/dao/testplan.go
    • Line 44: warning: exported type PartnerIDs should have comment or be unexported (golint)
    • Line 46: warning: exported method PartnerIDs.Value should have comment or be unexported (golint)
    • Line 49: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 53: warning: exported method PartnerIDs.Scan should have comment or be unexported (golint)
    • Line 102: warning: comment on exported method DBClient.GetTestPlanByName should be of the form "GetTestPlanByName ..." (golint)
    • erda/modules/monitor/common/db/table.go
    • Line 25: warning: exported type InstanceTenant should have comment or be unexported (golint)
    • Line 38: warning: exported type Monitor should have comment or be unexported (golint)
    • Line 53: warning: exported method InstanceTenant.TableName should have comment or be unexported (golint)
    • Line 57: warning: exported method Monitor.TableName should have comment or be unexported (golint)
    • erda/modules/dop/services/testcase/apis.go
    • Line 26: warning: exported method Service.BatchListAPIs should have comment or be unexported (golint)
    • Line 44: warning: exported method Service.ListAPIs should have comment or be unexported (golint)
    • Line 56: warning: exported method Service.GetAPI should have comment or be unexported (golint)
    • Line 64: warning: exported method Service.CreateAPI should have comment or be unexported (golint)
    • Line 74: warning: exported method Service.UpdateAPI should have comment or be unexported (golint)
    • Line 90: warning: exported method Service.DeleteAPI should have comment or be unexported (golint)
    • erda/pkg/mysqlhelper/mysql.go
    • Line 31: warning: exported type Request should have comment or be unexported (golint)
    • Line 72: warning: exported method Request.Exec should have comment or be unexported (golint)
    • Line 95: warning: exported type SlaveState should have comment or be unexported (golint)
    • Line 100: warning: exported method Request.GetSlaveState should have comment or be unexported (golint)
    • erda/providers/metrics/query/struct_output.go
    • Line 16: warning: comment on exported type Point should be of the form "Point ..." (with optional leading article) (golint)
    • Line 23: warning: exported type PointData should have comment or be unexported (golint)
    • Line 29: warning: comment on exported type Series should be of the form "Series ..." (with optional leading article) (golint)
    • Line 36: warning: exported type SeriesData should have comment or be unexported (golint)
    • erda/modules/pipeline/services/permissionsvc/permission.go
    • Line 25: warning: exported type PermissionSvc should have comment or be unexported (golint)
    • Line 29: warning: exported function New should have comment or be unexported (golint)
    • Line 35: warning: exported method PermissionSvc.Check should have comment or be unexported (golint)
    • Line 54: warning: exported method PermissionSvc.CheckInternalClient should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/demo/demo.go
    • Line 36: warning: exported type Demo should have comment or be unexported (golint)
    • Line 40: warning: exported method Demo.Kind should have comment or be unexported (golint)
    • Line 44: warning: exported method Demo.Name should have comment or be unexported (golint)
    • Line 48: warning: exported method Demo.Create should have comment or be unexported (golint)
    • Line 55: warning: exported method Demo.Destroy should have comment or be unexported (golint)
    • Line 62: warning: exported method Demo.Status should have comment or be unexported (golint)
    • Line 71: warning: exported method Demo.Remove should have comment or be unexported (golint)
    • Line 78: warning: exported method Demo.Update should have comment or be unexported (golint)
    • Line 85: warning: exported method Demo.Inspect should have comment or be unexported (golint)
    • Line 92: warning: exported method Demo.Cancel should have comment or be unexported (golint)
    • Line 98: warning: exported method Demo.Precheck should have comment or be unexported (golint)
    • Line 102: warning: exported method Demo.SetNodeLabels should have comment or be unexported (golint)
    • Line 106: warning: exported method Demo.CapacityInfo should have comment or be unexported (golint)
    • Line 109: warning: exported method Demo.ResourceInfo should have comment or be unexported (golint)
    • Line 112: warning: exported method Demo.CleanUpBeforeDelete should have comment or be unexported (golint)
    • Line 112: warning: receiver name k should be consistent with previous receiver name d for Demo (golint)
    • Line 113: warning: exported method Demo.JobVolumeCreate should have comment or be unexported (golint)
    • Line 113: warning: receiver name k should be consistent with previous receiver name d for Demo (golint)
    • Line 116: warning: exported method Demo.KillPod should have comment or be unexported (golint)
    • Line 120: warning: exported method Demo.Scale should have comment or be unexported (golint)
    • erda/modules/gittar/models/check_run.go
    • Line 28: warning: exported type CheckRun should have comment or be unexported (golint)
    • Line 44: warning: exported type CheckRuns should have comment or be unexported (golint)
    • Line 50: warning: exported method Service.CreateOrUpdateCheckRun should have comment or be unexported (golint)
    • Line 95: warning: exported method Service.QueryCheckRuns should have comment or be unexported (golint)
    • Line 139: warning: exported method Service.IsCheckRunsValid should have comment or be unexported (golint)
    • Line 150: warning: exported method Service.RemoveCheckRuns should have comment or be unexported (golint)
    • erda/modules/gittar/models/dbclient.go
    • Line 18: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 24: warning: exported type DBClient should have comment or be unexported (golint)
    • Line 28: warning: exported function OpenDB should have comment or be unexported (golint)
    • Line 41: warning: exported method DBClient.Close should have comment or be unexported (golint)
    • erda/pkg/nexus/privilege.go
    • Line 24: warning: exported type PrivilegeID should have comment or be unexported (golint)
    • Line 26: warning: exported type Privilege should have comment or be unexported (golint)
    • Line 36: warning: exported type PrivilegeAction should have comment or be unexported (golint)
    • Line 39: warning: exported const PrivilegeActionREAD should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: exported var RepoDeploymentPrivileges should have comment or be unexported (golint)
    • Line 55: warning: exported type PrivilegeType should have comment or be unexported (golint)
    • Line 58: warning: exported const PrivilegeTypeRepositoryView should have comment (or a comment on this block) or be unexported (golint)
    • Line 62: warning: exported type PrivilegeListRequest should have comment or be unexported (golint)
    • Line 65: warning: exported type PrivilegeGetRequest should have comment or be unexported (golint)
    • Line 69: warning: exported type PrivilegeDeleteRequest should have comment or be unexported (golint)
    • Line 73: warning: exported type RepositoryContentSelectorPrivilegeCreateRequest should have comment or be unexported (golint)
    • Line 88: warning: exported type RepositoryContentSelectorPrivilegeUpdateRequest should have comment or be unexported (golint)
    • Line 90: warning: exported function GetNxRepositoryViewPrivileges should have comment or be unexported (golint)
    • Line 99: warning: exported function GetNxRepositoryPrivilege should have comment or be unexported (golint)
    • Line 112: warning: exported method Nexus.ListPrivileges should have comment or be unexported (golint)
    • Line 132: warning: exported method Nexus.GetPrivilege should have comment or be unexported (golint)
    • Line 152: warning: exported method Nexus.DeletePrivilege should have comment or be unexported (golint)
    • Line 167: warning: exported method Nexus.CreateRepositoryContentSelectorPrivilege should have comment or be unexported (golint)
    • Line 183: warning: exported method Nexus.UpdateRepositoryContentSelectorPrivilege should have comment or be unexported (golint)
    • erda/modules/core-services/services/notify/notify.go
    • Line 25: warning: exported method NotifyGroup.CreateNotify should have comment or be unexported (golint)
    • Line 58: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 62: warning: exported method NotifyGroup.CheckNotifyGroupTarget should have comment or be unexported (golint)
    • Line 71: warning: exported method NotifyGroup.CheckNotifyChannels should have comment or be unexported (golint)
    • Line 81: warning: exported method NotifyGroup.GetNotify should have comment or be unexported (golint)
    • Line 85: warning: exported method NotifyGroup.UpdateNotify should have comment or be unexported (golint)
    • Line 92: warning: exported method NotifyGroup.UpdateNotifyEnable should have comment or be unexported (golint)
    • Line 96: warning: exported method NotifyGroup.QueryNotifies should have comment or be unexported (golint)
    • Line 100: warning: exported method NotifyGroup.QueryNotifiesBySource should have comment or be unexported (golint)
    • Line 113: warning: exported method NotifyGroup.FuzzyQueryNotifiesBySource should have comment or be unexported (golint)
    • Line 126: warning: exported method NotifyGroup.DeleteNotify should have comment or be unexported (golint)
    • erda/pkg/kms/kmstypes/api_key.go
    • Line 19: warning: exported type CustomerMasterKeySpec should have comment or be unexported (golint)
    • Line 20: warning: exported type KeyUsage should have comment or be unexported (golint)
    • Line 21: warning: exported type KeyState should have comment or be unexported (golint)
    • Line 25: warning: exported type KeyMetadata should have comment or be unexported (golint)
    • Line 34: warning: exported type KeyListEntry should have comment or be unexported (golint)
    • Line 39: warning: exported type CreateKeyRequest should have comment or be unexported (golint)
    • Line 46: warning: exported method CreateKeyRequest.ValidateRequest should have comment or be unexported (golint)
    • Line 59: warning: exported type CreateKeyResponse should have comment or be unexported (golint)
    • Line 63: warning: exported type GenerateDataKeyRequest should have comment or be unexported (golint)
    • Line 67: warning: exported method GenerateDataKeyRequest.ValidateRequest should have comment or be unexported (golint)
    • Line 74: warning: exported type GenerateDataKeyResponse should have comment or be unexported (golint)
    • Line 81: warning: exported type DescribeKeyRequest should have comment or be unexported (golint)
    • Line 85: warning: exported method DescribeKeyRequest.ValidateRequest should have comment or be unexported (golint)
    • Line 92: warning: exported type DescribeKeyResponse should have comment or be unexported (golint)
    • Line 96: warning: exported type ListKeysRequest should have comment or be unexported (golint)
    • Line 99: warning: exported type ListKeysResponse should have comment or be unexported (golint)
    • erda/pkg/database/sqlparser/migrator/tabledef.go
    • Line 28: warning: exported function NewTableDefinition should have comment or be unexported (golint)
    • Line 32: warning: exported method TableDefinition.Enter should have comment or be unexported (golint)
    • Line 63: warning: exported method TableDefinition.Leave should have comment or be unexported (golint)
    • Line 67: warning: exported method TableDefinition.Equal should have comment or be unexported (golint)
    • erda/modules/action-runner-scheduler/endpoints/runner_task.go
    • Line 28: warning: exported method Endpoints.CreateRunnerTask should have comment or be unexported (golint)
    • Line 42: warning: exported method Endpoints.UpdateRunnerTask should have comment or be unexported (golint)
    • Line 61: warning: exported method Endpoints.GetRunnerTask should have comment or be unexported (golint)
    • Line 75: warning: exported method Endpoints.FetchRunnerTask should have comment or be unexported (golint)
    • Line 83: warning: exported method Endpoints.CollectLogs should have comment or be unexported (golint)
    • erda/modules/pipeline/aop/aoptypes/context.go
    • Line 25: warning: exported type TuneContext should have comment or be unexported (golint)
    • Line 30: warning: exported type SDK should have comment or be unexported (golint)
    • Line 42: warning: exported method SDK.Clone should have comment or be unexported (golint)
    • Line 51: warning: exported const CtxKeyTasks should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: exported method TuneContext.PutKV should have comment or be unexported (golint)
    • Line 58: warning: exported method TuneContext.TryGet should have comment or be unexported (golint)
    • erda/modules/dop/dao/testplan_member.go
    • Line 32: warning: exported method TestPlanMember.TableName should have comment or be unexported (golint)
    • Line 36: warning: exported method DBClient.GetUserTestPlanRole should have comment or be unexported (golint)
    • Line 44: warning: exported method DBClient.CreateTestPlanMember should have comment or be unexported (golint)
    • Line 48: warning: exported method DBClient.UpdateTestPlanMember should have comment or be unexported (golint)
    • Line 52: warning: exported method DBClient.BatchCreateTestPlanMembers should have comment or be unexported (golint)
    • Line 111: warning: exported method DBClient.ListTestPlanMembersByPlanID should have comment or be unexported (golint)
    • Line 125: warning: exported method DBClient.ListTestPlanPartnersByPlanID should have comment or be unexported (golint)
    • Line 129: warning: exported method DBClient.ListTestPlanOwnersByPlanID should have comment or be unexported (golint)
    • Line 133: warning: exported method DBClient.ListTestPlanMembersByPlanIDs should have comment or be unexported (golint)
    • Line 152: warning: exported method DBClient.ListTestPlanIDsByOwnerIDs should have comment or be unexported (golint)
    • Line 155: warning: exported method DBClient.ListTestPlanIDsByPartnerIDs should have comment or be unexported (golint)
    • Line 158: warning: exported method DBClient.ListTestPlanIDsByUserIDs should have comment or be unexported (golint)
    • Line 174: warning: exported method DBClient.ListTestPlanOwnersByOwners should have comment or be unexported (golint)
    • Line 184: warning: exported method DBClient.DeleteTestPlanMemberByPlanID should have comment or be unexported (golint)
    • erda/modules/dop/services/assetsvc/get.go
    • Line 222: warning: comment on exported method Service.GetInstantiation should be of the form "GetInstantiation ..." (golint)
    • Line 247: warning: exported method Service.DownloadSpecText should have comment or be unexported (golint)
    • Line 361: warning: exported method Service.GetMyClient should have comment or be unexported (golint)
    • Line 389: warning: exported method Service.GetContract should have comment or be unexported (golint)
    • Line 426: warning: exported method Service.GetAccess should have comment or be unexported (golint)
    • Line 508: warning: exported method Service.GetSLA should have comment or be unexported (golint)
    • Line 558: warning: exported method Service.FirstRecord should have comment or be unexported (golint)
    • Line 562: warning: exported method Service.ListRecords should have comment or be unexported (golint)
    • Line 566: warning: exported method Service.GetProject should have comment or be unexported (golint)
    • Line 570: warning: exported method Service.GetApp should have comment or be unexported (golint)
    • erda/pkg/istioctl/executors/base.go
    • Line 25: warning: exported type BaseExecutor should have comment or be unexported (golint)
    • Line 29: warning: comment on exported method BaseExecutor.SetIstioClient should be of the form "SetIstioClient ..." (golint)
    • Line 34: warning: comment on exported method BaseExecutor.OnServiceCreate should be of the form "OnServiceCreate ..." (golint)
    • Line 39: warning: comment on exported method BaseExecutor.OnServiceUpdate should be of the form "OnServiceUpdate ..." (golint)
    • Line 44: warning: comment on exported method BaseExecutor.OnServiceDelete should be of the form "OnServiceDelete ..." (golint)
    • erda/modules/cmp/endpoints/cluster.go
    • Line 32: warning: exported method Endpoints.UpgradeEdgeCluster should have comment or be unexported (golint)
    • Line 73: warning: exported method Endpoints.BatchUpgradeEdgeCluster should have comment or be unexported (golint)
    • Line 111: warning: exported method Endpoints.OrgClusterInfo should have comment or be unexported (golint)
    • Line 160: warning: exported method Endpoints.OfflineEdgeCluster should have comment or be unexported (golint)
    • Line 239: warning: exported method Endpoints.ClusterInfo should have comment or be unexported (golint)
    • Line 259: warning: exported method Endpoints.ClusterUpdate should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/apis.go
    • Line 32: warning: exported const ErrMsgURLMissingPathApiID should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported method Endpoints.GetTestTypes should have comment or be unexported (golint)
    • Line 39: warning: exported method Endpoints.TestCallback should have comment or be unexported (golint)
    • Line 56: warning: exported method Endpoints.GetRecords should have comment or be unexported (golint)
    • Line 82: warning: exported method Endpoints.GetTestRecord should have comment or be unexported (golint)
    • erda/cmd/actionagent/main.go
    • Line 27: warning: exported type PlatformLogFormmater should have comment or be unexported (golint)
    • Line 31: warning: exported method PlatformLogFormmater.Format should have comment or be unexported (golint)
    • erda/modules/core-services/model/organization.go
    • Line 45: warning: exported type BlockoutConfig should have comment or be unexported (golint)
    • Line 52: warning: exported type OrgConfig should have comment or be unexported (golint)
    • Line 73: warning: exported method OrgConfig.Value should have comment or be unexported (golint)
    • Line 76: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 81: warning: exported method OrgConfig.Scan should have comment or be unexported (golint)
    • Line 98: warning: exported method BlockoutConfig.Value should have comment or be unexported (golint)
    • Line 106: warning: exported method BlockoutConfig.Scan should have comment or be unexported (golint)
    • erda/apistructs/schedulelabel.go
    • Line 16: warning: exported type ScheduleLabelListRequest should have comment or be unexported (golint)
    • Line 17: warning: exported type ScheduleLabelListResponse should have comment or be unexported (golint)
    • Line 21: warning: exported type ScheduleLabelListData should have comment or be unexported (golint)
    • Line 27: warning: exported type ScheduleLabelSetRequest should have comment or be unexported (golint)
    • Line 36: warning: exported type ScheduleLabelSetResponse should have comment or be unexported (golint)
    • erda/modules/core-services/dao/mysql.go
    • Line 22: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 32: warning: exported const BULK_INSERT_CHUNK_SIZE should have comment or be unexported (golint)
    • Line 70: warning: exported method DBClient.BulkInsert should have comment or be unexported (golint)
    • erda/modules/pkg/sysconf/default.go
    • Line 25: warning: exported const NodeTypeMaster should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported method Sysconf.HostSubnets should have comment or be unexported (golint)
    • Line 66: warning: exported method Sysconf.SetDefault should have comment or be unexported (golint)
    • erda/modules/dop/dao/dbclient.go
    • Line 14: warning: package comment should be of the form "Package dao ..." (golint)
    • Line 28: warning: exported const BULK_INSERT_CHUNK_SIZE should have comment or be unexported (golint)
    • Line 30: warning: exported type DBClient should have comment or be unexported (golint)
    • Line 34: warning: exported function Open should have comment or be unexported (golint)
    • Line 50: warning: exported method DBClient.Close should have comment or be unexported (golint)
    • Line 62: warning: exported method DBClient.BulkInsert should have comment or be unexported (golint)
    • erda/modules/monitor/dashboard/template/view-config.go
    • Line 24: warning: comment on exported type ViewConfigItem should be of the form "ViewConfigItem ..." (with optional leading article) (golint)
    • Line 41: warning: comment on exported type View should be of the form "View ..." (with optional leading article) (golint)
    • Line 63: warning: exported method ViewConfigDTO.Scan should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/fileTree/scenes.go
    • Line 14: warning: don't use MixedCaps in package name; fileTree should be filetree (golint)
    • Line 24: warning: exported method ComponentFileTree.RenderFileTree should have comment or be unexported (golint)
    • Line 96: warning: exported method ComponentFileTree.RenderSceneSets should have comment or be unexported (golint)
    • Line 323: warning: exported method ComponentFileTree.RenderDeleteSceneSet should have comment or be unexported (golint)
    • Line 360: warning: exported method ComponentFileTree.RenderDeleteScene should have comment or be unexported (golint)
    • Line 381: warning: exported method ComponentFileTree.RenderExpandSceneSet should have comment or be unexported (golint)
    • Line 409: warning: exported method ComponentFileTree.RenderClickScene should have comment or be unexported (golint)
    • Line 435: warning: exported method ComponentFileTree.RenderClickSceneSet should have comment or be unexported (golint)
    • Line 450: warning: exported method ComponentFileTree.RenderDragHelper should have comment or be unexported (golint)
    • Line 475: warning: exported method ComponentFileTree.DragSceneSet should have comment or be unexported (golint)
    • Line 489: warning: exported method ComponentFileTree.DragScene should have comment or be unexported (golint)
    • Line 509: warning: exported method ComponentFileTree.DragSceneToSceneSet should have comment or be unexported (golint)
    • Line 547: warning: exported method ComponentFileTree.RenderUpdateSceneSet should have comment or be unexported (golint)
    • Line 561: warning: exported method ComponentFileTree.RenderRefSceneSet should have comment or be unexported (golint)
    • Line 577: warning: exported method ComponentFileTree.RenderAddScene should have comment or be unexported (golint)
    • Line 593: warning: exported method ComponentFileTree.RenderUpdateScene should have comment or be unexported (golint)
    • Line 607: warning: exported method ComponentFileTree.RenderCopyScene should have comment or be unexported (golint)
    • Line 672: warning: exported method ComponentFileTree.SetSceneSetClick should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/myInfo/render.go
    • Line 14: warning: don't use MixedCaps in package name; myInfo should be myinfo (golint)
    • Line 26: warning: exported type MyInfo should have comment or be unexported (golint)
    • Line 32: warning: exported type Props should have comment or be unexported (golint)
    • Line 38: warning: exported method MyInfo.SetCtxBundle should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method MyInfo.Render should have comment or be unexported (golint)
    • Line 63: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/pkg/terminal/table/table.go
    • Line 14: warning: package comment should be of the form "Package table ..." (golint)
    • Line 14: warning: package comment should not have leading space (golint)
    • Line 46: warning: exported var ErrDataHeaderLength should have comment or be unexported (golint)
    • Line 49: warning: exported type Table should have comment or be unexported (golint)
    • Line 64: warning: exported type OpOption should have comment or be unexported (golint)
    • Line 66: warning: exported function WithWriter should have comment or be unexported (golint)
    • Line 72: warning: exported function WithVertical should have comment or be unexported (golint)
    • Line 89: warning: exported function NewTable should have comment or be unexported (golint)
    • Line 94: warning: exported method Table.Data should have comment or be unexported (golint)
    • Line 114: warning: exported method Table.Header should have comment or be unexported (golint)
    • Line 132: warning: exported method Table.Flush should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/erdaLogo/render.go
    • Line 14: warning: don't use MixedCaps in package name; erdaLogo should be erdalogo (golint)
    • Line 26: warning: exported type ErdaLogo should have comment or be unexported (golint)
    • Line 32: warning: exported type Props should have comment or be unexported (golint)
    • Line 39: warning: exported type StyleNames should have comment or be unexported (golint)
    • Line 45: warning: exported method ErdaLogo.SetCtxBundle should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: exported method ErdaLogo.Render should have comment or be unexported (golint)
    • Line 69: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/apistructs/pipeline_queue.go
    • Line 24: warning: exported const PipelinePreCheckResultContextKey should have comment or be unexported (golint)
    • Line 26: warning: exported type PipelineQueueMode should have comment or be unexported (golint)
    • Line 29: warning: exported var PipelineQueueModeStrict should have comment or be unexported (golint)
    • Line 34: warning: exported method PipelineQueueMode.IsValid should have comment or be unexported (golint)
    • Line 43: warning: exported type PipelineQueue should have comment or be unexported (golint)
    • Line 68: warning: exported var ScheduleStrategyInsidePipelineQueueOfFIFO should have comment or be unexported (golint)
    • Line 75: warning: exported method ScheduleStrategyInsidePipelineQueue.IsValid should have comment or be unexported (golint)
    • Line 85: warning: exported var PipelineQueueDefaultPriority should have comment or be unexported (golint)
    • Line 200: warning: comment on exported type PipelineQueuePagingRequest should be of the form "PipelineQueuePagingRequest ..." (with optional leading article) (golint)
    • Line 265: warning: exported type QueueValidateRetryOption should have comment or be unexported (golint)
    • Line 270: warning: exported method PipelineQueueValidateResult.IsSuccess should have comment or be unexported (golint)
    • Line 273: warning: exported method PipelineQueueValidateResult.IsFailed should have comment or be unexported (golint)
    • erda/modules/openapi/proxy/http/http.go
    • Line 26: warning: exported function NewReverseProxy should have comment or be unexported (golint)
    • Line 35: warning: exported type ReverseProxyWithCustom should have comment or be unexported (golint)
    • Line 39: warning: exported function NewReverseProxyWithCustom should have comment or be unexported (golint)
    • erda/pkg/secret/secret.go
    • Line 20: warning: exported type AkSkPair should have comment or be unexported (golint)
    • Line 25: warning: exported function CreateAkSkPair should have comment or be unexported (golint)
    • erda/pkg/swagger/openapi/ddl/extrator.go
    • Line 23: warning: exported function ExtractCreateName should have comment or be unexported (golint)
    • Line 33: warning: exported function ExtractRename should have comment or be unexported (golint)
    • Line 46: warning: exported function ExtractDropNames should have comment or be unexported (golint)
    • Line 61: warning: exported function ExtractColName should have comment or be unexported (golint)
    • Line 71: warning: exported function ExtractColType should have comment or be unexported (golint)
    • Line 81: warning: exported function ExtractColComment should have comment or be unexported (golint)
    • Line 96: warning: exported function ExtractAlterTableName should have comment or be unexported (golint)
    • Line 103: warning: exported function ExtractAlterTableAddColName should have comment or be unexported (golint)
    • Line 110: warning: exported function ExtractAlterTableAddColType should have comment or be unexported (golint)
    • Line 117: warning: exported function ExtractAlterTableAddColComment should have comment or be unexported (golint)
    • Line 124: warning: exported function ExtractAlterTableDropColName should have comment or be unexported (golint)
    • Line 131: warning: exported function ExtractAlterTableModifyColName should have comment or be unexported (golint)
    • Line 138: warning: exported function ExtractAlterTableModifyColType should have comment or be unexported (golint)
    • Line 145: warning: exported function ExtractAlterTableModifyColComment should have comment or be unexported (golint)
    • Line 152: warning: exported function ExtractAlterTableChangeColOldName should have comment or be unexported (golint)
    • Line 159: warning: exported function ExtractAlterTableChangeColNewName should have comment or be unexported (golint)
    • Line 166: warning: exported function ExtractAlterTableChangeColType should have comment or be unexported (golint)
    • Line 173: warning: exported function ExtractAlterTableChangeColComment should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8s/addon/interface.go
    • Line 23: warning: exported type AddonOperator should have comment or be unexported (golint)
    • Line 40: warning: exported type K8SUtil should have comment or be unexported (golint)
    • Line 44: warning: exported type DeploymentUtil should have comment or be unexported (golint)
    • Line 51: warning: exported type StatefulsetUtil should have comment or be unexported (golint)
    • Line 58: warning: exported type DaemonsetUtil should have comment or be unexported (golint)
    • Line 66: warning: exported type ServiceUtil should have comment or be unexported (golint)
    • Line 70: warning: exported type NamespaceUtil should have comment or be unexported (golint)
    • Line 76: warning: exported type SecretUtil should have comment or be unexported (golint)
    • Line 82: warning: exported type ImageSecretUtil should have comment or be unexported (golint)
    • Line 88: warning: exported type HealthcheckUtil should have comment or be unexported (golint)
    • Line 92: warning: exported type PVCUtil should have comment or be unexported (golint)
    • Line 95: warning: exported type OvercommitUtil should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/charset_linter.go
    • Line 26: warning: exported const UTF8MB4 should have comment or be unexported (golint)
    • Line 28: warning: exported type CharsetLinter should have comment or be unexported (golint)
    • Line 32: warning: exported function NewCharsetLinter should have comment or be unexported (golint)
    • Line 36: warning: exported method CharsetLinter.Enter should have comment or be unexported (golint)
    • Line 58: warning: exported method CharsetLinter.Leave should have comment or be unexported (golint)
    • erda/modules/core-services/services/project/project.go
    • Line 447: warning: comment on exported method Project.GetAllProjects should be of the form "GetAllProjects ..." (golint)
    • Line 971: warning: exported method Project.GetMyProjectIDList should have comment or be unexported (golint)
    • Line 986: warning: exported method Project.GetProjectIDListByStates should have comment or be unexported (golint)
    • erda/modules/dop/services/autotest_v2/scene.go
    • Line 380: warning: exported method Service.ExecuteDiceAutotestScene should have comment or be unexported (golint)
    • Line 441: warning: exported method Service.ExecuteDiceAutotestSceneStep should have comment or be unexported (golint)
    • Line 580: warning: exported method Service.SceneToYml should have comment or be unexported (golint)
    • Line 599: warning: exported method Service.DoSceneToYml should have comment or be unexported (golint)
    • Line 609: warning: exported function SceneToPipelineYml should have comment or be unexported (golint)
    • Line 659: warning: exported function StepToAction should have comment or be unexported (golint)
    • Line 753: warning: exported function StepToStages should have comment or be unexported (golint)
    • Line 764: warning: exported method Service.CancelDiceAutotestScene should have comment or be unexported (golint)
    • Line 1097: warning: exported method Service.GetAutotestScenesByIDs should have comment or be unexported (golint)
    • erda/modules/cmdb/types/types.go
    • Line 23: warning: exported const UnknownType should have comment (or a comment on this block) or be unexported (golint)
    • Line 94: warning: exported var ContainerStatusIndex should have comment or be unexported (golint)
    • Line 111: warning: exported const InstanceStatusStarting should have comment (or a comment on this block) or be unexported (golint)
    • Line 124: warning: exported function IsValidSchedulerInstanceStatus should have comment or be unexported (golint)
    • Line 133: warning: exported function IsValidAgentInstanceStatus should have comment or be unexported (golint)
    • Line 155: warning: exported const DefaultWorkspace should have comment (or a comment on this block) or be unexported (golint)
    • Line 170: warning: comment on exported const RoleSysManager should be of the form "RoleSysManager ..." (golint)
    • Line 173: warning: comment on exported const RoleOrgManager should be of the form "RoleOrgManager ..." (golint)
    • Line 175: warning: exported const RoleOrgDev should have comment (or a comment on this block) or be unexported (golint)
    • Line 184: warning: comment on exported const RoleProjectOwner should be of the form "RoleProjectOwner ..." (golint)
    • Line 194: warning: comment on exported const RoleAppOwner should be of the form "RoleAppOwner ..." (golint)
    • Line 202: warning: comment on exported const RolePublisherManager should be of the form "RolePublisherManager ..." (golint)
    • Line 206: warning: comment on exported const RoleGuest should be of the form "RoleGuest ..." (golint)
    • erda/modules/gittar/models/merge_request.go
    • Line 32: warning: exported var MERGE_REQUEST_OPEN should have comment or be unexported (golint)
    • Line 42: warning: exported type BatchSearchMrRequest should have comment or be unexported (golint)
    • Line 46: warning: exported type BatchSearchMrCondition should have comment or be unexported (golint)
    • Line 51: warning: exported type QueryMergeRequestsResult should have comment or be unexported (golint)
    • Line 56: warning: exported type MergeQueryCondition should have comment or be unexported (golint)
    • Line 63: warning: exported type MergeOptions should have comment or be unexported (golint)
    • Line 94: warning: exported type MrCheckRun should have comment or be unexported (golint)
    • Line 101: warning: exported method MergeRequest.ToInfo should have comment or be unexported (golint)
    • Line 168: warning: exported method Service.CreateMergeRequest should have comment or be unexported (golint)
    • Line 220: warning: exported method Service.UpdateMergeRequest should have comment or be unexported (golint)
    • Line 268: warning: exported method Service.GetMergeRequestDetail should have comment or be unexported (golint)
    • Line 303: warning: exported method Service.SyncMergeRequest should have comment or be unexported (golint)
    • Line 349: warning: exported method Service.QueryMergeRequests should have comment or be unexported (golint)
    • Line 396: warning: exported method Service.BatchGetMergeRequests should have comment or be unexported (golint)
    • Line 412: warning: exported method Service.Merge should have comment or be unexported (golint)
    • Line 479: warning: exported method Service.CloseMR should have comment or be unexported (golint)
    • Line 509: warning: exported method Service.ReopenMR should have comment or be unexported (golint)
    • Line 530: warning: exported method Service.RemoveMR should have comment or be unexported (golint)
    • Line 537: warning: exported method Service.CountMR should have comment or be unexported (golint)
    • erda/modules/monitor/core/metrics/metricq/metricmeta/provider_database.go
    • Line 34: warning: exported type MetricMeta should have comment or be unexported (golint)
    • Line 47: warning: exported method MetricMeta.TableName should have comment or be unexported (golint)
    • Line 49: warning: exported type DatabaseGroupProvider should have comment or be unexported (golint)
    • Line 54: warning: exported function NewDatabaseGroupProvider should have comment or be unexported (golint)
    • Line 61: warning: exported method DatabaseGroupProvider.MappingsByID should have comment or be unexported (golint)
    • Line 75: warning: exported method DatabaseGroupProvider.Groups should have comment or be unexported (golint)
    • Line 93: warning: exported type DatabaseMetaProvider should have comment or be unexported (golint)
    • Line 98: warning: exported function NewDatabaseMetaProvider should have comment or be unexported (golint)
    • Line 105: warning: exported method DatabaseMetaProvider.MetricMeta should have comment or be unexported (golint)
    • erda/modules/dicehub/endpoints/endpoints.go
    • Line 44: warning: exported type Option should have comment or be unexported (golint)
    • Line 92: warning: comment on exported function WithPublishItem should be of the form "WithPublishItem ..." (golint)
    • Line 99: warning: exported function WithPipelineTemplate should have comment or be unexported (golint)
    • erda/apistructs/ingress.go
    • Line 22: warning: exported type ComponentIngressUpdateResponse should have comment or be unexported (golint)
    • Line 26: warning: exported type ComponentIngressUpdateRequest should have comment or be unexported (golint)
    • Line 39: warning: exported type IngressRoute should have comment or be unexported (golint)
    • Line 44: warning: exported type RouteOptions should have comment or be unexported (golint)
    • Line 59: warning: exported method ComponentIngressUpdateRequest.CheckValid should have comment or be unexported (golint)
    • erda/pkg/nexus/repository_request_npm.go
    • Line 20: warning: comment on exported type NpmHostedRepositoryCreateRequest should be of the form "NpmHostedRepositoryCreateRequest ..." (with optional leading article) (golint)
    • Line 25: warning: exported type NpmHostedRepositoryUpdateRequest should have comment or be unexported (golint)
    • Line 27: warning: comment on exported type NpmProxyRepositoryCreateRequest should be of the form "NpmProxyRepositoryCreateRequest ..." (with optional leading article) (golint)
    • Line 32: warning: exported type NpmProxyRepositoryUpdateRequest should have comment or be unexported (golint)
    • Line 34: warning: comment on exported type NpmGroupRepositoryCreateRequest should be of the form "NpmGroupRepositoryCreateRequest ..." (with optional leading article) (golint)
    • Line 39: warning: exported type NpmGroupRepositoryUpdateRequest should have comment or be unexported (golint)
    • erda/pkg/excel/cell.go
    • Line 34: warning: exported function NewCell should have comment or be unexported (golint)
    • Line 37: warning: exported function EmptyCell should have comment or be unexported (golint)
    • Line 40: warning: exported function EmptyCells should have comment or be unexported (golint)
    • Line 52: warning: exported function NewVMergeCell should have comment or be unexported (golint)
    • erda/modules/dop/dao/issue_property.go
    • Line 37: warning: exported method IssueProperty.TableName should have comment or be unexported (golint)
    • Line 41: warning: exported method DBClient.CreateIssueProperty should have comment or be unexported (golint)
    • Line 45: warning: exported method DBClient.DeleteIssueProperty should have comment or be unexported (golint)
    • Line 49: warning: exported method DBClient.UpdateIssuePropertiesIndex should have comment or be unexported (golint)
    • Line 59: warning: exported method DBClient.UpdateIssueProperty should have comment or be unexported (golint)
    • Line 63: warning: exported method DBClient.GetIssueProperties should have comment or be unexported (golint)
    • Line 80: warning: exported method DBClient.GetIssuePropertyByID should have comment or be unexported (golint)
    • Line 88: warning: exported method DBClient.GetIssuePropertiesByTime should have comment or be unexported (golint)
    • Line 96: warning: exported method DBClient.GetIssuePropertiesByRelation should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/testset.go
    • Line 58: warning: exported method Endpoints.GetTestSet should have comment or be unexported (golint)
    • Line 158: warning: exported method Endpoints.CleanTestSetFromRecycleBin should have comment or be unexported (golint)
    • Line 241: warning: comment on exported method Endpoints.RecoverTestSet should be of the form "RecoverTestSet ..." (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/emptyImage/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyImage should be emptyimage (golint)
    • Line 27: warning: exported function RenderCreator should have comment or be unexported (golint)
    • Line 31: warning: exported type EmptyImage should have comment or be unexported (golint)
    • Line 38: warning: exported type Props should have comment or be unexported (golint)
    • Line 44: warning: exported type State should have comment or be unexported (golint)
    • Line 48: warning: exported method EmptyImage.GenComponentState should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 67: warning: exported method EmptyImage.SetCtxBundle should have comment or be unexported (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 77: warning: exported method EmptyImage.Render should have comment or be unexported (golint)
    • Line 77: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • erda/pkg/kms/kmstypes/api_const.go
    • Line 16: warning: exported type RequestValidator should have comment or be unexported (golint)
    • Line 21: warning: exported const CtxKeyKmsRequestID should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: don't use underscores in Go names; const PluginKind_DICE_KMS should be PluginKindDICEKMS (golint)
    • Line 25: warning: exported const PluginKind_DICE_KMS should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: don't use underscores in Go names; const PluginKind_AWS_KMS should be PluginKindAWSKMS (golint)
    • Line 27: warning: don't use underscores in Go names; const PluginKind_ALIYUN_KMS should be PluginKindALIYUNKMS (golint)
    • Line 29: warning: don't use underscores in Go names; const StoreKind_ETCD should be StoreKindETCD (golint)
    • Line 30: warning: don't use underscores in Go names; const StoreKind_MYSQL should be StoreKindMYSQL (golint)
    • Line 32: warning: don't use underscores in Go names; const CustomerMasterKeySpec_SYMMETRIC_DEFAULT should be CustomerMasterKeySpecSYMMETRICDEFAULT (golint)
    • Line 33: warning: don't use underscores in Go names; const CustomerMasterKeySpec_ASYMMETRIC_RSA_2048 should be CustomerMasterKeySpecASYMMETRICRSA2048 (golint)
    • Line 34: warning: don't use underscores in Go names; const CustomerMasterKeySpec_ASYMMETRIC_RSA_3072 should be CustomerMasterKeySpecASYMMETRICRSA3072 (golint)
    • Line 35: warning: don't use underscores in Go names; const CustomerMasterKeySpec_ASYMMETRIC_RSA_4096 should be CustomerMasterKeySpecASYMMETRICRSA4096 (golint)
    • Line 37: warning: don't use underscores in Go names; const KeyUsage_ENCRYPT_DECRYPT should be KeyUsageENCRYPTDECRYPT (golint)
    • Line 38: warning: don't use underscores in Go names; const KeyUsage_SIGN_VERIFY should be KeyUsageSIGNVERIFY (golint)
    • erda/modules/pkg/etcdclient/etcdclient.go
    • Line 14: warning: package comment should be of the form "Package etcdclient ..." (golint)
    • Line 14: warning: package comment should not have leading space (golint)
    • Line 42: warning: exported function NewEtcdClientSingleInstance should have comment or be unexported (golint)
    • Line 58: warning: exported function NewEtcdClient should have comment or be unexported (golint)
    • erda/pkg/swagger/oas3/validate.go
    • Line 34: warning: exported type ValidateError should have comment or be unexported (golint)
    • Line 36: warning: don't use underscores in Go names; struct field path_ should be path (golint)
    • Line 43: warning: exported method ValidateError.Wrap should have comment or be unexported (golint)
    • Line 56: warning: exported function ValidateOAS3 should have comment or be unexported (golint)
    • Line 111: warning: exported function ValidateComponents should have comment or be unexported (golint)
    • Line 177: warning: exported function ValidateInfo should have comment or be unexported (golint)
    • Line 207: warning: exported function ValidateContact should have comment or be unexported (golint)
    • Line 212: warning: exported function ValidateLicense should have comment or be unexported (golint)
    • Line 222: warning: exported function ValidatePaths should have comment or be unexported (golint)
    • Line 275: warning: exported function ValidatePathItem should have comment or be unexported (golint)
    • Line 285: warning: exported function ValidateOperation should have comment or be unexported (golint)
    • Line 317: warning: exported function ValidateParameters should have comment or be unexported (golint)
    • Line 335: warning: exported function ValidateSecurity should have comment or be unexported (golint)
    • Line 345: warning: exported function ValidateSecurityRequirement should have comment or be unexported (golint)
    • Line 350: warning: exported function ValidateServers should have comment or be unexported (golint)
    • Line 359: warning: exported function ValidateServer should have comment or be unexported (golint)
    • Line 373: warning: exported function ValidateServerVariable should have comment or be unexported (golint)
    • Line 391: warning: exported function ValidateIdentifier should have comment or be unexported (golint)
    • Line 396: warning: exported function ValidateSchemaRef should have comment or be unexported (golint)
    • Line 404: warning: exported function ValidateSchema should have comment or be unexported (golint)
    • Line 499: warning: exported function ValidateParameterRef should have comment or be unexported (golint)
    • Line 506: warning: exported function ValidateParameter should have comment or be unexported (golint)
    • Line 572: warning: exported function ValidateRequestBodyRef should have comment or be unexported (golint)
    • Line 580: warning: exported function ValidateRequestBody should have comment or be unexported (golint)
    • Line 592: warning: exported function ValidateResponseRef should have comment or be unexported (golint)
    • Line 599: warning: exported function ValidateResponse should have comment or be unexported (golint)
    • Line 615: warning: exported function ValidateHeaderRef should have comment or be unexported (golint)
    • Line 622: warning: exported function ValidateHeader should have comment or be unexported (golint)
    • Line 634: warning: exported function ValidateSecuritySchemeRef should have comment or be unexported (golint)
    • Line 641: warning: exported function ValidateSecurityScheme should have comment or be unexported (golint)
    • Line 702: warning: exported function ValidateOAuthFlows should have comment or be unexported (golint)
    • Line 718: warning: exported function ValidateOAuthFlow should have comment or be unexported (golint)
    • Line 735: warning: exported function ValidateContent should have comment or be unexported (golint)
    • Line 745: warning: exported function ValidateMediaType should have comment or be unexported (golint)
    • erda/modules/hepa/server/router.go
    • Line 48: warning: exported type Controller should have comment or be unexported (golint)
    • Line 118: warning: exported function Recovery should have comment or be unexported (golint)
    • Line 155: warning: exported function CreateSingleton should have comment or be unexported (golint)
    • Line 163: warning: exported function GetSingleton should have comment or be unexported (golint)
    • Line 170: warning: exported function Start should have comment or be unexported (golint)
    • Line 181: warning: exported function BindRawApi should have comment or be unexported (golint)
    • Line 185: warning: exported function BindApi should have comment or be unexported (golint)
    • Line 189: warning: exported function BindOpenApi should have comment or be unexported (golint)
    • erda/modules/monitor/dashboard/template/db.go
    • Line 28: warning: exported type Template should have comment or be unexported (golint)
    • Line 41: warning: exported method Template.TableName should have comment or be unexported (golint)
    • Line 43: warning: exported type DB should have comment or be unexported (golint)
    • Line 55: warning: exported method DB.Begin should have comment or be unexported (golint)
    • erda/modules/gittar/pkg/gitmodule/repo_edit.go
    • Line 24: warning: exported type EditAction should have comment or be unexported (golint)
    • Line 25: warning: exported type EditPathType should have comment or be unexported (golint)
    • Line 28: warning: exported const EDIT_ACTION_ADD should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported const EDIT_PATH_TYPE_TREE should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: exported var ErrNotSupportType should have comment or be unexported (golint)
    • Line 46: warning: exported type EditActionItem should have comment or be unexported (golint)
    • Line 53: warning: exported type CreateCommit should have comment or be unexported (golint)
    • Line 60: warning: exported method Repository.CreateCommit should have comment or be unexported (golint)
    • erda/pkg/xmind/parse.go
    • Line 14: warning: package comment should be of the form "Package xmind ..." (golint)
    • Line 28: warning: exported function Parse should have comment or be unexported (golint)
    • erda/modules/dicehub/service/template/pipeline_template.go
    • Line 30: warning: exported type PipelineTemplate should have comment or be unexported (golint)
    • Line 61: warning: exported method PipelineTemplate.Apply should have comment or be unexported (golint)
    • Line 85: warning: exported method PipelineTemplate.Create should have comment or be unexported (golint)
    • Line 125: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 138: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 153: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 165: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 174: warning: exported method PipelineTemplate.QueryPipelineTemplates should have comment or be unexported (golint)
    • Line 198: warning: exported method PipelineTemplate.GetPipelineTemplateVersion should have comment or be unexported (golint)
    • Line 233: warning: exported method PipelineTemplate.QueryPipelineTemplateVersions should have comment or be unexported (golint)
    • Line 266: warning: exported method PipelineTemplate.RenderPipelineTemplate should have comment or be unexported (golint)
    • Line 299: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 318: warning: exported method PipelineTemplate.RenderPipelineTemplateBySpec should have comment or be unexported (golint)
    • Line 350: warning: exported function RenderTemplate should have comment or be unexported (golint)
    • erda/apistructs/edge_app.go
    • Line 98: warning: comment on exported type GenerateUnitedDeploymentRequest should be of the form "GenerateUnitedDeploymentRequest ..." (with optional leading article) (golint)
    • Line 113: warning: comment on exported type GenerateHeathCheckRequest should be of the form "GenerateHeathCheckRequest ..." (with optional leading article) (golint)
    • Line 121: warning: comment on exported type GenerateEdgeServiceRequest should be of the form "GenerateEdgeServiceRequest ..." (with optional leading article) (golint)
    • Line 169: warning: exported type EdgeAppStatusResponse should have comment or be unexported (golint)
    • Line 179: warning: exported type EdgeAppStatusListRequest should have comment or be unexported (golint)
    • Line 186: warning: exported type EdgeAppSiteStatus should have comment or be unexported (golint)
    • Line 191: warning: exported type EdgeAppSiteRequest should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/interface.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 19: warning: should not use dot imports (golint)
    • Line 25: warning: exported const ZONE_TYPE_DICE_APP should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported var GLOBAL_REGIONS should have comment or be unexported (golint)
    • Line 33: warning: exported var ZONE_REGIONS should have comment or be unexported (golint)
    • Line 35: warning: exported type IngressChanges should have comment or be unexported (golint)
    • Line 47: warning: exported type KongBelongTuple should have comment or be unexported (golint)
    • Line 53: warning: exported type GatewayPackageService should have comment or be unexported (golint)
    • Line 67: warning: exported type GatewayPackageApiService should have comment or be unexported (golint)
    • Line 83: warning: exported type GatewayPackageRuleService should have comment or be unexported (golint)
    • Line 96: warning: exported type GatewayZoneInPackageService should have comment or be unexported (golint)
    • Line 107: warning: exported type GatewayApiInPackageService should have comment or be unexported (golint)
    • Line 116: warning: exported type GatewayPackageInConsumerService should have comment or be unexported (golint)
    • Line 128: warning: exported type GatewayPackageApiInConsumerService should have comment or be unexported (golint)
    • Line 138: warning: exported type GatewayIngressPolicyService should have comment or be unexported (golint)
    • Line 150: warning: exported type GatewayDefaultPolicyService should have comment or be unexported (golint)
    • Line 159: warning: exported type GatewayZoneService should have comment or be unexported (golint)
    • Line 170: warning: exported type GatewayApiService should have comment or be unexported (golint)
    • Line 189: warning: exported type GatewayMockService should have comment or be unexported (golint)
    • Line 195: warning: exported type GatewayExtraService should have comment or be unexported (golint)
    • Line 199: warning: exported type GatewayPluginInstanceService should have comment or be unexported (golint)
    • Line 214: warning: exported type GatewayPolicyService should have comment or be unexported (golint)
    • Line 227: warning: exported type GatewayRouteService should have comment or be unexported (golint)
    • Line 236: warning: exported type GatewayServiceService should have comment or be unexported (golint)
    • Line 245: warning: exported type GatewayOrgClientService should have comment or be unexported (golint)
    • Line 256: warning: exported type GatewayConsumerService should have comment or be unexported (golint)
    • Line 273: warning: exported type GatewayConsumerApiService should have comment or be unexported (golint)
    • Line 283: warning: exported type GatewayGroupService should have comment or be unexported (golint)
    • Line 293: warning: exported type IniService should have comment or be unexported (golint)
    • Line 297: warning: exported type GatewayUpstreamService should have comment or be unexported (golint)
    • Line 305: warning: exported type GatewayUpstreamApiService should have comment or be unexported (golint)
    • Line 317: warning: exported type GatewayUpstreamRegisterRecordService should have comment or be unexported (golint)
    • Line 323: warning: exported type GatewayAzInfoService should have comment or be unexported (golint)
    • Line 331: warning: exported type GatewayKongInfoService should have comment or be unexported (golint)
    • Line 343: warning: exported type GatewayUpstreamLbService should have comment or be unexported (golint)
    • Line 352: warning: exported type GatewayUpstreamLbTargetService should have comment or be unexported (golint)
    • Line 359: warning: exported type GatewayRuntimeServiceService should have comment or be unexported (golint)
    • Line 370: warning: exported type GatewayDomainService should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/nas/nas.go
    • Line 26: warning: exported type DescribeFileSystemResponse should have comment or be unexported (golint)
    • Line 31: warning: exported function ListByCluster should have comment or be unexported (golint)
    • Line 102: warning: exported function TagResource should have comment or be unexported (golint)
    • Line 114: warning: exported function TagOneResource should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/cloud_resource_vpc.go
    • Line 35: warning: exported method Endpoints.CreateVPC should have comment or be unexported (golint)
    • Line 38: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 74: warning: exported method Endpoints.ListVPC should have comment or be unexported (golint)
    • Line 97: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 158: warning: exported method Endpoints.VPCTagCluster should have comment or be unexported (golint)
    • Line 161: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • erda/pkg/parser/pipelineyml/pipelineymlv1/options.go
    • Line 21: warning: exported const BuiltinResourceTypeDefaultDockerImagePrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported type Option should have comment or be unexported (golint)
    • Line 52: warning: exported type OpOption should have comment or be unexported (golint)
    • Line 54: warning: exported function WithBuiltinResourceTypeDockerImagePrefixAndTag should have comment or be unexported (golint)
    • Line 61: warning: exported function WithContainerResLimit should have comment or be unexported (golint)
    • Line 67: warning: exported function WithNFSRealPath should have comment or be unexported (golint)
    • Line 73: warning: exported function WithBranch should have comment or be unexported (golint)
    • Line 79: warning: exported function WithClusterName should have comment or be unexported (golint)
    • Line 85: warning: exported function WithRenderPlaceholder should have comment or be unexported (golint)
    • Line 91: warning: exported function WithPlaceholders should have comment or be unexported (golint)
    • Line 97: warning: exported function WithAlreadyTransformed should have comment or be unexported (golint)
    • Line 103: warning: exported function WithAgentHostPath should have comment or be unexported (golint)
    • Line 109: warning: exported function WithAgentContainerPath should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/visitor_cron.go
    • Line 28: warning: exported var DefaultCronCompensator should have comment or be unexported (golint)
    • Line 34: warning: exported type CronVisitor should have comment or be unexported (golint)
    • Line 45: warning: exported function NewCronVisitor should have comment or be unexported (golint)
    • Line 58: warning: exported type CronVisitorOption should have comment or be unexported (golint)
    • Line 60: warning: exported function WithCronStartEndTime should have comment or be unexported (golint)
    • Line 67: warning: exported function WithListNextScheduleCount should have comment or be unexported (golint)
    • Line 73: warning: exported method CronVisitor.Visit should have comment or be unexported (golint)
    • Line 129: warning: exported function ListNextCronTime should have comment or be unexported (golint)
    • Line 136: warning: exported function IsCron should have comment or be unexported (golint)
    • erda/modules/orchestrator/events/events.go
    • Line 26: warning: exported type EventManager should have comment or be unexported (golint)
    • Line 33: warning: exported function NewEventManager should have comment or be unexported (golint)
    • Line 50: warning: exported type EventListener should have comment or be unexported (golint)
    • Line 54: warning: exported method EventManager.EmitEvent should have comment or be unexported (golint)
    • Line 60: warning: exported method EventManager.Start should have comment or be unexported (golint)
    • erda/pkg/qaparser/types.go
    • Line 20: warning: exported type Totals should have comment or be unexported (golint)
    • Line 24: warning: exported type Suite should have comment or be unexported (golint)
    • Line 28: warning: exported function NewStatuses should have comment or be unexported (golint)
    • Line 37: warning: exported method Totals.SetStatuses should have comment or be unexported (golint)
    • Line 42: warning: exported method Totals.Add should have comment or be unexported (golint)
    • erda/modules/scheduler/task/sched.go
    • Line 33: warning: exported type Sched should have comment or be unexported (golint)
    • Line 38: warning: exported function NewSched should have comment or be unexported (golint)
    • Line 58: warning: exported method Sched.PrintPoolUsage should have comment or be unexported (golint)
    • Line 103: warning: exported method Sched.Send should have comment or be unexported (golint)
    • Line 123: warning: exported method Sched.Return should have comment or be unexported (golint)
    • Line 128: warning: exported method Sched.ListExecutors should have comment or be unexported (golint)
    • Line 132: warning: exported method Sched.FindExecutor should have comment or be unexported (golint)
    • Line 159: warning: don't use underscores in Go names; var refinedConfig_ should be refinedConfig (golint)
    • erda/modules/cmdb/dao/container.go
    • Line 127: warning: comment on exported method DBClient.ListContainerByOrg should be of the form "ListContainerByOrg ..." (golint)
    • Line 195: warning: comment on exported method DBClient.ListRunningContainersByService should be of the form "ListRunningContainersByService ..." (golint)
    • Line 267: warning: comment on exported method DBClient.ListStoppedContainersByService should be of the form "ListStoppedContainersByService ..." (golint)
    • Line 366: warning: comment on exported method DBClient.UpdateContainerByPrimaryKeyID should be of the form "UpdateContainerByPrimaryKeyID ..." (golint)
    • Line 478: warning: exported method DBClient.AllRunningProjectsContainers should have comment or be unexported (golint)
    • erda/modules/monitor/notify/template/model/consts.go
    • Line 17: warning: exported const PageNumber should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: exported const FieldEmpty should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported const Address should have comment (or a comment on this block) or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/ack/ack.go
    • Line 27: warning: exported type DescribeACKInstancesResponse should have comment or be unexported (golint)
    • Line 31: warning: exported type Instance should have comment or be unexported (golint)
    • Line 43: warning: exported type Parameters should have comment or be unexported (golint)
    • Line 50: warning: exported type Tag should have comment or be unexported (golint)
    • Line 55: warning: exported function ListByCluster should have comment or be unexported (golint)
    • Line 131: warning: exported function TagResource should have comment or be unexported (golint)
    • Line 143: warning: exported function TagOneResource should have comment or be unexported (golint)
    • erda/modules/cmp/impl/labels/update.go
    • Line 33: warning: exported type Labels should have comment or be unexported (golint)
    • Line 38: warning: exported function New should have comment or be unexported (golint)
    • Line 45: warning: exported method Labels.UpdateLabels should have comment or be unexported (golint)
    • Line 108: warning: don't use underscores in Go names; var req_ should be req (golint)
    • Line 151: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • erda/apistructs/runner_task.go
    • Line 17: warning: exported const RunnerTaskStatusPending should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type RunnerTask should have comment or be unexported (golint)
    • Line 36: warning: exported type QueryRunnerTaskRequest should have comment or be unexported (golint)
    • Line 40: warning: exported type QueryRunnerTaskResponse should have comment or be unexported (golint)
    • Line 45: warning: exported type CreateRunnerTaskRequest should have comment or be unexported (golint)
    • Line 53: warning: exported type CreateRunnerTaskResponse should have comment or be unexported (golint)
    • Line 58: warning: exported type UpdateRunnerTaskRequest should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/autotest_scene.go
    • Line 266: warning: exported method Endpoints.ListAutoTestScenes should have comment or be unexported (golint)
    • Line 394: warning: comment on exported method Endpoints.ExecuteDiceAutotestSceneStep should be of the form "ExecuteDiceAutotestSceneStep ..." (golint)
    • erda/modules/msp/menu/db/menu.go
    • Line 19: warning: exported const MenuIniName should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: comment on exported type MenuConfigDB should be of the form "MenuConfigDB ..." (with optional leading article) (golint)
    • erda/modules/pipeline/dbclient/op_pipeline_labels.go
    • Line 29: warning: exported method Client.GetLabel should have comment or be unexported (golint)
    • Line 45: warning: exported method Client.BatchInsertLabels should have comment or be unexported (golint)
    • Line 53: warning: exported method Client.CreatePipelineLabels should have comment or be unexported (golint)
    • Line 74: warning: exported method Client.ListPipelineLabels should have comment or be unexported (golint)
    • Line 117: warning: exported method Client.SelectTargetIDsByLabels should have comment or be unexported (golint)
    • Line 230: warning: exported method Client.DeletePipelineLabelsByPipelineID should have comment or be unexported (golint)
    • Line 326: warning: exported method Client.ListPipelineLabelsByTypeAndTargetIDs should have comment or be unexported (golint)
    • erda/modules/cmp/impl/mns/mns.go
    • Line 22: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 42: warning: exported type ScalingType should have comment or be unexported (golint)
    • Line 44: warning: exported method ScalingType.Sting should have comment or be unexported (golint)
    • Line 49: warning: exported const AsgMnsQueuePrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: exported type Mns should have comment or be unexported (golint)
    • Line 63: warning: exported type Config should have comment or be unexported (golint)
    • Line 76: warning: exported function New should have comment or be unexported (golint)
    • Line 80: warning: exported method Mns.GetAccountID should have comment or be unexported (golint)
    • Line 102: warning: exported method Mns.InitConfig should have comment or be unexported (golint)
    • Line 136: warning: exported method Mns.CreateQueue should have comment or be unexported (golint)
    • Line 148: warning: exported method Mns.DeleteMsg should have comment or be unexported (golint)
    • Line 163: warning: exported method Mns.ReceiveMsg should have comment or be unexported (golint)
    • Line 192: warning: exported method Mns.BathReceiveMsg should have comment or be unexported (golint)
    • Line 219: warning: exported method Mns.GetEssActivityMsgs should have comment or be unexported (golint)
    • Line 249: warning: comment on exported method Mns.GetScaleOutInfo should be of the form "GetScaleOutInfo ..." (golint)
    • Line 305: warning: comment on exported method Mns.PeriodicallyFetchClusters should be of the form "PeriodicallyFetchClusters ..." (golint)
    • Line 326: warning: exported method Mns.FetchValidClusterInfo should have comment or be unexported (golint)
    • Line 371: warning: exported method Mns.Consume should have comment or be unexported (golint)
    • Line 429: warning: exported method Mns.LockCluster should have comment or be unexported (golint)
    • Line 438: warning: exported method Mns.UnlockCluster should have comment or be unexported (golint)
    • Line 447: warning: comment on exported method Mns.IsClusterLocked should be of the form "IsClusterLocked ..." (golint)
    • Line 471: warning: comment on exported method Mns.PreProcess should be of the form "PreProcess ..." (golint)
    • Line 569: warning: exported method Mns.Process should have comment or be unexported (golint)
    • Line 599: warning: exported method Mns.Run should have comment or be unexported (golint)
    • erda/apistructs/manual_review.go
    • Line 18: warning: exported type GetReviewsBySponsorIdRequest should have comment or be unexported (golint)
    • Line 28: warning: exported type GetReviewsBySponsorIdResponse should have comment or be unexported (golint)
    • Line 43: warning: exported type CreateReviewRequest should have comment or be unexported (golint)
    • Line 58: warning: exported type GetReviewsByUserIdRequest should have comment or be unexported (golint)
    • Line 69: warning: exported type GetAuthorityByUserIdRequest should have comment or be unexported (golint)
    • Line 75: warning: exported type GetAuthorityByUserIdResponse should have comment or be unexported (golint)
    • Line 79: warning: exported type GetReviewByTaskIdIdRequest should have comment or be unexported (golint)
    • Line 83: warning: exported type GetReviewByTaskIdIdResponse should have comment or be unexported (golint)
    • Line 89: warning: exported type CreateReviewUser should have comment or be unexported (golint)
    • Line 96: warning: exported type CreateReviewUserResponse should have comment or be unexported (golint)
    • Line 101: warning: exported type GetReviewsByUserIdResponse should have comment or be unexported (golint)
    • Line 117: warning: exported type UpdateApproval should have comment or be unexported (golint)
    • Line 124: warning: exported type ReviewsBySponsorList should have comment or be unexported (golint)
    • Line 129: warning: exported type ReviewsByUserList should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_route_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayRouteServiceImpl should have comment or be unexported (golint)
    • Line 30: warning: exported function NewGatewayRouteServiceImpl should have comment or be unexported (golint)
    • Line 41: warning: exported method GatewayRouteServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 64: warning: exported method GatewayRouteServiceImpl.Insert should have comment or be unexported (golint)
    • Line 75: warning: exported method GatewayRouteServiceImpl.Update should have comment or be unexported (golint)
    • Line 86: warning: exported method GatewayRouteServiceImpl.DeleteById should have comment or be unexported (golint)
    • Line 98: warning: exported method GatewayRouteServiceImpl.GetByApiId should have comment or be unexported (golint)
    • Line 113: warning: exported method GatewayRouteServiceImpl.GetById should have comment or be unexported (golint)
    • erda/modules/eventbox/subscriber/email/email_message.go
    • Line 32: warning: exported type Attachment should have comment or be unexported (golint)
    • Line 39: warning: exported type Message should have comment or be unexported (golint)
    • Line 50: warning: exported method Message.Attach should have comment or be unexported (golint)
    • Line 54: warning: exported function NewMessage should have comment or be unexported (golint)
    • Line 63: warning: exported method Message.Bytes should have comment or be unexported (golint)
    • erda/modules/dicehub/dbclient/extention.go
    • Line 28: warning: exported type Extension should have comment or be unexported (golint)
    • Line 40: warning: exported method Extension.TableName should have comment or be unexported (golint)
    • Line 44: warning: exported method Extension.ToApiData should have comment or be unexported (golint)
    • Line 59: warning: exported type ExtensionVersion should have comment or be unexported (golint)
    • Line 72: warning: exported method ExtensionVersion.TableName should have comment or be unexported (golint)
    • Line 76: warning: exported method ExtensionVersion.ToApiData should have comment or be unexported (golint)
    • Line 91: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 117: warning: exported method DBClient.CreateExtension should have comment or be unexported (golint)
    • Line 123: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 128: warning: exported method DBClient.QueryExtensions should have comment or be unexported (golint)
    • Line 156: warning: exported method DBClient.GetExtension should have comment or be unexported (golint)
    • Line 162: warning: exported method DBClient.DeleteExtension should have comment or be unexported (golint)
    • Line 166: warning: exported method DBClient.GetExtensionVersion should have comment or be unexported (golint)
    • Line 175: warning: exported method DBClient.GetExtensionDefaultVersion should have comment or be unexported (golint)
    • Line 194: warning: exported method DBClient.SetUnDefaultVersion should have comment or be unexported (golint)
    • Line 201: warning: exported method DBClient.CreateExtensionVersion should have comment or be unexported (golint)
    • Line 205: warning: exported method DBClient.DeleteExtensionVersion should have comment or be unexported (golint)
    • Line 209: warning: exported method DBClient.QueryExtensionVersions should have comment or be unexported (golint)
    • Line 221: warning: exported method DBClient.GetExtensionVersionCount should have comment or be unexported (golint)
    • erda/pkg/nexus/nexus.go
    • Line 22: warning: exported type Nexus should have comment or be unexported (golint)
    • Line 29: warning: exported type Server should have comment or be unexported (golint)
    • Line 35: warning: exported type Option should have comment or be unexported (golint)
    • Line 37: warning: exported function New should have comment or be unexported (golint)
    • Line 55: warning: exported function WithHttpClient should have comment or be unexported (golint)
    • Line 61: warning: exported function WithBlobNetdataDir should have comment or be unexported (golint)
    • erda/apistructs/notify_group.go
    • Line 25: warning: exported type NotifyTargetType should have comment or be unexported (golint)
    • Line 26: warning: exported type NotifyLevel should have comment or be unexported (golint)
    • Line 29: warning: exported const RoleNotifyTarget should have comment (or a comment on this block) or be unexported (golint)
    • Line 56: warning: exported method OldNotifyTarget.CovertToNewNotifyTarget should have comment or be unexported (golint)
    • Line 70: warning: exported method Target.GetSignURL should have comment or be unexported (golint)
    • Line 94: warning: exported type NotifyUser should have comment or be unexported (golint)
    • Line 197: warning: comment on exported type GetNotifyGroupDetailResponse should be of the form "GetNotifyGroupDetailResponse ..." (with optional leading article) (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/createOrgBtn/render.go
    • Line 14: warning: don't use MixedCaps in package name; createOrgBtn should be createorgbtn (golint)
    • Line 28: warning: exported type CreateOrgBtn should have comment or be unexported (golint)
    • Line 35: warning: exported type Props should have comment or be unexported (golint)
    • Line 40: warning: exported method CreateOrgBtn.SetCtxBundle should have comment or be unexported (golint)
    • Line 50: warning: exported method CreateOrgBtn.Render should have comment or be unexported (golint)
    • Line 50: warning: receiver name p should be consistent with previous receiver name c for CreateOrgBtn (golint)
    • Line 81: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/tools/protoc-gen-go-openapi/openapi.go
    • Line 147: warning: exported type Tag should have comment or be unexported (golint)
    • Line 152: warning: exported type Tags should have comment or be unexported (golint)
    • Line 154: warning: exported method Tags.Get should have comment or be unexported (golint)
    • Line 164: warning: exported method Tags.Lookup should have comment or be unexported (golint)
    • erda/modules/cmdb/endpoints/endpoints.go
    • Line 55: warning: exported type Option should have comment or be unexported (golint)
    • Line 152: warning: exported function WithErrorBox should have comment or be unexported (golint)
    • Line 163: warning: exported method Endpoints.UCClient should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_group_service.go
    • Line 20: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayGroupServiceImpl should have comment or be unexported (golint)
    • Line 28: warning: exported function NewGatewayGroupServiceImpl should have comment or be unexported (golint)
    • Line 36: warning: exported method GatewayGroupServiceImpl.Insert should have comment or be unexported (golint)
    • Line 47: warning: exported method GatewayGroupServiceImpl.CountByConsumerId should have comment or be unexported (golint)
    • Line 58: warning: exported method GatewayGroupServiceImpl.GetPageByConsumerId should have comment or be unexported (golint)
    • Line 78: warning: exported method GatewayGroupServiceImpl.GetById should have comment or be unexported (golint)
    • Line 93: warning: exported method GatewayGroupServiceImpl.GetByNameAndConsumerId should have comment or be unexported (golint)
    • Line 108: warning: exported method GatewayGroupServiceImpl.DeleteById should have comment or be unexported (golint)
    • Line 120: warning: exported method GatewayGroupServiceImpl.Update should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/app-pipeline-tree/components/fileTree/operation.go
    • Line 14: warning: don't use MixedCaps in package name; fileTree should be filetree (golint)
    • Line 18: warning: exported type AddNodeOperation should have comment or be unexported (golint)
    • Line 26: warning: exported type AddNodeOperationCommand should have comment or be unexported (golint)
    • Line 32: warning: exported type AddNodeOperationCommandState should have comment or be unexported (golint)
    • Line 39: warning: exported type ClickBranchNodeOperation should have comment or be unexported (golint)
    • Line 47: warning: exported type ClickBranchNodeOperationMeta should have comment or be unexported (golint)
    • Line 51: warning: exported type NodeFormModalAddNode should have comment or be unexported (golint)
    • Line 56: warning: exported type AddNodeOperationCommandStateFormData should have comment or be unexported (golint)
    • Line 62: warning: exported type DeleteOperation should have comment or be unexported (golint)
    • Line 72: warning: exported type DeleteOperationData should have comment or be unexported (golint)
    • Line 76: warning: exported type AddDefaultOperations should have comment or be unexported (golint)
    • Line 85: warning: exported type AddDefaultOperationData should have comment or be unexported (golint)
    • erda/pkg/kms/kms.go
    • Line 29: warning: exported type Manager should have comment or be unexported (golint)
    • Line 40: warning: exported function GetManager should have comment or be unexported (golint)
    • Line 48: warning: exported type Option should have comment or be unexported (golint)
    • Line 50: warning: exported function WithPluginConfigs should have comment or be unexported (golint)
    • Line 56: warning: exported function WithStoreConfigs should have comment or be unexported (golint)
    • Line 89: warning: exported method Manager.GetPlugin should have comment or be unexported (golint)
    • Line 106: warning: exported method Manager.GetStore should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/dto/manage_domain_info.go
    • Line 18: warning: exported type DomainType should have comment or be unexported (golint)
    • Line 21: warning: exported const ServiceDomain should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported type ManageDomainReq should have comment or be unexported (golint)
    • Line 34: warning: exported type DomainLinkInfo should have comment or be unexported (golint)
    • Line 43: warning: exported type ManageDomainInfo should have comment or be unexported (golint)
    • Line 54: warning: exported method ManageDomainReq.GenSelectOptions should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/officer.go
    • Line 32: warning: exported method Endpoints.RegistryReadonly should have comment or be unexported (golint)
    • Line 68: warning: exported method Endpoints.RegistryRemoveManifests should have comment or be unexported (golint)
    • Line 106: warning: exported method Endpoints.RegistryRemoveLayers should have comment or be unexported (golint)
    • erda/modules/dop/dao/nexus_user.go
    • Line 28: warning: exported type NexusUser should have comment or be unexported (golint)
    • Line 41: warning: exported type NexusUserConfig should have comment or be unexported (golint)
    • Line 43: warning: exported method NexusUserConfig.Value should have comment or be unexported (golint)
    • Line 46: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 50: warning: exported method NexusUserConfig.Scan should have comment or be unexported (golint)
    • Line 67: warning: exported method NexusUser.TableName should have comment or be unexported (golint)
    • Line 71: warning: exported method DBClient.CreateOrUpdateNexusUser should have comment or be unexported (golint)
    • Line 87: warning: exported method DBClient.GetNexusUser should have comment or be unexported (golint)
    • Line 95: warning: exported method DBClient.GetNexusUserByName should have comment or be unexported (golint)
    • Line 103: warning: exported method DBClient.ListNexusUsers should have comment or be unexported (golint)
    • erda/modules/orchestrator/services/instance/instance.go
    • Line 51: warning: don't use underscores in Go names; method parameter limited_project_ids should be limitedProjectIds (golint)
    • Line 114: warning: don't use underscores in Go names; method parameter limited_app_ids should be limitedAppIds (golint)
    • Line 176: warning: don't use underscores in Go names; method parameter limited_runtime_ids should be limitedRuntimeIds (golint)
    • Line 236: warning: don't use underscores in Go names; method parameter limited_service_names should be limitedServiceNames (golint)
    • erda/tools/cli/cmd/parse.go
    • Line 20: warning: should not use dot imports (golint)
    • Line 24: warning: exported var PARSE should have comment or be unexported (golint)
    • Line 41: warning: exported function RunParse should have comment or be unexported (golint)
    • erda/modules/dop/services/issue/issue.go
    • Line 88: warning: comment on exported function WithFileSvc should be of the form "WithFileSvc ..." (golint)
    • Line 366: warning: comment on exported method Issue.PagingForWorkbench should be of the form "PagingForWorkbench ..." (golint)
    • Line 433: warning: exported method Issue.RequirementPool should have comment or be unexported (golint)
    • Line 1293: warning: comment on exported method Issue.FilterByStateBelongForPros should be of the form "FilterByStateBelongForPros ..." (golint)
    • erda/modules/orchestrator/endpoints/endpoints.go
    • Line 273: warning: comment on exported method Endpoints.PushOnDeploymentPolling should be of the form "PushOnDeploymentPolling ..." (golint)
    • Line 288: warning: exported method Endpoints.PushOnDeployment should have comment or be unexported (golint)
    • Line 321: warning: comment on exported method Endpoints.PushOnDeletingRuntimesPolling should be of the form "PushOnDeletingRuntimesPolling ..." (golint)
    • Line 334: warning: exported method Endpoints.PushOnDeletingRuntimes should have comment or be unexported (golint)
    • Line 359: warning: exported method Endpoints.FullGCLoop should have comment or be unexported (golint)
    • erda/modules/eventbox/api/api.go
    • Line 28: warning: exported type Notifier should have comment or be unexported (golint)
    • Line 32: warning: exported type OpOperation should have comment or be unexported (golint)
    • Line 34: warning: exported type Op should have comment or be unexported (golint)
    • Line 40: warning: exported type NotifierImpl should have comment or be unexported (golint)
    • Line 47: warning: exported function WithDest should have comment or be unexported (golint)
    • Line 53: warning: exported function WithLabels should have comment or be unexported (golint)
    • Line 59: warning: exported function WithSender should have comment or be unexported (golint)
    • Line 80: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 96: warning: comment on exported method NotifierImpl.Send should be of the form "Send ..." (golint)
    • Line 122: warning: exported method NotifierImpl.SendRaw should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/basic_validate_visitor.go
    • Line 25: warning: exported type BasicValidateVisitor should have comment or be unexported (golint)
    • Line 31: warning: exported function NewBasicValidateVisitor should have comment or be unexported (golint)
    • Line 37: warning: exported method BasicValidateVisitor.VisitObject should have comment or be unexported (golint)
    • Line 66: warning: exported method BasicValidateVisitor.VisitService should have comment or be unexported (golint)
    • Line 103: warning: exported method BasicValidateVisitor.VisitBinds should have comment or be unexported (golint)
    • Line 120: warning: exported method BasicValidateVisitor.VisitResources should have comment or be unexported (golint)
    • Line 147: warning: exported method BasicValidateVisitor.VisitDeployments should have comment or be unexported (golint)
    • Line 160: warning: exported method BasicValidateVisitor.VisitAddOns should have comment or be unexported (golint)
    • Line 168: warning: exported method BasicValidateVisitor.VisitAddOn should have comment or be unexported (golint)
    • Line 177: warning: exported function BasicValidate should have comment or be unexported (golint)
    • erda/providers/metrics/report/provider.go
    • Line 24: warning: exported type ReportMode should have comment or be unexported (golint)
    • Line 30: warning: exported type CollectorConfig should have comment or be unexported (golint)
    • Line 37: warning: exported type ReportConfig should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/config.go
    • Line 164: warning: exported type SimplifyConfig should have comment or be unexported (golint)
    • Line 169: warning: exported method Endpoints.ExportConfigs should have comment or be unexported (golint)
    • Line 207: warning: exported method Endpoints.ImportConfigs should have comment or be unexported (golint)
    • erda/apistructs/issue_state.go
    • Line 16: warning: exported type IssueStatus should have comment or be unexported (golint)
    • Line 25: warning: comment on exported type IssueStateBelong should be of the form "IssueStateBelong ..." (with optional leading article) (golint)
    • Line 29: warning: exported const IssueStateBelongOpen should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported type IssueStateRelation should have comment or be unexported (golint)
    • Line 43: warning: exported type IssueTypeState should have comment or be unexported (golint)
    • Line 48: warning: exported type IssueTypeStateID should have comment or be unexported (golint)
    • Line 53: warning: exported type IssueStateName should have comment or be unexported (golint)
    • Line 57: warning: exported type IssueStateState should have comment or be unexported (golint)
    • Line 61: warning: exported type IssueStateTypeBelong should have comment or be unexported (golint)
    • Line 66: warning: exported type IssueStateTypeBelongResponse should have comment or be unexported (golint)
    • Line 71: warning: comment on exported type IssueStateRelationGetRequest should be of the form "IssueStateRelationGetRequest ..." (with optional leading article) (golint)
    • Line 78: warning: comment on exported type IssueStateDeleteRequest should be of the form "IssueStateDeleteRequest ..." (with optional leading article) (golint)
    • Line 85: warning: comment on exported type IssueStateUpdateRequest should be of the form "IssueStateUpdateRequest ..." (with optional leading article) (golint)
    • Line 92: warning: comment on exported type IssueStateCreateRequest should be of the form "IssueStateCreateRequest ..." (with optional leading article) (golint)
    • Line 101: warning: comment on exported type IssueStatesGetRequest should be of the form "IssueStatesGetRequest ..." (with optional leading article) (golint)
    • Line 107: warning: comment on exported type IssueStateDeleteResponse should be of the form "IssueStateDeleteResponse ..." (with optional leading article) (golint)
    • Line 113: warning: comment on exported type IssueStateRelationGetResponse should be of the form "IssueStateRelationGetResponse ..." (with optional leading article) (golint)
    • Line 119: warning: comment on exported type IssueStatesGetResponse should be of the form "IssueStatesGetResponse ..." (with optional leading article) (golint)
    • Line 125: warning: comment on exported type IssueStateTypeBelongGetResponse should be of the form "IssueStateTypeBelongGetResponse ..." (with optional leading article) (golint)
    • Line 131: warning: exported type IssueStateNameGetResponse should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/servicename_visitor.go
    • Line 14: warning: package comment should be of the form "Package diceyml ..." (golint)
    • Line 28: warning: exported type ServiceNameVisitor should have comment or be unexported (golint)
    • Line 33: warning: exported function NewServiceNameVisitor should have comment or be unexported (golint)
    • Line 39: warning: exported method ServiceNameVisitor.VisitService should have comment or be unexported (golint)
    • Line 52: warning: exported method ServiceNameVisitor.VisitObject should have comment or be unexported (golint)
    • Line 60: warning: exported function ServiceNameCheck should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/created_at_linter.go
    • Line 32: warning: exported type CreatedAtExistsLinter should have comment or be unexported (golint)
    • Line 36: warning: exported function NewCreatedAtExistsLinter should have comment or be unexported (golint)
    • Line 40: warning: exported method CreatedAtExistsLinter.Enter should have comment or be unexported (golint)
    • Line 65: warning: exported method CreatedAtExistsLinter.Leave should have comment or be unexported (golint)
    • Line 73: warning: exported type CreatedAtTypeLinter should have comment or be unexported (golint)
    • Line 77: warning: exported function NewCreatedAtTypeLinter should have comment or be unexported (golint)
    • Line 81: warning: exported method CreatedAtTypeLinter.Enter should have comment or be unexported (golint)
    • Line 111: warning: exported method CreatedAtTypeLinter.Leave should have comment or be unexported (golint)
    • Line 119: warning: exported type CreatedAtDefaultValueLinter should have comment or be unexported (golint)
    • Line 123: warning: exported function NewCreatedAtDefaultValueLinter should have comment or be unexported (golint)
    • Line 127: warning: exported method CreatedAtDefaultValueLinter.Enter should have comment or be unexported (golint)
    • Line 163: warning: exported method CreatedAtDefaultValueLinter.Leave should have comment or be unexported (golint)
    • erda/pkg/dlock/dlock.go
    • Line 51: warning: exported type DLock should have comment or be unexported (golint)
    • Line 64: warning: exported type OpOption should have comment or be unexported (golint)
    • Line 66: warning: exported function WithTTL should have comment or be unexported (golint)
    • Line 82: warning: exported function New should have comment or be unexported (golint)
    • Line 156: warning: comment on exported method DLock.Lock should be of the form "Lock ..." (golint)
    • Line 161: warning: exported method DLock.Unlock should have comment or be unexported (golint)
    • Line 165: warning: exported method DLock.Close should have comment or be unexported (golint)
    • Line 182: warning: exported method DLock.UnlockAndClose should have comment or be unexported (golint)
    • Line 187: warning: comment on exported method DLock.Key should be of the form "Key ..." (golint)
    • Line 192: warning: exported method DLock.IsOwner should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/edge-application/components/applicationList/operation.go
    • Line 26: warning: exported type ComponentList should have comment or be unexported (golint)
    • Line 31: warning: exported method ComponentList.SetBundle should have comment or be unexported (golint)
    • Line 39: warning: exported method ComponentList.SetComponent should have comment or be unexported (golint)
    • Line 47: warning: comment on exported method ComponentList.OperateChangePage should be of the form "OperateChangePage ..." (golint)
    • Line 117: warning: exported method ComponentList.OperateDelete should have comment or be unexported (golint)
    • Line 145: warning: exported method ComponentList.OperateReload should have comment or be unexported (golint)
    • Line 167: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/emptyProjectIssue/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyProjectIssue should be emptyprojectissue (golint)
    • Line 29: warning: exported type EmptyProjectIssue should have comment or be unexported (golint)
    • Line 36: warning: exported type Props should have comment or be unexported (golint)
    • Line 44: warning: exported type State should have comment or be unexported (golint)
    • Line 48: warning: exported method EmptyProjectIssue.SetCtxBundle should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 58: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: exported method EmptyProjectIssue.GenComponentState should have comment or be unexported (golint)
    • Line 79: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 98: warning: exported method EmptyProjectIssue.Render should have comment or be unexported (golint)
    • Line 124: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/pipeline/pipengine/actionexecutor/types/define.go
    • Line 27: warning: exported type ActionExecutor should have comment or be unexported (golint)
    • Line 59: warning: exported method Name.Validate should have comment or be unexported (golint)
    • Line 70: warning: exported method Kind.Validate should have comment or be unexported (golint)
    • Line 74: warning: comment on exported type CreateFn should be of the form "CreateFn ..." (with optional leading article) (golint)
    • Line 77: warning: exported var Factory should have comment or be unexported (golint)
    • erda/pkg/sexp/sexp.go
    • Line 25: warning: comment on exported type Sexp should be of the form "Sexp ..." (with optional leading article) (golint)
    • Line 29: warning: exported type QString should have comment or be unexported (golint)
    • Line 30: warning: exported type List should have comment or be unexported (golint)
    • Line 89: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 157: warning: exported method Sexp.Dump should have comment or be unexported (golint)
    • Line 169: warning: exported type Context should have comment or be unexported (golint)
    • Line 174: warning: exported function Eval should have comment or be unexported (golint)
    • Line 182: warning: don't use underscores in Go names; var fun_s should be funS (golint)
    • Line 215: warning: exported function ReferencedVars should have comment or be unexported (golint)
    • Line 253: warning: exported var Builtin should have comment or be unexported (golint)
    • erda/modules/dop/services/assetsvc/svc.go
    • Line 14: warning: package comment should be of the form "Package assetsvc ..." (golint)
    • Line 17: warning: exported type Service should have comment or be unexported (golint)
    • Line 19: warning: exported type Option should have comment or be unexported (golint)
    • Line 21: warning: exported function New should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/myApplicationTitle/render.go
    • Line 14: warning: don't use MixedCaps in package name; myApplicationTitle should be myapplicationtitle (golint)
    • Line 27: warning: exported type MyApplicationTitle should have comment or be unexported (golint)
    • Line 33: warning: exported type Props should have comment or be unexported (golint)
    • Line 50: warning: exported method MyApplicationTitle.SetCtxBundle should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 60: warning: exported method MyApplicationTitle.Render should have comment or be unexported (golint)
    • Line 69: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/kms/endpoints/kms.go
    • Line 26: warning: exported method Endpoints.KmsCreateKey should have comment or be unexported (golint)
    • Line 45: warning: exported method Endpoints.DescribeKey should have comment or be unexported (golint)
    • erda/modules/hepa/server/openapi_controller.go
    • Line 32: warning: exported type OpenapiController should have comment or be unexported (golint)
    • Line 42: warning: exported function NewOpenapiController should have comment or be unexported (golint)
    • Line 61: warning: exported method OpenapiController.Register should have comment or be unexported (golint)
    • Line 130: warning: exported method OpenapiController.GetGatewayFeatures should have comment or be unexported (golint)
    • Line 145: warning: exported method OpenapiController.CreateClient should have comment or be unexported (golint)
    • Line 160: warning: exported method OpenapiController.DeleteClient should have comment or be unexported (golint)
    • Line 175: warning: exported method OpenapiController.GetClientCredentials should have comment or be unexported (golint)
    • Line 190: warning: exported method OpenapiController.UpdateClientCredentials should have comment or be unexported (golint)
    • Line 205: warning: exported method OpenapiController.GrantClientPackage should have comment or be unexported (golint)
    • Line 220: warning: exported method OpenapiController.RevokeClientPackage should have comment or be unexported (golint)
    • Line 235: warning: exported method OpenapiController.GetMetrics should have comment or be unexported (golint)
    • Line 253: warning: exported method OpenapiController.GetRuntimeDomains should have comment or be unexported (golint)
    • Line 270: warning: exported method OpenapiController.UpdateRuntimeServiceDomain should have comment or be unexported (golint)
    • Line 299: warning: exported method OpenapiController.GetTenantDomains should have comment or be unexported (golint)
    • Line 319: warning: exported method OpenapiController.GetServiceRuntimes should have comment or be unexported (golint)
    • Line 339: warning: exported method OpenapiController.CreatePackage should have comment or be unexported (golint)
    • Line 363: warning: exported method OpenapiController.GetPackages should have comment or be unexported (golint)
    • Line 382: warning: exported method OpenapiController.GetPackagesName should have comment or be unexported (golint)
    • Line 398: warning: exported method OpenapiController.GetPackage should have comment or be unexported (golint)
    • Line 413: warning: exported method OpenapiController.DeletePackage should have comment or be unexported (golint)
    • Line 430: warning: exported method OpenapiController.UpdatePackage should have comment or be unexported (golint)
    • Line 453: warning: exported method OpenapiController.CreatePackageApi should have comment or be unexported (golint)
    • Line 476: warning: exported method OpenapiController.TouchPackageRootApi should have comment or be unexported (golint)
    • Line 497: warning: exported method OpenapiController.GetPackageApis should have comment or be unexported (golint)
    • Line 513: warning: exported method OpenapiController.DeletePackageApi should have comment or be unexported (golint)
    • Line 530: warning: exported method OpenapiController.UpdatePackageApi should have comment or be unexported (golint)
    • Line 553: warning: exported method OpenapiController.GetPackageAcl should have comment or be unexported (golint)
    • Line 568: warning: exported method OpenapiController.UpdatePackageAcl should have comment or be unexported (golint)
    • Line 589: warning: exported method OpenapiController.GetPackageApiAcl should have comment or be unexported (golint)
    • Line 604: warning: exported method OpenapiController.UpdatePackageApiAcl should have comment or be unexported (golint)
    • Line 625: warning: exported method OpenapiController.GetConsumers should have comment or be unexported (golint)
    • Line 641: warning: exported method OpenapiController.GetConsumersName should have comment or be unexported (golint)
    • Line 657: warning: exported method OpenapiController.CreateConsumer should have comment or be unexported (golint)
    • Line 681: warning: exported method OpenapiController.DeleteConsumer should have comment or be unexported (golint)
    • Line 698: warning: exported method OpenapiController.UpdateConsumer should have comment or be unexported (golint)
    • Line 721: warning: exported method OpenapiController.GetConsumerAcl should have comment or be unexported (golint)
    • Line 736: warning: exported method OpenapiController.UpdateConsumerAcl should have comment or be unexported (golint)
    • Line 757: warning: exported method OpenapiController.GetConsumerAuth should have comment or be unexported (golint)
    • Line 772: warning: exported method OpenapiController.UpdateConsumerAuth should have comment or be unexported (golint)
    • Line 795: warning: exported method OpenapiController.GetLimits should have comment or be unexported (golint)
    • Line 811: warning: exported method OpenapiController.CreateLimit should have comment or be unexported (golint)
    • Line 833: warning: exported method OpenapiController.DeleteLimit should have comment or be unexported (golint)
    • Line 848: warning: exported method OpenapiController.UpdateLimit should have comment or be unexported (golint)
    • Line 869: warning: exported method OpenapiController.GetServiceApiPrefix should have comment or be unexported (golint)
    • Line 893: warning: exported method OpenapiController.SetPackageAliyunBind should have comment or be unexported (golint)
    • Line 910: warning: exported method OpenapiController.GetPackageAliyunBind should have comment or be unexported (golint)
    • Line 925: warning: exported method OpenapiController.GetCloudapiInfo should have comment or be unexported (golint)
    • Line 940: warning: exported method OpenapiController.GetCloudapiCredential should have comment or be unexported (golint)
    • Line 955: warning: exported method OpenapiController.SetCloudapiCredential should have comment or be unexported (golint)
    • Line 970: warning: exported method OpenapiController.DeleteCloudapiCredential should have comment or be unexported (golint)
    • Line 985: warning: exported method OpenapiController.CreateOrUpdateClientLimits should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/nat/nat.go
    • Line 26: warning: exported function DescribeResource should have comment or be unexported (golint)
    • Line 47: warning: exported function DescribeSnatEntry should have comment or be unexported (golint)
    • Line 69: warning: exported function IsVswitchBoundSnat should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/define.go
    • Line 33: warning: exported type WorkspaceStr should have comment or be unexported (golint)
    • Line 36: warning: exported const WS_DEV should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported type Object should have comment or be unexported (golint)
    • Line 52: warning: exported type EnvMap should have comment or be unexported (golint)
    • Line 53: warning: exported type EnvObjects should have comment or be unexported (golint)
    • Line 54: warning: exported type AddOns should have comment or be unexported (golint)
    • Line 55: warning: exported type Services should have comment or be unexported (golint)
    • Line 56: warning: exported type Jobs should have comment or be unexported (golint)
    • Line 57: warning: exported type Binds should have comment or be unexported (golint)
    • Line 58: warning: exported type ValueMap should have comment or be unexported (golint)
    • Line 59: warning: exported type ValueObjects should have comment or be unexported (golint)
    • Line 74: warning: exported type Selectors should have comment or be unexported (golint)
    • Line 76: warning: exported type EnvObject should have comment or be unexported (golint)
    • Line 82: warning: exported type AddOn should have comment or be unexported (golint)
    • Line 90: warning: exported type Volume should have comment or be unexported (golint)
    • Line 96: warning: exported type Volumes should have comment or be unexported (golint)
    • Line 98: warning: exported type Job should have comment or be unexported (golint)
    • Line 109: warning: exported type InitContainer should have comment or be unexported (golint)
    • Line 116: warning: exported type Service should have comment or be unexported (golint)
    • Line 140: warning: exported type ServicePort should have comment or be unexported (golint)
    • Line 148: warning: comment on exported method ServicePort.UnmarshalYAML should be of the form "UnmarshalYAML ..." (golint)
    • Line 191: warning: comment on exported method ServicePort.UnmarshalJSON should be of the form "UnmarshalJSON ..." (golint)
    • Line 233: warning: exported method EnvMap.UnmarshalJSON should have comment or be unexported (golint)
    • Line 254: warning: comment on exported method Volume.UnmarshalYAML should be of the form "UnmarshalYAML ..." (golint)
    • Line 316: warning: exported method Selector.UnmarshalYAML should have comment or be unexported (golint)
    • Line 336: warning: exported method Selector.MarshalYAML should have comment or be unexported (golint)
    • Line 346: warning: exported method Binds.MarshalJSON should have comment or be unexported (golint)
    • Line 354: warning: exported method Binds.UnmarshalJSON should have comment or be unexported (golint)
    • Line 376: warning: exported function ParseBinds should have comment or be unexported (golint)
    • Line 397: warning: exported type Bind should have comment or be unexported (golint)
    • Line 403: warning: exported type SharedDir should have comment or be unexported (golint)
    • Line 408: warning: exported type SideCar should have comment or be unexported (golint)
    • Line 416: warning: exported type HealthCheck should have comment or be unexported (golint)
    • Line 421: warning: exported type HTTPCheck should have comment or be unexported (golint)
    • Line 427: warning: exported type ExecCheck should have comment or be unexported (golint)
    • Line 432: warning: exported type Resources should have comment or be unexported (golint)
    • Line 441: warning: exported type Deployments should have comment or be unexported (golint)
    • Line 452: warning: exported type TrafficSecurity should have comment or be unexported (golint)
    • Line 456: warning: exported type Endpoint should have comment or be unexported (golint)
    • Line 463: warning: exported type EndpointPolicies should have comment or be unexported (golint)
    • Line 485: warning: exported method AddOn.MarshalJSON should have comment or be unexported (golint)
    • Line 505: warning: comment on exported type DiceYmlVisitor should be of the form "DiceYmlVisitor ..." (with optional leading article) (golint)
    • Line 524: warning: exported method Object.Accept should have comment or be unexported (golint)
    • Line 545: warning: comment on exported method EnvObject.Accept should be of the form "Accept ..." (golint)
    • Line 551: warning: exported method EnvObjects.Accept should have comment or be unexported (golint)
    • Line 554: warning: exported method Service.Accept should have comment or be unexported (golint)
    • Line 562: warning: exported method Services.Accept should have comment or be unexported (golint)
    • Line 565: warning: exported method Job.Accept should have comment or be unexported (golint)
    • Line 571: warning: exported method Jobs.Accept should have comment or be unexported (golint)
    • Line 574: warning: exported method AddOn.Accept should have comment or be unexported (golint)
    • Line 574: warning: receiver name obj should be consistent with previous receiver name a for AddOn (golint)
    • Line 577: warning: exported method AddOns.Accept should have comment or be unexported (golint)
    • Line 580: warning: exported method Resources.Accept should have comment or be unexported (golint)
    • Line 583: warning: exported method HealthCheck.Accept should have comment or be unexported (golint)
    • Line 595: warning: exported method HTTPCheck.Accept should have comment or be unexported (golint)
    • Line 598: warning: exported method ExecCheck.Accept should have comment or be unexported (golint)
    • Line 602: warning: exported method Deployments.Accept should have comment or be unexported (golint)
    • Line 606: warning: exported method Binds.Accept should have comment or be unexported (golint)
    • Line 606: warning: receiver name obj should be consistent with previous receiver name bs for Binds (golint)
    • Line 610: warning: exported type DefaultVisitor should have comment or be unexported (golint)
    • Line 616: warning: exported method DefaultVisitor.VisitObject should have comment or be unexported (golint)
    • Line 617: warning: exported method DefaultVisitor.VisitEnvObject should have comment or be unexported (golint)
    • Line 618: warning: exported method DefaultVisitor.VisitEnvObjects should have comment or be unexported (golint)
    • Line 619: warning: exported method DefaultVisitor.VisitService should have comment or be unexported (golint)
    • Line 620: warning: exported method DefaultVisitor.VisitServices should have comment or be unexported (golint)
    • Line 627: warning: exported method DefaultVisitor.VisitJobs should have comment or be unexported (golint)
    • Line 634: warning: exported method DefaultVisitor.VisitJob should have comment or be unexported (golint)
    • Line 635: warning: exported method DefaultVisitor.VisitAddOn should have comment or be unexported (golint)
    • Line 636: warning: exported method DefaultVisitor.VisitAddOns should have comment or be unexported (golint)
    • Line 637: warning: exported method DefaultVisitor.VisitResources should have comment or be unexported (golint)
    • Line 638: warning: exported method DefaultVisitor.VisitHealthCheck should have comment or be unexported (golint)
    • Line 639: warning: exported method DefaultVisitor.VisitHTTPCheck should have comment or be unexported (golint)
    • Line 640: warning: exported method DefaultVisitor.VisitExecCheck should have comment or be unexported (golint)
    • Line 641: warning: exported method DefaultVisitor.VisitDeployments should have comment or be unexported (golint)
    • Line 642: warning: exported method DefaultVisitor.VisitBinds should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_package_api_in_consumer_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayPackageApiInConsumerServiceImpl should have comment or be unexported (golint)
    • Line 30: warning: exported function NewGatewayPackageApiInConsumerServiceImpl should have comment or be unexported (golint)
    • Line 41: warning: exported method GatewayPackageApiInConsumerServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 64: warning: exported method GatewayPackageApiInConsumerServiceImpl.Update should have comment or be unexported (golint)
    • Line 75: warning: exported method GatewayPackageApiInConsumerServiceImpl.Insert should have comment or be unexported (golint)
    • Line 86: warning: exported method GatewayPackageApiInConsumerServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 105: warning: exported method GatewayPackageApiInConsumerServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 121: warning: exported method GatewayPackageApiInConsumerServiceImpl.Get should have comment or be unexported (golint)
    • Line 136: warning: exported method GatewayPackageApiInConsumerServiceImpl.Delete should have comment or be unexported (golint)
    • Line 147: warning: exported method GatewayPackageApiInConsumerServiceImpl.DeleteByConsumerId should have comment or be unexported (golint)
    • Line 158: warning: exported method GatewayPackageApiInConsumerServiceImpl.SelectByConsumer should have comment or be unexported (golint)
    • Line 170: warning: exported method GatewayPackageApiInConsumerServiceImpl.SelectByPackageApi should have comment or be unexported (golint)
    • erda/pkg/kms/kmstypes/api_symmetric.go
    • Line 21: warning: exported type EncryptRequest should have comment or be unexported (golint)
    • Line 28: warning: exported method EncryptRequest.ValidateRequest should have comment or be unexported (golint)
    • Line 41: warning: exported type EncryptResponse should have comment or be unexported (golint)
    • Line 48: warning: exported type DecryptRequest should have comment or be unexported (golint)
    • Line 55: warning: exported method DecryptRequest.ValidateRequest should have comment or be unexported (golint)
    • Line 68: warning: exported type DecryptResponse should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/fileFormModal/model.go
    • Line 14: warning: don't use MixedCaps in package name; fileFormModal should be fileformmodal (golint)
    • Line 20: warning: exported type ComponentFileFormModal should have comment or be unexported (golint)
    • Line 27: warning: exported type State should have comment or be unexported (golint)
    • Line 36: warning: exported type FormData should have comment or be unexported (golint)
    • Line 43: warning: exported type Props should have comment or be unexported (golint)
    • Line 48: warning: exported type Entry should have comment or be unexported (golint)
    • Line 57: warning: exported type Rule should have comment or be unexported (golint)
    • Line 61: warning: exported type ComponentProps should have comment or be unexported (golint)
    • Line 67: warning: exported type Operation should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/edge-app-site/components/appSiteManage/operation.go
    • Line 26: warning: exported type ComponentList should have comment or be unexported (golint)
    • Line 31: warning: exported type EdgeAppSiteInParam should have comment or be unexported (golint)
    • Line 36: warning: exported type EdgeAppSiteMeta should have comment or be unexported (golint)
    • Line 41: warning: exported type EdgeAppSiteState should have comment or be unexported (golint)
    • Line 47: warning: exported method ComponentList.SetBundle should have comment or be unexported (golint)
    • Line 55: warning: exported method ComponentList.SetComponent should have comment or be unexported (golint)
    • Line 63: warning: comment on exported method ComponentList.OperateChangePage should be of the form "OperateChangePage ..." (golint)
    • Line 91: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 199: warning: exported method ComponentList.OperateOffline should have comment or be unexported (golint)
    • Line 228: warning: exported method ComponentList.OperateRestart should have comment or be unexported (golint)
    • Line 257: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/fileTree/model.go
    • Line 14: warning: don't use MixedCaps in package name; fileTree should be filetree (golint)
    • Line 20: warning: exported type ComponentFileTree should have comment or be unexported (golint)
    • Line 30: warning: exported type SceneSet should have comment or be unexported (golint)
    • Line 43: warning: exported type Scene should have comment or be unexported (golint)
    • Line 52: warning: exported type OperationBase should have comment or be unexported (golint)
    • Line 58: warning: exported type AddSceneOperation should have comment or be unexported (golint)
    • Line 62: warning: exported type InParams should have comment or be unexported (golint)
    • Line 70: warning: exported type DragParams should have comment or be unexported (golint)
    • Line 78: warning: exported type State should have comment or be unexported (golint)
    • Line 84: warning: don't use underscores in Go names; struct field SetId__urlQuery should be SetIDURLQuery (golint)
    • Line 85: warning: don't use underscores in Go names; struct field SceneId__urlQuery should be SceneIDURLQuery (golint)
    • Line 94: warning: exported type Operation should have comment or be unexported (golint)
    • erda/modules/hepa/kong/dto/kong_credential_resp_dto.go
    • Line 16: warning: exported type KongCredentialListDto should have comment or be unexported (golint)
    • Line 21: warning: exported type KongCredentialDto should have comment or be unexported (golint)
    • Line 40: warning: exported method KongCredentialDto.ToHmacReq should have comment or be unexported (golint)
    • Line 50: warning: exported method KongCredentialDto.ToHmacResp should have comment or be unexported (golint)
    • Line 60: warning: exported method KongCredentialDto.ToV2 should have comment or be unexported (golint)
    • Line 70: warning: exported method KongCredentialDto.Compatiable should have comment or be unexported (golint)
    • erda/pkg/crypto/encryption/define.go
    • Line 20: warning: exported const MD5 should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported const String should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported const PKCS1 should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: exported const RSA should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: exported type Padding should have comment or be unexported (golint)
    • Line 57: warning: exported const PaddingPKCS5 should have comment (or a comment on this block) or be unexported (golint)
    • Line 61: warning: exported type Cipher should have comment or be unexported (golint)
    • Line 64: warning: exported const ECB should have comment (or a comment on this block) or be unexported (golint)
    • erda/modules/core-services/dao/notify_item.go
    • Line 21: warning: exported method DBClient.CreateNotifyItem should have comment or be unexported (golint)
    • Line 37: warning: exported method DBClient.UpdateNotifyItem should have comment or be unexported (golint)
    • Line 47: warning: exported method DBClient.DeleteNotifyItem should have comment or be unexported (golint)
    • Line 56: warning: exported method DBClient.QueryNotifyItems should have comment or be unexported (golint)
    • Line 91: warning: exported method DBClient.GetNotifyItemsByNotifyID should have comment or be unexported (golint)
    • Line 102: warning: exported method DBClient.GetNotifyItemsByNotifyIDAndItemName should have comment or be unexported (golint)
    • Line 114: warning: exported method DBClient.QuerytNotifyItemsByNotifyIDAndItemName should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/assembler/gateway_kong_assembler.go
    • Line 20: warning: should not use dot imports (golint)
    • Line 30: warning: exported type GatewayKongAssemblerImpl should have comment or be unexported (golint)
    • Line 33: warning: exported method GatewayKongAssemblerImpl.BuildKongServiceReq should have comment or be unexported (golint)
    • Line 49: warning: exported method GatewayKongAssemblerImpl.BuildKongRouteReq should have comment or be unexported (golint)
    • Line 85: warning: exported method GatewayKongAssemblerImpl.BuildKongPluginReqDto should have comment or be unexported (golint)
    • erda/modules/dop/dao/autotest_filetree.go
    • Line 23: warning: comment on exported type AutoTestFileTreeNode should be of the form "AutoTestFileTreeNode ..." (with optional leading article) (golint)
    • Line 37: warning: exported method AutoTestFileTreeNode.TableName should have comment or be unexported (golint)
    • Line 41: warning: exported method DBClient.CreateAutoTestFileTreeNode should have comment or be unexported (golint)
    • Line 45: warning: exported method DBClient.GetAutoTestFileTreeNodeByInode should have comment or be unexported (golint)
    • Line 56: warning: exported method DBClient.ListAutoTestFileTreeNodeByPinode should have comment or be unexported (golint)
    • Line 64: warning: exported method DBClient.FuzzySearchAutoTestFileTreeNodes should have comment or be unexported (golint)
    • Line 90: warning: exported method DBClient.ListAutoTestFileTreeNodeByPinodeAndNamePrefix should have comment or be unexported (golint)
    • Line 98: warning: exported method DBClient.GetAutoTestFileTreeScopeRootDir should have comment or be unexported (golint)
    • Line 109: warning: exported method DBClient.DeleteAutoTestFileTreeNodeByInode should have comment or be unexported (golint)
    • Line 114: warning: exported method DBClient.UpdateAutoTestFileTreeNodeBasicInfo should have comment or be unexported (golint)
    • Line 121: warning: exported method DBClient.MoveAutoTestFileTreeNode should have comment or be unexported (golint)
    • erda/pkg/datomic/datomic.go
    • Line 30: warning: exported const TTL should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type DInt should have comment or be unexported (golint)
    • Line 41: warning: exported function New should have comment or be unexported (golint)
    • Line 106: warning: exported method DInt.Add should have comment or be unexported (golint)
    • Line 148: warning: comment on exported method DInt.Clear should be of the form "Clear ..." (golint)
    • erda/modules/eventbox/dispatcher/filters/registerfilter.go
    • Line 28: warning: exported type RegisterFilter should have comment or be unexported (golint)
    • Line 32: warning: exported function NewRegisterFilter should have comment or be unexported (golint)
    • Line 38: warning: exported method RegisterFilter.Name should have comment or be unexported (golint)
    • Line 42: warning: exported method RegisterFilter.Filter should have comment or be unexported (golint)
    • Line 48: warning: don't use underscores in Go names; var keys_ should be keys (golint)
    • erda/modules/pipeline/dbclient/op_pipeline_report.go
    • Line 25: warning: exported method Client.CreatePipelineReport should have comment or be unexported (golint)
    • Line 33: warning: exported method Client.UpdatePipelineReport should have comment or be unexported (golint)
    • Line 44: warning: exported method Client.PagingPipelineReportSets should have comment or be unexported (golint)
    • Line 118: warning: exported method Client.DeletePipelineReportsByPipelineID should have comment or be unexported (golint)
    • Line 126: warning: exported method Client.BatchListPipelineReportsByPipelineID should have comment or be unexported (golint)
    • Line 153: warning: exported method Client.MakePipelineReportTypeLabelKey should have comment or be unexported (golint)
    • Line 157: warning: exported method Client.ConvertPipelineReport should have comment or be unexported (golint)
    • erda/modules/pipeline/spec/pipeline_cron.go
    • Line 24: warning: comment on exported const PipelineCronCronExpr should be of the form "PipelineCronCronExpr ..." (golint)
    • Line 26: warning: exported const PipelineCronEnable should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported type PipelineCron should have comment or be unexported (golint)
    • Line 69: warning: exported method PipelineCron.TableName should have comment or be unexported (golint)
    • Line 73: warning: exported method PipelineCron.Convert2DTO should have comment or be unexported (golint)
    • erda/bundle/servicegroup.go
    • Line 145: warning: exported method Bundle.KillPod should have comment or be unexported (golint)
    • Line 156: warning: comment on exported method Bundle.ServiceGroupConfigUpdate should be of the form "ServiceGroupConfigUpdate ..." (golint)
    • Line 168: warning: comment on exported method Bundle.InspectServiceGroupWithTimeout should be of the form "InspectServiceGroupWithTimeout ..." (golint)
    • Line 223: warning: exported method Bundle.GetPodInfo should have comment or be unexported (golint)
    • Line 357: warning: exported method Bundle.CapacityInfo should have comment or be unexported (golint)
    • Line 375: warning: comment on exported method Bundle.ResourceInfo should be of the form "ResourceInfo ..." (golint)
    • Line 399: warning: exported method Bundle.PrecheckServiceGroup should have comment or be unexported (golint)
    • erda/modules/dop/dao/issue_panel.go
    • Line 18: warning: exported type IssuePanel should have comment or be unexported (golint)
    • Line 27: warning: exported method IssuePanel.TableName should have comment or be unexported (golint)
    • Line 31: warning: exported method DBClient.CreatePanel should have comment or be unexported (golint)
    • Line 35: warning: exported method DBClient.DeletePanelByPanelID should have comment or be unexported (golint)
    • Line 39: warning: exported method DBClient.UpdatePanel should have comment or be unexported (golint)
    • Line 43: warning: comment on exported method DBClient.GetPanelByPanelID should be of the form "GetPanelByPanelID ..." (golint)
    • Line 52: warning: comment on exported method DBClient.GetPanelsByProjectID should be of the form "GetPanelsByProjectID ..." (golint)
    • Line 61: warning: comment on exported method DBClient.GetPanelByIssueID should be of the form "GetPanelByIssueID ..." (golint)
    • Line 70: warning: comment on exported method DBClient.GetPanelIssuesByPanel should be of the form "GetPanelIssuesByPanel ..." (golint)
    • Line 85: warning: comment on exported method DBClient.GetPanelIssuesID should be of the form "GetPanelIssuesID ..." (golint)
    • Line 95: warning: comment on exported method DBClient.GetPanelIssuesIDByProjectID should be of the form "GetPanelIssuesIDByProjectID ..." (golint)
    • erda/apistructs/onedata_analysis.go
    • Line 16: warning: comment on exported type OneDataAnalysisRequest should be of the form "OneDataAnalysisRequest ..." (with optional leading article) (golint)
    • Line 22: warning: exported type OneDataAnalysisResponse should have comment or be unexported (golint)
    • Line 27: warning: exported type BusinessDomainDTO should have comment or be unexported (golint)
    • Line 31: warning: exported type DataDomainDTO should have comment or be unexported (golint)
    • Line 35: warning: exported type MarketDomainDTO should have comment or be unexported (golint)
    • Line 39: warning: exported type OneDataDTO should have comment or be unexported (golint)
    • Line 45: warning: exported type OneDataAnalysisBussProcRequest should have comment or be unexported (golint)
    • Line 50: warning: exported type OneDataAnalysisBussProcResponse should have comment or be unexported (golint)
    • Line 55: warning: comment on exported type OneDataAnalysisBussProcsRequest should be of the form "OneDataAnalysisBussProcsRequest ..." (with optional leading article) (golint)
    • Line 76: warning: exported type OneDataAnalysisBussProcsResponse should have comment or be unexported (golint)
    • Line 81: warning: exported type BusinessProcessDTO should have comment or be unexported (golint)
    • Line 85: warning: exported type BusinessProcessData should have comment or be unexported (golint)
    • Line 90: warning: comment on exported type OneDataAnalysisDimRequest should be of the form "OneDataAnalysisDimRequest ..." (with optional leading article) (golint)
    • Line 96: warning: exported type OneDataAnalysisDimResponse should have comment or be unexported (golint)
    • Line 101: warning: exported type DimDTO should have comment or be unexported (golint)
    • Line 106: warning: exported type RelationDTO should have comment or be unexported (golint)
    • Line 112: warning: comment on exported type OneDataAnalysisFuzzyAttrsRequest should be of the form "OneDataAnalysisFuzzyAttrsRequest ..." (with optional leading article) (golint)
    • Line 127: warning: exported type OneDataAnalysisFuzzyAttrsResponse should have comment or be unexported (golint)
    • Line 132: warning: exported type AttrDTO should have comment or be unexported (golint)
    • Line 137: warning: exported type AttrData should have comment or be unexported (golint)
    • Line 142: warning: comment on exported type OneDataAnalysisOutputTablesRequest should be of the form "OneDataAnalysisOutputTablesRequest ..." (with optional leading article) (golint)
    • Line 163: warning: exported type OneDataAnalysisOutputTablesResponse should have comment or be unexported (golint)
    • Line 168: warning: exported type OutputTableDTO should have comment or be unexported (golint)
    • Line 172: warning: exported type OutputTableData should have comment or be unexported (golint)
    • Line 177: warning: comment on exported type OneDataAnalysisStarRequest should be of the form "OneDataAnalysisStarRequest ..." (with optional leading article) (golint)
    • Line 183: warning: exported type OneDataAnalysisStarResponse should have comment or be unexported (golint)
    • Line 188: warning: exported type DerivativeIndexDTO should have comment or be unexported (golint)
    • Line 195: warning: exported type AtomicIndexDTO should have comment or be unexported (golint)
    • Line 201: warning: exported type StarDTO should have comment or be unexported (golint)
    • Line 207: warning: comment on exported type BaseParam should be of the form "BaseParam ..." (with optional leading article) (golint)
    • Line 214: warning: comment on exported type ExtBaseParam should be of the form "ExtBaseParam ..." (with optional leading article) (golint)
    • erda/pkg/qaparser/node.go
    • Line 20: warning: exported type XmlNode should have comment or be unexported (golint)
    • Line 27: warning: exported method XmlNode.Attr should have comment or be unexported (golint)
    • Line 31: warning: exported method XmlNode.UnmarshalXML should have comment or be unexported (golint)
    • erda/pkg/excel/export_by_cell.go
    • Line 71: warning: exported function WriteExcelBuffer should have comment or be unexported (golint)
    • Line 85: warning: exported type XlsxFile should have comment or be unexported (golint)
    • Line 89: warning: exported function NewXLSXFile should have comment or be unexported (golint)
    • Line 93: warning: exported function AddSheetByCell should have comment or be unexported (golint)
    • Line 126: warning: exported function WriteFile should have comment or be unexported (golint)
    • erda/modules/dicehub/dbclient/pipeline_template.go
    • Line 23: warning: exported type DicePipelineTemplate should have comment or be unexported (golint)
    • Line 33: warning: exported method DicePipelineTemplate.ToApiData should have comment or be unexported (golint)
    • Line 47: warning: exported type DicePipelineTemplateVersion should have comment or be unexported (golint)
    • Line 56: warning: exported method DicePipelineTemplateVersion.ToApiData should have comment or be unexported (golint)
    • Line 69: warning: exported method DBClient.CreatePipelineTemplate should have comment or be unexported (golint)
    • Line 74: warning: exported method DBClient.UpdatePipelineTemplate should have comment or be unexported (golint)
    • Line 79: warning: exported method DBClient.GetPipelineTemplate should have comment or be unexported (golint)
    • Line 88: warning: exported method DBClient.GetPipelineTemplateVersion should have comment or be unexported (golint)
    • Line 97: warning: exported method DBClient.CreatePipelineTemplateVersion should have comment or be unexported (golint)
    • Line 102: warning: exported method DBClient.UpdatePipelineTemplateVersion should have comment or be unexported (golint)
    • Line 107: warning: exported method DBClient.QueryByPipelineTemplates should have comment or be unexported (golint)
    • Line 138: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 149: warning: exported method DBClient.QueryPipelineTemplateVersions should have comment or be unexported (golint)
    • erda/apistructs/labels.go
    • Line 17: warning: exported const LabelOrgID should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: comment on exported const LabelActionVersion should be of the form "LabelActionVersion ..." (golint)
    • Line 51: warning: comment on exported const LabelDiceSnippetScopeID should be of the form "LabelDiceSnippetScopeID ..." (golint)
    • Line 54: warning: comment on exported const LabelSnippetScope should be of the form "LabelSnippetScope ..." (golint)
    • Line 66: warning: comment on exported const LabelFdpWorkflowID should be of the form "LabelFdpWorkflowID ..." (golint)
    • erda/modules/cmp/dbclient/models.go
    • Line 22: warning: exported type RecordType should have comment or be unexported (golint)
    • Line 25: warning: exported const RecordTypeAddNodes should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported type StatusType should have comment or be unexported (golint)
    • Line 55: warning: exported const StatusTypeSuccess should have comment (or a comment on this block) or be unexported (golint)
    • Line 61: warning: exported type Record should have comment or be unexported (golint)
    • Line 73: warning: exported method Record.TableName should have comment or be unexported (golint)
    • Line 77: warning: exported type VendorType should have comment or be unexported (golint)
    • Line 80: warning: exported const VendorTypeAliyun should have comment (or a comment on this block) or be unexported (golint)
    • Line 83: warning: exported type OrgAK should have comment or be unexported (golint)
    • Line 92: warning: exported method OrgAK.TableName should have comment or be unexported (golint)
    • Line 96: warning: exported type ResourceType should have comment or be unexported (golint)
    • Line 99: warning: exported const ResourceTypeMysql should have comment (or a comment on this block) or be unexported (golint)
    • Line 113: warning: exported type RoutingStatus should have comment or be unexported (golint)
    • Line 116: warning: exported const ResourceStatusCreated should have comment (or a comment on this block) or be unexported (golint)
    • Line 126: warning: exported type ResourceRouting should have comment or be unexported (golint)
    • Line 143: warning: exported method ResourceRouting.TableName should have comment or be unexported (golint)
    • Line 147: warning: comment on exported type AddonManagement should be of the form "AddonManagement ..." (with optional leading article) (golint)
    • Line 162: warning: exported method AddonManagement.TableName should have comment or be unexported (golint)
    • erda/apistructs/api_asset_req_resp.go
    • Line 26: warning: exported const CreateAPIAssetSourceAction should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported type APIAssetCreateRequest should have comment or be unexported (golint)
    • Line 46: warning: exported type APIAssetVersionCreateRequest should have comment or be unexported (golint)
    • Line 69: warning: exported type GetAPIAssetReq should have comment or be unexported (golint)
    • Line 75: warning: exported type GetAPIAssetURIPrams should have comment or be unexported (golint)
    • Line 79: warning: exported type GetAPIAssetResponse should have comment or be unexported (golint)
    • Line 84: warning: exported type APIAssetGetResponse should have comment or be unexported (golint)
    • Line 89: warning: exported type PagingAPIAssetsReq should have comment or be unexported (golint)
    • Line 95: warning: exported type PagingAPIAssetsQueryParams should have comment or be unexported (golint)
    • Line 107: warning: exported type APIAssetPagingResponse should have comment or be unexported (golint)
    • Line 113: warning: exported type PagingAssetRspObj should have comment or be unexported (golint)
    • Line 120: warning: exported type CreateAPIAssetVersionBody should have comment or be unexported (golint)
    • Line 129: warning: exported type PagingAPIAssetVersionsReq should have comment or be unexported (golint)
    • Line 137: warning: exported type PagingAPIAssetVersionURIParams should have comment or be unexported (golint)
    • Line 141: warning: exported type PagingAPIAssetVersionQueryParams should have comment or be unexported (golint)
    • Line 150: warning: exported type PagingAPIAssetVersionResponse should have comment or be unexported (golint)
    • Line 157: warning: exported type PagingAPIAssetVersionRspObj should have comment or be unexported (golint)
    • Line 163: warning: exported type GetAPIAssetVersionReq should have comment or be unexported (golint)
    • Line 170: warning: exported type AssetVersionDetailURI should have comment or be unexported (golint)
    • Line 175: warning: exported type GetAPIAssetVersionQueryParams should have comment or be unexported (golint)
    • Line 180: warning: exported type GetAssetVersionRsp should have comment or be unexported (golint)
    • Line 189: warning: exported type APIAssetVersionInstanceCreateRequest should have comment or be unexported (golint)
    • Line 211: warning: exported type UpdateAPIAssetReq should have comment or be unexported (golint)
    • Line 219: warning: exported type UpdateAPIAssetURIParams should have comment or be unexported (golint)
    • Line 223: warning: exported type UpdateAPIAssetBody should have comment or be unexported (golint)
    • Line 232: warning: exported type APIAssetDeleteRequest should have comment or be unexported (golint)
    • Line 239: warning: comment on exported type ListSwaggerVersionsReq should be of the form "ListSwaggerVersionsReq ..." (with optional leading article) (golint)
    • Line 247: warning: exported type ListSwaggerVersionsURIParams should have comment or be unexported (golint)
    • Line 251: warning: exported type ListSwaggerVersionsQueryParams should have comment or be unexported (golint)
    • Line 257: warning: comment on exported type ListSwaggerVersionRsp should be of the form "ListSwaggerVersionRsp ..." (with optional leading article) (golint)
    • Line 263: warning: exported type ListSwaggerVersionRspObj should have comment or be unexported (golint)
    • Line 269: warning: comment on exported type CreateInstantiationReq should be of the form "CreateInstantiationReq ..." (with optional leading article) (golint)
    • Line 277: warning: exported type CreateInstantiationURIParams should have comment or be unexported (golint)
    • Line 283: warning: exported type CreateInstantiationBody should have comment or be unexported (golint)
    • Line 293: warning: comment on exported type GetInstantiationsReq should be of the form "GetInstantiationsReq ..." (with optional leading article) (golint)
    • Line 300: warning: exported type GetInstantiationRsp should have comment or be unexported (golint)
    • Line 306: warning: exported type GetInstantiationsURIParams should have comment or be unexported (golint)
    • Line 312: warning: comment on exported type UpdateInstantiationReq should be of the form "UpdateInstantiationReq ..." (with optional leading article) (golint)
    • Line 320: warning: exported type UpdateInstantiationURIParams should have comment or be unexported (golint)
    • Line 327: warning: exported type UpdateInstantiationBody should have comment or be unexported (golint)
    • Line 337: warning: exported type DownloadSpecTextReq should have comment or be unexported (golint)
    • Line 344: warning: exported type DownloadSpecTextURIParams should have comment or be unexported (golint)
    • Line 349: warning: exported type DownloadSpecTextQueryParams should have comment or be unexported (golint)
    • Line 353: warning: exported type CreateClientReq should have comment or be unexported (golint)
    • Line 359: warning: exported type CreateClientBody should have comment or be unexported (golint)
    • Line 365: warning: exported type ListMyClientsReq should have comment or be unexported (golint)
    • Line 371: warning: exported type ListMyClientsQueryParams should have comment or be unexported (golint)
    • Line 378: warning: exported type ListMyClientsRsp should have comment or be unexported (golint)
    • Line 383: warning: exported type ClientObj should have comment or be unexported (golint)
    • Line 388: warning: exported type SK should have comment or be unexported (golint)
    • Line 393: warning: comment on exported type GetClientReq should be of the form "GetClientReq ..." (with optional leading article) (golint)
    • Line 400: warning: exported type GetClientURIParams should have comment or be unexported (golint)
    • Line 404: warning: comment on exported type CreateContractReq should be of the form "CreateContractReq ..." (with optional leading article) (golint)
    • Line 412: warning: exported type CreateContractURIParams should have comment or be unexported (golint)
    • Line 416: warning: exported type CreateContractBody should have comment or be unexported (golint)
    • Line 422: warning: comment on exported type ListContractsReq should be of the form "ListContractsReq ..." (with optional leading article) (golint)
    • Line 430: warning: exported type ListContractsURIParams should have comment or be unexported (golint)
    • Line 434: warning: exported type ListContractQueryParams should have comment or be unexported (golint)
    • Line 441: warning: comment on exported type ListContractsRsp should be of the form "ListContractsRsp ..." (with optional leading article) (golint)
    • Line 447: warning: comment on exported type GetContractReq should be of the form "GetContractReq ..." (with optional leading article) (golint)
    • Line 454: warning: exported type GetContractURIParams should have comment or be unexported (golint)
    • Line 459: warning: comment on exported type ListContractRecordsReq should be of the form "ListContractRecordsReq ..." (with optional leading article) (golint)
    • Line 466: warning: exported type ListContractRecordsURIParams should have comment or be unexported (golint)
    • Line 471: warning: comment on exported type ListContractRecordsRsp should be of the form "ListContractRecordsRsp ..." (with optional leading article) (golint)
    • Line 477: warning: comment on exported type CreateAccessReq should be of the form "CreateAccessReq ..." (with optional leading article) (golint)
    • Line 484: warning: exported type CreateAccessBody should have comment or be unexported (golint)
    • Line 498: warning: exported type UpdateAccessReq should have comment or be unexported (golint)
    • Line 505: warning: exported type UpdateAccessBody should have comment or be unexported (golint)
    • Line 514: warning: comment on exported type ListAccessReq should be of the form "ListAccessReq ..." (with optional leading article) (golint)
    • Line 521: warning: exported type ListAccessQueryParams should have comment or be unexported (golint)
    • Line 528: warning: comment on exported type ListAccessRsp should be of the form "ListAccessRsp ..." (with optional leading article) (golint)
    • Line 535: warning: exported type ListAccessObj should have comment or be unexported (golint)
    • Line 543: warning: exported type ListAccessObjChild should have comment or be unexported (golint)
    • Line 554: warning: comment on exported type ListSwaggerVersionClientsReq should be of the form "ListSwaggerVersionClientsReq ..." (with optional leading article) (golint)
    • Line 562: warning: exported type ListSwaggerVersionClientURIParams should have comment or be unexported (golint)
    • Line 567: warning: exported type ListSwaggerVersionClientQueryParams should have comment or be unexported (golint)
    • Line 574: warning: exported type ListSwaggerVersionClientRsp should have comment or be unexported (golint)
    • Line 579: warning: exported type ListSwaggerVersionClientOjb should have comment or be unexported (golint)
    • Line 585: warning: exported type ContractModelAdvance should have comment or be unexported (golint)
    • Line 597: warning: exported type ListAPIGatewaysReq should have comment or be unexported (golint)
    • Line 603: warning: exported type ListProjectAPIGatewaysReq should have comment or be unexported (golint)
    • Line 609: warning: exported type ListProjectAPIGatewaysURIParams should have comment or be unexported (golint)
    • Line 613: warning: exported type ListAPIGatewaysURIParams should have comment or be unexported (golint)
    • Line 617: warning: exported type DeleteClientReq should have comment or be unexported (golint)
    • Line 623: warning: exported type DeleteClientURIParams should have comment or be unexported (golint)
    • Line 627: warning: exported type GetAccessReq should have comment or be unexported (golint)
    • Line 633: warning: exported type GetAccessURIParams should have comment or be unexported (golint)
    • Line 637: warning: exported type GetAccessRspTenantGroup should have comment or be unexported (golint)
    • Line 641: warning: exported type UpdateClientReq should have comment or be unexported (golint)
    • Line 649: warning: exported type UpdateClientURIParams should have comment or be unexported (golint)
    • Line 653: warning: exported type UpdateClientQueryParams should have comment or be unexported (golint)
    • Line 657: warning: exported type UpdateClientBody should have comment or be unexported (golint)
    • Line 662: warning: exported type GetAccessRspAccess should have comment or be unexported (golint)
    • Line 686: warning: exported type UpdateContractReq should have comment or be unexported (golint)
    • Line 693: warning: exported type UpdateContractURIParams should have comment or be unexported (golint)
    • Line 698: warning: exported type UpdateContractBody should have comment or be unexported (golint)
    • Line 704: warning: exported type AttempTestURIParams should have comment or be unexported (golint)
    • Line 709: warning: exported type ListRuntimeServicesResp should have comment or be unexported (golint)
    • Line 720: warning: exported type ListSLAsReq should have comment or be unexported (golint)
    • Line 727: warning: exported type ListSLAsURIs should have comment or be unexported (golint)
    • Line 732: warning: exported type ListSLAsQueries should have comment or be unexported (golint)
    • Line 736: warning: exported type ListSLAsRsp should have comment or be unexported (golint)
    • Line 741: warning: exported type ListSLAsRspObj should have comment or be unexported (golint)
    • Line 752: warning: exported type CreateSLAReq should have comment or be unexported (golint)
    • Line 759: warning: exported type CreateSLABody should have comment or be unexported (golint)
    • Line 767: warning: exported type CreateUpdateSLALimitObj should have comment or be unexported (golint)
    • Line 772: warning: exported type GetSLAReq should have comment or be unexported (golint)
    • Line 778: warning: exported type SLADetailURI should have comment or be unexported (golint)
    • Line 784: warning: exported type GetSLARsp should have comment or be unexported (golint)
    • Line 786: warning: exported type DeleteSLAReq should have comment or be unexported (golint)
    • Line 792: warning: exported type UpdateSLAReq should have comment or be unexported (golint)
    • Line 799: warning: exported type UpdateSLABody should have comment or be unexported (golint)
    • Line 807: warning: exported type UpdateAssetVersionReq should have comment or be unexported (golint)
    • Line 814: warning: exported type UpdateAssetVersionBody should have comment or be unexported (golint)
    • Line 818: warning: exported type APITestReq should have comment or be unexported (golint)
    • Line 824: warning: exported type ProxyAPIs should have comment or be unexported (golint)
    • Line 837: warning: exported type ProxyAPIBody should have comment or be unexported (golint)
    • Line 842: warning: exported type ProxyContent should have comment or be unexported (golint)
    • Line 847: warning: exported type ProxyAPIRequestInfo should have comment or be unexported (golint)
    • Line 856: warning: exported type SearchOperationsReq should have comment or be unexported (golint)
    • Line 862: warning: exported type SearchOperationQueryParameters should have comment or be unexported (golint)
    • Line 866: warning: exported type GetOperationReq should have comment or be unexported (golint)
    • Line 872: warning: exported type GetOperationURIParameters should have comment or be unexported (golint)
    • Line 876: warning: exported type GetOperationResp should have comment or be unexported (golint)
    • Line 899: warning: exported type APIOperation should have comment or be unexported (golint)
    • Line 929: warning: exported type Parameter should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/createProjectTip/render.go
    • Line 14: warning: don't use MixedCaps in package name; createProjectTip should be createprojecttip (golint)
    • Line 29: warning: exported type CreateProjectTip should have comment or be unexported (golint)
    • Line 37: warning: exported type Props should have comment or be unexported (golint)
    • Line 43: warning: exported type State should have comment or be unexported (golint)
    • Line 47: warning: exported type Command should have comment or be unexported (golint)
    • Line 54: warning: exported type Operation should have comment or be unexported (golint)
    • Line 61: warning: exported method CreateProjectTip.SetCtxBundle should have comment or be unexported (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 71: warning: exported method CreateProjectTip.GenComponentState should have comment or be unexported (golint)
    • Line 71: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 90: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 111: warning: exported method CreateProjectTip.Render should have comment or be unexported (golint)
    • Line 163: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/pkg/goroutinepool/goroutinepool.go
    • Line 14: warning: package comment should be of the form "Package goroutinepool ..." (golint)
    • Line 36: warning: error var NoMoreWorkerErr should have name of the form ErrFoo (golint)
    • Line 36: warning: exported var NoMoreWorkerErr should have comment or be unexported (golint)
    • Line 37: warning: error var TimeoutErr should have name of the form ErrFoo (golint)
    • Line 70: warning: exported type GoroutinePool should have comment or be unexported (golint)
    • Line 80: warning: exported function New should have comment or be unexported (golint)
    • Line 89: warning: exported method GoroutinePool.Start should have comment or be unexported (golint)
    • Line 111: warning: comment on exported method GoroutinePool.Stop should be of the form "Stop ..." (golint)
    • Line 129: warning: exported method GoroutinePool.Go should have comment or be unexported (golint)
    • Line 145: warning: exported method GoroutinePool.GoWithTimeout should have comment or be unexported (golint)
    • Line 161: warning: exported method GoroutinePool.MustGo should have comment or be unexported (golint)
    • Line 175: warning: comment on exported method GoroutinePool.Statistics should be of the form "Statistics ..." (golint)
    • erda/pkg/encoding/jsonpath/jsonpath.go
    • Line 24: warning: exported type DoesNotExist should have comment or be unexported (golint)
    • Line 30: warning: error var invalidObjError should have name of the form errFoo (golint)
    • Line 109: warning: exported function Get should have comment or be unexported (golint)
    • Line 121: warning: exported function Set should have comment or be unexported (golint)
    • erda/modules/core-services/services/org/org.go
    • Line 336: warning: comment on exported method Org.SearchPublicOrgsByName should be of the form "SearchPublicOrgsByName ..." (golint)
    • Line 383: warning: comment on exported method Org.GetOrgByDomainAndOrgName should be of the form "GetOrgByDomainAndOrgName ..." (golint)
    • Line 421: warning: don't use underscores in Go names; var domain_and_port should be domainAndPort (golint)
    • erda/modules/hepa/gateway/dto/openapi_rule.go
    • Line 16: warning: exported type RuleRegion should have comment or be unexported (golint)
    • Line 19: warning: exported const PACKAGE_RULE should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: exported type RuleCategory should have comment or be unexported (golint)
    • Line 26: warning: exported const ACL_RULE should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported var RULE_PRIORITY should have comment or be unexported (golint)
    • Line 37: warning: exported var KEYAUTH_CONFIG should have comment or be unexported (golint)
    • Line 38: warning: exported var OAUTH2_CONFIG should have comment or be unexported (golint)
    • Line 39: warning: exported var SIGNAUTH_CONFIG should have comment or be unexported (golint)
    • Line 40: warning: exported var HMACAUTH_CONFIG should have comment or be unexported (golint)
    • Line 42: warning: exported type OpenapiRule should have comment or be unexported (golint)
    • Line 56: warning: exported type OpenapiRuleInfo should have comment or be unexported (golint)
    • Line 61: warning: exported type SortByRuleList should have comment or be unexported (golint)
    • erda/pkg/xmind/xml.go
    • Line 39: warning: exported var TopicsTypeAttached should have comment or be unexported (golint)
    • Line 42: warning: exported type XMLContent should have comment or be unexported (golint)
    • Line 47: warning: exported type XMLSheet should have comment or be unexported (golint)
    • Line 51: warning: exported type XMLTopic should have comment or be unexported (golint)
    • Line 56: warning: exported type XMLTopicChildren should have comment or be unexported (golint)
    • Line 63: warning: exported type XMLTypedTopics should have comment or be unexported (golint)
    • Line 94: warning: comment on exported method XMLTopic.AddAttachedChildTopic should be of the form "AddAttachedChildTopic ..." (golint)
    • Line 103: warning: exported function ParseXML should have comment or be unexported (golint)
    • Line 111: warning: exported function Export should have comment or be unexported (golint)
    • erda/modules/eventbox/input/http/http.go
    • Line 29: warning: exported type HttpInput should have comment or be unexported (golint)
    • Line 34: warning: exported function New should have comment or be unexported (golint)
    • Line 40: warning: exported method HttpInput.Start should have comment or be unexported (golint)
    • Line 46: warning: exported method HttpInput.Stop should have comment or be unexported (golint)
    • Line 51: warning: exported method HttpInput.Name should have comment or be unexported (golint)
    • Line 55: warning: exported method HttpInput.GetHTTPEndPoints should have comment or be unexported (golint)
    • erda/modules/eventbox/monitor/monitor.go
    • Line 22: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 33: warning: comment on exported type InfoType should be of the form "InfoType ..." (with optional leading article) (golint)
    • Line 37: warning: exported const EtcdInput should have comment (or a comment on this block) or be unexported (golint)
    • Line 59: warning: exported type MonitorInfo should have comment or be unexported (golint)
    • Line 65: warning: exported type Monitor should have comment or be unexported (golint)
    • Line 71: warning: exported function New should have comment or be unexported (golint)
    • Line 89: warning: exported method Monitor.Notify should have comment or be unexported (golint)
    • Line 93: warning: exported method Monitor.StatMessageRemain should have comment or be unexported (golint)
    • Line 119: warning: exported function Notify should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/component_spec/panel/spec.go
    • Line 16: warning: exported type Props should have comment or be unexported (golint)
    • Line 29: warning: exported type Field should have comment or be unexported (golint)
    • Line 35: warning: exported type PropsLayout should have comment or be unexported (golint)
    • Line 38: warning: exported const PropsLayoutVertical should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported type PropsType should have comment or be unexported (golint)
    • Line 45: warning: exported const PropsTypeZ should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported type Data should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_api_policy_service.go
    • Line 31: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 71: warning: exported type GatewayApiPolicyServiceImpl should have comment or be unexported (golint)
    • Line 88: warning: exported function NewGatewayApiPolicyServiceImpl should have comment or be unexported (golint)
    • Line 119: warning: exported method GatewayApiPolicyServiceImpl.GetPolicyConfig should have comment or be unexported (golint)
    • Line 178: warning: exported method GatewayApiPolicyServiceImpl.RefreshZoneIngress should have comment or be unexported (golint)
    • Line 488: warning: exported method GatewayApiPolicyServiceImpl.SetZonePolicyConfig should have comment or be unexported (golint)
    • Line 568: warning: exported method GatewayApiPolicyServiceImpl.SetZoneDefaultPolicyConfig should have comment or be unexported (golint)
    • Line 635: warning: exported method GatewayApiPolicyServiceImpl.SetPackageDefaultPolicyConfig should have comment or be unexported (golint)
    • Line 827: warning: exported method GatewayApiPolicyServiceImpl.SetPolicyConfig should have comment or be unexported (golint)
    • erda/modules/dop/dbclient/asset.go
    • Line 20: warning: comment on exported type APIAssetsModel should be of the form "APIAssetsModel ..." (with optional leading article) (golint)
    • Line 23: warning: exported method APIAssetsModel.TableName should have comment or be unexported (golint)
    • Line 27: warning: exported function GetAPIAsset should have comment or be unexported (golint)
    • Line 36: warning: exported function QueryAPILatestVersion should have comment or be unexported (golint)
    • Line 49: warning: exported function QueryVersionLatestSpec should have comment or be unexported (golint)
    • erda/bundle/autotest_scene_step.go
    • Line 25: warning: exported method Bundle.GetAutoTestSceneStep should have comment or be unexported (golint)
    • Line 45: warning: exported method Bundle.ListAutoTestSceneStep should have comment or be unexported (golint)
    • Line 66: warning: exported method Bundle.UpdateAutoTestSceneStep should have comment or be unexported (golint)
    • Line 87: warning: exported method Bundle.MoveAutoTestSceneStep should have comment or be unexported (golint)
    • Line 108: warning: exported method Bundle.DeleteAutoTestSceneStep should have comment or be unexported (golint)
    • Line 129: warning: exported method Bundle.CreateAutoTestSceneStep should have comment or be unexported (golint)
    • erda/modules/pipeline/aop/plugins/pipeline/plugins/apitest_report/plugin.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 31: warning: exported type Plugin should have comment or be unexported (golint)
    • Line 35: warning: exported method Plugin.Name should have comment or be unexported (golint)
    • Line 39: warning: exported type ApiReportMeta should have comment or be unexported (golint)
    • Line 46: warning: exported method Plugin.Handle should have comment or be unexported (golint)
    • Line 151: warning: exported function New should have comment or be unexported (golint)
    • erda/pkg/nexus/repository.go
    • Line 22: warning: exported type Repository should have comment or be unexported (golint)
    • Line 39: warning: exported type RepositoryExtra should have comment or be unexported (golint)
    • Line 45: warning: exported type RepositoryFormat should have comment or be unexported (golint)
    • Line 46: warning: exported type RepositoryType should have comment or be unexported (golint)
    • Line 47: warning: exported type RepositoryMavenVersionPolicy should have comment or be unexported (golint)
    • Line 48: warning: exported type RepositoryMavenLayoutPolicy should have comment or be unexported (golint)
    • Line 49: warning: exported type RepositoryStorageWritePolicy should have comment or be unexported (golint)
    • Line 50: warning: exported type RepositoryAuthenticationType should have comment or be unexported (golint)
    • Line 54: warning: exported var RepositoryFormatMaven should have comment or be unexported (golint)
    • Line 78: warning: exported type RepositoryProxyConfig should have comment or be unexported (golint)
    • Line 91: warning: exported type RepositoryGroupConfig should have comment or be unexported (golint)
    • Line 97: warning: exported type RepositoryMavenConfig should have comment or be unexported (golint)
    • Line 106: warning: exported type RepositoryDockerConfig should have comment or be unexported (golint)
    • Line 123: warning: exported type RepositoryDockerProxyConfig should have comment or be unexported (golint)
    • Line 127: warning: exported type RepositoryNegativeCacheConfig should have comment or be unexported (golint)
    • Line 136: warning: exported type RepositoryHttpClientConfig should have comment or be unexported (golint)
    • Line 146: warning: exported type RepositoryHttpClientConnection should have comment or be unexported (golint)
    • Line 165: warning: exported type RepositoryHttpClientAuthentication should have comment or be unexported (golint)
    • Line 172: warning: comment on exported type BlobUseNetdata should be of the form "BlobUseNetdata ..." (with optional leading article) (golint)
    • Line 177: warning: exported type HostedRepositoryStorageConfig should have comment or be unexported (golint)
    • Line 191: warning: exported type RepositoryCleanupConfig should have comment or be unexported (golint)
    • Line 211: warning: exported method Nexus.ListRepositories should have comment or be unexported (golint)
    • Line 231: warning: exported method Nexus.GetRepository should have comment or be unexported (golint)
    • Line 244: warning: exported method Nexus.DeleteRepository should have comment or be unexported (golint)
    • Line 259: warning: exported method Nexus.InvalidateRepositoryCache should have comment or be unexported (golint)
    • Line 274: warning: exported method Nexus.RebuildRepositoryIndex should have comment or be unexported (golint)
    • Line 289: warning: exported method Nexus.CreateMavenHostedRepository should have comment or be unexported (golint)
    • Line 305: warning: exported method Nexus.UpdateMavenHostedRepository should have comment or be unexported (golint)
    • Line 321: warning: exported method Nexus.CreateMavenProxyRepository should have comment or be unexported (golint)
    • Line 341: warning: exported method Nexus.UpdateMavenProxyRepository should have comment or be unexported (golint)
    • Line 361: warning: comment on exported method Nexus.CreateMavenGroupRepository should be of the form "CreateMavenGroupRepository ..." (golint)
    • Line 382: warning: exported method Nexus.CreateNpmGroupRepository should have comment or be unexported (golint)
    • Line 402: warning: exported method Nexus.UpdateNpmGroupRepository should have comment or be unexported (golint)
    • Line 418: warning: exported method Nexus.EnsureNpmHostedRepository should have comment or be unexported (golint)
    • Line 431: warning: exported method Nexus.CreateNpmHostedRepository should have comment or be unexported (golint)
    • Line 447: warning: exported method Nexus.UpdateNpmHostedRepository should have comment or be unexported (golint)
    • Line 463: warning: comment on exported method Nexus.CreateNpmProxyRepository should be of the form "CreateNpmProxyRepository ..." (golint)
    • Line 480: warning: exported method Nexus.UpdateNpmProxyRepository should have comment or be unexported (golint)
    • Line 534: warning: exported method Nexus.CreateRepository should have comment or be unexported (golint)
    • Line 553: warning: exported method Nexus.UpdateRepository should have comment or be unexported (golint)
    • Line 572: warning: exported method Nexus.CreateDockerHostedRepository should have comment or be unexported (golint)
    • Line 588: warning: exported method Nexus.UpdateDockerHostedRepository should have comment or be unexported (golint)
    • Line 604: warning: exported method Nexus.CreateDockerProxyRepository should have comment or be unexported (golint)
    • Line 624: warning: exported method Nexus.UpdateDockerProxyRepository should have comment or be unexported (golint)
    • erda/modules/dop/types/types.go
    • Line 23: warning: exported const UnknownType should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported var ContainerStatusIndex should have comment or be unexported (golint)
    • Line 58: warning: exported const InstanceStatusStarting should have comment (or a comment on this block) or be unexported (golint)
    • Line 71: warning: exported function IsValidSchedulerInstanceStatus should have comment or be unexported (golint)
    • Line 80: warning: exported function IsValidAgentInstanceStatus should have comment or be unexported (golint)
    • Line 102: warning: exported const DefaultWorkspace should have comment (or a comment on this block) or be unexported (golint)
    • Line 117: warning: comment on exported const RoleSysManager should be of the form "RoleSysManager ..." (golint)
    • Line 120: warning: comment on exported const RoleOrgManager should be of the form "RoleOrgManager ..." (golint)
    • Line 122: warning: exported const RoleOrgDev should have comment (or a comment on this block) or be unexported (golint)
    • Line 131: warning: comment on exported const RoleProjectOwner should be of the form "RoleProjectOwner ..." (golint)
    • Line 141: warning: comment on exported const RoleAppOwner should be of the form "RoleAppOwner ..." (golint)
    • Line 149: warning: comment on exported const RolePublisherManager should be of the form "RolePublisherManager ..." (golint)
    • Line 153: warning: comment on exported const RoleGuest should be of the form "RoleGuest ..." (golint)
    • erda/modules/scheduler/executor/executor.go
    • Line 39: warning: exported function GetManager should have comment or be unexported (golint)
    • Line 187: warning: exported method Manager.Pool should have comment or be unexported (golint)
    • Line 224: warning: exported method Manager.PrintPoolUsage should have comment or be unexported (golint)
    • Line 243: warning: exported method Manager.GetExecutorConfigs should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/emptyProjectTip/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyProjectTip should be emptyprojecttip (golint)
    • Line 28: warning: exported type EmptyProjectTip should have comment or be unexported (golint)
    • Line 35: warning: exported type Props should have comment or be unexported (golint)
    • Line 42: warning: exported type State should have comment or be unexported (golint)
    • Line 46: warning: exported method EmptyProjectTip.SetCtxBundle should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method EmptyProjectTip.GenComponentState should have comment or be unexported (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 75: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: exported method EmptyProjectTip.Render should have comment or be unexported (golint)
    • Line 119: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/createProjectTipWithoutOrg/render.go
    • Line 14: warning: don't use MixedCaps in package name; createProjectTipWithoutOrg should be createprojecttipwithoutorg (golint)
    • Line 27: warning: exported type CreateProjectTipWithoutOrg should have comment or be unexported (golint)
    • Line 34: warning: exported type Props should have comment or be unexported (golint)
    • Line 40: warning: exported method CreateProjectTipWithoutOrg.SetCtxBundle should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: exported method CreateProjectTipWithoutOrg.Render should have comment or be unexported (golint)
    • Line 88: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/actionagent/callback.go
    • Line 36: warning: exported method Agent.Callback should have comment or be unexported (golint)
    • Line 158: warning: exported type Callback should have comment or be unexported (golint)
    • Line 160: warning: comment on exported method Callback.AppendMetadataFields should be of the form "AppendMetadataFields ..." (golint)
    • Line 184: warning: comment on exported method Callback.HandleMetaFile should be of the form "HandleMetaFile ..." (golint)
    • erda/modules/hepa/common/vars/vars.go
    • Line 19: warning: exported var ENV_TYPE_PROD should have comment or be unexported (golint)
    • Line 23: warning: exported var ERR_SQL_FAIL should have comment or be unexported (golint)
    • Line 30: warning: exported var CloudapiEndpointType should have comment or be unexported (golint)
    • Line 35: warning: exported var IS_DELETED_VALUE should have comment or be unexported (golint)
    • Line 40: warning: exported var KONG_HTTPS_SERVICE_PORT should have comment or be unexported (golint)
    • Line 46: warning: exported type StandardErrorCode should have comment or be unexported (golint)
    • Line 51: warning: exported method StandardErrorCode.GetCode should have comment or be unexported (golint)
    • Line 55: warning: exported method StandardErrorCode.GetMessage should have comment or be unexported (golint)
    • Line 60: warning: exported var UNKNOW_ERROR should have comment or be unexported (golint)
    • Line 96: warning: comment on exported var TRANSFORM_REGIS_NO_SOLUTION should be of the form "TRANSFORM_REGIS_NO_SOLUTION ..." (golint)
    • Line 100: warning: comment on exported var MOCK_IS_NOT_EXISTS should be of the form "MOCK_IS_NOT_EXISTS ..." (golint)
    • Line 117: warning: exported type PolicyCategory should have comment or be unexported (golint)
    • Line 125: warning: exported var POLICY_ENUMS should have comment or be unexported (golint)
    • Line 134: warning: exported function GetPolicyCategory should have comment or be unexported (golint)
    • erda/modules/pipeline/events/event_task_runtime.go
    • Line 25: warning: exported type PipelineTaskRuntimeEvent should have comment or be unexported (golint)
    • Line 34: warning: exported method PipelineTaskRuntimeEvent.Kind should have comment or be unexported (golint)
    • Line 38: warning: exported method PipelineTaskRuntimeEvent.Header should have comment or be unexported (golint)
    • Line 42: warning: exported method PipelineTaskRuntimeEvent.Sender should have comment or be unexported (golint)
    • Line 46: warning: exported method PipelineTaskRuntimeEvent.Content should have comment or be unexported (golint)
    • Line 61: warning: exported method PipelineTaskRuntimeEvent.HandleWebhook should have comment or be unexported (golint)
    • Line 70: warning: exported type WSPipelineTaskRuntimeIDUpdatePayload should have comment or be unexported (golint)
    • Line 77: warning: exported const WSTypePipelineTaskRuntimeIDUpdate should have comment (or a comment on this block) or be unexported (golint)
    • Line 80: warning: exported method PipelineTaskRuntimeEvent.HandleWebSocket should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/app-pipeline-tree/components/fileTree/render.go
    • Line 14: warning: don't use MixedCaps in package name; fileTree should be filetree (golint)
    • Line 32: warning: exported const OperationKeyClickBranchExpandChildren should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: comment on exported method ComponentFileTree.CheckUserPermission should be of the form "CheckUserPermission ..." (golint)
    • Line 59: warning: exported method ComponentFileTree.Render should have comment or be unexported (golint)
    • Line 59: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 131: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 146: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 167: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 186: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 212: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 263: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 276: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 326: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 357: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 404: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 469: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 522: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 557: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 595: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 631: warning: receiver name a should be consistent with previous receiver name ca for ComponentFileTree (golint)
    • Line 670: warning: exported function GetOrgIdByProjectId should have comment or be unexported (golint)
    • Line 682: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/orchestrator/endpoints/deployment.go
    • Line 57: warning: comment on exported method Endpoints.ListLaunchedApprovalDeployments should be of the form "ListLaunchedApprovalDeployments ..." (golint)
    • Line 75: warning: don't use underscores in Go names; var ids_s should be idsS (golint)
    • Line 78: warning: don't use underscores in Go names; var id_ should be id (golint)
    • Line 85: warning: don't use underscores in Go names; var approvalStatus_ should be approvalStatus (golint)
    • Line 122: warning: don't use underscores in Go names; var ids_s should be idsS (golint)
    • Line 125: warning: don't use underscores in Go names; var id_ should be id (golint)
    • Line 132: warning: don't use underscores in Go names; var approvalStatus_ should be approvalStatus (golint)
    • Line 148: warning: exported method Endpoints.ListApprovedDeployments should have comment or be unexported (golint)
    • Line 165: warning: don't use underscores in Go names; var ids_s should be idsS (golint)
    • Line 168: warning: don't use underscores in Go names; var id_ should be id (golint)
    • Line 238: warning: comment on exported method Endpoints.DeploymentApprove should be of the form "DeploymentApprove ..." (golint)
    • Line 262: warning: exported method Endpoints.DeployStagesAddons should have comment or be unexported (golint)
    • Line 278: warning: exported method Endpoints.DeployStagesServices should have comment or be unexported (golint)
    • Line 294: warning: exported method Endpoints.DeployStagesDomains should have comment or be unexported (golint)
    • erda/modules/dop/pipeline/pipelineyml/pipeline.go
    • Line 26: warning: exported type PipelineYml should have comment or be unexported (golint)
    • Line 55: warning: exported function New should have comment or be unexported (golint)
    • Line 61: warning: exported method PipelineYml.CreatePipeline should have comment or be unexported (golint)
    • Line 123: warning: exported method PipelineYml.YAML should have comment or be unexported (golint)
    • Line 131: warning: exported method PipelineYml.Evaluate should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_package_rule_service.go
    • Line 18: warning: should not use dot imports (golint)
    • Line 25: warning: exported type GatewayPackageRuleServiceImpl should have comment or be unexported (golint)
    • Line 31: warning: exported function NewGatewayPackageRuleServiceImpl should have comment or be unexported (golint)
    • Line 42: warning: exported method GatewayPackageRuleServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 65: warning: exported method GatewayPackageRuleServiceImpl.Update should have comment or be unexported (golint)
    • Line 76: warning: exported method GatewayPackageRuleServiceImpl.Insert should have comment or be unexported (golint)
    • Line 87: warning: exported method GatewayPackageRuleServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 106: warning: exported method GatewayPackageRuleServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 122: warning: exported method GatewayPackageRuleServiceImpl.Get should have comment or be unexported (golint)
    • Line 137: warning: exported method GatewayPackageRuleServiceImpl.Delete should have comment or be unexported (golint)
    • Line 148: warning: exported method GatewayPackageRuleServiceImpl.DeleteByPackageId should have comment or be unexported (golint)
    • Line 159: warning: exported method GatewayPackageRuleServiceImpl.GetPage should have comment or be unexported (golint)
    • Line 176: warning: exported method GatewayPackageRuleServiceImpl.Count should have comment or be unexported (golint)
    • erda/modules/monitor/apm/topology/topology.go
    • Line 47: warning: exported type Vo should have comment or be unexported (golint)
    • Line 55: warning: exported type Response should have comment or be unexported (golint)
    • Line 59: warning: exported function GetTopologyPermission should have comment or be unexported (golint)
    • Line 66: warning: exported const TimeLayout should have comment or be unexported (golint)
    • Line 68: warning: exported type Node should have comment or be unexported (golint)
    • Line 97: warning: exported const JavaProcessType should have comment (or a comment on this block) or be unexported (golint)
    • Line 101: warning: exported var ProcessTypes should have comment or be unexported (golint)
    • Line 107: warning: exported const TypeService should have comment (or a comment on this block) or be unexported (golint)
    • Line 121: warning: exported type SearchTag should have comment or be unexported (golint)
    • Line 128: warning: exported var ApplicationSearchTag should have comment or be unexported (golint)
    • Line 141: warning: exported var ErrorReqMetricNames should have comment or be unexported (golint)
    • Line 149: warning: exported var ReqMetricNames should have comment or be unexported (golint)
    • Line 157: warning: exported var ReqMetricNamesDesc should have comment or be unexported (golint)
    • Line 165: warning: exported type Field should have comment or be unexported (golint)
    • Line 175: warning: exported type Tag should have comment or be unexported (golint)
    • Line 218: warning: exported type TopologyNodeRelation should have comment or be unexported (golint)
    • Line 227: warning: exported type Metric should have comment or be unexported (golint)
    • Line 238: warning: exported const Application should have comment (or a comment on this block) or be unexported (golint)
    • Line 250: warning: exported var IndexPrefix should have comment or be unexported (golint)
    • Line 256: warning: exported var NodeTypes should have comment or be unexported (golint)
    • Line 263: warning: exported type ServiceDashboard should have comment or be unexported (golint)
    • Line 321: warning: exported var ReServiceNode should have comment or be unexported (golint)
    • Line 326: warning: exported type NodeType should have comment or be unexported (golint)
    • Line 334: warning: exported type GroupByField should have comment or be unexported (golint)
    • Line 340: warning: exported var TargetServiceNodeType should have comment or be unexported (golint)
    • Line 354: warning: exported type NodeRelation should have comment or be unexported (golint)
    • Line 360: warning: exported const TargetServiceNode should have comment (or a comment on this block) or be unexported (golint)
    • Line 478: warning: exported var NodeRelations should have comment or be unexported (golint)
    • Line 479: warning: exported var Aggregations should have comment or be unexported (golint)
    • Line 482: warning: exported const HttpRecMircoIndexType should have comment (or a comment on this block) or be unexported (golint)
    • Line 487: warning: exported type RequestTransaction should have comment or be unexported (golint)
    • Line 494: warning: exported type AggregationCondition should have comment or be unexported (golint)
    • Line 617: warning: exported type ExceptionDescription should have comment or be unexported (golint)
    • Line 627: warning: exported type ExceptionDescriptionsCountSort should have comment or be unexported (golint)
    • Line 643: warning: exported type ExceptionDescriptionsTimeSort should have comment or be unexported (golint)
    • Line 665: warning: exported const ExceptionTimeSortStrategy should have comment (or a comment on this block) or be unexported (golint)
    • Line 690: warning: exported function ExceptionOrderByTimeStrategy should have comment or be unexported (golint)
    • Line 695: warning: exported function ExceptionOrderByCountStrategy should have comment or be unexported (golint)
    • Line 700: warning: exported function ExceptionOrderByStrategyExecute should have comment or be unexported (golint)
    • Line 711: warning: exported type ReadWriteBytes should have comment or be unexported (golint)
    • Line 716: warning: exported type ReadWriteBytesSpeed should have comment or be unexported (golint)
    • Line 919: warning: exported type InstanceInfo should have comment or be unexported (golint)
    • Line 1399: warning: exported type ServiceInstance should have comment or be unexported (golint)
    • erda/modules/eventbox/dispatcher/filters/unifylabels_filter.go
    • Line 21: warning: exported type UnifyLabelsFilter should have comment or be unexported (golint)
    • Line 23: warning: exported function NewUnifyLabelsFilter should have comment or be unexported (golint)
    • Line 27: warning: exported method UnifyLabelsFilter.Name should have comment or be unexported (golint)
    • Line 31: warning: exported method UnifyLabelsFilter.Filter should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/issue-manage/components/issueKanban/issue_kanban.go
    • Line 14: warning: don't use MixedCaps in package name; issueKanban should be issuekanban (golint)
    • Line 32: warning: exported type IssueCart should have comment or be unexported (golint)
    • Line 46: warning: exported type CartList should have comment or be unexported (golint)
    • Line 59: warning: exported type IssueBoard should have comment or be unexported (golint)
    • Line 65: warning: exported method CartList.Delete should have comment or be unexported (golint)
    • Line 73: warning: exported method CartList.Add should have comment or be unexported (golint)
    • Line 78: warning: exported const MoveOutConfirmMsg should have comment (or a comment on this block) or be unexported (golint)
    • Line 86: warning: exported type OperationBaseInfo should have comment or be unexported (golint)
    • Line 98: warning: exported type OpMetaInfo should have comment or be unexported (golint)
    • Line 106: warning: exported type OperationInfo should have comment or be unexported (golint)
    • Line 111: warning: exported type DragOperationInfo should have comment or be unexported (golint)
    • Line 120: warning: exported type MoveOutOperation should have comment or be unexported (golint)
    • Line 122: warning: comment on exported type DragOperation should be of the form "DragOperation ..." (with optional leading article) (golint)
    • Line 124: warning: exported type MoveToOperation should have comment or be unexported (golint)
    • Line 126: warning: comment on exported type MoveToAssigneeOperation should be of the form "MoveToAssigneeOperation ..." (with optional leading article) (golint)
    • Line 130: warning: comment on exported type MoveToPriorityOperation should be of the form "MoveToPriorityOperation ..." (with optional leading article) (golint)
    • Line 133: warning: comment on exported type CreateBoardOperation should be of the form "CreateBoardOperation ..." (with optional leading article) (golint)
    • Line 135: warning: exported type DeleteBoardOperation should have comment or be unexported (golint)
    • Line 136: warning: exported type UpdateBoardOperation should have comment or be unexported (golint)
    • Line 137: warning: exported type MoveToCustomOperation should have comment or be unexported (golint)
    • Line 139: warning: exported type ChangePageNoOperation should have comment or be unexported (golint)
    • Line 148: warning: exported const MaxBoardNum should have comment or be unexported (golint)
    • Line 152: warning: exported method CartList.SetI18nPrinter should have comment or be unexported (golint)
    • Line 152: warning: receiver name c should be consistent with previous receiver name cl for CartList (golint)
    • Line 156: warning: exported method IssueCart.SetI18nPrinter should have comment or be unexported (golint)
    • Line 160: warning: comment on exported method IssueCart.RenderMoveOutOperation should be of the form "RenderMoveOutOperation ..." (golint)
    • Line 175: warning: comment on exported method IssueCart.RenderDragOperation should be of the form "RenderDragOperation ..." (golint)
    • Line 190: warning: exported method IssueCart.RenderMoveToOperation should have comment or be unexported (golint)
    • Line 201: warning: exported method IssueCart.RenderMoveToCustomOperation should have comment or be unexported (golint)
    • Line 216: warning: exported method IssueCart.RenderDragToCustomOperation should have comment or be unexported (golint)
    • Line 231: warning: exported method IssueCart.RenderMoveToAssigneeOperation should have comment or be unexported (golint)
    • Line 249: warning: exported method IssueCart.RenderDragToAssigneeOperation should have comment or be unexported (golint)
    • Line 264: warning: exported method IssueCart.RenderMoveToPriorityOperation should have comment or be unexported (golint)
    • Line 282: warning: exported method IssueCart.RenderDragToPriorityOperation should have comment or be unexported (golint)
    • Line 300: warning: exported method CartList.RenderChangePageNoOperation should have comment or be unexported (golint)
    • Line 300: warning: receiver name c should be consistent with previous receiver name cl for CartList (golint)
    • Line 315: warning: exported method IssueCart.RenderCartOperations should have comment or be unexported (golint)
    • Line 351: warning: exported method CartList.RenderCartListOperations should have comment or be unexported (golint)
    • Line 378: warning: comment on exported type ExpireType should be of the form "ExpireType ..." (with optional leading article) (golint)
    • Line 386: warning: exported const ExpireTypeUndefined should have comment (or a comment on this block) or be unexported (golint)
    • Line 395: warning: exported var ExpireTypes should have comment or be unexported (golint)
    • Line 397: warning: comment on exported method IssueCart.GetExpireType should be of the form "GetExpireType ..." (golint)
    • Line 418: warning: exported type ChartOperationSwitch should have comment or be unexported (golint)
    • Line 439: warning: exported method ChartOperationSwitch.ClearAble should have comment or be unexported (golint)
    • Line 452: warning: exported type ComponentIssueBoard should have comment or be unexported (golint)
    • Line 463: warning: exported type IssueBoardState should have comment or be unexported (golint)
    • Line 472: warning: exported type IssueFilterRequest should have comment or be unexported (golint)
    • Line 484: warning: exported type BoardType should have comment or be unexported (golint)
    • Line 491: warning: exported const BoardTypeStatus should have comment (or a comment on this block) or be unexported (golint)
    • Line 498: warning: exported var SupportBoardTypes should have comment or be unexported (golint)
    • Line 500: warning: exported var IssueTypes should have comment or be unexported (golint)
    • Line 502: warning: exported var IssueTypeStates should have comment or be unexported (golint)
    • Line 520: warning: exported method ComponentIssueBoard.SetOperationSwitch should have comment or be unexported (golint)
    • Line 545: warning: exported method ComponentIssueBoard.SetBoardDate should have comment or be unexported (golint)
    • Line 561: warning: exported method ComponentIssueBoard.SetBoardType should have comment or be unexported (golint)
    • Line 565: warning: comment on exported method ComponentIssueBoard.CheckUserPermission should be of the form "CheckUserPermission ..." (golint)
    • Line 643: warning: exported method ComponentIssueBoard.Filter should have comment or be unexported (golint)
    • Line 695: warning: exported method ComponentIssueBoard.GetByStatus should have comment or be unexported (golint)
    • Line 736: warning: exported method ComponentIssueBoard.GetIssues should have comment or be unexported (golint)
    • Line 766: warning: exported function GenCart should have comment or be unexported (golint)
    • Line 799: warning: exported method CartList.GenCartList should have comment or be unexported (golint)
    • Line 799: warning: receiver name c should be consistent with previous receiver name cl for CartList (golint)
    • Line 804: warning: comment on exported method ComponentIssueBoard.FilterByStatusConcurrent should be of the form "FilterByStatusConcurrent ..." (golint)
    • Line 1060: warning: comment on exported method ComponentIssueBoard.FilterByCustom should be of the form "FilterByCustom ..." (golint)
    • erda/modules/gittar/helper/git_protocol.go
    • Line 23: warning: exported const ASCII_0 should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: don't use underscores in Go names; const ASCII_a should be ASCIIA (golint)
    • Line 28: warning: comment on exported function ReadGitSendPackHeader should be of the form "ReadGitSendPackHeader ..." (golint)
    • Line 53: warning: comment on exported function NewPtkLine should be of the form "NewPtkLine ..." (golint)
    • Line 61: warning: exported function NewReportStatus should have comment or be unexported (golint)
    • Line 105: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 113: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • erda/modules/msp/instance/db/instance_tenant.go
    • Line 27: warning: exported method InstanceTenantDB.GetByFields should have comment or be unexported (golint)
    • Line 43: warning: exported method InstanceTenantDB.GetByID should have comment or be unexported (golint)
    • Line 49: warning: exported method InstanceTenantDB.GetByTenantGroup should have comment or be unexported (golint)
    • Line 61: warning: exported method InstanceTenantDB.GetClusterNameByTenantGroup should have comment or be unexported (golint)
    • erda/modules/pipeline/spec/pipeline_configs.go
    • Line 16: warning: exported type PipelineConfig should have comment or be unexported (golint)
    • Line 22: warning: exported method PipelineConfig.TableName should have comment or be unexported (golint)
    • Line 26: warning: exported type ActionExecutorConfig should have comment or be unexported (golint)
    • Line 32: warning: exported type PipelineConfigType should have comment or be unexported (golint)
    • Line 35: warning: exported var PipelineConfigTypeActionExecutor should have comment or be unexported (golint)
    • erda/apistructs/pipeline_cms.go
    • Line 18: warning: exported const PipelineAppConfigNameSpacePreFix should have comment or be unexported (golint)
    • Line 20: warning: exported type PipelineCmsNs should have comment or be unexported (golint)
    • Line 59: warning: exported type PipelineCmsListNsResponse should have comment or be unexported (golint)
    • Line 84: warning: exported type PipelineCmsConfigKey should have comment or be unexported (golint)
    • Line 127: warning: exported var PipelineCmsConfigDefaultOperationsForKV should have comment or be unexported (golint)
    • Line 135: warning: comment on exported var PipelineCmsConfigTypeKV should be of the form "PipelineCmsConfigTypeKV ..." (golint)
    • Line 138: warning: comment on exported var PipelineCmsConfigTypeDiceFile should be of the form "PipelineCmsConfigTypeDiceFile ..." (golint)
    • Line 143: warning: exported method PipelineCmsConfigType.Valid should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_consumer_api_service.go
    • Line 21: warning: should not use dot imports (golint)
    • Line 33: warning: exported type GatewayConsumerApiServiceImpl should have comment or be unexported (golint)
    • Line 45: warning: exported function NewGatewayConsumerApiServiceImpl should have comment or be unexported (golint)
    • Line 66: warning: exported method GatewayConsumerApiServiceImpl.Create should have comment or be unexported (golint)
    • Line 119: warning: exported method GatewayConsumerApiServiceImpl.Delete should have comment or be unexported (golint)
    • Line 185: warning: exported method GatewayConsumerApiServiceImpl.UpdateConsumerApi should have comment or be unexported (golint)
    • erda/pkg/filehelper/path.go
    • Line 26: warning: exported function Abs2Rel should have comment or be unexported (golint)
    • Line 34: warning: exported function APIFileUrlRetriever should have comment or be unexported (golint)
    • Line 46: warning: exported function FilterAPIFileUrl should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/title/render.go
    • Line 36: warning: exported type Title should have comment or be unexported (golint)
    • Line 43: warning: exported type Props should have comment or be unexported (golint)
    • Line 53: warning: exported type TitleStyles should have comment or be unexported (golint)
    • Line 57: warning: exported type State should have comment or be unexported (golint)
    • Line 61: warning: exported method Title.SetCtxBundle should have comment or be unexported (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 134: warning: exported method Title.Render should have comment or be unexported (golint)
    • Line 158: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/kubernetes/daemonset.go
    • Line 29: warning: exported type DaemonSetList should have comment or be unexported (golint)
    • Line 34: warning: exported method Endpoints.DaemonSetRouters should have comment or be unexported (golint)
    • Line 64: warning: exported method Endpoints.ListDaemonSet should have comment or be unexported (golint)
    • Line 106: warning: exported method Endpoints.GetDaemonSet should have comment or be unexported (golint)
    • Line 134: warning: exported method Endpoints.CreateDaemonSet should have comment or be unexported (golint)
    • Line 164: warning: exported method Endpoints.UpdateDaemonSet should have comment or be unexported (golint)
    • Line 208: warning: exported method Endpoints.DeleteDaemonSet should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_consumer_service.go
    • Line 24: warning: should not use dot imports (golint)
    • Line 37: warning: exported type GatewayConsumerServiceImpl should have comment or be unexported (golint)
    • Line 50: warning: exported function NewGatewayConsumerServiceImpl should have comment or be unexported (golint)
    • Line 74: warning: exported method GatewayConsumerServiceImpl.CreateDefaultConsumer should have comment or be unexported (golint)
    • Line 99: warning: exported method GatewayConsumerServiceImpl.UpdateConsumerInfo should have comment or be unexported (golint)
    • Line 303: warning: exported method GatewayConsumerServiceImpl.CreateConsumer should have comment or be unexported (golint)
    • Line 352: warning: exported method GatewayConsumerServiceImpl.GetConsumerInfo should have comment or be unexported (golint)
    • Line 387: warning: exported method GatewayConsumerServiceImpl.GetProjectConsumerInfo should have comment or be unexported (golint)
    • Line 465: warning: exported method GatewayConsumerServiceImpl.UpdateConsumerApi should have comment or be unexported (golint)
    • Line 538: warning: exported method GatewayConsumerServiceImpl.GetConsumerList should have comment or be unexported (golint)
    • Line 650: warning: exported method GatewayConsumerServiceImpl.DeleteConsumer should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/ons/create.go
    • Line 31: warning: exported function CreateInstanceWithRecord should have comment or be unexported (golint)
    • Line 105: warning: exported function CreateTopicWithRecord should have comment or be unexported (golint)
    • Line 253: warning: exported function CreateInstance should have comment or be unexported (golint)
    • Line 273: warning: exported function CreateTopic should have comment or be unexported (golint)
    • Line 305: warning: exported function CreateGroup should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/cloud_resource_vsw.go
    • Line 35: warning: exported method Endpoints.CreateVSW should have comment or be unexported (golint)
    • Line 38: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 75: warning: exported method Endpoints.ListVSW should have comment or be unexported (golint)
    • Line 97: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 105: warning: don't use underscores in Go names; var vsw_regions should be vswRegions (golint)
    • erda/modules/dop/pipeline/pipelineyml/resource_types.go
    • Line 16: warning: exported type Source should have comment or be unexported (golint)
    • Line 18: warning: exported type Params should have comment or be unexported (golint)
    • Line 20: warning: exported type Version should have comment or be unexported (golint)
    • Line 22: warning: exported type Metadata should have comment or be unexported (golint)
    • Line 24: warning: exported type MetadataField should have comment or be unexported (golint)
    • Line 30: warning: exported const RES_TYPE_BUILDPACK should have comment (or a comment on this block) or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/executeInfo/render.go
    • Line 14: warning: don't use MixedCaps in package name; executeInfo should be executeinfo (golint)
    • Line 29: warning: exported type ComponentFileInfo should have comment or be unexported (golint)
    • Line 35: warning: exported type CommonFileInfo should have comment or be unexported (golint)
    • Line 45: warning: exported type PropColumn should have comment or be unexported (golint)
    • Line 50: warning: exported type State should have comment or be unexported (golint)
    • Line 61: warning: exported method ComponentFileInfo.Import should have comment or be unexported (golint)
    • Line 73: warning: receiver name i should be consistent with previous receiver name a for ComponentFileInfo (golint)
    • Line 93: warning: exported method ComponentFileInfo.RenderProtocol should have comment or be unexported (golint)
    • Line 93: warning: receiver name i should be consistent with previous receiver name a for ComponentFileInfo (golint)
    • Line 103: warning: exported method ComponentFileInfo.Render should have comment or be unexported (golint)
    • Line 103: warning: receiver name i should be consistent with previous receiver name a for ComponentFileInfo (golint)
    • Line 255: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/types.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 24: warning: exported type AccessKeySecret should have comment or be unexported (golint)
    • Line 32: warning: exported type PageOption should have comment or be unexported (golint)
    • Line 37: warning: exported type Context should have comment or be unexported (golint)
    • Line 46: warning: exported type ResponsePager should have comment or be unexported (golint)
    • Line 53: warning: exported const TagPrefixCluster should have comment (or a comment on this block) or be unexported (golint)
    • Line 58: warning: exported const CloudSourceExpireDays should have comment (or a comment on this block) or be unexported (golint)
    • Line 66: warning: exported function GenClusterTag should have comment or be unexported (golint)
    • Line 72: warning: exported function GenProjectTag should have comment or be unexported (golint)
    • Line 78: warning: exported type CloudResourceType should have comment or be unexported (golint)
    • Line 81: warning: exported const CloudResourceTypeCompute should have comment (or a comment on this block) or be unexported (golint)
    • Line 94: warning: exported var DefaultPageOption should have comment or be unexported (golint)
    • Line 99: warning: exported var PageSizeOneOption should have comment or be unexported (golint)
    • Line 104: warning: exported type CloudVendor should have comment or be unexported (golint)
    • Line 107: warning: exported const CloudVendorAliCloud should have comment (or a comment on this block) or be unexported (golint)
    • Line 119: warning: exported type TagResourceType should have comment or be unexported (golint)
    • Line 122: warning: exported const TagResourceTypeVpc should have comment (or a comment on this block) or be unexported (golint)
    • erda/pkg/parser/pipelineyml/pipelineyml.go
    • Line 23: warning: exported type PipelineYml should have comment or be unexported (golint)
    • Line 53: warning: exported function New should have comment or be unexported (golint)
    • Line 148: warning: exported type Option should have comment or be unexported (golint)
    • Line 150: warning: exported function WithSecrets should have comment or be unexported (golint)
    • Line 154: warning: exported function WithSecretsRecursiveRenderTimes should have comment or be unexported (golint)
    • Line 182: warning: exported function WithRunParams should have comment or be unexported (golint)
    • Line 205: warning: exported function WithActionTypeMapping should have comment or be unexported (golint)
    • Line 213: warning: exported function WithFlatParams should have comment or be unexported (golint)
    • Line 219: warning: exported function WithEnvs should have comment or be unexported (golint)
    • Line 225: warning: exported method PipelineYml.Spec should have comment or be unexported (golint)
    • Line 229: warning: exported method PipelineYml.Errors should have comment or be unexported (golint)
    • Line 233: warning: exported method PipelineYml.Warns should have comment or be unexported (golint)
    • Line 237: warning: exported method PipelineYml.NeedUpgrade should have comment or be unexported (golint)
    • Line 241: warning: exported method PipelineYml.UpgradedYmlContent should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/pipelineymlv1/pipelineyml.go
    • Line 33: warning: exported type PipelineYml should have comment or be unexported (golint)
    • Line 56: warning: exported function New should have comment or be unexported (golint)
    • Line 62: warning: exported method PipelineYml.Version should have comment or be unexported (golint)
    • Line 66: warning: exported method PipelineYml.Object should have comment or be unexported (golint)
    • Line 70: warning: exported method PipelineYml.GetOptions should have comment or be unexported (golint)
    • Line 74: warning: exported method PipelineYml.GetMetadata should have comment or be unexported (golint)
    • Line 78: warning: exported method PipelineYml.StringData should have comment or be unexported (golint)
    • Line 82: warning: exported method PipelineYml.GetInstanceID should have comment or be unexported (golint)
    • Line 86: warning: exported method PipelineYml.GetPlaceholders should have comment or be unexported (golint)
    • Line 90: warning: exported method PipelineYml.GetPlaceHolderTransformedEnvs should have comment or be unexported (golint)
    • Line 107: warning: exported method PipelineYml.SetPipelineID should have comment or be unexported (golint)
    • Line 111: warning: exported method PipelineYml.JSON should have comment or be unexported (golint)
    • Line 119: warning: exported method PipelineYml.JSONPretty should have comment or be unexported (golint)
    • Line 127: warning: exported method PipelineYml.YAML should have comment or be unexported (golint)
    • Line 237: warning: exported method PipelineYml.ParseWithAllFields should have comment or be unexported (golint)
    • Line 267: warning: exported method PipelineYml.ValidateResTypes should have comment or be unexported (golint)
    • Line 408: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • erda/modules/core-services/dao/review_uesr.go
    • Line 21: warning: exported method DBClient.GetOperatorByTaskID should have comment or be unexported (golint)
    • Line 30: warning: exported method DBClient.GetTaskIDByOperator should have comment or be unexported (golint)
    • Line 44: warning: exported method DBClient.GetAuthorityByUserId should have comment or be unexported (golint)
    • erda/apistructs/workbench.go
    • Line 16: warning: exported type WorkbenchRequest should have comment or be unexported (golint)
    • Line 23: warning: exported type WorkbenchResponse should have comment or be unexported (golint)
    • Line 28: warning: exported type WorkbenchResponseData should have comment or be unexported (golint)
    • Line 34: warning: exported type WorkbenchProjectItem should have comment or be unexported (golint)
    • erda/apistructs/service.go
    • Line 182: warning: comment on exported type Dice should be of the form "Dice ..." (with optional leading article) (golint)
    • Line 219: warning: exported const ServiceDiscoveryKindProxy should have comment (or a comment on this block) or be unexported (golint)
    • Line 222: warning: comment on exported type Service should be of the form "Service ..." (with optional leading article) (golint)
    • Line 298: warning: comment on exported type Resources should be of the form "Resources ..." (with optional leading article) (golint)
    • Line 308: warning: comment on exported type HealthCheck should be of the form "HealthCheck ..." (with optional leading article) (golint)
    • Line 320: warning: exported type ServiceBind should have comment or be unexported (golint)
    • Line 326: warning: exported type PersistentVolume should have comment or be unexported (golint)
    • Line 333: warning: exported type HttpHealthCheck should have comment or be unexported (golint)
    • Line 340: warning: exported type ExecHealthCheck should have comment or be unexported (golint)
    • Line 346: warning: comment on exported type NewHealthCheck should be of the form "NewHealthCheck ..." (with optional leading article) (golint)
    • Line 352: warning: exported type Volume should have comment or be unexported (golint)
    • Line 376: warning: exported type InstanceInfo should have comment or be unexported (golint)
    • Line 383: warning: exported type ServiceGroupCreateRequest should have comment or be unexported (golint)
    • Line 385: warning: exported type ServiceGroupCreateResponse should have comment or be unexported (golint)
    • Line 391: warning: exported type ServiceGroupGetErrorResponse should have comment or be unexported (golint)
    • Line 395: warning: exported type ServiceGroupRestartResponse should have comment or be unexported (golint)
    • Line 400: warning: exported type ServiceGroupUpdateResponse should have comment or be unexported (golint)
    • Line 405: warning: exported type ServiceGroupDeleteResponse should have comment or be unexported (golint)
    • Line 410: warning: comment on exported type ServiceGroupCreateV2Request should be of the form "ServiceGroupCreateV2Request ..." (with optional leading article) (golint)
    • Line 429: warning: exported type RequestVolumeInfo should have comment or be unexported (golint)
    • Line 435: warning: exported type ServiceGroupCreateV2Response should have comment or be unexported (golint)
    • Line 440: warning: exported type ServiceGroupCreateV2Data should have comment or be unexported (golint)
    • Line 447: warning: comment on exported type ServiceGroupUpdateV2Request should be of the form "ServiceGroupUpdateV2Request ..." (with optional leading article) (golint)
    • Line 452: warning: exported type ServiceGroupUpdateV2Response should have comment or be unexported (golint)
    • Line 454: warning: comment on exported type ServiceGroupDeleteV2Request should be of the form "ServiceGroupDeleteV2Request ..." (with optional leading article) (golint)
    • Line 463: warning: exported type ServiceGroupDeleteRequest should have comment or be unexported (golint)
    • Line 469: warning: exported type ServiceGroupDeleteV2Response should have comment or be unexported (golint)
    • Line 473: warning: comment on exported type ServiceGroupInfoRequest should be of the form "ServiceGroupInfoRequest ..." (with optional leading article) (golint)
    • Line 481: warning: exported type ServiceGroupInfoResponse should have comment or be unexported (golint)
    • Line 486: warning: comment on exported type ServiceGroupKillPodRequest should be of the form "ServiceGroupKillPodRequest ..." (with optional leading article) (golint)
    • Line 495: warning: exported type ServiceGroupKillPodResponse should have comment or be unexported (golint)
    • Line 499: warning: comment on exported type ServiceGroupRestartV2Request should be of the form "ServiceGroupRestartV2Request ..." (with optional leading article) (golint)
    • Line 507: warning: exported type ServiceGroupRestartV2Response should have comment or be unexported (golint)
    • Line 511: warning: comment on exported type ServiceGroupCancelV2Request should be of the form "ServiceGroupCancelV2Request ..." (with optional leading article) (golint)
    • Line 519: warning: exported type ServiceGroupCancelV2Response should have comment or be unexported (golint)
    • Line 523: warning: comment on exported type ServiceGroupPrecheckRequest should be of the form "ServiceGroupPrecheckRequest ..." (with optional leading article) (golint)
    • Line 527: warning: exported type ServiceGroupPrecheckResponse should have comment or be unexported (golint)
    • Line 532: warning: exported type ServiceGroupPrecheckData should have comment or be unexported (golint)
    • Line 538: warning: exported type ServiceGroupPrecheckNodeData should have comment or be unexported (golint)
    • Line 544: warning: exported type ServiceGroupConfigUpdateResponse should have comment or be unexported (golint)
    • Line 561: warning: exported type PodInfoRequest should have comment or be unexported (golint)
    • Line 583: warning: exported type PodInfoResponse should have comment or be unexported (golint)
    • Line 587: warning: exported type PodInfoDataList should have comment or be unexported (golint)
    • Line 588: warning: exported type PodInfoData should have comment or be unexported (golint)
    • Line 621: warning: exported type InstanceInfoRequest should have comment or be unexported (golint)
    • Line 646: warning: exported type InstanceInfoResponse should have comment or be unexported (golint)
    • Line 650: warning: exported type InstanceInfoDataList should have comment or be unexported (golint)
    • Line 651: warning: exported type InstanceInfoData should have comment or be unexported (golint)
    • Line 692: warning: exported type ServiceInfoResponse should have comment or be unexported (golint)
    • Line 697: warning: exported type ServiceInfoDataList should have comment or be unexported (golint)
    • Line 699: warning: exported type ServiceInfoData should have comment or be unexported (golint)
    • Line 724: warning: exported type CapacityInfoRequest should have comment or be unexported (golint)
    • Line 728: warning: exported type CapacityInfoResponse should have comment or be unexported (golint)
    • Line 733: warning: exported type CapacityInfoData should have comment or be unexported (golint)
    • Line 740: warning: exported type ComponentInfoResponse should have comment or be unexported (golint)
    • Line 745: warning: exported type ComponentInfoDataList should have comment or be unexported (golint)
    • Line 746: warning: exported type ComponentInfoData should have comment or be unexported (golint)
    • erda/bundle/addon.go
    • Line 28: warning: comment on exported method Bundle.AddonMetrics should be of the form "AddonMetrics ..." (golint)
    • Line 51: warning: comment on exported method Bundle.ProjectResource should be of the form "ProjectResource ..." (golint)
    • Line 123: warning: exported method Bundle.AddonConfigCallback should have comment or be unexported (golint)
    • Line 146: warning: exported method Bundle.AddonConfigCallbackProvison should have comment or be unexported (golint)
    • Line 169: warning: exported method Bundle.FindClusterResource should have comment or be unexported (golint)
    • Line 192: warning: exported method Bundle.GetAddon should have comment or be unexported (golint)
    • erda/modules/hepa/apipolicy/policies/waf/policy.go
    • Line 25: warning: exported type Policy should have comment or be unexported (golint)
    • Line 29: warning: exported method Policy.NeedSerialUpdate should have comment or be unexported (golint)
    • Line 33: warning: exported method Policy.CreateDefaultConfig should have comment or be unexported (golint)
    • Line 40: warning: error should be the last type when returning multiple items (golint)
    • Line 40: warning: exported method Policy.UnmarshalConfig should have comment or be unexported (golint)
    • Line 53: warning: exported method Policy.ParseConfig should have comment or be unexported (golint)
    • erda/modules/dop/dao/testplan_memberv2.go
    • Line 31: warning: exported method AutoTestPlanMember.TableName should have comment or be unexported (golint)
    • Line 35: warning: exported method DBClient.GetUserAutoTestPlanRole should have comment or be unexported (golint)
    • Line 43: warning: exported method DBClient.CreateAutoTestPlanMember should have comment or be unexported (golint)
    • Line 47: warning: exported method DBClient.UpdateAutoTestPlanMember should have comment or be unexported (golint)
    • Line 51: warning: exported method DBClient.BatchCreateAutoTestPlanMembers should have comment or be unexported (golint)
    • Line 110: warning: exported method DBClient.DeleteAutoTestPlanMemberByPlanID should have comment or be unexported (golint)
    • Line 114: warning: exported method DBClient.ListAutoTestPlanOwnersByOwners should have comment or be unexported (golint)
    • Line 124: warning: exported method DBClient.ListAutoTestPlanMembersByPlanIDs should have comment or be unexported (golint)
    • Line 143: warning: exported method DBClient.ListAutoTestPlanOwnersByPlanID should have comment or be unexported (golint)
    • Line 147: warning: exported method DBClient.ListAutoTestPlanMembersByPlanID should have comment or be unexported (golint)
    • erda/pkg/clientgo/customclient/clientset.go
    • Line 52: warning: comment on exported method Clientset.OpenYurtV1alpha1 should be of the form "OpenYurtV1alpha1 ..." (golint)
    • Line 65: warning: exported method Clientset.ConfigV1alpha2 should have comment or be unexported (golint)
    • Line 69: warning: exported method Clientset.NetworkingV1alpha3 should have comment or be unexported (golint)
    • Line 73: warning: exported method Clientset.NetworkingV1beta1 should have comment or be unexported (golint)
    • Line 77: warning: exported method Clientset.RbacV1alpha1 should have comment or be unexported (golint)
    • Line 81: warning: exported method Clientset.SecurityV1beta1 should have comment or be unexported (golint)
    • erda/modules/pipeline/spec/pipeline.go
    • Line 26: warning: comment on exported type Pipeline should be of the form "Pipeline ..." (with optional leading article) (golint)
    • Line 33: warning: exported type PipelineWithStage should have comment or be unexported (golint)
    • Line 38: warning: exported type PipelineStageWithTask should have comment or be unexported (golint)
    • Line 43: warning: exported type PipelineCombosReq should have comment or be unexported (golint)
    • Line 49: warning: exported type PipelineWithTasks should have comment or be unexported (golint)
    • Line 54: warning: exported method PipelineWithTasks.DoneTasks should have comment or be unexported (golint)
    • Line 64: warning: exported method Pipeline.GenIdentityInfo should have comment or be unexported (golint)
    • Line 80: warning: exported method Pipeline.GetSubmitUserID should have comment or be unexported (golint)
    • Line 88: warning: exported method Pipeline.GetRunUserID should have comment or be unexported (golint)
    • Line 96: warning: exported method Pipeline.GetCancelUserID should have comment or be unexported (golint)
    • Line 104: warning: exported method Pipeline.GetLabel should have comment or be unexported (golint)
    • Line 115: warning: exported method Pipeline.MergeLabels should have comment or be unexported (golint)
    • Line 126: warning: comment on exported method Pipeline.GenerateNormalLabelsForCreateV2 should be of the form "GenerateNormalLabelsForCreateV2 ..." (golint)
    • Line 197: warning: exported method Pipeline.GetConfigManageNamespaces should have comment or be unexported (golint)
    • Line 229: warning: exported method Pipeline.GetResourceGCTTL should have comment or be unexported (golint)
    • erda/modules/core-services/dao/manual_review.go
    • Line 26: warning: exported method DBClient.GetReviewByTaskId should have comment or be unexported (golint)
    • Line 41: warning: exported method DBClient.CreateReview should have comment or be unexported (golint)
    • Line 45: warning: exported method DBClient.UpdateApproval should have comment or be unexported (golint)
    • Line 50: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 57: warning: exported method DBClient.GetReviewsBySponsorId should have comment or be unexported (golint)
    • Line 77: warning: exported method DBClient.GetReviewsByUserId should have comment or be unexported (golint)
    • erda/pkg/http/httpclient/trace.go
    • Line 24: warning: exported type Tracer should have comment or be unexported (golint)
    • Line 30: warning: exported type DefaultTracer should have comment or be unexported (golint)
    • Line 34: warning: exported function NewDefaultTracer should have comment or be unexported (golint)
    • Line 38: warning: exported method DefaultTracer.TraceRequest should have comment or be unexported (golint)
    • Line 43: warning: exported method DefaultTracer.TraceResponse should have comment or be unexported (golint)
    • erda/modules/dop/dao/namespace.go
    • Line 22: warning: exported const IsDeleteValue should have comment or be unexported (golint)
    • Line 62: warning: comment on exported method DBClient.SoftDeleteNamespaceRelation should be of the form "SoftDeleteNamespaceRelation ..." (golint)
    • Line 80: warning: comment on exported method DBClient.GetNamespaceRelationsByDefaultName should be of the form "GetNamespaceRelationsByDefaultName ..." (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/emptyProject/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyProject should be emptyproject (golint)
    • Line 29: warning: exported function RenderCreator should have comment or be unexported (golint)
    • Line 33: warning: exported type EmptyProject should have comment or be unexported (golint)
    • Line 46: warning: exported type State should have comment or be unexported (golint)
    • Line 50: warning: exported method EmptyProject.GenComponentState should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: exported method EmptyProject.SetCtxBundle should have comment or be unexported (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 85: warning: exported method EmptyProject.Render should have comment or be unexported (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 97: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 103: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • erda/pkg/parser/diceyml/insert_image_visitor.go
    • Line 22: warning: exported type InsertImageVisitor should have comment or be unexported (golint)
    • Line 29: warning: exported function NewInsertImageVisitor should have comment or be unexported (golint)
    • Line 33: warning: exported method InsertImageVisitor.VisitServices should have comment or be unexported (golint)
    • Line 44: warning: exported method InsertImageVisitor.VisitService should have comment or be unexported (golint)
    • Line 61: warning: exported method InsertImageVisitor.VisitJobs should have comment or be unexported (golint)
    • Line 73: warning: exported method InsertImageVisitor.VisitJob should have comment or be unexported (golint)
    • Line 83: warning: exported function InsertImage should have comment or be unexported (golint)
    • erda/modules/pkg/sysconf/method.go
    • Line 26: warning: comment on exported method Cluster.Host should be of the form "Host ..." (golint)
    • Line 117: warning: exported method Storage.RemoteTarget should have comment or be unexported (golint)
    • Line 120: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • erda/modules/hepa/kong/kong_adapter.go
    • Line 30: warning: exported const InnerHost should have comment or be unexported (golint)
    • Line 33: warning: exported const ConsumerRoot should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported var ErrInvalidReq should have comment or be unexported (golint)
    • Line 69: warning: exported function NewKongAdapter should have comment or be unexported (golint)
    • Line 77: warning: exported function NewKongAdapterForConsumer should have comment or be unexported (golint)
    • Line 99: warning: exported function NewKongAdapterForProject should have comment or be unexported (golint)
    • Line 125: warning: exported function NewKongAdapterByConsumerId should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/moreApplication/render.go
    • Line 14: warning: don't use MixedCaps in package name; moreApplication should be moreapplication (golint)
    • Line 29: warning: exported function RenderCreator should have comment or be unexported (golint)
    • Line 33: warning: exported type MoreApplication should have comment or be unexported (golint)
    • Line 40: warning: exported type Props should have comment or be unexported (golint)
    • Line 46: warning: exported type Value should have comment or be unexported (golint)
    • Line 50: warning: exported type State should have comment or be unexported (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method MoreApplication.SetCtxBundle should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported method MoreApplication.Render should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 116: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • erda/modules/dop/services/websocket/websocket.go
    • Line 34: warning: exported type Websocket should have comment or be unexported (golint)
    • Line 43: warning: exported function New should have comment or be unexported (golint)
    • Line 52: warning: exported method Websocket.Register should have comment or be unexported (golint)
    • Line 52: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 56: warning: exported method Websocket.AfterConnected should have comment or be unexported (golint)
    • Line 61: warning: exported method Websocket.BeforeClose should have comment or be unexported (golint)
    • Line 65: warning: exported method Websocket.Upgrade should have comment or be unexported (golint)
    • Line 99: warning: exported method Websocket.Close should have comment or be unexported (golint)
    • Line 103: warning: exported method Websocket.Run should have comment or be unexported (golint)
    • erda/modules/eventbox/subscriber/mbox/mbox.go
    • Line 27: warning: exported type MBoxSubscriber should have comment or be unexported (golint)
    • Line 31: warning: exported type MBoxData should have comment or be unexported (golint)
    • Line 38: warning: exported type Option should have comment or be unexported (golint)
    • Line 40: warning: exported function New should have comment or be unexported (golint)
    • Line 46: warning: exported method MBoxSubscriber.Publish should have comment or be unexported (golint)
    • Line 75: warning: exported method MBoxSubscriber.Status should have comment or be unexported (golint)
    • Line 79: warning: exported method MBoxSubscriber.Name should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/sonar_metric_rules.go
    • Line 28: warning: exported method Endpoints.PagingSonarMetricRules should have comment or be unexported (golint)
    • Line 48: warning: exported method Endpoints.GetSonarMetricRules should have comment or be unexported (golint)
    • Line 65: warning: exported method Endpoints.UpdateSonarMetricRules should have comment or be unexported (golint)
    • Line 97: warning: exported method Endpoints.BatchInsertSonarMetricRules should have comment or be unexported (golint)
    • Line 119: warning: exported method Endpoints.BatchDeleteSonarMetricRules should have comment or be unexported (golint)
    • Line 141: warning: exported method Endpoints.DeleteSonarMetricRules should have comment or be unexported (golint)
    • Line 173: warning: exported method Endpoints.QuerySonarMetricRules should have comment or be unexported (golint)
    • Line 193: warning: exported method Endpoints.QuerySonarMetricRulesDefinition should have comment or be unexported (golint)
    • erda/modules/dop/services/cq/analyze.go
    • Line 27: warning: exported type Language should have comment or be unexported (golint)
    • Line 30: warning: exported var LanguageGo should have comment or be unexported (golint)
    • Line 35: warning: exported type MRCQRequest should have comment or be unexported (golint)
    • Line 39: warning: exported type CQRequest should have comment or be unexported (golint)
    • erda/pkg/jsonstore/mem/mem.go
    • Line 26: warning: exported type MemStore should have comment or be unexported (golint)
    • Line 30: warning: exported function New should have comment or be unexported (golint)
    • Line 37: warning: exported method MemStore.Put should have comment or be unexported (golint)
    • Line 42: warning: exported method MemStore.PutWithOption should have comment or be unexported (golint)
    • Line 46: warning: exported method MemStore.Get should have comment or be unexported (golint)
    • Line 54: warning: comment on exported method MemStore.PrefixGet should be of the form "PrefixGet ..." (golint)
    • Line 67: warning: exported method MemStore.Remove should have comment or be unexported (golint)
    • Line 80: warning: exported method MemStore.PrefixRemove should have comment or be unexported (golint)
    • Line 93: warning: exported method MemStore.PrefixGetKey should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/executeTaskTable/render.go
    • Line 14: warning: don't use MixedCaps in package name; executeTaskTable should be executetasktable (golint)
    • Line 29: warning: exported type ExecuteTaskTable should have comment or be unexported (golint)
    • Line 38: warning: exported type State should have comment or be unexported (golint)
    • Line 57: warning: exported const DefaultPageSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 61: warning: exported type Operation should have comment or be unexported (golint)
    • Line 99: warning: exported type RowData should have comment or be unexported (golint)
    • Line 104: warning: exported type AutoTestRunStep should have comment or be unexported (golint)
    • Line 109: warning: exported method ExecuteTaskTable.Import should have comment or be unexported (golint)
    • Line 120: warning: exported method ExecuteTaskTable.Export should have comment or be unexported (golint)
    • Line 132: warning: exported method ExecuteTaskTable.Render should have comment or be unexported (golint)
    • Line 456: warning: receiver name e should be consistent with previous receiver name a for ExecuteTaskTable (golint)
    • Line 479: warning: receiver name e should be consistent with previous receiver name a for ExecuteTaskTable (golint)
    • Line 501: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/gittar/uc/userInfo.go
    • Line 25: warning: exported type UserInfo should have comment or be unexported (golint)
    • Line 33: warning: comment on exported type UserInfoDto should be of the form "UserInfoDto ..." (with optional leading article) (golint)
    • Line 44: warning: exported method UserInfoDto.Convert should have comment or be unexported (golint)
    • Line 59: warning: exported method UserInfoDto.GetUsername should have comment or be unexported (golint)
    • Line 77: warning: comment on exported method UserInfo.Convert should be of the form "Convert ..." (golint)
    • Line 93: warning: comment on exported method UserInfo.UserName should be of the form "UserName ..." (golint)
    • erda/apistructs/issue.go
    • Line 27: warning: exported type Issue should have comment or be unexported (golint)
    • Line 74: warning: exported method Issue.ConvertToIssueUpdateReq should have comment or be unexported (golint)
    • Line 84: warning: exported var IssueTypes should have comment or be unexported (golint)
    • Line 87: warning: exported const IssueTypeRequirement should have comment (or a comment on this block) or be unexported (golint)
    • Line 98: warning: exported method IssueType.GetZhName should have comment or be unexported (golint)
    • Line 115: warning: exported method IssueType.GetEnName should have comment or be unexported (golint)
    • Line 132: warning: exported method IssueType.GetCorrespondingResource should have comment or be unexported (golint)
    • Line 148: warning: exported method IssueType.GetStateBelongIndex should have comment or be unexported (golint)
    • Line 164: warning: exported type IssueState should have comment or be unexported (golint)
    • Line 167: warning: exported const IssueStateOpen should have comment (or a comment on this block) or be unexported (golint)
    • Line 218: warning: exported method IssueState.Desc should have comment or be unexported (golint)
    • Line 223: warning: exported var IssueRequirementStates should have comment or be unexported (golint)
    • Line 260: warning: exported method IssueState.ValidRequirementState should have comment or be unexported (golint)
    • Line 263: warning: exported method IssueState.ValidTaskState should have comment or be unexported (golint)
    • Line 266: warning: exported method IssueState.ValidBugState should have comment or be unexported (golint)
    • Line 269: warning: exported method IssueState.ValidTicketState should have comment or be unexported (golint)
    • Line 272: warning: exported method IssueState.ValidEpicState should have comment or be unexported (golint)
    • Line 303: warning: exported const IssuePriorityUrgent should have comment (or a comment on this block) or be unexported (golint)
    • Line 309: warning: exported var IssuePriorityList should have comment or be unexported (golint)
    • Line 311: warning: exported method IssuePriority.GetEnName should have comment or be unexported (golint)
    • Line 326: warning: exported method IssuePriority.GetZhName should have comment or be unexported (golint)
    • Line 345: warning: exported const IssueComplexityHard should have comment (or a comment on this block) or be unexported (golint)
    • Line 350: warning: exported method IssueComplexity.GetEnName should have comment or be unexported (golint)
    • Line 362: warning: exported method IssueComplexity.GetZhName should have comment or be unexported (golint)
    • Line 379: warning: exported const IssueSeverityFatal should have comment (or a comment on this block) or be unexported (golint)
    • Line 386: warning: exported method IssueSeverity.GetEnName should have comment or be unexported (golint)
    • Line 403: warning: exported method IssueSeverity.GetZhName should have comment or be unexported (golint)
    • Line 420: warning: exported var IssueSeveritys should have comment or be unexported (golint)
    • Line 435: warning: exported type IssueStateButton should have comment or be unexported (golint)
    • Line 469: warning: exported const Minute should have comment (or a comment on this block) or be unexported (golint)
    • Line 696: warning: exported method IssuePagingRequest.UrlQueryString should have comment or be unexported (golint)
    • Line 805: warning: exported type IssuePagingResponseData should have comment or be unexported (golint)
    • Line 942: warning: comment on exported type IssueTypeUpdateRequest should be of the form "IssueTypeUpdateRequest ..." (with optional leading article) (golint)
    • Line 994: warning: comment on exported type IssueSummary should be of the form "IssueSummary ..." (with optional leading article) (golint)
    • Line 1015: warning: comment on exported type IssuesStageRequest should be of the form "IssuesStageRequest ..." (with optional leading article) (golint)
    • Line 1038: warning: comment on exported type IssueBugStatusPercentage should be of the form "IssueBugStatusPercentage ..." (with optional leading article) (golint)
    • Line 1043: warning: exported type IssueBugStatusPercentageResponse should have comment or be unexported (golint)
    • Line 1048: warning: comment on exported type IssueBugSeverityPercentage should be of the form "IssueBugSeverityPercentage ..." (with optional leading article) (golint)
    • Line 1053: warning: exported type IssueBugSeverityPercentageResponse should have comment or be unexported (golint)
    • Line 1058: warning: exported type Percentage should have comment or be unexported (golint)
    • Line 1063: warning: exported type IssueImportExcelResponse should have comment or be unexported (golint)
    • erda/modules/pipeline/dbclient/op_pipeline_queue.go
    • Line 41: warning: comment on exported method Client.CreatePipelineQueue should be of the form "CreatePipelineQueue ..." (golint)
    • Line 199: warning: comment on exported method Client.GetPipelineQueue should be of the form "GetPipelineQueue ..." (golint)
    • Line 253: warning: exported method Client.PagingPipelineQueues should have comment or be unexported (golint)
    • Line 384: warning: comment on exported method Client.UpdatePipelineQueue should be of the form "UpdatePipelineQueue ..." (golint)
    • Line 415: warning: comment on exported method Client.DeletePipelineQueue should be of the form "DeletePipelineQueue ..." (golint)
    • erda/modules/pipeline/dbclient/op_pipeline_snippet_client.go
    • Line 16: warning: exported type DicePipelineSnippetClient should have comment or be unexported (golint)
    • Line 23: warning: exported method DicePipelineSnippetClient.TableName should have comment or be unexported (golint)
    • Line 27: warning: exported type PipelineSnippetClientExtra should have comment or be unexported (golint)
    • Line 31: warning: exported method Client.FindSnippetClientList should have comment or be unexported (golint)
    • erda/modules/soldier/health/health.go
    • Line 22: warning: exported const ErdaHealthPath should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported type ModuleHealth should have comment or be unexported (golint)
    • Line 32: warning: exported type ErdaHealthDto should have comment or be unexported (golint)
    • Line 39: warning: exported function GetSoldierHealth should have comment or be unexported (golint)
    • erda/modules/eventbox/subscriber/group/group.go
    • Line 35: warning: exported type GroupSubscriber should have comment or be unexported (golint)
    • Line 40: warning: exported type Option should have comment or be unexported (golint)
    • Line 42: warning: exported function New should have comment or be unexported (golint)
    • Line 49: warning: exported method GroupSubscriber.SetRoute should have comment or be unexported (golint)
    • Line 53: warning: exported method GroupSubscriber.Publish should have comment or be unexported (golint)
    • Line 243: warning: exported method GroupSubscriber.Status should have comment or be unexported (golint)
    • Line 247: warning: exported method GroupSubscriber.Name should have comment or be unexported (golint)
    • erda/modules/core-services/endpoints/organization.go
    • Line 397: warning: comment on exported method Endpoints.ChangeCurrentOrg should be of the form "ChangeCurrentOrg ..." (golint)
    • Line 589: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 612: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 662: warning: exported method Endpoints.SetReleaseCrossCluster should have comment or be unexported (golint)
    • erda/modules/orchestrator/endpoints/instance.go
    • Line 35: warning: exported const INSTANCE_REQUEST_TYPE_PROJECT should have comment (or a comment on this block) or be unexported (golint)
    • Line 121: warning: exported method Endpoints.ListServicePod should have comment or be unexported (golint)
    • Line 182: warning: don't use underscores in Go names; func result project_ids should be projectIds (golint)
    • Line 182: warning: don't use underscores in Go names; func result app_ids should be appIds (golint)
    • Line 182: warning: don't use underscores in Go names; func result runtime_ids should be runtimeIds (golint)
    • Line 182: warning: don't use underscores in Go names; func result service_names should be serviceNames (golint)
    • Line 196: warning: exported method Endpoints.InstancesUsage should have comment or be unexported (golint)
    • Line 201: warning: don't use underscores in Go names; var project_ids should be projectIds (golint)
    • Line 201: warning: don't use underscores in Go names; var app_ids should be appIds (golint)
    • Line 201: warning: don't use underscores in Go names; var runtime_ids should be runtimeIds (golint)
    • Line 201: warning: don't use underscores in Go names; var service_names should be serviceNames (golint)
    • Line 202: warning: don't use underscores in Go names; var ip_s should be ipS (golint)
    • Line 237: warning: don't use underscores in Go names; method parameter limited_project_ids should be limitedProjectIds (golint)
    • Line 259: warning: don't use underscores in Go names; method parameter limited_app_ids should be limitedAppIds (golint)
    • Line 281: warning: don't use underscores in Go names; method parameter limited_runtime_ids should be limitedRuntimeIds (golint)
    • Line 303: warning: don't use underscores in Go names; method parameter limited_service_name should be limitedServiceName (golint)
    • erda/modules/scheduler/executor/plugins/metronome/types.go
    • Line 16: warning: exported type MetronomeJob should have comment or be unexported (golint)
    • Line 23: warning: exported type JobHistory should have comment or be unexported (golint)
    • Line 42: warning: exported type Run should have comment or be unexported (golint)
    • Line 58: warning: exported type Artifact should have comment or be unexported (golint)
    • Line 65: warning: comment on exported type Docker should be of the form "Docker ..." (with optional leading article) (golint)
    • Line 72: warning: exported type DockerParameter should have comment or be unexported (golint)
    • Line 77: warning: comment on exported type Placement should be of the form "Placement ..." (with optional leading article) (golint)
    • Line 82: warning: exported type Constraints should have comment or be unexported (golint)
    • Line 88: warning: comment on exported type Restart should be of the form "Restart ..." (with optional leading article) (golint)
    • Line 94: warning: exported type Volume should have comment or be unexported (golint)
    • Line 100: warning: comment on exported type RunResult should be of the form "RunResult ..." (with optional leading article) (golint)
    • erda/apistructs/cluster.go
    • Line 36: warning: exported const ClusterStatusOffline should have comment (or a comment on this block) or be unexported (golint)
    • Line 176: warning: exported const ScaleModeScheduler should have comment (or a comment on this block) or be unexported (golint)
    • Line 254: warning: comment on exported type ClusterLabelsRequest should be of the form "ClusterLabelsRequest ..." (with optional leading article) (golint)
    • Line 266: warning: exported type ClusterLabels should have comment or be unexported (golint)
    • Line 306: warning: comment on exported type DereferenceClusterRequest should be of the form "DereferenceClusterRequest ..." (with optional leading article) (golint)
    • Line 314: warning: comment on exported type DereferenceClusterResponse should be of the form "DereferenceClusterResponse ..." (with optional leading article) (golint)
    • Line 320: warning: exported type ManageConfig should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_org_client_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayOrgClientServiceImpl should have comment or be unexported (golint)
    • Line 30: warning: exported function NewGatewayOrgClientServiceImpl should have comment or be unexported (golint)
    • Line 41: warning: exported method GatewayOrgClientServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 65: warning: exported method GatewayOrgClientServiceImpl.Update should have comment or be unexported (golint)
    • Line 76: warning: exported method GatewayOrgClientServiceImpl.Insert should have comment or be unexported (golint)
    • Line 87: warning: exported method GatewayOrgClientServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 106: warning: exported method GatewayOrgClientServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 122: warning: exported method GatewayOrgClientServiceImpl.GetById should have comment or be unexported (golint)
    • Line 137: warning: exported method GatewayOrgClientServiceImpl.DeleteById should have comment or be unexported (golint)
    • Line 148: warning: exported method GatewayOrgClientServiceImpl.CheckUnique should have comment or be unexported (golint)
    • erda/modules/pipeline/spec/pipeline_cms.go
    • Line 38: warning: exported method PipelineCmsNs.TableName should have comment or be unexported (golint)
    • Line 79: warning: exported type PipelineCmsConfigExtra should have comment or be unexported (golint)
    • Line 109: warning: exported method PipelineCmsConfig.TableName should have comment or be unexported (golint)
    • Line 113: warning: exported method PipelineCmsConfig.Equal should have comment or be unexported (golint)
    • erda/modules/dop/dao/testcase.go
    • Line 43: warning: exported type TestCaseStepAndResults should have comment or be unexported (golint)
    • Line 50: warning: exported method TestCaseStepAndResults.Value should have comment or be unexported (golint)
    • Line 53: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 57: warning: exported method TestCaseStepAndResults.Scan should have comment or be unexported (golint)
    • Line 84: warning: exported method DBClient.GetTestCaseByID should have comment or be unexported (golint)
    • Line 90: warning: exported method DBClient.ListTestCasesByIDs should have comment or be unexported (golint)
    • Line 113: warning: exported method DBClient.ListTestCasesByTestSetIDs should have comment or be unexported (golint)
    • Line 134: warning: exported method DBClient.BatchUpdateTestCases should have comment or be unexported (golint)
    • Line 156: warning: exported method DBClient.BatchCopyTestCases should have comment or be unexported (golint)
    • Line 187: warning: exported method DBClient.BatchDeleteTestCases should have comment or be unexported (golint)
    • erda/modules/monitor/apm/runtime/runtime.go
    • Line 29: warning: exported type Vo should have comment or be unexported (golint)
    • Line 37: warning: exported const ApplicationServiceNode should have comment (or a comment on this block) or be unexported (golint)
    • Line 93: warning: exported type Info should have comment or be unexported (golint)
    • erda/pkg/mock/time.go
    • Line 22: warning: exported const HourStampS should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: exported const TimeStamp should have comment (or a comment on this block) or be unexported (golint)
    • erda/modules/scheduler/impl/clusterinfo/query.go
    • Line 31: warning: exported type ClusterInfo should have comment or be unexported (golint)
    • Line 36: warning: exported type ClusterInfoImpl should have comment or be unexported (golint)
    • Line 40: warning: exported function NewClusterInfoImpl should have comment or be unexported (golint)
    • Line 44: warning: exported method ClusterInfoImpl.Info should have comment or be unexported (golint)
    • Line 57: warning: exported method ClusterInfoImpl.List should have comment or be unexported (golint)
    • erda/modules/soldier/mysql/mysql.go
    • Line 28: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 34: warning: exported type Request should have comment or be unexported (golint)
    • Line 44: warning: exported method Request.Addr should have comment or be unexported (golint)
    • Line 49: warning: exported method Request.DSN should have comment or be unexported (golint)
    • Line 54: warning: exported method Request.Exec should have comment or be unexported (golint)
    • Line 66: warning: exported function Init should have comment or be unexported (golint)
    • Line 87: warning: exported function Check should have comment or be unexported (golint)
    • Line 148: warning: exported function Exec should have comment or be unexported (golint)
    • Line 166: warning: exported function ExecFile should have comment or be unexported (golint)
    • erda/modules/monitor/core/metrics/metricq/metricmeta/metric_meta.go
    • Line 24: warning: exported type MetricMetaProvider should have comment or be unexported (golint)
    • Line 35: warning: exported method Manager.MetricNames should have comment or be unexported (golint)
    • Line 46: warning: exported method Manager.MetricMeta should have comment or be unexported (golint)
    • Line 64: warning: exported method Manager.GetSingleMetricsMeta should have comment or be unexported (golint)
    • Line 197: warning: exported method Manager.RegeistMetricMeta should have comment or be unexported (golint)
    • Line 201: warning: exported method Manager.UnregeistMetricMeta should have comment or be unexported (golint)
    • erda/pkg/storage/fs.go
    • Line 21: warning: exported type FS should have comment or be unexported (golint)
    • Line 23: warning: exported function NewFS should have comment or be unexported (golint)
    • Line 27: warning: exported method FS.Type should have comment or be unexported (golint)
    • Line 46: warning: exported method FS.Delete should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_default_policy_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayDefaultPolicyServiceImpl should have comment or be unexported (golint)
    • Line 30: warning: exported function NewGatewayDefaultPolicyServiceImpl should have comment or be unexported (golint)
    • Line 41: warning: exported method GatewayDefaultPolicyServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 64: warning: exported method GatewayDefaultPolicyServiceImpl.Insert should have comment or be unexported (golint)
    • Line 75: warning: exported method GatewayDefaultPolicyServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 94: warning: exported method GatewayDefaultPolicyServiceImpl.CreateOrUpdate should have comment or be unexported (golint)
    • Line 118: warning: exported method GatewayDefaultPolicyServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 134: warning: exported method GatewayDefaultPolicyServiceImpl.Update should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_ingress_policy_service.go
    • Line 21: warning: should not use dot imports (golint)
    • Line 28: warning: exported type GatewayIngressPolicyServiceImpl should have comment or be unexported (golint)
    • Line 34: warning: exported function NewGatewayIngressPolicyServiceImpl should have comment or be unexported (golint)
    • Line 45: warning: exported method GatewayIngressPolicyServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 68: warning: exported method GatewayIngressPolicyServiceImpl.CreateOrUpdate should have comment or be unexported (golint)
    • Line 92: warning: exported method GatewayIngressPolicyServiceImpl.Insert should have comment or be unexported (golint)
    • Line 103: warning: exported method GatewayIngressPolicyServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 122: warning: exported method GatewayIngressPolicyServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 138: warning: exported method GatewayIngressPolicyServiceImpl.Update should have comment or be unexported (golint)
    • Line 149: warning: exported method GatewayIngressPolicyServiceImpl.UpdatePartial should have comment or be unexported (golint)
    • Line 169: warning: exported method GatewayIngressPolicyServiceImpl.GetChangesByRegions should have comment or be unexported (golint)
    • Line 173: warning: exported method GatewayIngressPolicyServiceImpl.GetChangesByRegionsImpl should have comment or be unexported (golint)
    • erda/pkg/xmind/model.go
    • Line 16: warning: exported type Content should have comment or be unexported (golint)
    • Line 18: warning: exported type Sheet should have comment or be unexported (golint)
    • Line 22: warning: exported type Topic should have comment or be unexported (golint)
    • Line 27: warning: exported method Topic.GetFirstSubTopicTitle should have comment or be unexported (golint)
    • erda/modules/ecp/services/edge/configset_item.go
    • Line 28: warning: exported const ScopePublic should have comment (or a comment on this block) or be unexported (golint)
    • Line 243: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • erda/apistructs/registry.go
    • Line 45: warning: comment on exported type RegistryUserInfo should be of the form "RegistryUserInfo ..." (with optional leading article) (golint)
    • Line 49: warning: exported type RegistryAuthJson should have comment or be unexported (golint)
    • erda/modules/msp/apm/checker/task/fetcher/scheduled/schedule_storage.go
    • Line 38: warning: exported method IDSet.Put should have comment or be unexported (golint)
    • Line 39: warning: exported method IDSet.Contains should have comment or be unexported (golint)
    • Line 49: warning: comment on exported type RedisScheduleStorage should be of the form "RedisScheduleStorage ..." (with optional leading article) (golint)
    • Line 56: warning: exported method RedisScheduleStorage.Nodes should have comment or be unexported (golint)
    • Line 64: warning: exported method RedisScheduleStorage.NodesKeepAlive should have comment or be unexported (golint)
    • Line 75: warning: exported method RedisScheduleStorage.RemoveNode should have comment or be unexported (golint)
    • Line 79: warning: exported method RedisScheduleStorage.Get should have comment or be unexported (golint)
    • Line 94: warning: exported method RedisScheduleStorage.Add should have comment or be unexported (golint)
    • Line 98: warning: exported method RedisScheduleStorage.Del should have comment or be unexported (golint)
    • Line 102: warning: exported method RedisScheduleStorage.Foreach should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/cloud_resource_ecs.go
    • Line 34: warning: exported method Endpoints.ECSTrending should have comment or be unexported (golint)
    • Line 37: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 71: warning: exported method Endpoints.ListECS should have comment or be unexported (golint)
    • Line 103: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 180: warning: exported method Endpoints.StopECS should have comment or be unexported (golint)
    • Line 184: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 234: warning: exported method Endpoints.StartECS should have comment or be unexported (golint)
    • Line 238: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 288: warning: exported method Endpoints.RestartECS should have comment or be unexported (golint)
    • Line 292: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 342: warning: exported method Endpoints.AutoRenewECS should have comment or be unexported (golint)
    • Line 346: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • erda/modules/openapi/component-protocol/scenario_render.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 28: warning: exported type CompRenderSpec should have comment or be unexported (golint)
    • Line 37: warning: exported type RenderCreator should have comment or be unexported (golint)
    • Line 39: warning: exported type CompRender should have comment or be unexported (golint)
    • Line 43: warning: comment on exported type ScenarioRender should be of the form "ScenarioRender ..." (with optional leading article) (golint)
    • Line 46: warning: comment on exported var ScenarioRenders should be of the form "ScenarioRenders ..." (golint)
    • Line 49: warning: exported function Register should have comment or be unexported (golint)
    • Line 77: warning: exported function GetScenarioRenders should have comment or be unexported (golint)
    • Line 97: warning: exported function GetCompRender should have comment or be unexported (golint)
    • Line 119: warning: exported function GetScenarioKey should have comment or be unexported (golint)
    • Line 132: warning: comment on exported function EventConvert should be of the form "EventConvert ..." (golint)
    • Line 169: warning: exported function RunScenarioRender should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/outPutForm/render.go
    • Line 14: warning: don't use MixedCaps in package name; outPutForm should be outputform (golint)
    • Line 58: warning: exported method ComponentOutPutForm.RenderProtocol should have comment or be unexported (golint)
    • Line 79: warning: exported function GetOpsInfo should have comment or be unexported (golint)
    • Line 99: warning: exported method ComponentOutPutForm.GetInParams should have comment or be unexported (golint)
    • Line 115: warning: exported method ComponentOutPutForm.Render should have comment or be unexported (golint)
    • Line 163: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/scheduler/impl/terminal/terminal.go
    • Line 55: warning: exported type ContainerInfo should have comment or be unexported (golint)
    • Line 61: warning: exported type ContainerInfoArg should have comment or be unexported (golint)
    • Line 67: warning: exported function Terminal should have comment or be unexported (golint)
    • Line 239: warning: exported function K8STerminal should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/stages/stages.go
    • Line 23: warning: exported type MU should have comment or be unexported (golint)
    • Line 32: warning: exported function RenderStage should have comment or be unexported (golint)
    • Line 130: warning: exported method ComponentStageForm.RenderListStageForm should have comment or be unexported (golint)
    • Line 182: warning: exported method ComponentStageForm.RenderUpdateStagesForm should have comment or be unexported (golint)
    • Line 190: warning: exported method ComponentStageForm.RenderCopyStagesForm should have comment or be unexported (golint)
    • Line 205: warning: exported method ComponentStageForm.RenderCreateStagesForm should have comment or be unexported (golint)
    • Line 237: warning: exported method ComponentStageForm.RenderDeleteStagesForm should have comment or be unexported (golint)
    • Line 251: warning: exported method ComponentStageForm.RenderMoveStagesForm should have comment or be unexported (golint)
    • Line 285: warning: exported method ComponentStageForm.RenderSplitStagesForm should have comment or be unexported (golint)
    • erda/modules/pipeline/events/event_pipeline_stream.go
    • Line 33: warning: exported type PipelineStreamEvent should have comment or be unexported (golint)
    • Line 41: warning: exported method PipelineStreamEvent.Kind should have comment or be unexported (golint)
    • Line 45: warning: exported method PipelineStreamEvent.Header should have comment or be unexported (golint)
    • Line 49: warning: exported method PipelineStreamEvent.Sender should have comment or be unexported (golint)
    • Line 53: warning: exported method PipelineStreamEvent.Content should have comment or be unexported (golint)
    • Line 63: warning: exported method PipelineStreamEvent.HandleDB should have comment or be unexported (golint)
    • erda/pkg/dag/dag.go
    • Line 14: warning: package comment should be of the form "Package dag ..." (golint)
    • Line 53: warning: exported type Option should have comment or be unexported (golint)
    • Line 55: warning: exported function WithAllowMarkArbitraryNodesAsDone should have comment or be unexported (golint)
    • Line 61: warning: exported function WithAllowNotCheckCycle should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/resultPreviewData/render.go
    • Line 14: warning: don't use MixedCaps in package name; resultPreviewData should be resultpreviewdata (golint)
    • Line 27: warning: exported type ResultPreviewData should have comment or be unexported (golint)
    • Line 36: warning: exported type State should have comment or be unexported (golint)
    • Line 44: warning: exported const DefaultPageSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported type Operation should have comment or be unexported (golint)
    • Line 83: warning: exported method ResultPreviewData.Import should have comment or be unexported (golint)
    • Line 94: warning: exported method ResultPreviewData.Export should have comment or be unexported (golint)
    • Line 106: warning: exported method ResultPreviewData.Render should have comment or be unexported (golint)
    • Line 283: warning: receiver name e should be consistent with previous receiver name a for ResultPreviewData (golint)
    • Line 302: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/cloud_resource.go
    • Line 44: warning: comment on exported method Endpoints.CloudResourceSetTag should be of the form "CloudResourceSetTag ..." (golint)
    • Line 75: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 165: warning: exported method Endpoints.CloudResourceOverview should have comment or be unexported (golint)
    • Line 171: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 191: warning: exported method Endpoints.ListRegion should have comment or be unexported (golint)
    • Line 195: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 229: warning: exported method Endpoints.ListZone should have comment or be unexported (golint)
    • Line 234: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 338: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 353: warning: don't use underscores in Go names; method parameter ak_ctx should be akCtx (golint)
    • erda/modules/gittar/models/note.go
    • Line 29: warning: exported type NoteRequest should have comment or be unexported (golint)
    • Line 42: warning: exported const MAX_NOTE_DIFF_LINE_COUNT should have comment or be unexported (golint)
    • Line 45: warning: exported var NoteTypeNormal should have comment or be unexported (golint)
    • Line 69: warning: exported type NoteData should have comment or be unexported (golint)
    • Line 79: warning: exported method Service.CreateNote should have comment or be unexported (golint)
    • Line 97: warning: exported method Service.CreateDiscussionNote should have comment or be unexported (golint)
    • Line 202: warning: exported method Service.ReplyDiscussionNote should have comment or be unexported (golint)
    • Line 231: warning: exported method Service.CreateNormalNote should have comment or be unexported (golint)
    • Line 247: warning: exported method Service.QueryAllNotes should have comment or be unexported (golint)
    • Line 276: warning: exported method Service.QueryDiffNotes should have comment or be unexported (golint)
    • erda/modules/dop/dao/nexus_repository.go
    • Line 29: warning: exported type NexusRepository should have comment or be unexported (golint)
    • Line 42: warning: exported type NexusRepositoryConfig should have comment or be unexported (golint)
    • Line 44: warning: exported method NexusRepository.TableName should have comment or be unexported (golint)
    • Line 48: warning: exported method NexusRepositoryConfig.Value should have comment or be unexported (golint)
    • Line 51: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 55: warning: exported method NexusRepositoryConfig.Scan should have comment or be unexported (golint)
    • Line 72: warning: exported method DBClient.CreateOrUpdateNexusRepository should have comment or be unexported (golint)
    • Line 88: warning: exported method DBClient.GetNexusRepository should have comment or be unexported (golint)
    • Line 96: warning: exported method DBClient.GetNexusRepositoryByName should have comment or be unexported (golint)
    • Line 104: warning: exported method DBClient.ListNexusRepositories should have comment or be unexported (golint)
    • erda/modules/hepa/common/standard_result.go
    • Line 22: warning: exported type ErrInfo should have comment or be unexported (golint)
    • Line 28: warning: exported type StandardResult should have comment or be unexported (golint)
    • Line 34: warning: exported type StandaredReturnCode should have comment or be unexported (golint)
    • Line 39: warning: exported function NewStandardResult should have comment or be unexported (golint)
    • Line 47: warning: exported method StandardResult.SwitchLang should have comment or be unexported (golint)
    • Line 55: warning: exported method StandardResult.SetReturnCode should have comment or be unexported (golint)
    • Line 63: warning: exported method StandardResult.SetSuccessAndData should have comment or be unexported (golint)
    • Line 69: warning: exported method StandardResult.SetErrorInfo should have comment or be unexported (golint)
    • erda/pkg/database/sqlparser/migrator/scripts.go
    • Line 104: warning: exported method Scripts.Get should have comment or be unexported (golint)
    • Line 109: warning: exported method Scripts.Lint should have comment or be unexported (golint)
    • Line 116: warning: don't use underscores in Go names; range var script_ should be script (golint)
    • Line 140: warning: exported method Scripts.AlterPermissionLint should have comment or be unexported (golint)
    • Line 143: warning: don't use underscores in Go names; range var script_ should be script (golint)
    • Line 164: warning: exported method Scripts.MarkPending should have comment or be unexported (golint)
    • Line 184: warning: exported method Scripts.InstalledChangesLint should have comment or be unexported (golint)
    • Line 189: warning: don't use underscores in Go names; range var scripts_ should be scripts (golint)
    • Line 194: warning: don't use underscores in Go names; range var script_ should be script (golint)
    • Line 219: warning: don't use underscores in Go names; range var scripts_ should be scripts (golint)
    • Line 220: warning: don't use underscores in Go names; range var script_ should be script (golint)
    • Line 224: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 232: warning: exported method Scripts.HasDestructiveOperationInPending should have comment or be unexported (golint)
    • erda/apistructs/domain.go
    • Line 41: warning: exported type Domain should have comment or be unexported (golint)
    • Line 51: warning: exported type DomainGroup should have comment or be unexported (golint)
    • erda/pkg/schedule/schedulepolicy/policy_test.go
    • Line 71: warning: don't use underscores in Go names; var refinedConfigs_ should be refinedConfigs (golint)
    • Line 372: warning: don't use underscores in Go names; var refinedConfigs_ should be refinedConfigs (golint)
    • Line 390: warning: don't use underscores in Go names; var cpu_subscribe_ratio should be cpuSubscribeRatio (golint)
    • Line 450: warning: don't use underscores in Go names; var refinedConfigs_ should be refinedConfigs (golint)
    • Line 477: warning: don't use underscores in Go names; var cpu_subscribe_ratio should be cpuSubscribeRatio (golint)
    • Line 536: warning: don't use underscores in Go names; var refinedConfigs_ should be refinedConfigs (golint)
    • Line 887: warning: don't use underscores in Go names; var refinedConfigs_ should be refinedConfigs (golint)
    • Line 908: warning: don't use underscores in Go names; var cpu_subscribe_ratio should be cpuSubscribeRatio (golint)
    • erda/modules/scheduler/impl/instanceinfo/components.go
    • Line 22: warning: exported type ComponentInfo should have comment or be unexported (golint)
    • Line 26: warning: exported type ComponentInfoImpl should have comment or be unexported (golint)
    • Line 30: warning: exported function NewComponentInfoImpl should have comment or be unexported (golint)
    • Line 36: warning: exported method ComponentInfoImpl.Get should have comment or be unexported (golint)
    • erda/modules/dop/services/autotest_v2/sceneset.go
    • Line 22: warning: exported const MAX_SIZE should have comment or be unexported (golint)
    • Line 24: warning: exported method Service.CreateSceneSet should have comment or be unexported (golint)
    • Line 54: warning: exported method Service.GetSceneSetsBySpaceID should have comment or be unexported (golint)
    • Line 82: warning: exported method Service.UpdateSceneSet should have comment or be unexported (golint)
    • Line 103: warning: exported method Service.GetSceneSet should have comment or be unexported (golint)
    • erda/apistructs/cloud_resource.go
    • Line 25: warning: comment on exported type InstallStatus should be of the form "InstallStatus ..." (with optional leading article) (golint)
    • Line 29: warning: exported const InstallInit should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: comment on exported type CloudResourceConfig should be of the form "CloudResourceConfig ..." (with optional leading article) (golint)
    • Line 52: warning: comment on exported type CloudResourceVPC should be of the form "CloudResourceVPC ..." (with optional leading article) (golint)
    • Line 59: warning: comment on exported type CloudResourceVSwitch should be of the form "CloudResourceVSwitch ..." (with optional leading article) (golint)
    • Line 67: warning: comment on exported type CloudResourceECS should be of the form "CloudResourceECS ..." (with optional leading article) (golint)
    • Line 91: warning: comment on exported type CloudResourceSLB should be of the form "CloudResourceSLB ..." (with optional leading article) (golint)
    • Line 101: warning: comment on exported type CloudResourceNAS should be of the form "CloudResourceNAS ..." (with optional leading article) (golint)
    • Line 109: warning: comment on exported type CloudResourceDNAT should be of the form "CloudResourceDNAT ..." (with optional leading article) (golint)
    • Line 120: warning: comment on exported type CloudResourceNAT should be of the form "CloudResourceNAT ..." (with optional leading article) (golint)
    • Line 131: warning: comment on exported type CloudResourceEIP should be of the form "CloudResourceEIP ..." (with optional leading article) (golint)
    • Line 140: warning: comment on exported type CloudResourceInventory should be of the form "CloudResourceInventory ..." (with optional leading article) (golint)
    • Line 151: warning: comment on exported type CloudResourceConfigJSON should be of the form "CloudResourceConfigJSON ..." (with optional leading article) (golint)
    • Line 159: warning: comment on exported type CloudResourceInfo should be of the form "CloudResourceInfo ..." (with optional leading article) (golint)
    • Line 181: warning: comment on exported type CloudResourceCreateResponse should be of the form "CloudResourceCreateResponse ..." (with optional leading article) (golint)
    • Line 187: warning: comment on exported type CloudResourceDestroyResponse should be of the form "CloudResourceDestroyResponse ..." (with optional leading article) (golint)
    • Line 193: warning: comment on exported type CloudResourceGetResponse should be of the form "CloudResourceGetResponse ..." (with optional leading article) (golint)
    • Line 199: warning: comment on exported type CloudAddonCreateResp should be of the form "CloudAddonCreateResp ..." (with optional leading article) (golint)
    • erda/modules/cmp/endpoints/common.go
    • Line 32: warning: comment on exported method Endpoints.PermissionCheck should be of the form "PermissionCheck ..." (golint)
    • Line 46: warning: exported method Endpoints.OrgPermCheck should have comment or be unexported (golint)
    • Line 70: warning: exported method Endpoints.IsManager should have comment or be unexported (golint)
    • Line 92: warning: comment on exported method Endpoints.InitRecord should be of the form "InitRecord ..." (golint)
    • Line 140: warning: exported method Endpoints.GetVpcInfoByCluster should have comment or be unexported (golint)
    • Line 140: warning: don't use underscores in Go names; method parameter ak_ctx should be akCtx (golint)
    • Line 168: warning: exported method Endpoints.GetIdentity should have comment or be unexported (golint)
    • Line 193: warning: exported method Endpoints.CreateAddonCheck should have comment or be unexported (golint)
    • erda/tools/cli/command/root_cmd.go
    • Line 53: warning: comment on exported var RootCmd should be of the form "RootCmd ..." (golint)
    • Line 109: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • erda/modules/dop/services/permission/permission.go
    • Line 28: warning: exported type Permission should have comment or be unexported (golint)
    • Line 33: warning: exported type Option should have comment or be unexported (golint)
    • Line 45: warning: exported function WithBundle should have comment or be unexported (golint)
    • Line 51: warning: exported function WithBranchRule should have comment or be unexported (golint)
    • Line 96: warning: comment on exported method Permission.CheckBranchAction should be of the form "CheckBranchAction ..." (golint)
    • Line 127: warning: exported method Permission.CheckRuntimeBranch should have comment or be unexported (golint)
    • erda/modules/ecp/services/edge/addon_mysql_edge.go
    • Line 39: warning: exported const MasterTag should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported method Edge.CreateEdgeMysql should have comment or be unexported (golint)
    • Line 326: warning: exported method Edge.UpdateEdgeMysql should have comment or be unexported (golint)
    • Line 428: warning: exported method Edge.GetEdgeMysqlStatus should have comment or be unexported (golint)
    • Line 474: warning: exported method Edge.DeleteEdgeMysql should have comment or be unexported (golint)
    • Line 518: warning: exported method Edge.RestartEdgeMysql should have comment or be unexported (golint)
    • Line 557: warning: exported method Edge.OfflineEdgeMysql should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/project-list-my/components/list/list.go
    • Line 27: warning: exported function GetOpsInfo should have comment or be unexported (golint)
    • Line 47: warning: exported function RenItem should have comment or be unexported (golint)
    • Line 153: warning: exported method ComponentList.RenderList should have comment or be unexported (golint)
    • Line 196: warning: exported method ComponentList.RenderExist should have comment or be unexported (golint)
    • Line 212: warning: exported method ComponentList.RenderChangePageSize should have comment or be unexported (golint)
    • Line 222: warning: exported method ComponentList.RenderChangePageNo should have comment or be unexported (golint)
    • Line 231: warning: exported function CountActiveTime should have comment or be unexported (golint)
    • Line 257: warning: exported method ComponentList.CheckVisible should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/tabExecuteButton/executeButton.go
    • Line 14: warning: don't use MixedCaps in package name; tabExecuteButton should be tabexecutebutton (golint)
    • Line 28: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 35: warning: exported method ComponentAction.SetBundle should have comment or be unexported (golint)
    • Line 98: warning: exported type State should have comment or be unexported (golint)
    • Line 105: warning: exported type ClientMetaData should have comment or be unexported (golint)
    • Line 111: warning: exported type Props should have comment or be unexported (golint)
    • Line 117: warning: exported type Menu should have comment or be unexported (golint)
    • Line 123: warning: exported type ClickOperation should have comment or be unexported (golint)
    • Line 129: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 129: warning: receiver name ca should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 277: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8sjob/types.go
    • Line 20: warning: comment on exported type KubeJob should be of the form "KubeJob ..." (with optional leading article) (golint)
    • Line 29: warning: comment on exported type KubeJobList should be of the form "KubeJobList ..." (with optional leading article) (golint)
    • Line 38: warning: exported type ObjectMeta should have comment or be unexported (golint)
    • Line 112: warning: exported type PodTemplateSpec should have comment or be unexported (golint)
    • Line 117: warning: exported type PodSpec should have comment or be unexported (golint)
    • Line 123: warning: exported type Container should have comment or be unexported (golint)
    • Line 133: warning: exported type Resources should have comment or be unexported (golint)
    • Line 138: warning: exported type Requests should have comment or be unexported (golint)
    • Line 144: warning: exported type Limits should have comment or be unexported (golint)
    • Line 220: warning: exported type URIScheme should have comment or be unexported (golint)
    • Line 271: warning: comment on exported type HostPathVolumeSource should be of the form "HostPathVolumeSource ..." (with optional leading article) (golint)
    • Line 311: warning: exported type JobConditionType should have comment or be unexported (golint)
    • Line 341: warning: exported type ConditionStatus should have comment or be unexported (golint)
    • Line 353: warning: comment on exported type LabelSelector should be of the form "LabelSelector ..." (with optional leading article) (golint)
    • Line 367: warning: comment on exported type LabelSelectorRequirement should be of the form "LabelSelectorRequirement ..." (with optional leading article) (golint)
    • Line 385: warning: comment on exported type LabelSelectorOperator should be of the form "LabelSelectorOperator ..." (with optional leading article) (golint)
    • Line 389: warning: exported const LabelSelectorOpIn should have comment (or a comment on this block) or be unexported (golint)
    • Line 395: warning: exported type RestartPolicy should have comment or be unexported (golint)
    • Line 398: warning: exported const RestartPolicyAlways should have comment (or a comment on this block) or be unexported (golint)
    • Line 403: warning: exported type Time should have comment or be unexported (golint)
    • Line 407: warning: exported type CascadingDeleteOptions should have comment or be unexported (golint)
    • erda/modules/dop/dao/autotest_filetree_extras.go
    • Line 30: warning: exported type AutoTestFileTreeNodeMeta should have comment or be unexported (golint)
    • Line 38: warning: exported method AutoTestFileTreeNodeMeta.TableName should have comment or be unexported (golint)
    • Line 45: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 68: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 89: warning: exported method DBClient.CreateAutoTestFileTreeNodeMeta should have comment or be unexported (golint)
    • Line 93: warning: exported method DBClient.GetAutoTestFileTreeNodeMetaByInode should have comment or be unexported (golint)
    • Line 112: warning: exported method DBClient.CreateOrUpdateAutoTestFileTreeNodeMetaPipelineYmlAndSnippetObjByInode should have comment or be unexported (golint)
    • Line 131: warning: exported method DBClient.CreateOrUpdateAutoTestFileTreeNodeMetaAddExtraByInode should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/executeTaskBreadcrumb/render.go
    • Line 14: warning: don't use MixedCaps in package name; executeTaskBreadcrumb should be executetaskbreadcrumb (golint)
    • Line 28: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 45: warning: exported type Breadcrumb should have comment or be unexported (golint)
    • Line 50: warning: exported method ComponentAction.Import should have comment or be unexported (golint)
    • Line 61: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 193: warning: receiver name ca should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 210: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/notify-config/components/notifyTitle/render.go
    • Line 14: warning: don't use MixedCaps in package name; notifyTitle should be notifytitle (golint)
    • Line 26: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 30: warning: exported type NotifyTitle should have comment or be unexported (golint)
    • Line 35: warning: exported type Props should have comment or be unexported (golint)
    • Line 39: warning: exported function RenderCreator should have comment or be unexported (golint)
    • Line 43: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 59: warning: exported method ComponentAction.Import should have comment or be unexported (golint)
    • erda/modules/dicehub/dbclient/publish_item_version.go
    • Line 80: warning: exported method PublishItemVersion.ToApiData should have comment or be unexported (golint)
    • Line 117: warning: exported method DBClient.GetPublishItemVersion should have comment or be unexported (golint)
    • Line 126: warning: exported method DBClient.GetPublishItemVersionByName should have comment or be unexported (golint)
    • Line 146: warning: exported method DBClient.ListPublishItemVersionByNames should have comment or be unexported (golint)
    • Line 156: warning: exported method DBClient.CreatePublishItemVersion should have comment or be unexported (golint)
    • Line 160: warning: exported method DBClient.UpdatePublishItemVersion should have comment or be unexported (golint)
    • Line 164: warning: exported method DBClient.DeletePublishItemVersion should have comment or be unexported (golint)
    • Line 168: warning: exported method DBClient.SetPublishItemVersionDefault should have comment or be unexported (golint)
    • Line 180: warning: exported method DBClient.SetPublishItemVersionPublic should have comment or be unexported (golint)
    • Line 186: warning: exported method DBClient.SetPublishItemVersionUnPublic should have comment or be unexported (golint)
    • Line 192: warning: exported method DBClient.DeletePublishItemVersionsByItemID should have comment or be unexported (golint)
    • Line 196: warning: exported method DBClient.QueryPublishItemVersions should have comment or be unexported (golint)
    • erda/apistructs/monitor.go
    • Line 16: warning: comment on exported type GetMonitorAlertResponse should be of the form "GetMonitorAlertResponse ..." (with optional leading article) (golint)
    • Line 40: warning: comment on exported type ReportTask should be of the form "ReportTask ..." (with optional leading article) (golint)
    • erda/pkg/parser/diceyml/compatible_expose_visitor.go
    • Line 16: warning: exported type CompatibleExposeVisitor should have comment or be unexported (golint)
    • Line 20: warning: exported function NewCompatibleExposeVisitor should have comment or be unexported (golint)
    • Line 24: warning: exported method CompatibleExposeVisitor.VisitServices should have comment or be unexported (golint)
    • Line 32: warning: exported function CompatibleExpose should have comment or be unexported (golint)
    • erda/modules/orchestrator/services/addon/addon.go
    • Line 119: warning: exported method Addon.ExportLogInfo should have comment or be unexported (golint)
    • Line 135: warning: exported method Addon.ExportLogInfoDetail should have comment or be unexported (golint)
    • Line 611: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 752: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 945: warning: exported method Addon.GetAddonTenantConfig should have comment or be unexported (golint)
    • Line 976: warning: exported method Addon.GetAddonConfig should have comment or be unexported (golint)
    • Line 1139: warning: exported method Addon.GetTenant should have comment or be unexported (golint)
    • Line 1347: warning: exported method Addon.DeleteTenant should have comment or be unexported (golint)
    • Line 1829: warning: exported method Addon.BuildAddonAndTenantMap should have comment or be unexported (golint)
    • Line 1856: warning: exported method Addon.ListByDiceymlEnvs should have comment or be unexported (golint)
    • Line 1856: warning: don't use underscores in Go names; method parameter diceyml_s should be diceymlS (golint)
    • Line 2071: warning: comment on exported method Addon.ListAvailable should be of the form "ListAvailable ..." (golint)
    • Line 2358: warning: don't use underscores in Go names; var addon_attachments should be addonAttachments (golint)
    • Line 2362: warning: don't use underscores in Go names; var tenant_attachments should be tenantAttachments (golint)
    • Line 2815: warning: comment on exported method Addon.StructToMap should be of the form "StructToMap ..." (golint)
    • Line 2839: warning: don't use underscores in Go names; var v_struct should be vStruct (golint)
    • Line 2840: warning: don't use underscores in Go names; var v_struct_ptr should be vStructPtr (golint)
    • Line 2871: warning: don't use underscores in Go names; var v_struct should be vStruct (golint)
    • Line 2872: warning: don't use underscores in Go names; var v_struct_ptr should be vStructPtr (golint)
    • Line 3043: warning: exported method Addon.ListInstanceByRuntime should have comment or be unexported (golint)
    • Line 3307: warning: exported method Addon.AddonYmlExport should have comment or be unexported (golint)
    • Line 3308: warning: don't use underscores in Go names; var projectID_int should be projectIDInt (golint)
    • Line 3336: warning: exported method Addon.AddonYmlImport should have comment or be unexported (golint)
    • Line 3371: warning: exported method Addon.ListAddonInstanceByOrg should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/default_value_visitor.go
    • Line 14: warning: package comment should be of the form "Package diceyml ..." (golint)
    • Line 17: warning: exported type DefaultValueVisitor should have comment or be unexported (golint)
    • Line 21: warning: exported function NewDefaultValueVisitor should have comment or be unexported (golint)
    • Line 25: warning: exported method DefaultValueVisitor.VisitResources should have comment or be unexported (golint)
    • Line 34: warning: exported function SetDefaultValue should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/pipelineymlv1/task.go
    • Line 25: warning: exported type CustomTask should have comment or be unexported (golint)
    • Line 39: warning: exported type Config should have comment or be unexported (golint)
    • Line 47: warning: exported type ImageResource should have comment or be unexported (golint)
    • Line 52: warning: exported type Run should have comment or be unexported (golint)
    • Line 57: warning: exported method CustomTask.GetCustomTaskRunPathArgs should have comment or be unexported (golint)
    • Line 61: warning: exported method CustomTask.GetTimeout should have comment or be unexported (golint)
    • Line 65: warning: exported method CustomTask.GetStatus should have comment or be unexported (golint)
    • Line 69: warning: exported method CustomTask.SetStatus should have comment or be unexported (golint)
    • Line 73: warning: exported method CustomTask.GetTaskParams should have comment or be unexported (golint)
    • Line 77: warning: exported method CustomTask.GetVersion should have comment or be unexported (golint)
    • Line 81: warning: exported method CustomTask.GetTaskConfig should have comment or be unexported (golint)
    • Line 85: warning: exported method CustomTask.GetResource should have comment or be unexported (golint)
    • Line 89: warning: exported method CustomTask.IsDisable should have comment or be unexported (golint)
    • Line 96: warning: exported method CustomTask.IsPause should have comment or be unexported (golint)
    • Line 103: warning: exported method CustomTask.IsResourceTask should have comment or be unexported (golint)
    • Line 107: warning: exported method CustomTask.GetResourceType should have comment or be unexported (golint)
    • Line 111: warning: exported method CustomTask.GetEnvs should have comment or be unexported (golint)
    • Line 115: warning: exported method CustomTask.RequiredContext should have comment or be unexported (golint)
    • Line 123: warning: exported method CustomTask.OutputToContext should have comment or be unexported (golint)
    • Line 131: warning: exported method CustomTask.Name should have comment or be unexported (golint)
    • Line 135: warning: exported method CustomTask.Type should have comment or be unexported (golint)
    • Line 139: warning: exported type TaskInputConfig should have comment or be unexported (golint)
    • Line 145: warning: exported type TaskOutputConfig should have comment or be unexported (golint)
    • Line 150: warning: exported method CustomTask.Resources should have comment or be unexported (golint)
    • Line 158: warning: exported method CustomTask.Validate should have comment or be unexported (golint)
    • erda/modules/dop/services/autotest_v2/space_data.go
    • Line 35: warning: exported type AutoTestSpaceData should have comment or be unexported (golint)
    • Line 66: warning: exported type AutoTestSpaceDirector should have comment or be unexported (golint)
    • Line 70: warning: exported method AutoTestSpaceDirector.New should have comment or be unexported (golint)
    • Line 400: warning: exported method AutoTestSpaceData.CreateNewSpace should have comment or be unexported (golint)
    • Line 422: warning: exported method AutoTestSpaceData.Copy should have comment or be unexported (golint)
    • Line 495: warning: exported method AutoTestSpaceData.CopySceneSets should have comment or be unexported (golint)
    • Line 516: warning: exported method AutoTestSpaceData.CopyScenes should have comment or be unexported (golint)
    • Line 552: warning: exported method AutoTestSpaceData.CopyInputs should have comment or be unexported (golint)
    • Line 576: warning: exported method AutoTestSpaceData.CopyOutputs should have comment or be unexported (golint)
    • Line 599: warning: exported method AutoTestSpaceData.CopySceneSteps should have comment or be unexported (golint)
    • erda/apistructs/scope.go
    • Line 16: warning: exported type ScopeType should have comment or be unexported (golint)
    • Line 17: warning: exported type PublisherType should have comment or be unexported (golint)
    • Line 28: warning: comment on exported const PublisherScope should be of the form "PublisherScope ..." (golint)
    • Line 32: warning: comment on exported const SupportID should be of the form "SupportID ..." (golint)
    • erda/pkg/swagger/oasconv/oasconv.go
    • Line 27: warning: exported const OAS2JSON should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type Protocol should have comment or be unexported (golint)
    • Line 39: warning: exported function OAS3ConvTo2 should have comment or be unexported (golint)
    • Line 47: warning: exported function OAS2ConvTo3 should have comment or be unexported (golint)
    • erda/modules/pkg/websocket/ws.go
    • Line 29: warning: exported type Command should have comment or be unexported (golint)
    • Line 32: warning: exported const Attach should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported type Protocol should have comment or be unexported (golint)
    • Line 41: warning: exported type Event should have comment or be unexported (golint)
    • Line 52: warning: exported type Manager should have comment or be unexported (golint)
    • Line 70: warning: exported function New should have comment or be unexported (golint)
    • Line 97: warning: exported method Manager.Start should have comment or be unexported (golint)
    • Line 159: warning: exported method Manager.Stop should have comment or be unexported (golint)
    • Line 164: warning: exported method Manager.Handle should have comment or be unexported (golint)
    • erda/modules/dicehub/endpoints/extention.go
    • Line 92: warning: comment on exported method Endpoints.QueryExtensionsMenu should be of the form "QueryExtensionsMenu ..." (golint)
    • Line 213: warning: exported type MenuItem should have comment or be unexported (golint)
    • Line 296: warning: exported type MenuMap should have comment or be unexported (golint)
    • Line 298: warning: exported type SortMapNode should have comment or be unexported (golint)
    • Line 303: warning: exported method MenuMap.Put should have comment or be unexported (golint)
    • Line 313: warning: exported method MenuMap.Get should have comment or be unexported (golint)
    • Line 326: warning: exported method MenuMap.MarshalJSON should have comment or be unexported (golint)
    • Line 331: warning: exported method MenuMap.ToSortedMapJson should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/dto/api_auth_resp_dto.go
    • Line 20: warning: exported type ApiAuthData should have comment or be unexported (golint)
    • Line 24: warning: exported type ApiAuthErr should have comment or be unexported (golint)
    • Line 29: warning: exported type ApiAuthRespDto should have comment or be unexported (golint)
    • Line 35: warning: exported method ApiAuthRespDto.HasPermission should have comment or be unexported (golint)
    • erda/pkg/http/customhttp/request.go
    • Line 29: warning: exported var ErrAddrMiss should have comment or be unexported (golint)
    • Line 33: warning: exported type Error should have comment or be unexported (golint)
    • Line 55: warning: comment on exported function SetInetAddr should be of the form "SetInetAddr ..." (golint)
    • Line 98: warning: exported function NewRequest should have comment or be unexported (golint)
    • erda/modules/eventbox/server/types/types.go
    • Line 21: warning: exported type Responser should have comment or be unexported (golint)
    • Line 27: warning: exported type Endpoint should have comment or be unexported (golint)
    • Line 33: warning: exported type ErrorResponse should have comment or be unexported (golint)
    • Line 39: warning: exported type HTTPResponse should have comment or be unexported (golint)
    • Line 47: warning: exported method HTTPResponse.GetStatus should have comment or be unexported (golint)
    • Line 53: warning: exported method HTTPResponse.Raw should have comment or be unexported (golint)
    • Line 56: warning: exported method HTTPResponse.GetContent should have comment or be unexported (golint)
    • Line 75: warning: exported function ErrorResp should have comment or be unexported (golint)
    • erda/modules/hepa/apipolicy/policies/ip/policy.go
    • Line 28: warning: exported type Policy should have comment or be unexported (golint)
    • Line 32: warning: exported method Policy.CreateDefaultConfig should have comment or be unexported (golint)
    • Line 41: warning: error should be the last type when returning multiple items (golint)
    • Line 41: warning: exported method Policy.UnmarshalConfig should have comment or be unexported (golint)
    • Line 54: warning: exported method Policy.ParseConfig should have comment or be unexported (golint)
    • erda/apistructs/component_protocol.go
    • Line 16: warning: comment on exported type ComponentProtocol should be of the form "ComponentProtocol ..." (with optional leading article) (golint)
    • Line 26: warning: exported type GlobalStateData should have comment or be unexported (golint)
    • Line 28: warning: comment on exported type Hierarchy should be of the form "Hierarchy ..." (with optional leading article) (golint)
    • Line 36: warning: exported type Component should have comment or be unexported (golint)
    • Line 52: warning: exported type ComponentData should have comment or be unexported (golint)
    • Line 54: warning: exported type ComponentOps should have comment or be unexported (golint)
    • Line 56: warning: exported type Operation should have comment or be unexported (golint)
    • Line 63: warning: exported type RendingItem should have comment or be unexported (golint)
    • Line 68: warning: exported type RendingState should have comment or be unexported (golint)
    • Line 73: warning: exported type ComponentRenderCtx should have comment or be unexported (golint)
    • Line 75: warning: comment on exported type ComponentProtocolRequest should be of the form "ComponentProtocolRequest ..." (with optional leading article) (golint)
    • Line 87: warning: exported type ComponentProtocolScenario should have comment or be unexported (golint)
    • Line 94: warning: exported type ComponentEvent should have comment or be unexported (golint)
    • Line 100: warning: exported type OperationKey should have comment or be unexported (golint)
    • Line 107: warning: comment on exported const InitializeOperation should be of the form "InitializeOperation ..." (golint)
    • Line 110: warning: comment on exported const RenderingOperation should be of the form "RenderingOperation ..." (golint)
    • Line 112: warning: comment on exported const DefaultOperation should be of the form "DefaultOperation ..." (golint)
    • Line 114: warning: exported const ChangeOperation should have comment (or a comment on this block) or be unexported (golint)
    • Line 123: warning: comment on exported const MoveOutOperation should be of the form "MoveOutOperation ..." (golint)
    • Line 138: warning: comment on exported const FileTreeSubmitOperationKey should be of the form "FileTreeSubmitOperationKey ..." (golint)
    • Line 142: warning: comment on exported const AutoTestSpaceCreateOperationKey should be of the form "AutoTestSpaceCreateOperationKey ..." (golint)
    • Line 152: warning: comment on exported const AutoTestSceneListOperationKey should be of the form "AutoTestSceneListOperationKey ..." (golint)
    • Line 154: warning: comment on exported const AutoTestSceneInputUpdateOperationKey should be of the form "AutoTestSceneInputUpdateOperationKey ..." (golint)
    • Line 157: warning: comment on exported const AutoTestSceneOutputUpdateOperationKey should be of the form "AutoTestSceneOutputUpdateOperationKey ..." (golint)
    • Line 159: warning: comment on exported const AutoTestSceneStepCreateOperationKey should be of the form "AutoTestSceneStepCreateOperationKey ..." (golint)
    • Line 167: warning: comment on exported const ListSceneSetOperationKey should be of the form "ListSceneSetOperationKey ..." (golint)
    • Line 183: warning: comment on exported const AutoTestPlanStageDeleteOperationKey should be of the form "AutoTestPlanStageDeleteOperationKey ..." (golint)
    • Line 186: warning: comment on exported const AutoTestFolderDetailDeleteOperationKey should be of the form "AutoTestFolderDetailDeleteOperationKey ..." (golint)
    • Line 193: warning: comment on exported const ExecuteChangePageNoOperationKey should be of the form "ExecuteChangePageNoOperationKey ..." (golint)
    • Line 199: warning: comment on exported const FilterOrgsOperationKey should be of the form "FilterOrgsOperationKey ..." (golint)
    • Line 206: warning: comment on exported const ListProjectToManageOperationKey should be of the form "ListProjectToManageOperationKey ..." (golint)
    • Line 212: warning: comment on exported const NotifySubmit should be of the form "NotifySubmit ..." (golint)
    • Line 218: warning: comment on exported const SubmitOrgOperationKey should be of the form "SubmitOrgOperationKey ..." (golint)
    • Line 222: warning: exported type ComponentProtocolParams should have comment or be unexported (golint)
    • Line 224: warning: comment on exported type ComponentProtocolResponse should be of the form "ComponentProtocolResponse ..." (with optional leading article) (golint)
    • Line 232: warning: exported type ComponentProtocolResponseData should have comment or be unexported (golint)
    • Line 238: warning: exported type ComponentProtocolDebugOptions should have comment or be unexported (golint)
    • erda/pkg/jsonstore/etcd/etcd.go
    • Line 64: warning: exported type Option should have comment or be unexported (golint)
    • Line 68: warning: exported type OpOption should have comment or be unexported (golint)
    • Line 70: warning: exported function WithEndpoints should have comment or be unexported (golint)
    • erda/apistructs/pipeline.go
    • Line 28: warning: exported const DefaultPipelineYmlName should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: comment on exported const PipelinePageListRequestIdColumn should be of the form "PipelinePageListRequestIdColumn ..." (golint)
    • Line 36: warning: exported type PipelineCreateRequest should have comment or be unexported (golint)
    • Line 50: warning: exported type PipelineRunParam should have comment or be unexported (golint)
    • Line 55: warning: exported type PipelineRunParamWithValue should have comment or be unexported (golint)
    • Line 59: warning: exported type PipelineRunParamsWithValue should have comment or be unexported (golint)
    • Line 61: warning: exported method PipelineRunParamsWithValue.ToPipelineRunParams should have comment or be unexported (golint)
    • Line 154: warning: exported type PipelineRunParams should have comment or be unexported (golint)
    • Line 156: warning: exported method PipelineRunParams.ToPipelineRunParamsWithValue should have comment or be unexported (golint)
    • Line 164: warning: comment on exported type PipelineGC should be of the form "PipelineGC ..." (with optional leading article) (golint)
    • Line 204: warning: exported type PipelineCreateResponse should have comment or be unexported (golint)
    • Line 211: warning: exported type PipelineBatchCreateRequest should have comment or be unexported (golint)
    • Line 222: warning: exported type PipelineBatchCreateResponse should have comment or be unexported (golint)
    • Line 227: warning: comment on exported type PipelineDetailRequest should be of the form "PipelineDetailRequest ..." (with optional leading article) (golint)
    • Line 233: warning: comment on exported type PipelineDetailResponse should be of the form "PipelineDetailResponse ..." (with optional leading article) (golint)
    • Line 239: warning: comment on exported type PipelinePageListRequest should be of the form "PipelinePageListRequest ..." (with optional leading article) (golint)
    • Line 329: warning: exported method PipelinePageListRequest.PostHandleQueryString should have comment or be unexported (golint)
    • Line 453: warning: exported type PipelinePageListResponse should have comment or be unexported (golint)
    • Line 458: warning: exported type PipelinePageListData should have comment or be unexported (golint)
    • Line 466: warning: exported type PipelineRunRequest should have comment or be unexported (golint)
    • Line 473: warning: exported type PipelineRunResponse should have comment or be unexported (golint)
    • Line 477: warning: comment on exported type PipelineCancelRequest should be of the form "PipelineCancelRequest ..." (with optional leading article) (golint)
    • Line 483: warning: exported type PipelineCancelResponse should have comment or be unexported (golint)
    • Line 487: warning: comment on exported type PipelineRerunRequest should be of the form "PipelineRerunRequest ..." (with optional leading article) (golint)
    • Line 494: warning: exported type PipelineRerunResponse should have comment or be unexported (golint)
    • Line 501: warning: exported type PipelineRerunFailedRequest should have comment or be unexported (golint)
    • Line 507: warning: exported type PipelineRerunFailedResponse should have comment or be unexported (golint)
    • Line 514: warning: exported type PipelineCronListResponse should have comment or be unexported (golint)
    • Line 519: warning: exported type PipelineCronStartResponse should have comment or be unexported (golint)
    • Line 524: warning: exported type PipelineCronStopResponse should have comment or be unexported (golint)
    • Line 531: warning: exported type PipelineGetBranchRuleResponse should have comment or be unexported (golint)
    • Line 536: warning: exported type PipelineOperateRequest should have comment or be unexported (golint)
    • Line 540: warning: exported type PipelineTaskOperateRequest should have comment or be unexported (golint)
    • Line 546: warning: exported type PipelineOperateResponse should have comment or be unexported (golint)
    • Line 550: warning: exported type PipelineConfigNamespacesFetchResponse should have comment or be unexported (golint)
    • Line 555: warning: exported type PipelineConfigNamespaceResponseData should have comment or be unexported (golint)
    • Line 559: warning: exported type PipelineConfigNamespaceItem should have comment or be unexported (golint)
    • Line 567: warning: exported type PipelineAppInvokedBranchesResponse should have comment or be unexported (golint)
    • Line 572: warning: exported type ValidBranch should have comment or be unexported (golint)
    • Line 583: warning: exported method ValidBranch.GetPermissionResource should have comment or be unexported (golint)
    • Line 591: warning: exported type PipelineAppAllValidBranchWorkspaceResponse should have comment or be unexported (golint)
    • Line 596: warning: exported type PipelineCallbackRequest should have comment or be unexported (golint)
    • Line 601: warning: exported type PipelineCallbackResponse should have comment or be unexported (golint)
    • Line 605: warning: exported type PipelineCallbackType should have comment or be unexported (golint)
    • Line 608: warning: exported var PipelineCallbackTypeOfAction should have comment or be unexported (golint)
    • Line 615: warning: exported type PipelineInvokedComboRequest should have comment or be unexported (golint)
    • Line 629: warning: exported type PipelineInvokedComboResponse should have comment or be unexported (golint)
    • Line 634: warning: exported type PipelineInvokedCombo should have comment or be unexported (golint)
    • Line 669: warning: exported type PipelineDeleteResponse should have comment or be unexported (golint)
    • Line 673: warning: exported type PipelineCronGetResponse should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/dto/runtime_service_req_dto.go
    • Line 21: warning: exported const EDT_CUSTOM should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported type EndpointDomainDto should have comment or be unexported (golint)
    • Line 30: warning: exported type ServiceDetailDto should have comment or be unexported (golint)
    • Line 36: warning: exported type RuntimeServiceReqDto should have comment or be unexported (golint)
    • Line 53: warning: exported method EndpointDomainDto.CheckValid should have comment or be unexported (golint)
    • Line 63: warning: exported method ServiceDetailDto.CheckValid should have comment or be unexported (golint)
    • Line 76: warning: exported method RuntimeServiceReqDto.CheckValid should have comment or be unexported (golint)
    • erda/bundle/notify.go
    • Line 24: warning: exported method Bundle.NotifyList should have comment or be unexported (golint)
    • Line 42: warning: exported method Bundle.DeleteNotifyRecord should have comment or be unexported (golint)
    • Line 60: warning: exported method Bundle.SwitchNotifyRecord should have comment or be unexported (golint)
    • Line 78: warning: exported method Bundle.GetNotifyDetail should have comment or be unexported (golint)
    • Line 96: warning: exported method Bundle.GetAllTemplates should have comment or be unexported (golint)
    • Line 118: warning: exported method Bundle.GetAllGroups should have comment or be unexported (golint)
    • Line 137: warning: exported method Bundle.GetNotifyConfigMS should have comment or be unexported (golint)
    • Line 155: warning: exported method Bundle.CollectNotifyMetrics should have comment or be unexported (golint)
    • erda/modules/pipeline/dbclient/op_pipeline.go
    • Line 30: warning: comment on exported method Client.CreatePipeline should be of the form "CreatePipeline ..." (golint)
    • Line 54: warning: comment on exported method Client.GetPipeline should be of the form "GetPipeline ..." (golint)
    • Line 127: warning: exported method Client.StoreAnalyzedCrossCluster should have comment or be unexported (golint)
    • Line 263: warning: comment on exported method Client.PageListPipelines should be of the form "PageListPipelines ..." (golint)
    • Line 430: warning: comment on exported method Client.ListPipelineIDsByStatuses should be of the form "ListPipelineIDsByStatuses ..." (golint)
    • Line 440: warning: comment on exported method Client.GetPipelineWithTasks should be of the form "GetPipelineWithTasks ..." (golint)
    • Line 463: warning: exported method Client.ParseRerunFailedDetail should have comment or be unexported (golint)
    • Line 538: warning: exported method Client.DeletePipeline should have comment or be unexported (golint)
    • Line 555: warning: exported method Client.ListPipelineSources should have comment or be unexported (golint)
    • Line 582: warning: exported method Client.ListPipelinesByIDs should have comment or be unexported (golint)
    • erda/modules/hepa/kong/dto/kong_route_req_dto.go
    • Line 16: warning: exported type Service should have comment or be unexported (golint)
    • Line 21: warning: exported type KongObj should have comment or be unexported (golint)
    • Line 25: warning: exported type KongRouteReqDto should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method KongRouteReqDto.IsEmpty should be of the form "IsEmpty ..." (golint)
    • erda/modules/openapi/component-protocol/scenarios/edge-site/components/sitePreview/operation.go
    • Line 25: warning: exported type InfoData should have comment or be unexported (golint)
    • Line 29: warning: exported type PropsRender should have comment or be unexported (golint)
    • Line 35: warning: exported type PreviewState should have comment or be unexported (golint)
    • Line 39: warning: exported type ComponentSitePreview should have comment or be unexported (golint)
    • Line 44: warning: exported method ComponentSitePreview.SetBundle should have comment or be unexported (golint)
    • Line 52: warning: exported method ComponentSitePreview.SetComponent should have comment or be unexported (golint)
    • Line 60: warning: exported method ComponentSitePreview.OperationRendering should have comment or be unexported (golint)
    • Line 107: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/slb/slb.go
    • Line 33: warning: exported function ListByCluster should have comment or be unexported (golint)
    • Line 48: warning: exported function DescribeResource should have comment or be unexported (golint)
    • Line 97: warning: exported function GetAllResourceIDs should have comment or be unexported (golint)
    • Line 129: warning: exported function TagResource should have comment or be unexported (golint)
    • Line 157: warning: comment on exported function CreateIntranetSLBTCPListener should be of the form "CreateIntranetSLBTCPListener ..." (golint)
    • erda/modules/hepa/gateway/assembler/interface.go
    • Line 22: warning: exported type PluginParams should have comment or be unexported (golint)
    • Line 31: warning: exported type GatewayDbAssembler should have comment or be unexported (golint)
    • Line 43: warning: exported type GatewayKongAssembler should have comment or be unexported (golint)
    • Line 49: warning: exported type GatewayGroupAssembler should have comment or be unexported (golint)
    • erda/pkg/footnote/footnote.go
    • Line 148: warning: exported type FootNote should have comment or be unexported (golint)
    • Line 154: warning: exported function New should have comment or be unexported (golint)
    • Line 161: warning: exported method FootNote.NoteLine should have comment or be unexported (golint)
    • Line 171: warning: exported method FootNote.NotePoint should have comment or be unexported (golint)
    • Line 185: warning: exported method FootNote.NoteRegex should have comment or be unexported (golint)
    • Line 200: warning: exported method FootNote.Dump should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/pipelineymlv1/util.go
    • Line 29: warning: exported method PipelineYml.FindDockerImageByResourceName should have comment or be unexported (golint)
    • Line 59: warning: exported method PipelineYml.FindResourceByName should have comment or be unexported (golint)
    • Line 68: warning: exported function ResourceDir should have comment or be unexported (golint)
    • Line 72: warning: exported function GenerateFlowUUID should have comment or be unexported (golint)
    • Line 76: warning: exported function GenerateStageUUID should have comment or be unexported (golint)
    • Line 124: warning: exported method PipelineYml.GetGlobalEnvs should have comment or be unexported (golint)
    • Line 128: warning: exported method PipelineYml.GetTaskEnvs should have comment or be unexported (golint)
    • Line 142: warning: comment on exported method PipelineYml.UpdatePipelineWorkspaceOnBpArgs should be of the form "UpdatePipelineWorkspaceOnBpArgs ..." (golint)
    • Line 180: warning: comment on exported method PipelineYml.UpdatePipelineOnBpArgs should be of the form "UpdatePipelineOnBpArgs ..." (golint)
    • Line 181: warning: don't use underscores in Go names; method parameter bp_args should be bpArgs (golint)
    • Line 181: warning: don't use underscores in Go names; method parameter bp_repo_args should be bpRepoArgs (golint)
    • Line 203: warning: exported method PipelineYml.GetBpArgs should have comment or be unexported (golint)
    • Line 217: warning: exported method PipelineYml.GetBpRepoArgs should have comment or be unexported (golint)
    • Line 238: warning: exported method PipelineYml.GetResourceID should have comment or be unexported (golint)
    • Line 252: warning: exported method PipelineYml.GetTaskDisableStatus should have comment or be unexported (golint)
    • Line 265: warning: exported method PipelineYml.GetTaskPauseStatus should have comment or be unexported (golint)
    • Line 278: warning: exported method PipelineYml.GetTaskForceBuildpackStatus should have comment or be unexported (golint)
    • Line 313: warning: exported function MetadataFields2Map should have comment or be unexported (golint)
    • Line 321: warning: exported function Map2MetadataFields should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/notify-config/components/notifyConfigModal/model.go
    • Line 14: warning: don't use MixedCaps in package name; notifyConfigModal should be notifyconfigmodal (golint)
    • Line 21: warning: exported var TypeOperation should have comment or be unexported (golint)
    • Line 63: warning: exported type ComponentModel should have comment or be unexported (golint)
    • Line 71: warning: exported type ModalOperation should have comment or be unexported (golint)
    • Line 75: warning: exported type Submit should have comment or be unexported (golint)
    • Line 80: warning: exported type Props should have comment or be unexported (golint)
    • Line 85: warning: exported type State should have comment or be unexported (golint)
    • Line 92: warning: exported type Field should have comment or be unexported (golint)
    • Line 102: warning: exported type RemoveWhen should have comment or be unexported (golint)
    • Line 107: warning: exported type ComponentProps should have comment or be unexported (golint)
    • Line 113: warning: exported type Option should have comment or be unexported (golint)
    • Line 118: warning: exported type TargetInfo should have comment or be unexported (golint)
    • erda/modules/openapi/oauth2/jwt.go
    • Line 35: warning: exported const JWTKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 80: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 152: warning: exported function ParseJWTAccess should have comment or be unexported (golint)
    • erda/modules/pipeline/services/appsvc/workspace_app.go
    • Line 42: warning: exported method AppSvc.GetWorkspaceApp should have comment or be unexported (golint)
    • Line 97: warning: exported method WorkspaceApp.GenerateLabels should have comment or be unexported (golint)
    • Line 126: warning: exported method WorkspaceApp.GenerateV1UniquePipelineYmlName should have comment or be unexported (golint)
    • erda/apistructs/migration.go
    • Line 16: warning: comment on exported type MigrationStatusDesc should be of the form "MigrationStatusDesc ..." (with optional leading article) (golint)
    • erda/pkg/database/sqllint/linters/float_linter.go
    • Line 28: warning: exported type FloatDoubleLinter should have comment or be unexported (golint)
    • Line 32: warning: exported function NewFloatDoubleLinter should have comment or be unexported (golint)
    • Line 36: warning: exported method FloatDoubleLinter.Enter should have comment or be unexported (golint)
    • Line 59: warning: exported method FloatDoubleLinter.Leave should have comment or be unexported (golint)
    • erda/apistructs/testplan_member.go
    • Line 18: warning: exported type TestPlanMember should have comment or be unexported (golint)
    • Line 27: warning: exported type TestPlanMemberRole should have comment or be unexported (golint)
    • Line 30: warning: exported var TestPlanMemberRoleOwner should have comment or be unexported (golint)
    • Line 34: warning: exported method TestPlanMemberRole.Valid should have comment or be unexported (golint)
    • Line 42: warning: exported method TestPlanMemberRole.Invalid should have comment or be unexported (golint)
    • Line 45: warning: exported method TestPlanMemberRole.IsOwner should have comment or be unexported (golint)
    • Line 48: warning: exported method TestPlanMemberRole.IsPartner should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/action/components/actionForm/action_form.go
    • Line 26: warning: comment on exported type ComponentActionState should be of the form "ComponentActionState ..." (with optional leading article) (golint)
    • Line 31: warning: comment on exported type ComponentAction should be of the form "ComponentAction ..." (with optional leading article) (golint)
    • Line 39: warning: exported type VersionOption should have comment or be unexported (golint)
    • Line 44: warning: exported method ComponentAction.SetBundle should have comment or be unexported (golint)
    • Line 53: warning: exported method ComponentAction.SetCompName should have comment or be unexported (golint)
    • Line 63: warning: exported method ComponentAction.SetActionState should have comment or be unexported (golint)
    • Line 67: warning: exported method ComponentAction.SetActionProps should have comment or be unexported (golint)
    • Line 71: warning: exported method ComponentAction.GetActionVersion should have comment or be unexported (golint)
    • Line 75: warning: exported method ComponentAction.QueryExtensionVersion should have comment or be unexported (golint)
    • Line 87: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 116: warning: exported function GetFromProps should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/edge-app-site-ip/components/statusViewGroup/operation.go
    • Line 27: warning: exported const DefaultSelected should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported type ComponentViewGroup should have comment or be unexported (golint)
    • Line 35: warning: exported type EdgeAppSiteIPInParam should have comment or be unexported (golint)
    • Line 41: warning: exported type EdgeViewGroupState should have comment or be unexported (golint)
    • Line 45: warning: exported method ComponentViewGroup.SetBundle should have comment or be unexported (golint)
    • Line 53: warning: exported method ComponentViewGroup.SetComponent should have comment or be unexported (golint)
    • Line 61: warning: exported method ComponentViewGroup.OperationChangeViewGroup should have comment or be unexported (golint)
    • Line 87: warning: exported method ComponentViewGroup.Operation should have comment or be unexported (golint)
    • Line 122: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/tools/cli/command/flag.go
    • Line 22: warning: exported type Flag should have comment or be unexported (golint)
    • Line 27: warning: exported type IntFlag should have comment or be unexported (golint)
    • Line 33: warning: exported type FloatFlag should have comment or be unexported (golint)
    • Line 40: warning: exported type BoolFlag should have comment or be unexported (golint)
    • Line 46: warning: exported type StringFlag should have comment or be unexported (golint)
    • Line 53: warning: exported type IPFlag should have comment or be unexported (golint)
    • Line 60: warning: exported type StringListFlag should have comment or be unexported (golint)
    • Line 67: warning: exported method IntFlag.Flag should have comment or be unexported (golint)
    • Line 68: warning: exported method FloatFlag.Flag should have comment or be unexported (golint)
    • Line 69: warning: exported method BoolFlag.Flag should have comment or be unexported (golint)
    • Line 70: warning: exported method StringFlag.Flag should have comment or be unexported (golint)
    • Line 71: warning: exported method IPFlag.Flag should have comment or be unexported (golint)
    • Line 72: warning: exported method StringListFlag.Flag should have comment or be unexported (golint)
    • Line 74: warning: exported method IntFlag.DefaultV should have comment or be unexported (golint)
    • Line 77: warning: exported method FloatFlag.DefaultV should have comment or be unexported (golint)
    • Line 80: warning: exported method BoolFlag.DefaultV should have comment or be unexported (golint)
    • Line 83: warning: exported method StringFlag.DefaultV should have comment or be unexported (golint)
    • Line 86: warning: exported method IPFlag.DefaultV should have comment or be unexported (golint)
    • Line 90: warning: comment on exported method StringListFlag.DefaultV should be of the form "DefaultV ..." (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-plan-detail/components/executeTaskBreadcrumb/render.go
    • Line 14: warning: don't use MixedCaps in package name; executeTaskBreadcrumb should be executetaskbreadcrumb (golint)
    • Line 28: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 44: warning: exported type Breadcrumb should have comment or be unexported (golint)
    • Line 54: warning: exported method ComponentAction.Import should have comment or be unexported (golint)
    • Line 65: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 211: warning: receiver name ca should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 228: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/pipeline/services/pipelinecronsvc/define.go
    • Line 27: warning: exported type PipelineCronSvc should have comment or be unexported (golint)
    • Line 32: warning: exported function New should have comment or be unexported (golint)
    • Line 39: warning: exported method PipelineCronSvc.Paging should have comment or be unexported (golint)
    • Line 43: warning: exported method PipelineCronSvc.Start should have comment or be unexported (golint)
    • Line 47: warning: exported method PipelineCronSvc.Stop should have comment or be unexported (golint)
    • Line 73: warning: exported method PipelineCronSvc.Create should have comment or be unexported (golint)
    • Line 120: warning: exported method PipelineCronSvc.Delete should have comment or be unexported (golint)
    • Line 134: warning: exported method PipelineCronSvc.Get should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/file_records.go
    • Line 28: warning: exported method Endpoints.GetFileRecord should have comment or be unexported (golint)
    • Line 47: warning: comment on exported method Endpoints.GetFileRecordsByProjectId should be of the form "GetFileRecordsByProjectId ..." (golint)
    • erda/pkg/database/sqlparser/migrator/equal.go
    • Line 23: warning: exported type Equal should have comment or be unexported (golint)
    • Line 28: warning: exported method Equal.Equal should have comment or be unexported (golint)
    • Line 32: warning: exported method Equal.Reason should have comment or be unexported (golint)
    • Line 36: warning: exported function FieldTypeEqual should have comment or be unexported (golint)
    • erda/modules/gittar/pkg/gitmodule/repo_commit.go
    • Line 32: warning: exported const REMOTE_PREFIX should have comment or be unexported (golint)
    • Line 53: warning: exported method Repository.GetCommit should have comment or be unexported (golint)
    • Line 110: warning: exported method Repository.GetMergedBranches should have comment or be unexported (golint)
    • Line 176: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 232: warning: exported method Repository.CommitsByRangeSize should have comment or be unexported (golint)
    • Line 279: warning: exported var DefaultCommitsPageSize should have comment or be unexported (golint)
    • Line 281: warning: exported method Repository.CommitsByRange should have comment or be unexported (golint)
    • Line 301: warning: exported method Repository.FileCommitsCount should have comment or be unexported (golint)
    • Line 305: warning: exported method Repository.CommitsByFileAndRangeSize should have comment or be unexported (golint)
    • Line 324: warning: exported method Repository.FilesCountBetween should have comment or be unexported (golint)
    • Line 333: warning: comment on exported method Repository.CommitsBetweenLimit should be of the form "CommitsBetweenLimit ..." (golint)
    • Line 349: warning: comment on exported method Repository.CommitsCountBetween should be of the form "CommitsCountBetween ..." (golint)
    • Line 407: warning: exported method Repository.CommitsBetweenIDs should have comment or be unexported (golint)
    • erda/pkg/nexus/realm.go
    • Line 21: warning: exported type RealmID should have comment or be unexported (golint)
    • Line 23: warning: exported type Realm should have comment or be unexported (golint)
    • Line 29: warning: exported var LocalAuthenticatingRealm should have comment or be unexported (golint)
    • Line 40: warning: comment on exported type RealmListActiveRequest should be of the form "RealmListActiveRequest ..." (with optional leading article) (golint)
    • Line 43: warning: comment on exported type RealmSetActivesRequest should be of the form "RealmSetActivesRequest ..." (with optional leading article) (golint)
    • Line 48: warning: comment on exported type RealmListAvailableRequest should be of the form "RealmListAvailableRequest ..." (with optional leading article) (golint)
    • Line 51: warning: exported type RealmEnsureAddRequest should have comment or be unexported (golint)
    • Line 59: warning: exported method Nexus.ListActiveRealms should have comment or be unexported (golint)
    • Line 79: warning: exported method Nexus.SetActiveRealms should have comment or be unexported (golint)
    • Line 110: warning: exported method Nexus.ListAvailableRealms should have comment or be unexported (golint)
    • erda/modules/pkg/colonyutil/http.go
    • Line 26: warning: comment on exported function WriteJSON should be of the form "WriteJSON ..." (golint)
    • Line 40: warning: exported function WriteData should have comment or be unexported (golint)
    • Line 47: warning: exported function WriteErr should have comment or be unexported (golint)
    • Line 58: warning: exported function WriteError should have comment or be unexported (golint)
    • Line 65: warning: exported function LoggingMiddleware should have comment or be unexported (golint)
    • erda/apistructs/pipeline_status.go
    • Line 39: warning: exported const PipelineEmptyStatus should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: comment on exported const PipelineStatusInitializing should be of the form "PipelineStatusInitializing ..." (golint)
    • Line 47: warning: comment on exported const PipelineStatusBorn should be of the form "PipelineStatusBorn ..." (golint)
    • Line 56: warning: comment on exported const PipelineStatusFailed should be of the form "PipelineStatusFailed ..." (golint)
    • Line 62: warning: comment on exported const PipelineStatusCreateError should be of the form "PipelineStatusCreateError ..." (golint)
    • Line 71: warning: comment on exported const PipelineStatusWaitApproval should be of the form "PipelineStatusWaitApproval ..." (golint)
    • Line 77: warning: exported method PipelineStatus.ToDesc should have comment or be unexported (golint)
    • Line 120: warning: exported function ReconcilerRunningStatuses should have comment or be unexported (golint)
    • Line 135: warning: exported method PipelineStatus.IsReconcilerRunningStatus should have comment or be unexported (golint)
    • Line 145: warning: exported method PipelineStatus.IsBeforePressRunButton should have comment or be unexported (golint)
    • Line 154: warning: exported method PipelineStatus.CanCancel should have comment or be unexported (golint)
    • Line 161: warning: exported method PipelineStatus.CanEnableDisable should have comment or be unexported (golint)
    • Line 170: warning: exported method PipelineStatus.CanPause should have comment or be unexported (golint)
    • Line 179: warning: exported method PipelineStatus.CanUnpause should have comment or be unexported (golint)
    • Line 183: warning: exported method PipelineStatus.IsEndStatus should have comment or be unexported (golint)
    • Line 187: warning: exported method PipelineStatus.IsSuccessStatus should have comment or be unexported (golint)
    • Line 191: warning: exported method PipelineStatus.CanDelete should have comment or be unexported (golint)
    • Line 227: warning: exported method PipelineStatus.IsFailedStatus should have comment or be unexported (golint)
    • Line 231: warning: exported method PipelineStatus.ChangeStateForManualReview should have comment or be unexported (golint)
    • Line 244: warning: exported method PipelineStatus.AfterPipelineQueue should have comment or be unexported (golint)
    • erda/modules/eventbox/monitor/http.go
    • Line 26: warning: exported type MonitorHTTP should have comment or be unexported (golint)
    • Line 29: warning: exported function NewMonitorHTTP should have comment or be unexported (golint)
    • Line 33: warning: exported method MonitorHTTP.Stat should have comment or be unexported (golint)
    • Line 85: warning: exported method MonitorHTTP.GetHTTPEndPoints should have comment or be unexported (golint)
    • erda/modules/dop/services/monitor/monitor.go
    • Line 37: warning: exported const CronBugStatisticsLock should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported type IssueMonitor should have comment or be unexported (golint)
    • Line 53: warning: exported type StatisticsAddAndRepairBugRequest should have comment or be unexported (golint)
    • Line 145: warning: exported function RunIssueHistoryData should have comment or be unexported (golint)
    • Line 182: warning: exported function RunHistoryData should have comment or be unexported (golint)
    • Line 241: warning: exported function MetricsIssueById should have comment or be unexported (golint)
    • Line 331: warning: exported function TimedTaskMetricsIssue should have comment or be unexported (golint)
    • Line 390: warning: exported function TimedTaskMetricsAddAndRepairBug should have comment or be unexported (golint)
    • Line 451: warning: exported function DoCronStatisticsAddAndRepairBug should have comment or be unexported (golint)
    • Line 577: warning: exported type Option should have comment or be unexported (golint)
    • Line 579: warning: exported function NewIssueMonitor should have comment or be unexported (golint)
    • Line 601: warning: exported function WithDelete should have comment or be unexported (golint)
    • Line 610: warning: exported function WithAssignee should have comment or be unexported (golint)
    • Line 616: warning: exported function WithIssueId should have comment or be unexported (golint)
    • Line 624: warning: exported function WithIssueTitle should have comment or be unexported (golint)
    • Line 630: warning: exported function WithIssuePriority should have comment or be unexported (golint)
    • Line 636: warning: exported function WithIssueState should have comment or be unexported (golint)
    • Line 648: warning: exported function WithIssueProjectId should have comment or be unexported (golint)
    • Line 654: warning: exported function WithIssueIteratorId should have comment or be unexported (golint)
    • Line 660: warning: exported function WithIssueSeverity should have comment or be unexported (golint)
    • Line 666: warning: exported function WithReOpen should have comment or be unexported (golint)
    • Line 677: warning: exported function WithReOpenTime should have comment or be unexported (golint)
    • Line 685: warning: exported function WithIssueType should have comment or be unexported (golint)
    • Line 699: warning: exported function WithNick should have comment or be unexported (golint)
    • Line 705: warning: exported function WithManHour should have comment or be unexported (golint)
    • Line 726: warning: exported function WithResponse should have comment or be unexported (golint)
    • erda/modules/hepa/apipolicy/policies/server-guard/policy.go
    • Line 28: warning: exported type Policy should have comment or be unexported (golint)
    • Line 32: warning: exported method Policy.NeedSerialUpdate should have comment or be unexported (golint)
    • Line 36: warning: exported method Policy.CreateDefaultConfig should have comment or be unexported (golint)
    • Line 46: warning: exported method Policy.MergeDiceConfig should have comment or be unexported (golint)
    • Line 90: warning: error should be the last type when returning multiple items (golint)
    • Line 90: warning: exported method Policy.UnmarshalConfig should have comment or be unexported (golint)
    • Line 103: warning: exported method Policy.ParseConfig should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_package_service.go
    • Line 18: warning: should not use dot imports (golint)
    • Line 25: warning: exported type GatewayPackageServiceImpl should have comment or be unexported (golint)
    • Line 31: warning: exported function NewGatewayPackageServiceImpl should have comment or be unexported (golint)
    • Line 42: warning: exported method GatewayPackageServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 66: warning: exported method GatewayPackageServiceImpl.Update should have comment or be unexported (golint)
    • Line 77: warning: exported method GatewayPackageServiceImpl.Insert should have comment or be unexported (golint)
    • Line 88: warning: exported method GatewayPackageServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 107: warning: exported method GatewayPackageServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 123: warning: exported method GatewayPackageServiceImpl.Get should have comment or be unexported (golint)
    • Line 138: warning: exported method GatewayPackageServiceImpl.Delete should have comment or be unexported (golint)
    • Line 156: warning: exported method GatewayPackageServiceImpl.GetPage should have comment or be unexported (golint)
    • Line 173: warning: exported method GatewayPackageServiceImpl.Count should have comment or be unexported (golint)
    • Line 181: warning: exported method GatewayPackageServiceImpl.CheckUnique should have comment or be unexported (golint)
    • erda/modules/orchestrator/services/deployment/deployment.go
    • Line 114: warning: exported method Deployment.ContinueDeploy should have comment or be unexported (golint)
    • Line 141: warning: exported method Deployment.CancelLastDeploy should have comment or be unexported (golint)
    • Line 178: warning: don't use underscores in Go names; var myapps_ should be myapps (golint)
    • Line 227: warning: don't use underscores in Go names; var approvedBy_aux should be approvedByAux (golint)
    • Line 391: warning: exported method Deployment.Approve should have comment or be unexported (golint)
    • erda/pkg/qaparser/utils.go
    • Line 30: warning: comment on exported function DeCompress should be of the form "DeCompress ..." (golint)
    • Line 70: warning: exported function ParseInt should have comment or be unexported (golint)
    • Line 172: warning: comment on exported function NodeParse should be of the form "NodeParse ..." (golint)
    • erda/modules/core-services/model/mbox.go
    • Line 22: warning: exported type MBox should have comment or be unexported (golint)
    • Line 33: warning: exported method MBox.TableName should have comment or be unexported (golint)
    • Line 37: warning: exported method MBox.ToApiData should have comment or be unexported (golint)
    • erda/modules/eventbox/dispatcher/errors/errors.go
    • Line 23: warning: error var DispatcherBusyErr should have name of the form ErrFoo (golint)
    • Line 23: warning: exported var DispatcherBusyErr should have comment or be unexported (golint)
    • Line 26: warning: exported type BackendErrs should have comment or be unexported (golint)
    • Line 28: warning: exported method BackendErrs.MarshalJSON should have comment or be unexported (golint)
    • Line 38: warning: exported type DispatchError should have comment or be unexported (golint)
    • Line 44: warning: exported function New should have comment or be unexported (golint)
    • Line 60: warning: exported method DispatchError.IsOK should have comment or be unexported (golint)
    • Line 70: warning: exported method DispatchError.IsFiltered should have comment or be unexported (golint)
    • Line 74: warning: exported method DispatchError.MarshalJSON should have comment or be unexported (golint)
    • erda/modules/dop/dbclient/asset_version_instance.go
    • Line 20: warning: exported function FirstOrCreateInstantiation should have comment or be unexported (golint)
    • Line 24: warning: exported function OneInstantiation should have comment or be unexported (golint)
    • Line 28: warning: exported function UpdateInstantiation should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/dto/zone_kong_policies.go
    • Line 17: warning: exported const BASE_PRIORITY should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported type ZoneKongPolicies should have comment or be unexported (golint)
    • Line 32: warning: exported type SortByRegexList should have comment or be unexported (golint)
    • erda/apistructs/org.go
    • Line 26: warning: exported const SECRECT_PLACEHOLDER should have comment or be unexported (golint)
    • Line 32: warning: exported const EnterpriseOrgType should have comment (or a comment on this block) or be unexported (golint)
    • Line 63: warning: exported type OrgUpdateResponse should have comment or be unexported (golint)
    • Line 97: warning: exported type OrgDeleteResponse should have comment or be unexported (golint)
    • Line 108: warning: exported type OrgUpdateIngressResponse should have comment or be unexported (golint)
    • Line 145: warning: exported type BlockoutConfig should have comment or be unexported (golint)
    • Line 190: warning: exported method OrgDTO.HidePassword should have comment or be unexported (golint)
    • Line 197: warning: exported type OrgConfig should have comment or be unexported (golint)
    • Line 220: warning: comment on exported type NotifyConfigGetResponse should be of the form "NotifyConfigGetResponse ..." (with optional leading article) (golint)
    • Line 226: warning: exported type OrgClusterRelationDTOResponse should have comment or be unexported (golint)
    • Line 249: warning: comment on exported type OrgGetByDomainRequest should be of the form "OrgGetByDomainRequest ..." (with optional leading article) (golint)
    • Line 255: warning: comment on exported type OrgGetByDomainResponse should be of the form "OrgGetByDomainResponse ..." (with optional leading article) (golint)
    • Line 351: warning: exported type OrgNexusGetRequest should have comment or be unexported (golint)
    • Line 358: warning: exported type OrgNexusGetResponse should have comment or be unexported (golint)
    • Line 363: warning: exported type OrgNexusGetResponseData should have comment or be unexported (golint)
    • Line 370: warning: exported type OrgNexusShowPasswordRequest should have comment or be unexported (golint)
    • Line 375: warning: exported type OrgNexusShowPasswordResponse should have comment or be unexported (golint)
    • Line 389: warning: exported const OrgInviteCodeRedisKey should have comment or be unexported (golint)
    • erda/modules/pipeline/precheck/prechecktype/checker.go
    • Line 23: warning: exported type PreChecker should have comment or be unexported (golint)
    • Line 27: warning: exported type ActionPreChecker should have comment or be unexported (golint)
    • Line 32: warning: exported type DiceYmlPreChecker should have comment or be unexported (golint)
    • Line 36: warning: exported type ItemsForCheck should have comment or be unexported (golint)
    • erda/pkg/terminal/color_str/color_str.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 35: warning: exported type Option should have comment or be unexported (golint)
    • Line 46: warning: exported var BlackBg should have comment or be unexported (golint)
    • Line 61: warning: exported function Black should have comment or be unexported (golint)
    • Line 64: warning: exported function Red should have comment or be unexported (golint)
    • Line 67: warning: exported function Green should have comment or be unexported (golint)
    • Line 70: warning: exported function Yellow should have comment or be unexported (golint)
    • Line 73: warning: exported function Blue should have comment or be unexported (golint)
    • Line 76: warning: exported function Magenta should have comment or be unexported (golint)
    • Line 79: warning: exported function Cyan should have comment or be unexported (golint)
    • Line 82: warning: exported function White should have comment or be unexported (golint)
    • erda/pkg/http/httpserver/server.go
    • Line 43: warning: exported const ContentTypeJSON should have comment (or a comment on this block) or be unexported (golint)
    • Line 95: warning: comment on exported method Server.WithLocaleLoader should be of the form "WithLocaleLoader ..." (golint)
    • Line 136: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 255: warning: should not use basic type string as key in context.WithValue (golint)
    • erda/modules/dop/endpoints/asset_version.go
    • Line 178: warning: comment on exported method Endpoints.DownloadSpecText should be of the form "DownloadSpecText ..." (golint)
    • Line 230: warning: comment on exported method Endpoints.UpdateAssetVersion should be of the form "UpdateAssetVersion ..." (golint)
    • erda/modules/pipeline/spec/pipeline_task.go
    • Line 24: warning: exported type PipelineTask should have comment or be unexported (golint)
    • Line 50: warning: exported method PipelineTask.NodeName should have comment or be unexported (golint)
    • Line 54: warning: exported method PipelineTask.PrevNodeNames should have comment or be unexported (golint)
    • Line 58: warning: exported method PipelineTask.TableName should have comment or be unexported (golint)
    • Line 62: warning: exported type PipelineTaskExtra should have comment or be unexported (golint)
    • Line 100: warning: exported type FlinkSparkConf should have comment or be unexported (golint)
    • Line 111: warning: exported type PipelineTaskContext should have comment or be unexported (golint)
    • Line 118: warning: exported method PipelineTaskContext.Dedup should have comment or be unexported (golint)
    • Line 123: warning: comment on exported type PipelineTaskOpType should be of the form "PipelineTaskOpType ..." (with optional leading article) (golint)
    • Line 127: warning: exported var PipelineTaskOpTypeGet should have comment or be unexported (golint)
    • Line 132: warning: exported type PipelineTaskExecutorKind should have comment or be unexported (golint)
    • Line 135: warning: exported var PipelineTaskExecutorKindScheduler should have comment or be unexported (golint)
    • Line 141: warning: exported var PipelineTaskExecutorNameEmpty should have comment or be unexported (golint)
    • Line 146: warning: exported type RuntimeResource should have comment or be unexported (golint)
    • Line 152: warning: exported type Volume should have comment or be unexported (golint)
    • Line 158: warning: exported method PipelineTask.Convert2DTO should have comment or be unexported (golint)
    • Line 205: warning: exported method PipelineTask.RuntimeID should have comment or be unexported (golint)
    • Line 215: warning: exported method PipelineTask.ReleaseID should have comment or be unexported (golint)
    • Line 225: warning: exported function GenDefaultTaskResource should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/issue-manage/components/issueAddButton/render.go
    • Line 14: warning: don't use MixedCaps in package name; issueAddButton should be issueaddbutton (golint)
    • Line 23: warning: exported type AddButtonCandidateOp should have comment or be unexported (golint)
    • Line 29: warning: exported type AddButtonCandidate should have comment or be unexported (golint)
    • Line 37: warning: exported type Props should have comment or be unexported (golint)
    • Line 46: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 48: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 141: warning: comment on exported method ComponentAction.CheckUserPermission should be of the form "CheckUserPermission ..." (golint)
    • Line 162: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/emptyProjectText/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyProjectText should be emptyprojecttext (golint)
    • Line 27: warning: exported type EmptyProjectText should have comment or be unexported (golint)
    • Line 34: warning: exported type Props should have comment or be unexported (golint)
    • Line 38: warning: exported type State should have comment or be unexported (golint)
    • Line 42: warning: exported method EmptyProjectText.SetCtxBundle should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: exported method EmptyProjectText.GenComponentState should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 71: warning: exported method EmptyProjectText.Render should have comment or be unexported (golint)
    • Line 85: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/monitor/core/metrics/metricq/chartmeta/chartmeta.go
    • Line 29: warning: exported type DataMeta should have comment or be unexported (golint)
    • Line 39: warning: exported type ChartMeta should have comment or be unexported (golint)
    • Line 50: warning: exported type Manager should have comment or be unexported (golint)
    • Line 62: warning: exported function NewManager should have comment or be unexported (golint)
    • Line 74: warning: exported method Manager.Start should have comment or be unexported (golint)
    • Line 95: warning: exported method Manager.Close should have comment or be unexported (golint)
    • Line 97: warning: exported type ChartMetas should have comment or be unexported (golint)
    • Line 185: warning: exported method Manager.ChartMetaList should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-plan-detail/components/fileDetail/render.go
    • Line 14: warning: don't use MixedCaps in package name; fileDetail should be filedetail (golint)
    • Line 27: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 34: warning: exported type State should have comment or be unexported (golint)
    • Line 40: warning: exported method ComponentAction.SetCtxBundle should have comment or be unexported (golint)
    • Line 50: warning: exported method ComponentAction.RenderState should have comment or be unexported (golint)
    • Line 63: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 103: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/dop/services/branchrule/branch_rule.go
    • Line 28: warning: exported type BranchRule should have comment or be unexported (golint)
    • Line 34: warning: exported type Option should have comment or be unexported (golint)
    • Line 36: warning: exported function New should have comment or be unexported (golint)
    • Line 58: warning: exported method BranchRule.Count should have comment or be unexported (golint)
    • Line 62: warning: exported method BranchRule.Query should have comment or be unexported (golint)
    • Line 74: warning: exported method BranchRule.GetAllProjectRulesMap should have comment or be unexported (golint)
    • Line 90: warning: exported method BranchRule.Get should have comment or be unexported (golint)
    • Line 98: warning: exported method BranchRule.Update should have comment or be unexported (golint)
    • Line 122: warning: exported method BranchRule.Create should have comment or be unexported (golint)
    • Line 145: warning: exported method BranchRule.Delete should have comment or be unexported (golint)
    • Line 174: warning: exported method BranchRule.CheckRuleValid should have comment or be unexported (golint)
    • Line 197: warning: exported method BranchRule.GetAllValidBranchWorkspaces should have comment or be unexported (golint)
    • Line 232: warning: exported method BranchRule.InitProjectRules should have comment or be unexported (golint)
    • Line 274: warning: exported method BranchRule.InitAppRules should have comment or be unexported (golint)
    • Line 292: warning: exported method BranchRule.InitAppRulesWithData should have comment or be unexported (golint)
    • erda/pkg/retry/do.go
    • Line 22: warning: exported function Do should have comment or be unexported (golint)
    • Line 26: warning: exported function DoWithInterval should have comment or be unexported (golint)
    • erda/modules/dop/services/cq/service.go
    • Line 18: warning: exported type CQ should have comment or be unexported (golint)
    • Line 22: warning: exported type Option should have comment or be unexported (golint)
    • Line 24: warning: exported function New should have comment or be unexported (golint)
    • Line 32: warning: exported function WithBundle should have comment or be unexported (golint)
    • erda/modules/hepa/apipolicy/policies/csrf/policy.go
    • Line 32: warning: exported type Policy should have comment or be unexported (golint)
    • Line 36: warning: exported method Policy.CreateDefaultConfig should have comment or be unexported (golint)
    • Line 61: warning: error should be the last type when returning multiple items (golint)
    • Line 61: warning: exported method Policy.UnmarshalConfig should have comment or be unexported (golint)
    • Line 101: warning: exported method Policy.ParseConfig should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/myProject/render.go
    • Line 14: warning: don't use MixedCaps in package name; myProject should be myproject (golint)
    • Line 27: warning: exported type MyProject should have comment or be unexported (golint)
    • Line 34: warning: exported type Props should have comment or be unexported (golint)
    • Line 39: warning: exported type State should have comment or be unexported (golint)
    • Line 43: warning: exported method MyProject.SetCtxBundle should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method MyProject.Render should have comment or be unexported (golint)
    • Line 95: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/pkg/persist_stat/persist_stat.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 21: warning: exported type AccumType should have comment or be unexported (golint)
    • Line 24: warning: exported const SUM should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: exported type Policy should have comment or be unexported (golint)
    • Line 34: warning: exported type PersistStoreStat should have comment or be unexported (golint)
    • Line 59: warning: exported type MemMetrics should have comment or be unexported (golint)
    • Line 64: warning: exported function NewMemMetrics should have comment or be unexported (golint)
    • Line 69: warning: exported method MemMetrics.EmitMetric should have comment or be unexported (golint)
    • Line 79: warning: exported method MemMetrics.GetMetrics should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/records.go
    • Line 30: warning: exported method Endpoints.RecordTypeList should have comment or be unexported (golint)
    • Line 117: warning: exported method Endpoints.Query should have comment or be unexported (golint)
    • Line 130: warning: don't use underscores in Go names; var pageSize_ should be pageSize (golint)
    • Line 144: warning: don't use underscores in Go names; var pageNo_ should be pageNo (golint)
    • erda/modules/core-services/dao/nexus_repository.go
    • Line 28: warning: exported type NexusRepository should have comment or be unexported (golint)
    • Line 41: warning: exported type NexusRepositoryConfig should have comment or be unexported (golint)
    • Line 43: warning: exported method NexusRepository.TableName should have comment or be unexported (golint)
    • Line 47: warning: exported method NexusRepositoryConfig.Value should have comment or be unexported (golint)
    • Line 50: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 54: warning: exported method NexusRepositoryConfig.Scan should have comment or be unexported (golint)
    • Line 71: warning: exported method DBClient.CreateOrUpdateNexusRepository should have comment or be unexported (golint)
    • Line 87: warning: exported method DBClient.GetNexusRepository should have comment or be unexported (golint)
    • Line 95: warning: exported method DBClient.GetNexusRepositoryByName should have comment or be unexported (golint)
    • Line 103: warning: exported method DBClient.ListNexusRepositories should have comment or be unexported (golint)
    • erda/bundle/ecp.go
    • Line 43: warning: exported method Bundle.ListEdgeApp should have comment or be unexported (golint)
    • Line 113: warning: exported method Bundle.GetEdgeApp should have comment or be unexported (golint)
    • Line 159: warning: exported method Bundle.CreateEdgeApp should have comment or be unexported (golint)
    • Line 188: warning: exported method Bundle.UpdateEdgeApp should have comment or be unexported (golint)
    • Line 217: warning: exported method Bundle.DeleteEdgeApp should have comment or be unexported (golint)
    • Line 245: warning: exported method Bundle.GetEdgeAppStatus should have comment or be unexported (golint)
    • Line 300: warning: exported method Bundle.ListEdgeSite should have comment or be unexported (golint)
    • Line 379: warning: exported method Bundle.GetEdgeSite should have comment or be unexported (golint)
    • Line 426: warning: exported method Bundle.CreateEdgeSite should have comment or be unexported (golint)
    • Line 455: warning: exported method Bundle.UpdateEdgeSite should have comment or be unexported (golint)
    • Line 484: warning: exported method Bundle.DeleteEdgeSite should have comment or be unexported (golint)
    • Line 512: warning: exported method Bundle.ListEdgeConfigset should have comment or be unexported (golint)
    • Line 586: warning: exported method Bundle.GetEdgeConfigSet should have comment or be unexported (golint)
    • Line 632: warning: exported method Bundle.CreateEdgeConfigset should have comment or be unexported (golint)
    • Line 661: warning: exported method Bundle.UpdateEdgeConfigset should have comment or be unexported (golint)
    • Line 690: warning: exported method Bundle.DeleteEdgeConfigset should have comment or be unexported (golint)
    • Line 718: warning: exported method Bundle.ListEdgeCfgSetItem should have comment or be unexported (golint)
    • Line 780: warning: exported method Bundle.GetEdgeCfgSetItem should have comment or be unexported (golint)
    • Line 827: warning: exported method Bundle.CreateEdgeCfgSetItem should have comment or be unexported (golint)
    • Line 856: warning: exported method Bundle.UpdateEdgeCfgSetItem should have comment or be unexported (golint)
    • Line 885: warning: exported method Bundle.DeleteEdgeCfgSetItem should have comment or be unexported (golint)
    • Line 913: warning: exported method Bundle.ListEdgeCluster should have comment or be unexported (golint)
    • Line 957: warning: exported method Bundle.ListEdgeSelectSite should have comment or be unexported (golint)
    • Line 991: warning: exported method Bundle.ListEdgeSelectConfigSet should have comment or be unexported (golint)
    • Line 1023: warning: exported method Bundle.ListEdgeSelectApps should have comment or be unexported (golint)
    • Line 1078: warning: exported method Bundle.GetEdgeSiteInitShell should have comment or be unexported (golint)
    • Line 1117: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 1122: warning: exported method Bundle.GetClusterInfo should have comment or be unexported (golint)
    • Line 1159: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 1164: warning: exported method Bundle.GetEdgeInstanceInfo should have comment or be unexported (golint)
    • Line 1212: warning: exported method Bundle.RestartEdgeAppSite should have comment or be unexported (golint)
    • Line 1241: warning: exported method Bundle.OfflineEdgeAppSite should have comment or be unexported (golint)
    • erda/modules/scheduler/impl/servicegroup/servicegroup.go
    • Line 42: warning: exported var LastRestartTimeKey should have comment or be unexported (golint)
    • Line 46: warning: exported type Namespace should have comment or be unexported (golint)
    • Line 48: warning: exported type ServiceGroup should have comment or be unexported (golint)
    • Line 61: warning: exported type ServiceGroupImpl should have comment or be unexported (golint)
    • Line 67: warning: exported function NewServiceGroupImpl should have comment or be unexported (golint)
    • erda/modules/eventbox/subscriber/email/email.go
    • Line 35: warning: exported type MailSubscriber should have comment or be unexported (golint)
    • Line 47: warning: exported type MailData should have comment or be unexported (golint)
    • Line 55: warning: exported type Option should have comment or be unexported (golint)
    • Line 57: warning: exported function New should have comment or be unexported (golint)
    • Line 73: warning: exported method MailSubscriber.IsSSL should have comment or be unexported (golint)
    • Line 84: warning: exported method MailSubscriber.Publish should have comment or be unexported (golint)
    • Line 106: warning: exported method MailSubscriber.Status should have comment or be unexported (golint)
    • Line 110: warning: exported method MailSubscriber.Name should have comment or be unexported (golint)
    • Line 176: warning: exported function SendMailUsingTLS should have comment or be unexported (golint)
    • Line 212: warning: exported function DialTLS should have comment or be unexported (golint)
    • erda/modules/orchestrator/events/types.go
    • Line 20: warning: exported type EventName should have comment or be unexported (golint)
    • Line 23: warning: comment on exported const RuntimeCreated should be of the form "RuntimeCreated ..." (golint)
    • Line 25: warning: comment on exported const RuntimeDeleting should be of the form "RuntimeDeleting ..." (golint)
    • Line 27: warning: exported const RuntimeDeleted should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: comment on exported const RuntimeStatusChanged should be of the form "RuntimeStatusChanged ..." (golint)
    • Line 31: warning: comment on exported const RuntimeServiceStatusChanged should be of the form "RuntimeServiceStatusChanged ..." (golint)
    • Line 34: warning: comment on exported const RuntimeDeployStart should be of the form "RuntimeDeployStart ..." (golint)
    • Line 44: warning: exported type ActionName should have comment or be unexported (golint)
    • Line 47: warning: exported const R_ADD should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: exported type RuntimeEvent should have comment or be unexported (golint)
    • erda/modules/dop/dbclient/db.go
    • Line 28: warning: exported const PageNo should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: exported type TPRecordDO should have comment or be unexported (golint)
    • Line 70: warning: exported method TPRecordDO.TableName should have comment or be unexported (golint)
    • Line 74: warning: exported function NewTPRecordDO should have comment or be unexported (golint)
    • Line 83: warning: exported method TPRecordDO.SetCols should have comment or be unexported (golint)
    • Line 97: warning: exported method TPRecordDO.SetTPType should have comment or be unexported (golint)
    • Line 102: warning: exported method TPRecordDO.GetExtraInfo should have comment or be unexported (golint)
    • Line 109: warning: exported method TPRecordDO.GetRecordName should have comment or be unexported (golint)
    • Line 114: warning: exported method TPRecordDO.GenSubject should have comment or be unexported (golint)
    • Line 119: warning: exported method TPRecordDO.EraseSensitiveInfo should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/folderDetailTable/model.go
    • Line 14: warning: don't use MixedCaps in package name; folderDetailTable should be folderdetailtable (golint)
    • Line 22: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 33: warning: exported type State should have comment or be unexported (golint)
    • Line 45: warning: exported type LatestStatus should have comment or be unexported (golint)
    • Line 51: warning: exported type Creator should have comment or be unexported (golint)
    • Line 56: warning: exported type Data should have comment or be unexported (golint)
    • Line 66: warning: exported type Meta should have comment or be unexported (golint)
    • Line 70: warning: exported type DataOperation should have comment or be unexported (golint)
    • Line 78: warning: exported type DataOperate should have comment or be unexported (golint)
    • Line 83: warning: exported type Operation should have comment or be unexported (golint)
    • Line 87: warning: exported type InParams should have comment or be unexported (golint)
    • Line 92: warning: exported type ClickRowOperation should have comment or be unexported (golint)
    • Line 99: warning: exported type ClickMeta should have comment or be unexported (golint)
    • erda/modules/ecp/endpoints/endpoints.go
    • Line 26: warning: exported type Endpoints should have comment or be unexported (golint)
    • Line 32: warning: exported type Option should have comment or be unexported (golint)
    • Line 34: warning: exported function New should have comment or be unexported (golint)
    • erda/bundle/project.go
    • Line 52: warning: exported method Bundle.ListProject should have comment or be unexported (golint)
    • Line 82: warning: exported method Bundle.ListDopProject should have comment or be unexported (golint)
    • erda/apistructs/pipeline_cron.go
    • Line 20: warning: exported type PipelineCronPagingRequest should have comment or be unexported (golint)
    • Line 29: warning: exported type PipelineCronPagingResponse should have comment or be unexported (golint)
    • Line 34: warning: exported type PipelineCronPagingResponseData should have comment or be unexported (golint)
    • Line 39: warning: exported type PipelineCronDTO should have comment or be unexported (golint)
    • Line 53: warning: exported type PipelineCronCreateRequest should have comment or be unexported (golint)
    • Line 57: warning: exported type PipelineCronCreateResponse should have comment or be unexported (golint)
    • Line 62: warning: exported type PipelineCronDeleteResponse should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/insert_sidecar_image_visitor.go
    • Line 22: warning: exported type InsertSideCarImageVisitor should have comment or be unexported (golint)
    • Line 28: warning: exported function NewInsertSideCarImageVisitor should have comment or be unexported (golint)
    • Line 32: warning: exported method InsertSideCarImageVisitor.VisitServices should have comment or be unexported (golint)
    • Line 43: warning: exported method InsertSideCarImageVisitor.VisitService should have comment or be unexported (golint)
    • Line 61: warning: comment on exported function InsertSideCarImage should be of the form "InsertSideCarImage ..." (golint)
    • erda/apistructs/artifact_app_relation.go
    • Line 16: warning: exported type AppPublishItemRelation should have comment or be unexported (golint)
    • Line 29: warning: exported type QueryAppPublishItemRelationGroupByENVResponse should have comment or be unexported (golint)
    • Line 34: warning: exported type QueryAppPublishItemRelationRequest should have comment or be unexported (golint)
    • Line 41: warning: exported type QueryAppPublishItemRelationResponse should have comment or be unexported (golint)
    • Line 46: warning: exported type UpdateAppPublishItemRelationRequest should have comment or be unexported (golint)
    • Line 56: warning: exported type MonitorKeys should have comment or be unexported (golint)
    • Line 93: warning: exported type UpdateAppPublishItemRelationResponse should have comment or be unexported (golint)
    • Line 97: warning: exported type RemoveAppPublishItemRelationsRequest should have comment or be unexported (golint)
    • Line 101: warning: exported type RemoveAppPublishItemRelationsResponse should have comment or be unexported (golint)
    • erda/pkg/crypto/encrypt/encrypt.go
    • Line 23: warning: exported function AesEncrypt should have comment or be unexported (golint)
    • Line 45: warning: exported function AesDecrypt should have comment or be unexported (golint)
    • Line 65: warning: comment on exported function PKCS7Padding should be of the form "PKCS7Padding ..." (golint)
    • Line 72: warning: comment on exported function PKCS7UnPadding should be of the form "PKCS7UnPadding ..." (golint)
    • erda/modules/cmdb/services/cluster/cluster.go
    • Line 86: warning: exported const DiceProject should have comment (or a comment on this block) or be unexported (golint)
    • Line 542: warning: exported method Cluster.ListClusterByOrgAndType should have comment or be unexported (golint)
    • Line 806: warning: comment on exported method Cluster.ListClusterServices should be of the form "ListClusterServices ..." (golint)
    • erda/modules/pipeline/dbclient/op_pipeline_task.go
    • Line 29: warning: exported method Client.CreatePipelineTask should have comment or be unexported (golint)
    • Line 102: warning: exported method Client.GetPipelineTask should have comment or be unexported (golint)
    • Line 114: warning: exported method Client.FindPipelineTaskByName should have comment or be unexported (golint)
    • Line 129: warning: exported method Client.ListPipelineTasksByStageID should have comment or be unexported (golint)
    • Line 137: warning: exported method Client.ListPipelineTasksByPipelineID should have comment or be unexported (golint)
    • Line 148: warning: exported method Client.UpdatePipelineTaskResult should have comment or be unexported (golint)
    • Line 157: warning: exported method Client.UpdatePipelineTask should have comment or be unexported (golint)
    • Line 183: warning: exported method Client.UpdatePipelineTaskStatus should have comment or be unexported (golint)
    • Line 191: warning: exported method Client.UpdatePipelineTaskContext should have comment or be unexported (golint)
    • Line 199: warning: exported method Client.UpdatePipelineTaskExtra should have comment or be unexported (golint)
    • Line 207: warning: exported method Client.RefreshPipelineTask should have comment or be unexported (golint)
    • Line 216: warning: exported method Client.ListPipelineTasksByTypeStatuses should have comment or be unexported (golint)
    • Line 224: warning: exported method Client.DeletePipelineTasksByPipelineID should have comment or be unexported (golint)
    • erda/modules/hepa/common/util/g_pool.go
    • Line 16: warning: exported type GPool should have comment or be unexported (golint)
    • Line 20: warning: exported function NewGPool should have comment or be unexported (golint)
    • Line 29: warning: exported method GPool.Acquire should have comment or be unexported (golint)
    • Line 35: warning: exported method GPool.Release should have comment or be unexported (golint)
    • erda/apistructs/user.go
    • Line 22: warning: comment on exported type UserGetRequest should be of the form "UserGetRequest ..." (with optional leading article) (golint)
    • Line 29: warning: comment on exported type UserGetResponse should be of the form "UserGetResponse ..." (with optional leading article) (golint)
    • Line 36: warning: exported type UserProfile should have comment or be unexported (golint)
    • Line 57: warning: exported type Authorize should have comment or be unexported (golint)
    • Line 63: warning: exported type UserRole should have comment or be unexported (golint)
    • Line 71: warning: exported type Role should have comment or be unexported (golint)
    • Line 85: warning: exported type User should have comment or be unexported (golint)
    • Line 102: warning: exported type SimpleUser should have comment or be unexported (golint)
    • Line 275: warning: comment on exported type UserUnfreezeRequest should be of the form "UserUnfreezeRequest ..." (with optional leading article) (golint)
    • Line 361: warning: exported type UCRequest should have comment or be unexported (golint)
    • erda/pkg/database/sqlparser/migrator/db.go
    • Line 29: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 41: warning: exported function DB should have comment or be unexported (golint)
    • Line 89: warning: comment on exported function ClearSandbox should be of the form "ClearSandbox ..." (golint)
    • Line 96: warning: exported function SandBox should have comment or be unexported (golint)
    • Line 224: warning: exported function Begin should have comment or be unexported (golint)
    • Line 225: warning: exported function First should have comment or be unexported (golint)
    • Line 226: warning: exported function Find should have comment or be unexported (golint)
    • Line 227: warning: exported function Raw should have comment or be unexported (golint)
    • Line 228: warning: exported function Exec should have comment or be unexported (golint)
    • erda/modules/eventbox/webhook/impl.go
    • Line 33: warning: error var BadRequestErr should have name of the form ErrFoo (golint)
    • Line 33: warning: exported var BadRequestErr should have comment or be unexported (golint)
    • Line 34: warning: error var InternalServerErr should have name of the form ErrFoo (golint)
    • Line 34: warning: exported var InternalServerErr should have comment or be unexported (golint)
    • Line 36: warning: exported type WebHookImpl should have comment or be unexported (golint)
    • Line 40: warning: exported function NewWebHookImpl should have comment or be unexported (golint)
    • Line 48: warning: exported type Hook should have comment or be unexported (golint)
    • Line 49: warning: exported type HookLocation should have comment or be unexported (golint)
    • Line 50: warning: exported type ListHooksResponse should have comment or be unexported (golint)
    • Line 51: warning: exported type InspectHookResponse should have comment or be unexported (golint)
    • Line 52: warning: exported type CreateHookRequest should have comment or be unexported (golint)
    • Line 53: warning: exported type CreateHookResponse should have comment or be unexported (golint)
    • Line 55: warning: exported type EditHookRequest should have comment or be unexported (golint)
    • Line 57: warning: exported type EditHookResponse should have comment or be unexported (golint)
    • Line 97: warning: exported method WebHookImpl.InspectHook should have comment or be unexported (golint)
    • Line 108: warning: exported method WebHookImpl.CreateHook should have comment or be unexported (golint)
    • Line 172: warning: exported method WebHookImpl.EditHook should have comment or be unexported (golint)
    • Line 208: warning: exported method WebHookImpl.PingHook should have comment or be unexported (golint)
    • Line 238: warning: exported method WebHookImpl.DeleteHook should have comment or be unexported (golint)
    • Line 257: warning: comment on exported method WebHookImpl.SearchHooks should be of the form "SearchHooks ..." (golint)
    • erda/pkg/registryhelper/manifests.go
    • Line 30: warning: exported type RemoveManifestsRequest should have comment or be unexported (golint)
    • Line 36: warning: exported type RemoveManifestsResponse should have comment or be unexported (golint)
    • Line 66: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 86: warning: exported function RemoveManifests should have comment or be unexported (golint)
    • Line 116: warning: exported type State should have comment or be unexported (golint)
    • Line 123: warning: exported type StateReply should have comment or be unexported (golint)
    • Line 133: warning: exported function GetGcState should have comment or be unexported (golint)
    • erda/modules/dicehub/service/publish_item/item_statistics.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 333: warning: exported function VersionChannelList should have comment or be unexported (golint)
    • Line 553: warning: exported function ErrTrendInfo should have comment or be unexported (golint)
    • Line 605: warning: exported method PublishItem.CumulativeUsers should have comment or be unexported (golint)
    • Line 772: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 827: warning: exported function MetricsTotal should have comment or be unexported (golint)
    • Line 839: warning: exported function SevenDayAvg should have comment or be unexported (golint)
    • Line 860: warning: exported function SevenDayUserRetension should have comment or be unexported (golint)
    • Line 904: warning: exported method PublishItem.GetMonitorkeys should have comment or be unexported (golint)
    • Line 936: warning: exported method PublishItem.GetPublishItemByAKAI should have comment or be unexported (golint)
    • Line 995: warning: comment on exported method PublishItem.EffactUsersRate should be of the form "EffactUsersRate ..." (golint)
    • Line 1089: warning: comment on exported method PublishItem.CrashRate should be of the form "CrashRate ..." (golint)
    • Line 1181: warning: exported function Growth should have comment or be unexported (golint)
    • Line 1185: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 1197: warning: exported function Average should have comment or be unexported (golint)
    • Line 1205: warning: exported function AverageFloat should have comment or be unexported (golint)
    • Line 1213: warning: exported function Round should have comment or be unexported (golint)
    • erda/pkg/apitestsv2/header.go
    • Line 19: warning: exported const HeaderSetCookie should have comment or be unexported (golint)
    • Line 20: warning: exported const HeaderCookie should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/visitor_version.go
    • Line 21: warning: exported type VersionVisitor should have comment or be unexported (golint)
    • Line 23: warning: exported function NewVersionVisitor should have comment or be unexported (golint)
    • Line 27: warning: exported method VersionVisitor.Visit should have comment or be unexported (golint)
    • Line 38: warning: exported function GetVersion should have comment or be unexported (golint)
    • erda/apistructs/audits.go
    • Line 26: warning: comment on exported const CancelPipelineTemplate should be of the form "CancelPipelineTemplate ..." (golint)
    • Line 28: warning: exported const DeletePipelineKeyTemplate should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: comment on exported const CreateAppTemplate should be of the form "CreateAppTemplate ..." (golint)
    • Line 41: warning: comment on exported const CreateBranchRuleTemplate should be of the form "CreateBranchRuleTemplate ..." (golint)
    • Line 45: warning: comment on exported const BatchUpdateIssueTemplate should be of the form "BatchUpdateIssueTemplate ..." (golint)
    • Line 51: warning: comment on exported const CreateIterationTemplate should be of the form "CreateIterationTemplate ..." (golint)
    • Line 55: warning: comment on exported const CreateOrgTemplate should be of the form "CreateOrgTemplate ..." (golint)
    • Line 59: warning: comment on exported const CreateProjectLabelTemplate should be of the form "CreateProjectLabelTemplate ..." (golint)
    • Line 66: warning: comment on exported const AddMemberTemplate should be of the form "AddMemberTemplate ..." (golint)
    • Line 69: warning: comment on exported const LoginTemplate should be of the form "LoginTemplate ..." (golint)
    • Line 86: warning: comment on exported const CreateServiceDomainTemplate should be of the form "CreateServiceDomainTemplate ..." (golint)
    • Line 90: warning: comment on exported const CreateEndpointTemplate should be of the form "CreateEndpointTemplate ..." (golint)
    • Line 106: warning: comment on exported const CreateCloudAccountTemplate should be of the form "CreateCloudAccountTemplate ..." (golint)
    • Line 142: warning: comment on exported const CreateOrgAlert should be of the form "CreateOrgAlert ..." (golint)
    • Line 166: warning: comment on exported const CreateCustomAddonTemplate should be of the form "CreateCustomAddonTemplate ..." (golint)
    • Line 169: warning: comment on exported const DeleteRuntimeTemplate should be of the form "DeleteRuntimeTemplate ..." (golint)
    • Line 172: warning: comment on exported const CreateProjectNotifyTemplate should be of the form "CreateProjectNotifyTemplate ..." (golint)
    • Line 194: warning: comment on exported const QaTestEnvCreateTemplate should be of the form "QaTestEnvCreateTemplate ..." (golint)
    • Line 198: warning: comment on exported const CreateCertificatesTemplate should be of the form "CreateCertificatesTemplate ..." (golint)
    • Line 207: warning: comment on exported const AddPublishItemsBlacklistTemplate should be of the form "AddPublishItemsBlacklistTemplate ..." (golint)
    • Line 211: warning: comment on exported const CreatePublishItemsTemplate should be of the form "CreatePublishItemsTemplate ..." (golint)
    • Line 215: warning: comment on exported const RepoLockedTemplate should be of the form "RepoLockedTemplate ..." (golint)
    • Line 296: warning: exported const SuccessfulResult should have comment (or a comment on this block) or be unexported (golint)
    • Line 449: warning: exported type AuditListCleanCronResponseData should have comment or be unexported (golint)
    • erda/pkg/aliyunclient/logger.go
    • Line 30: warning: exported type Logger should have comment or be unexported (golint)
    • Line 46: warning: exported method Client.GetLogger should have comment or be unexported (golint)
    • Line 50: warning: exported method Client.GetLoggerMsg should have comment or be unexported (golint)
    • Line 57: warning: exported method Client.SetLogger should have comment or be unexported (golint)
    • Line 78: warning: exported method Client.OpenLogger should have comment or be unexported (golint)
    • Line 85: warning: exported method Client.CloseLogger should have comment or be unexported (golint)
    • Line 91: warning: exported method Client.SetTemplate should have comment or be unexported (golint)
    • Line 98: warning: exported method Client.GetTemplate should have comment or be unexported (golint)
    • Line 105: warning: exported function TransToString should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/cloud_resource_redis.go
    • Line 38: warning: exported method Endpoints.ListRedis should have comment or be unexported (golint)
    • Line 67: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 112: warning: exported method Endpoints.CetRedisDetailInfo should have comment or be unexported (golint)
    • Line 149: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 171: warning: exported method Endpoints.CreateRedis should have comment or be unexported (golint)
    • Line 210: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 242: warning: exported method Endpoints.DeleteRedisResource should have comment or be unexported (golint)
    • erda/modules/openapi/api/apis/openapi/component_protocol/render.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 30: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 40: warning: exported var Render should have comment or be unexported (golint)
    • Line 100: warning: exported function RenderResponse should have comment or be unexported (golint)
    • Line 140: warning: exported function GetIdentity should have comment or be unexported (golint)
    • erda/modules/openapi/api/generate/apistruct/json.go
    • Line 24: warning: exported type JSON should have comment or be unexported (golint)
    • Line 25: warning: exported type SliceJSON should have comment or be unexported (golint)
    • Line 27: warning: comment on exported function ToJson should be of the form "ToJson ..." (golint)
    • Line 84: warning: exported function EventToJson should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_policy_service.go
    • Line 19: warning: should not use dot imports (golint)
    • Line 23: warning: exported type GatewayPolicyServiceImpl should have comment or be unexported (golint)
    • Line 27: warning: exported function NewGatewayPolicyServiceImpl should have comment or be unexported (golint)
    • Line 35: warning: exported method GatewayPolicyServiceImpl.Insert should have comment or be unexported (golint)
    • Line 46: warning: exported method GatewayPolicyServiceImpl.Update should have comment or be unexported (golint)
    • Line 57: warning: exported method GatewayPolicyServiceImpl.DeleteById should have comment or be unexported (golint)
    • Line 69: warning: exported method GatewayPolicyServiceImpl.GetById should have comment or be unexported (golint)
    • Line 84: warning: exported method GatewayPolicyServiceImpl.GetByPolicyName should have comment or be unexported (golint)
    • Line 100: warning: exported method GatewayPolicyServiceImpl.SelectByCategory should have comment or be unexported (golint)
    • Line 112: warning: exported method GatewayPolicyServiceImpl.SelectByCategoryAndConsumer should have comment or be unexported (golint)
    • Line 124: warning: exported method GatewayPolicyServiceImpl.SelectInIds should have comment or be unexported (golint)
    • Line 136: warning: exported method GatewayPolicyServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 152: warning: exported method GatewayPolicyServiceImpl.GetByAny should have comment or be unexported (golint)
    • erda/modules/pipeline/dbclient/op_pipeline_stage.go
    • Line 26: warning: exported method Client.CreatePipelineStage should have comment or be unexported (golint)
    • Line 34: warning: exported method Client.GetPipelineStage should have comment or be unexported (golint)
    • Line 48: warning: exported method Client.GetPipelineStageWithPreStatus should have comment or be unexported (golint)
    • Line 65: warning: exported method Client.UpdatePipelineStage should have comment or be unexported (golint)
    • Line 72: warning: exported method Client.ListPipelineStageByPipelineID should have comment or be unexported (golint)
    • Line 89: warning: exported method Client.ListPipelineStageByStatuses should have comment or be unexported (golint)
    • Line 104: warning: exported method Client.DeletePipelineStagesByPipelineID should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/table_comment_linter.go
    • Line 24: warning: exported type TableCommentLinter should have comment or be unexported (golint)
    • Line 28: warning: exported function NewTableCommentLinter should have comment or be unexported (golint)
    • Line 32: warning: exported method TableCommentLinter.Enter should have comment or be unexported (golint)
    • Line 54: warning: exported method TableCommentLinter.Leave should have comment or be unexported (golint)
    • erda/pkg/http/httpclient/request.go
    • Line 37: warning: exported type Request should have comment or be unexported (golint)
    • Line 57: warning: exported type AfterDo should have comment or be unexported (golint)
    • Line 59: warning: exported type RetryFn should have comment or be unexported (golint)
    • Line 61: warning: exported type MultipartItem should have comment or be unexported (golint)
    • Line 70: warning: exported const MAX_RETRY_TIMES_FOR_TIMEOUT should have comment (or a comment on this block) or be unexported (golint)
    • Line 73: warning: exported method Request.Do should have comment or be unexported (golint)
    • Line 116: warning: exported method Request.GetUrl should have comment or be unexported (golint)
    • Line 189: warning: exported method AfterDo.RAW should have comment or be unexported (golint)
    • Line 193: warning: exported method AfterDo.JSON should have comment or be unexported (golint)
    • Line 222: warning: comment on exported method AfterDo.Body should be of the form "Body ..." (golint)
    • Line 252: warning: exported method AfterDo.DiscardBody should have comment or be unexported (golint)
    • Line 264: warning: exported method Request.Path should have comment or be unexported (golint)
    • Line 268: warning: exported method Request.Param should have comment or be unexported (golint)
    • Line 276: warning: exported method Request.Params should have comment or be unexported (golint)
    • Line 286: warning: exported method Request.JSONBody should have comment or be unexported (golint)
    • Line 296: warning: exported method Request.RawBody should have comment or be unexported (golint)
    • Line 301: warning: exported method Request.FormBody should have comment or be unexported (golint)
    • Line 307: warning: exported method Request.MultipartFormDataBody should have comment or be unexported (golint)
    • Line 346: warning: exported method Request.Header should have comment or be unexported (golint)
    • Line 350: warning: exported method Request.Headers should have comment or be unexported (golint)
    • Line 359: warning: exported method Request.Cookie should have comment or be unexported (golint)
    • erda/apistructs/sceneset.go
    • Line 21: warning: exported const SceneSetsAutotestExecType should have comment or be unexported (golint)
    • Line 22: warning: exported const SceneAutotestExecType should have comment or be unexported (golint)
    • Line 24: warning: exported type SceneSet should have comment or be unexported (golint)
    • Line 43: warning: exported type SceneSetRequest should have comment or be unexported (golint)
    • Line 60: warning: exported type GetSceneSetResponse should have comment or be unexported (golint)
    • Line 65: warning: exported type CreateSceneSetResponse should have comment or be unexported (golint)
    • Line 70: warning: exported type GetSceneSetsResponse should have comment or be unexported (golint)
    • Line 75: warning: exported type UpdateSceneSetResponse should have comment or be unexported (golint)
    • Line 80: warning: exported type DeleteSceneSetResponse should have comment or be unexported (golint)
    • Line 85: warning: exported method SceneSetRequest.URLQueryString should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/endpoints.go
    • Line 76: warning: exported const CDPCallbackPath should have comment (or a comment on this block) or be unexported (golint)
    • Line 87: warning: exported type EventCallback should have comment or be unexported (golint)
    • Line 603: warning: exported function NotImplemented should have comment or be unexported (golint)
    • Line 658: warning: exported type Option should have comment or be unexported (golint)
    • Line 660: warning: exported function New should have comment or be unexported (golint)
    • Line 670: warning: exported function WithQueryStringDecoder should have comment or be unexported (golint)
    • Line 676: warning: exported function WithAssetSvc should have comment or be unexported (golint)
    • Line 682: warning: exported function WithFileTreeSvc should have comment or be unexported (golint)
    • Line 688: warning: exported function WithProjectPipelineFileTree should have comment or be unexported (golint)
    • Line 729: warning: exported function WithGittarFileTree should have comment or be unexported (golint)
    • Line 740: warning: exported method Endpoints.UCClient should have comment or be unexported (golint)
    • Line 749: warning: exported method Endpoints.RegisterEvents should have comment or be unexported (golint)
    • Line 772: warning: exported function WithDB should have comment or be unexported (golint)
    • Line 778: warning: exported function WithTestcase should have comment or be unexported (golint)
    • Line 784: warning: exported function WithTestSet should have comment or be unexported (golint)
    • Line 790: warning: exported function WithSonarMetricRule should have comment or be unexported (golint)
    • Line 803: warning: exported function WithCQ should have comment or be unexported (golint)
    • Line 809: warning: exported function WithAutoTest should have comment or be unexported (golint)
    • Line 815: warning: exported function WithAutoTestV2 should have comment or be unexported (golint)
    • Line 821: warning: exported function WithSceneSet should have comment or be unexported (golint)
    • Line 827: warning: exported function WithMigrate should have comment or be unexported (golint)
    • Line 875: warning: exported function WithIssueRelated should have comment or be unexported (golint)
    • Line 881: warning: exported function WithIssueState should have comment or be unexported (golint)
    • Line 887: warning: exported function WithIssuePanel should have comment or be unexported (golint)
    • Line 942: warning: exported function WithFileSvc should have comment or be unexported (golint)
    • Line 990: warning: exported method Endpoints.TestCaseService should have comment or be unexported (golint)
    • erda/modules/pipeline/pipengine/reconciler/rlog/log.go
    • Line 28: warning: exported function Infof should have comment or be unexported (golint)
    • Line 33: warning: exported function PInfof should have comment or be unexported (golint)
    • Line 38: warning: exported function TInfof should have comment or be unexported (golint)
    • Line 43: warning: exported function PWarnf should have comment or be unexported (golint)
    • Line 48: warning: exported function TWarnf should have comment or be unexported (golint)
    • Line 54: warning: exported function PDebugf should have comment or be unexported (golint)
    • Line 59: warning: exported function TDebugf should have comment or be unexported (golint)
    • Line 64: warning: exported function Errorf should have comment or be unexported (golint)
    • Line 70: warning: exported function PErrorf should have comment or be unexported (golint)
    • Line 76: warning: exported function TErrorf should have comment or be unexported (golint)
    • erda/modules/core-services/types/types.go
    • Line 23: warning: exported const UnknownType should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported var ContainerStatusIndex should have comment or be unexported (golint)
    • Line 58: warning: exported const InstanceStatusStarting should have comment (or a comment on this block) or be unexported (golint)
    • Line 71: warning: exported function IsValidSchedulerInstanceStatus should have comment or be unexported (golint)
    • Line 80: warning: exported function IsValidAgentInstanceStatus should have comment or be unexported (golint)
    • Line 102: warning: exported const DefaultWorkspace should have comment (or a comment on this block) or be unexported (golint)
    • Line 117: warning: comment on exported const RoleSysManager should be of the form "RoleSysManager ..." (golint)
    • Line 120: warning: comment on exported const RoleOrgManager should be of the form "RoleOrgManager ..." (golint)
    • Line 122: warning: exported const RoleOrgDev should have comment (or a comment on this block) or be unexported (golint)
    • Line 131: warning: comment on exported const RoleProjectOwner should be of the form "RoleProjectOwner ..." (golint)
    • Line 141: warning: comment on exported const RoleAppOwner should be of the form "RoleAppOwner ..." (golint)
    • Line 149: warning: comment on exported const RolePublisherManager should be of the form "RolePublisherManager ..." (golint)
    • Line 153: warning: comment on exported const RoleGuest should be of the form "RoleGuest ..." (golint)
    • erda/pkg/qaparser/manager.go
    • Line 26: warning: exported type Parser should have comment or be unexported (golint)
    • Line 31: warning: exported type Manager should have comment or be unexported (golint)
    • Line 35: warning: exported function GetManager should have comment or be unexported (golint)
    • Line 47: warning: exported method Manager.GetParser should have comment or be unexported (golint)
    • Line 55: warning: exported function Register should have comment or be unexported (golint)
    • erda/modules/dop/dao/file.go
    • Line 27: warning: exported type File should have comment or be unexported (golint)
    • Line 42: warning: exported type FileExtra should have comment or be unexported (golint)
    • Line 51: warning: exported type OSSSnapshot should have comment or be unexported (golint)
    • Line 56: warning: exported method File.TableName should have comment or be unexported (golint)
    • Line 60: warning: exported method FileExtra.Value should have comment or be unexported (golint)
    • Line 63: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 68: warning: exported method FileExtra.Scan should have comment or be unexported (golint)
    • Line 85: warning: exported method DBClient.CreateFile should have comment or be unexported (golint)
    • Line 89: warning: exported method DBClient.GetFile should have comment or be unexported (golint)
    • Line 95: warning: exported method DBClient.GetFileByUUID should have comment or be unexported (golint)
    • Line 101: warning: exported method DBClient.DeleteFile should have comment or be unexported (golint)
    • Line 105: warning: exported method DBClient.ListExpiredFiles should have comment or be unexported (golint)
    • erda/apistructs/job.go
    • Line 22: warning: exported type JobKind should have comment or be unexported (golint)
    • Line 25: warning: exported var Metronome should have comment or be unexported (golint)
    • Line 36: warning: exported type JobVolume should have comment or be unexported (golint)
    • Line 48: warning: exported type JobVolumeCreateResponse should have comment or be unexported (golint)
    • Line 67: warning: exported type JobFromUser should have comment or be unexported (golint)
    • Line 100: warning: exported type JobCreateRequest should have comment or be unexported (golint)
    • Line 102: warning: exported type JobCreateResponse should have comment or be unexported (golint)
    • Line 108: warning: exported type JobStartResponse should have comment or be unexported (golint)
    • Line 114: warning: exported type JobStopResponse should have comment or be unexported (golint)
    • Line 119: warning: exported type JobDeleteResponse should have comment or be unexported (golint)
    • Line 125: warning: exported type JobsDeleteResponse should have comment or be unexported (golint)
    • Line 127: warning: exported type JobBatchRequest should have comment or be unexported (golint)
    • Line 131: warning: exported type JobBatchResponse should have comment or be unexported (golint)
    • Line 137: warning: exported var ErrJobIsRunning should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/updated_at_linter.go
    • Line 32: warning: exported type UpdatedAtExistsLinter should have comment or be unexported (golint)
    • Line 36: warning: exported function NewUpdatedAtExistsLinter should have comment or be unexported (golint)
    • Line 40: warning: exported method UpdatedAtExistsLinter.Enter should have comment or be unexported (golint)
    • Line 64: warning: exported method UpdatedAtExistsLinter.Leave should have comment or be unexported (golint)
    • Line 72: warning: exported type UpdatedAtTypeLinter should have comment or be unexported (golint)
    • Line 76: warning: exported function NewUpdatedAtTypeLinter should have comment or be unexported (golint)
    • Line 80: warning: exported method UpdatedAtTypeLinter.Enter should have comment or be unexported (golint)
    • Line 110: warning: exported method UpdatedAtTypeLinter.Leave should have comment or be unexported (golint)
    • Line 118: warning: exported type UpdatedAtDefaultValueLinter should have comment or be unexported (golint)
    • Line 122: warning: exported function NewUpdatedAtDefaultValueLinter should have comment or be unexported (golint)
    • Line 126: warning: exported method UpdatedAtDefaultValueLinter.Enter should have comment or be unexported (golint)
    • Line 161: warning: exported method UpdatedAtDefaultValueLinter.Leave should have comment or be unexported (golint)
    • Line 169: warning: exported type UpdatedAtOnUpdateLinter should have comment or be unexported (golint)
    • Line 173: warning: exported function NewUpdatedAtOnUpdateLinter should have comment or be unexported (golint)
    • Line 177: warning: exported method UpdatedAtOnUpdateLinter.Enter should have comment or be unexported (golint)
    • Line 214: warning: exported method UpdatedAtOnUpdateLinter.Leave should have comment or be unexported (golint)
    • erda/modules/dop/dbclient/dao.go
    • Line 25: warning: exported function FindTPRecord should have comment or be unexported (golint)
    • Line 38: warning: exported function FindTPRecordById should have comment or be unexported (golint)
    • Line 49: warning: exported function FindTPRecordByCommitId should have comment or be unexported (golint)
    • Line 65: warning: exported function FindTPRecordPagingByAppID should have comment or be unexported (golint)
    • Line 79: warning: exported function InsertTPRecord should have comment or be unexported (golint)
    • Line 92: warning: exported function InsertTPRecords should have comment or be unexported (golint)
    • Line 133: warning: exported function FindLatestSonarByAppID should have comment or be unexported (golint)
    • erda/bundle/kms.go
    • Line 23: warning: exported method Bundle.KMSCreateKey should have comment or be unexported (golint)
    • Line 44: warning: exported method Bundle.KMSEncrypt should have comment or be unexported (golint)
    • Line 65: warning: exported method Bundle.KMSDecrypt should have comment or be unexported (golint)
    • Line 86: warning: comment on exported method Bundle.KMSGenerateDataKey should be of the form "KMSGenerateDataKey ..." (golint)
    • Line 115: warning: exported method Bundle.KMSRotateKeyVersion should have comment or be unexported (golint)
    • Line 136: warning: exported method Bundle.KMSDescribeKey should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/visitor_params.go
    • Line 27: warning: exported type ParamsVisitor should have comment or be unexported (golint)
    • Line 32: warning: exported function NewParamsVisitor should have comment or be unexported (golint)
    • Line 39: warning: exported method ParamsVisitor.Visit should have comment or be unexported (golint)
    • Line 53: warning: exported function ReplacePipelineParams should have comment or be unexported (golint)
    • erda/providers/metrics/query/query_requst.go
    • Line 23: warning: exported type TimeAlignCondition should have comment or be unexported (golint)
    • Line 25: warning: exported type FuncCondition should have comment or be unexported (golint)
    • Line 29: warning: exported type GroupCondition should have comment or be unexported (golint)
    • Line 31: warning: exported type FilterCondition should have comment or be unexported (golint)
    • Line 35: warning: exported type FieldCondition should have comment or be unexported (golint)
    • Line 40: warning: exported type RangeCondition should have comment or be unexported (golint)
    • Line 51: warning: exported type MetricQueryRequest should have comment or be unexported (golint)
    • Line 64: warning: don't use underscores in Go names; struct field range_ should be range (golint)
    • Line 67: warning: exported function CreateQueryRequest should have comment or be unexported (golint)
    • Line 84: warning: exported method MetricQueryRequest.StartFrom should have comment or be unexported (golint)
    • Line 89: warning: exported method MetricQueryRequest.EndWith should have comment or be unexported (golint)
    • Line 94: warning: comment on exported method MetricQueryRequest.FormatAs should be of the form "FormatAs ..." (golint)
    • Line 101: warning: exported method MetricQueryRequest.SetDiagram should have comment or be unexported (golint)
    • Line 106: warning: exported method MetricQueryRequest.Filter should have comment or be unexported (golint)
    • Line 111: warning: exported method MetricQueryRequest.Match should have comment or be unexported (golint)
    • Line 116: warning: exported method MetricQueryRequest.Field should have comment or be unexported (golint)
    • Line 123: warning: exported method MetricQueryRequest.In should have comment or be unexported (golint)
    • Line 130: warning: exported method MetricQueryRequest.LimitPoint should have comment or be unexported (golint)
    • Line 135: warning: comment on exported method MetricQueryRequest.Apply should be of the form "Apply ..." (golint)
    • Line 141: warning: exported method MetricQueryRequest.GroupBy should have comment or be unexported (golint)
    • Line 148: warning: exported method MetricQueryRequest.LimitGroup should have comment or be unexported (golint)
    • Line 153: warning: exported method MetricQueryRequest.Sort should have comment or be unexported (golint)
    • Line 158: warning: exported method MetricQueryRequest.Align should have comment or be unexported (golint)
    • Line 163: warning: exported method MetricQueryRequest.ConstructParam should have comment or be unexported (golint)
    • erda/pkg/swagger/ddlconv/openapi.go
    • Line 25: warning: exported type DDLConverter should have comment or be unexported (golint)
    • Line 32: warning: exported function New should have comment or be unexported (golint)
    • Line 62: warning: exported method DDLConverter.WriteString should have comment or be unexported (golint)
    • Line 75: warning: exported method DDLConverter.Enter should have comment or be unexported (golint)
    • Line 205: warning: exported method DDLConverter.Leave should have comment or be unexported (golint)
    • Line 209: warning: exported method DDLConverter.YAML should have comment or be unexported (golint)
    • Line 220: warning: exported method DDLConverter.JSON should have comment or be unexported (golint)
    • Line 232: warning: exported type OpenapiSchema should have comment or be unexported (golint)
    • Line 257: warning: exported type Components should have comment or be unexported (golint)
    • erda/modules/gittar/auth/auth.go
    • Line 45: warning: error var NO_AUTH_ERROR should have name of the form ErrFoo (golint)
    • Line 45: warning: exported var NO_AUTH_ERROR should have comment or be unexported (golint)
    • Line 55: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 62: warning: exported function Authenticate should have comment or be unexported (golint)
    • Line 96: warning: exported function AuthenticateByApp should have comment or be unexported (golint)
    • Line 117: warning: exported function AuthenticateV2 should have comment or be unexported (golint)
    • Line 163: warning: exported function AuthenticateV3 should have comment or be unexported (golint)
    • Line 285: warning: exported function GetInnerUser should have comment or be unexported (golint)
    • Line 295: warning: exported type AuthResp should have comment or be unexported (golint)
    • Line 300: warning: exported type ErrorData should have comment or be unexported (golint)
    • Line 305: warning: exported function GetUserInfoByTokenOrBasicAuth should have comment or be unexported (golint)
    • Line 346: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 352: warning: exported function GetUserByBasicAuth should have comment or be unexported (golint)
    • Line 365: warning: exported function ValidaUserRepoWithCache should have comment or be unexported (golint)
    • Line 383: warning: exported function ValidaUserRepo should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/folderDetailTable/folderDetailTable.go
    • Line 14: warning: don't use MixedCaps in package name; folderDetailTable should be folderdetailtable (golint)
    • Line 26: warning: exported function GetOpsInfo should have comment or be unexported (golint)
    • Line 46: warning: exported method ComponentAction.ListScene should have comment or be unexported (golint)
    • Line 109: warning: exported method ComponentAction.DeleteScene should have comment or be unexported (golint)
    • Line 121: warning: exported method ComponentAction.UpdateScene should have comment or be unexported (golint)
    • Line 136: warning: exported method ComponentAction.CopyScene should have comment or be unexported (golint)
    • Line 172: warning: exported method ComponentAction.ClickScene should have comment or be unexported (golint)
    • Line 193: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • erda/modules/monitor/alert/alert-apis/adapt/record.go
    • Line 66: warning: exported type AlertState should have comment or be unexported (golint)
    • Line 70: warning: exported const AlertStateAlert should have comment (or a comment on this block) or be unexported (golint)
    • Line 108: warning: comment on exported method Adapt.QueryOrgAlertRecord should be of the form "QueryOrgAlertRecord ..." (golint)
    • Line 116: warning: comment on exported method Adapt.QueryAlertRecord should be of the form "QueryAlertRecord ..." (golint)
    • Line 137: warning: comment on exported method Adapt.CountOrgAlertRecord should be of the form "CountOrgAlertRecord ..." (golint)
    • Line 143: warning: comment on exported method Adapt.CountAlertRecord should be of the form "CountAlertRecord ..." (golint)
    • Line 150: warning: comment on exported method Adapt.GetOrgAlertRecord should be of the form "GetOrgAlertRecord ..." (golint)
    • Line 164: warning: comment on exported method Adapt.GetAlertRecord should be of the form "GetAlertRecord ..." (golint)
    • Line 183: warning: comment on exported method Adapt.QueryOrgAlertHistory should be of the form "QueryOrgAlertHistory ..." (golint)
    • Line 195: warning: comment on exported method Adapt.QueryAlertHistory should be of the form "QueryAlertHistory ..." (golint)
    • Line 214: warning: comment on exported method Adapt.CreateOrgAlertIssue should be of the form "CreateOrgAlertIssue ..." (golint)
    • Line 226: warning: comment on exported method Adapt.CreateAlertIssue should be of the form "CreateAlertIssue ..." (golint)
    • Line 242: warning: exported method Adapt.UpdateOrgAlertIssue should have comment or be unexported (golint)
    • Line 256: warning: comment on exported method Adapt.UpdateAlertIssue should be of the form "UpdateAlertIssue ..." (golint)
    • erda/modules/monitor/core/metrics/metricq/metricmeta/manager.go
    • Line 24: warning: exported type MetaSource should have comment or be unexported (golint)
    • Line 34: warning: exported type Manager should have comment or be unexported (golint)
    • Line 48: warning: exported function NewManager should have comment or be unexported (golint)
    • Line 64: warning: exported method Manager.Start should have comment or be unexported (golint)
    • Line 116: warning: exported method Manager.Close should have comment or be unexported (golint)
    • erda/pkg/jsonstore/memetcd/memetcd.go
    • Line 14: warning: package comment should be of the form "Package memetcd ..." (golint)
    • Line 31: warning: exported type MemEtcdStore should have comment or be unexported (golint)
    • Line 43: warning: exported function New should have comment or be unexported (golint)
    • Line 104: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 123: warning: don't use underscores in Go names; func parameter new_ should be new (golint)
    • Line 144: warning: don't use underscores in Go names; var kv_ should be kv (golint)
    • Line 211: warning: exported method MemEtcdStore.Put should have comment or be unexported (golint)
    • Line 227: warning: exported method MemEtcdStore.PutWithOption should have comment or be unexported (golint)
    • Line 231: warning: exported method MemEtcdStore.Get should have comment or be unexported (golint)
    • Line 247: warning: exported method MemEtcdStore.Remove should have comment or be unexported (golint)
    • Line 263: warning: exported method MemEtcdStore.PrefixRemove should have comment or be unexported (golint)
    • Line 279: warning: exported method MemEtcdStore.PrefixGet should have comment or be unexported (golint)
    • Line 288: warning: exported method MemEtcdStore.PrefixGetKey should have comment or be unexported (golint)
    • Line 297: warning: exported method MemEtcdStore.Watch should have comment or be unexported (golint)
    • erda/pkg/nexus/repository_request.go
    • Line 16: warning: exported type RepositoryCreator should have comment or be unexported (golint)
    • Line 24: warning: exported type RepositoryProxyCreator should have comment or be unexported (golint)
    • Line 31: warning: exported type RepositoryGroupCreator should have comment or be unexported (golint)
    • Line 36: warning: exported type BaseRepositoryCreateRequest should have comment or be unexported (golint)
    • Line 47: warning: exported method BaseRepositoryCreateRequest.GetName should have comment or be unexported (golint)
    • Line 48: warning: exported method BaseRepositoryCreateRequest.GetOnline should have comment or be unexported (golint)
    • Line 49: warning: exported method BaseRepositoryCreateRequest.GetStorage should have comment or be unexported (golint)
    • Line 50: warning: exported method BaseRepositoryCreateRequest.GetCleanup should have comment or be unexported (golint)
    • Line 52: warning: exported type HostedRepositoryCreateRequest should have comment or be unexported (golint)
    • Line 54: warning: exported method HostedRepositoryCreateRequest.GetType should have comment or be unexported (golint)
    • Line 56: warning: exported type ProxyRepositoryCreateRequest should have comment or be unexported (golint)
    • Line 64: warning: exported method ProxyRepositoryCreateRequest.GetProxy should have comment or be unexported (golint)
    • Line 65: warning: exported method ProxyRepositoryCreateRequest.GetNegativeCache should have comment or be unexported (golint)
    • Line 68: warning: exported method ProxyRepositoryCreateRequest.GetHttpClient should have comment or be unexported (golint)
    • Line 69: warning: exported method ProxyRepositoryCreateRequest.GetRoutingRule should have comment or be unexported (golint)
    • Line 70: warning: exported method ProxyRepositoryCreateRequest.GetType should have comment or be unexported (golint)
    • Line 72: warning: exported type GroupRepositoryCreateRequest should have comment or be unexported (golint)
    • Line 77: warning: exported method GroupRepositoryCreateRequest.GetGroup should have comment or be unexported (golint)
    • Line 78: warning: exported method GroupRepositoryCreateRequest.GetType should have comment or be unexported (golint)
    • Line 82: warning: exported type RepositoryListRequest should have comment or be unexported (golint)
    • Line 83: warning: exported type RepositoryGetRequest should have comment or be unexported (golint)
    • Line 84: warning: exported type RepositoryDeleteRequest should have comment or be unexported (golint)
    • Line 85: warning: exported type RepositoryInvalidateCacheRequest should have comment or be unexported (golint)
    • Line 86: warning: exported type RepositoryRebuildIndexRequest should have comment or be unexported (golint)
    • erda/modules/dop/dao/autotest_scene_step.go
    • Line 25: warning: exported type AutoTestSceneStep should have comment or be unexported (golint)
    • Line 39: warning: exported method AutoTestSceneStep.TableName should have comment or be unexported (golint)
    • Line 43: warning: exported type GetNum should have comment or be unexported (golint)
    • Line 48: warning: exported method AutoTestSceneStep.Convert should have comment or be unexported (golint)
    • Line 67: warning: exported method DBClient.CreateAutoTestSceneStep should have comment or be unexported (golint)
    • Line 71: warning: exported method DBClient.UpdateAutotestSceneStep should have comment or be unexported (golint)
    • Line 75: warning: exported method DBClient.DeleteAutoTestSceneStep should have comment or be unexported (golint)
    • Line 79: warning: exported method DBClient.GetAutoTestSceneStep should have comment or be unexported (golint)
    • Line 87: warning: exported method DBClient.GetAutoTestSceneStepCount should have comment or be unexported (golint)
    • Line 96: warning: exported method DBClient.GetAutoTestSceneStepByPreID should have comment or be unexported (golint)
    • Line 105: warning: exported method DBClient.ListAutoTestSceneStep should have comment or be unexported (golint)
    • Line 114: warning: exported method DBClient.ListAutoTestSceneSteps should have comment or be unexported (golint)
    • Line 123: warning: exported method DBClient.GetAutoTestSceneStepNumber should have comment or be unexported (golint)
    • Line 131: warning: exported method DBClient.GetAutoTestSpaceStepNumber should have comment or be unexported (golint)
    • Line 139: warning: comment on exported method DBClient.MoveAutoTestSceneStep should be of the form "MoveAutoTestSceneStep ..." (golint)
    • Line 233: warning: comment on exported method DBClient.MoveAutoTestSceneStepGroup should be of the form "MoveAutoTestSceneStepGroup ..." (golint)
    • Line 281: warning: comment on exported method DBClient.MoveAutoTestSceneStepToGroup should be of the form "MoveAutoTestSceneStepToGroup ..." (golint)
    • Line 344: warning: exported method DBClient.CopyAutoTestSceneStep should have comment or be unexported (golint)
    • Line 382: warning: exported method DBClient.InsertAutoTestSceneStep should have comment or be unexported (golint)
    • erda/apistructs/role.go
    • Line 16: warning: comment on exported type RoleChangeRequest should be of the form "RoleChangeRequest ..." (with optional leading article) (golint)
    • Line 25: warning: exported type RoleChangeBody should have comment or be unexported (golint)
    • Line 34: warning: comment on exported type RoleChangeResponse should be of the form "RoleChangeResponse ..." (with optional leading article) (golint)
    • erda/pkg/desensitize/desensitize.go
    • Line 21: warning: exported function Mobile should have comment or be unexported (golint)
    • Line 25: warning: exported function Email should have comment or be unexported (golint)
    • Line 33: warning: exported function Name should have comment or be unexported (golint)
    • erda/modules/soldier/auth/auth.go
    • Line 27: warning: exported type Client should have comment or be unexported (golint)
    • Line 38: warning: exported type ClientToken should have comment or be unexported (golint)
    • Line 82: warning: exported method Client.GetToken should have comment or be unexported (golint)
    • erda/modules/dop/dao/autotest_scene_input.go
    • Line 20: warning: exported type AutoTestSceneInput should have comment or be unexported (golint)
    • Line 32: warning: exported method AutoTestSceneInput.TableName should have comment or be unexported (golint)
    • Line 36: warning: exported method DBClient.CreateAutoTestSceneInput should have comment or be unexported (golint)
    • Line 41: warning: exported method DBClient.CreateAutoTestSceneInputs should have comment or be unexported (golint)
    • Line 46: warning: exported method DBClient.UpdateAutotestSceneInput should have comment or be unexported (golint)
    • Line 50: warning: exported method DBClient.DeleteAutoTestSceneInput should have comment or be unexported (golint)
    • Line 54: warning: exported method DBClient.GetAutoTestSceneInput should have comment or be unexported (golint)
    • Line 63: warning: exported method DBClient.ListAutoTestSceneInput should have comment or be unexported (golint)
    • Line 72: warning: exported method DBClient.ListAutoTestSceneInputByScenes should have comment or be unexported (golint)
    • erda/modules/dop/dao/tx.go
    • Line 22: warning: exported type TX should have comment or be unexported (golint)
    • Line 26: warning: exported method TX.Sq should have comment or be unexported (golint)
    • Line 33: warning: exported method DBClient.Tx should have comment or be unexported (golint)
    • Line 40: warning: exported method DBClient.Sq should have comment or be unexported (golint)
    • erda/modules/orchestrator/services/apierrors/errors.go
    • Line 35: warning: exported var ErrListInstance should have comment or be unexported (golint)
    • Line 56: warning: exported var ErrCreateAddon should have comment or be unexported (golint)
    • Line 65: warning: exported var ErrMigrationLog should have comment or be unexported (golint)
    • Line 69: warning: exported var ErrOrgLog should have comment or be unexported (golint)
    • Line 73: warning: exported var ErrProjectResource should have comment or be unexported (golint)
    • Line 76: warning: exported var ErrClusterResource should have comment or be unexported (golint)
    • Line 80: warning: exported var ErrGetAppWorkspaceReleases should have comment or be unexported (golint)
    • Line 84: warning: exported var ErrAddonYmlExport should have comment or be unexported (golint)
    • erda/modules/pipeline/services/cmsvc/cms.go
    • Line 30: warning: exported method CMSvc.CreateNS should have comment or be unexported (golint)
    • Line 46: warning: exported method CMSvc.DeleteNS should have comment or be unexported (golint)
    • Line 62: warning: exported method CMSvc.PrefixListNS should have comment or be unexported (golint)
    • Line 73: warning: exported method CMSvc.UpdateConfigs should have comment or be unexported (golint)
    • Line 89: warning: exported method CMSvc.DeleteConfigs should have comment or be unexported (golint)
    • Line 107: warning: exported method CMSvc.GetConfigs should have comment or be unexported (golint)
    • erda/modules/dop/services/filesvc/svc.go
    • Line 36: warning: exported type FileService should have comment or be unexported (golint)
    • Line 99: warning: exported function WithBundle should have comment or be unexported (golint)
    • Line 105: warning: exported function WithEtcdClient should have comment or be unexported (golint)
    • Line 111: warning: exported function GetKMSKey should have comment or be unexported (golint)
    • Line 115: warning: exported function ApplyKmsCmk should have comment or be unexported (golint)
    • erda/modules/cmp/impl/addons/config.go
    • Line 34: warning: exported type Addons should have comment or be unexported (golint)
    • Line 39: warning: exported function New should have comment or be unexported (golint)
    • Line 43: warning: exported method Addons.GetDBAddonNodeInfo should have comment or be unexported (golint)
    • Line 52: warning: exported method Addons.GetDBAddonConfig should have comment or be unexported (golint)
    • Line 64: warning: exported method Addons.UpdateDBAddonConfig should have comment or be unexported (golint)
    • Line 86: warning: exported method Addons.UpdateDBAddonScaleInfo should have comment or be unexported (golint)
    • Line 106: warning: exported method Addons.ProjectQuotaCheck should have comment or be unexported (golint)
    • Line 177: warning: exported method Addons.GetAddonConfig should have comment or be unexported (golint)
    • Line 203: warning: exported method Addons.GetAddonStatus should have comment or be unexported (golint)
    • Line 231: warning: exported method Addons.UpdateAddonConfig should have comment or be unexported (golint)
    • Line 293: warning: exported method Addons.UpdateAddonNodes should have comment or be unexported (golint)
    • Line 408: warning: exported method Addons.AddonScalePrecheck should have comment or be unexported (golint)
    • Line 421: warning: exported method Addons.AddonScale should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/rds/create.go
    • Line 35: warning: comment on exported function CreateInstanceWithRecord should be of the form "CreateInstanceWithRecord ..." (golint)
    • Line 148: warning: comment on exported function CreateDBWithRecord should be of the form "CreateDBWithRecord ..." (golint)
    • Line 314: warning: comment on exported function CreateInstance should be of the form "CreateInstance ..." (golint)
    • Line 381: warning: comment on exported function CreateDatabasesWithWait should be of the form "CreateDatabasesWithWait ..." (golint)
    • Line 414: warning: exported function CreateDatabases should have comment or be unexported (golint)
    • erda/bundle/dicehub.go
    • Line 24: warning: exported method Bundle.GetExtensionVersion should have comment or be unexported (golint)
    • Line 45: warning: exported method Bundle.QueryExtensionVersions should have comment or be unexported (golint)
    • Line 66: warning: exported method Bundle.QueryExtensions should have comment or be unexported (golint)
    • Line 88: warning: exported method Bundle.SearchExtensions should have comment or be unexported (golint)
    • Line 109: warning: exported method Bundle.GetPublishItem should have comment or be unexported (golint)
    • Line 129: warning: exported method Bundle.RenderPipelineTemplate should have comment or be unexported (golint)
    • Line 152: warning: exported method Bundle.RenderPipelineTemplateBySpec should have comment or be unexported (golint)
    • Line 175: warning: exported method Bundle.GetPipelineTemplateVersion should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/myApplication/render.go
    • Line 14: warning: don't use MixedCaps in package name; myApplication should be myapplication (golint)
    • Line 28: warning: exported type MyApplication should have comment or be unexported (golint)
    • Line 35: warning: exported type Props should have comment or be unexported (golint)
    • Line 39: warning: exported type State should have comment or be unexported (golint)
    • Line 44: warning: exported method MyApplication.SetCtxBundle should have comment or be unexported (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method MyApplication.GenComponentState should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 93: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 114: warning: exported method MyApplication.Render should have comment or be unexported (golint)
    • Line 138: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/visitor_snippet.go
    • Line 30: warning: exported const Snippet should have comment (or a comment on this block) or be unexported (golint)
    • Line 76: warning: exported function DoRenderTemplateNotReplaceParamsValue should have comment or be unexported (golint)
    • Line 82: warning: exported function DoRenderTemplateWithFormat should have comment or be unexported (golint)
    • Line 86: warning: exported function DoRenderTemplateHandler should have comment or be unexported (golint)
    • erda/modules/core-services/model/notify_item.go
    • Line 18: warning: exported type NotifyItem should have comment or be unexported (golint)
    • Line 37: warning: exported method NotifyItem.TableName should have comment or be unexported (golint)
    • Line 41: warning: exported method NotifyItem.ToApiData should have comment or be unexported (golint)
    • erda/apistructs/collector.go
    • Line 16: warning: comment on exported type Metrics should be of the form "Metrics ..." (with optional leading article) (golint)
    • Line 21: warning: comment on exported type Metric should be of the form "Metric ..." (with optional leading article) (golint)
    • erda/modules/pipeline/services/pipelinesvc/detail.go
    • Line 32: warning: exported method PipelineSvc.Get should have comment or be unexported (golint)
    • Line 40: warning: exported method PipelineSvc.SimplePipelineBaseDetail should have comment or be unexported (golint)
    • Line 55: warning: exported method PipelineSvc.Detail should have comment or be unexported (golint)
    • erda/modules/core-services/services/manual_review/manual_review.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 46: warning: error should be the last type when returning multiple items (golint)
    • Line 46: warning: exported method ManualReview.CreateReviewUser should have comment or be unexported (golint)
    • Line 56: warning: exported method ManualReview.GetReviewByTaskId should have comment or be unexported (golint)
    • Line 59: warning: error should be the last type when returning multiple items (golint)
    • Line 59: warning: exported method ManualReview.CreateReview should have comment or be unexported (golint)
    • Line 77: warning: exported method ManualReview.GetReviewsByUserId should have comment or be unexported (golint)
    • Line 105: warning: exported method ManualReview.GetAuthorityByUserId should have comment or be unexported (golint)
    • Line 109: warning: exported method ManualReview.GetReviewsBySponsorId should have comment or be unexported (golint)
    • Line 146: warning: exported method ManualReview.UpdateApproval should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/kubernetes/pod.go
    • Line 31: warning: exported type Pod should have comment or be unexported (golint)
    • Line 36: warning: exported method Endpoints.PodRouters should have comment or be unexported (golint)
    • Line 66: warning: exported method Endpoints.ListPod should have comment or be unexported (golint)
    • Line 119: warning: exported method Endpoints.GetPod should have comment or be unexported (golint)
    • Line 154: warning: exported method Endpoints.CreatePod should have comment or be unexported (golint)
    • Line 191: warning: exported method Endpoints.UpdatePod should have comment or be unexported (golint)
    • Line 234: warning: exported method Endpoints.DeletePod should have comment or be unexported (golint)
    • erda/modules/dop/dao/autotest_filetree_history.go
    • Line 18: warning: exported type AutoTestFileTreeNodeHistory should have comment or be unexported (golint)
    • Line 31: warning: exported method AutoTestFileTreeNodeHistory.TableName should have comment or be unexported (golint)
    • Line 35: warning: exported method DBClient.CreateAutoTestFileTreeNodeHistory should have comment or be unexported (golint)
    • Line 39: warning: exported method DBClient.DeleteAutoTestFileTreeNodeHistory should have comment or be unexported (golint)
    • Line 44: warning: exported method DBClient.ListAutoTestFileTreeNodeHistoryByinode should have comment or be unexported (golint)
    • erda/modules/dop/services/issueproperty/convert.go
    • Line 23: warning: exported method IssueProperty.Convert should have comment or be unexported (golint)
    • Line 39: warning: exported method IssueProperty.BatchConvert should have comment or be unexported (golint)
    • Line 59: warning: comment on exported method IssueProperty.ConvertRelations should be of the form "ConvertRelations ..." (golint)
    • erda/pkg/crypto/encryption/encrypt.go
    • Line 20: warning: comment on exported type EnvEncrypt should be of the form "EnvEncrypt ..." (with optional leading article) (golint)
    • Line 45: warning: comment on exported method EnvEncrypt.DecryptAddonConfigMap should be of the form "DecryptAddonConfigMap ..." (golint)
    • Line 63: warning: comment on exported method EnvEncrypt.DecryptPassword should be of the form "DecryptPassword ..." (golint)
    • Line 68: warning: comment on exported method EnvEncrypt.EncryptPassword should be of the form "EncryptPassword ..." (golint)
    • erda/modules/msp/apm/checker/storage/cache/cache.go
    • Line 27: warning: exported type Key should have comment or be unexported (golint)
    • Line 28: warning: exported type Value should have comment or be unexported (golint)
    • Line 45: warning: exported method Cache.Keys should have comment or be unexported (golint)
    • Line 61: warning: exported method Cache.ListByKeys should have comment or be unexported (golint)
    • Line 87: warning: exported method Cache.Put should have comment or be unexported (golint)
    • Line 96: warning: exported method Cache.Remove should have comment or be unexported (golint)
    • Line 100: warning: exported method Cache.Contains should have comment or be unexported (golint)
    • Line 109: warning: exported method CacheStorage.ListIDs should have comment or be unexported (golint)
    • Line 113: warning: exported method CacheStorage.ListByIDs should have comment or be unexported (golint)
    • erda/modules/ecp/services/edge/application.go
    • Line 318: warning: exported method Edge.UpdateApp should have comment or be unexported (golint)
    • Line 562: warning: exported method Edge.GetAppStatus should have comment or be unexported (golint)
    • Line 603: warning: exported method Edge.DeleteApp should have comment or be unexported (golint)
    • Line 648: warning: exported method Edge.RestartAppSite should have comment or be unexported (golint)
    • Line 681: warning: exported method Edge.OfflineAppSite should have comment or be unexported (golint)
    • erda/modules/dop/conf/conf.go
    • Line 118: warning: exported function Debug should have comment or be unexported (golint)
    • Line 122: warning: exported function ListenAddr should have comment or be unexported (golint)
    • Line 126: warning: exported function UCClientID should have comment or be unexported (golint)
    • Line 130: warning: exported function UCClientSecret should have comment or be unexported (golint)
    • Line 134: warning: exported function WildDomain should have comment or be unexported (golint)
    • Line 138: warning: exported function SuperUserID should have comment or be unexported (golint)
    • Line 142: warning: exported function MonitorAddr should have comment or be unexported (golint)
    • Line 146: warning: exported function GittarAddr should have comment or be unexported (golint)
    • Line 150: warning: exported function BundleTimeoutSecond should have comment or be unexported (golint)
    • Line 154: warning: exported function ConsumerNum should have comment or be unexported (golint)
    • Line 158: warning: exported function NexusAddr should have comment or be unexported (golint)
    • Line 162: warning: exported function NexusUsername should have comment or be unexported (golint)
    • Line 166: warning: exported function NexusPassword should have comment or be unexported (golint)
    • Line 170: warning: exported function DiceClusterName should have comment or be unexported (golint)
    • Line 174: warning: exported function SonarAddr should have comment or be unexported (golint)
    • Line 178: warning: exported function SonarPublicURL should have comment or be unexported (golint)
    • Line 182: warning: exported function SonarAdminToken should have comment or be unexported (golint)
    • Line 186: warning: exported function EventboxAddr should have comment or be unexported (golint)
    • Line 190: warning: exported function GolangCILintImage should have comment or be unexported (golint)
    • Line 194: warning: exported function CMDBAddr should have comment or be unexported (golint)
    • Line 198: warning: exported function OryEnabled should have comment or be unexported (golint)
    • Line 202: warning: exported function OryKratosPrivateAddr should have comment or be unexported (golint)
    • Line 206: warning: exported function OryCompatibleClientID should have comment or be unexported (golint)
    • Line 210: warning: exported function OryCompatibleClientSecret should have comment or be unexported (golint)
    • Line 294: warning: exported function MetricsIssueCron should have comment or be unexported (golint)
    • Line 308: warning: exported function TestFileIntervalSec should have comment or be unexported (golint)
    • erda/apistructs/member.go
    • Line 74: warning: comment on exported type MemberRoleListResponse should be of the form "MemberRoleListResponse ..." (with optional leading article) (golint)
    • Line 171: warning: comment on exported type GetMemberByTokenResponse should be of the form "GetMemberByTokenResponse ..." (with optional leading article) (golint)
    • Line 229: warning: exported type UserRoleListResponseData should have comment or be unexported (golint)
    • Line 234: warning: exported type UserScopeRole should have comment or be unexported (golint)
    • Line 275: warning: exported type ListScopeManagersByScopeIDRequest should have comment or be unexported (golint)
    • Line 280: warning: exported type ListScopeManagersByScopeIDResponse should have comment or be unexported (golint)
    • erda/modules/hepa/repository/orm/orm_engine.go
    • 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: should not use dot imports (golint)
    • Line 30: warning: exported type OrmEngineInterface should have comment or be unexported (golint)
    • Line 37: warning: exported type EngineMode should have comment or be unexported (golint)
    • Line 40: warning: exported const SingleMode should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported type OrmEngine should have comment or be unexported (golint)
    • Line 52: warning: exported type SqlLogWrapper should have comment or be unexported (golint)
    • Line 57: warning: exported method SqlLogWrapper.ShowSQL should have comment or be unexported (golint)
    • Line 65: warning: exported method SqlLogWrapper.IsShowSQL should have comment or be unexported (golint)
    • Line 69: warning: exported method SqlLogWrapper.Level should have comment or be unexported (golint)
    • Line 82: warning: exported method SqlLogWrapper.SetLevel should have comment or be unexported (golint)
    • Line 85: warning: exported var SqlLog should have comment or be unexported (golint)
    • Line 87: warning: exported function SetGlobalCacher should have comment or be unexported (golint)
    • Line 92: warning: exported function SetPrefix should have comment or be unexported (golint)
    • Line 101: warning: exported function RegisterSqlMap should have comment or be unexported (golint)
    • Line 113: warning: exported method OrmEngine.GetEngine should have comment or be unexported (golint)
    • Line 118: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 124: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 132: warning: exported function NewOrmEngine should have comment or be unexported (golint)
    • Line 145: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 167: warning: exported function CreateSingleton should have comment or be unexported (golint)
    • Line 169: warning: don't use underscores in Go names; var orm_engine should be ormEngine (golint)
    • Line 178: warning: exported function GetSingleton should have comment or be unexported (golint)
    • Line 186: warning: exported function Init should have comment or be unexported (golint)
    • erda/modules/pipeline/events/event_task.go
    • Line 26: warning: exported type PipelineTaskEvent should have comment or be unexported (golint)
    • Line 34: warning: exported method PipelineTaskEvent.Kind should have comment or be unexported (golint)
    • Line 38: warning: exported method PipelineTaskEvent.Header should have comment or be unexported (golint)
    • Line 42: warning: exported method PipelineTaskEvent.Sender should have comment or be unexported (golint)
    • Line 46: warning: exported method PipelineTaskEvent.Content should have comment or be unexported (golint)
    • Line 72: warning: exported method PipelineTaskEvent.HandleWebhook should have comment or be unexported (golint)
    • Line 82: warning: exported const WSTypePipelineTaskStatusUpdate should have comment (or a comment on this block) or be unexported (golint)
    • Line 85: warning: exported type WSPipelineTaskStatusUpdatePayload should have comment or be unexported (golint)
    • Line 94: warning: exported method PipelineTaskEvent.HandleWebSocket should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_upstream_service.go
    • Line 22: warning: should not use dot imports (golint)
    • Line 35: warning: exported type GatewayUpstreamServiceImpl should have comment or be unexported (golint)
    • Line 49: warning: exported function NewGatewayUpstreamServiceImpl should have comment or be unexported (golint)
    • Line 164: warning: exported method GatewayUpstreamServiceImpl.UpstreamValidAsync should have comment or be unexported (golint)
    • Line 190: warning: exported method GatewayUpstreamServiceImpl.UpstreamValid should have comment or be unexported (golint)
    • Line 622: warning: exported method GatewayUpstreamServiceImpl.UpstreamRegisterAsync should have comment or be unexported (golint)
    • Line 637: warning: exported method GatewayUpstreamServiceImpl.UpstreamRegister should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/orgFormModal/render.go
    • Line 14: warning: don't use MixedCaps in package name; orgFormModal should be orgformmodal (golint)
    • Line 29: warning: exported type OrgFormModal should have comment or be unexported (golint)
    • Line 39: warning: exported type Props should have comment or be unexported (golint)
    • Line 44: warning: exported type State should have comment or be unexported (golint)
    • Line 49: warning: exported type FormData should have comment or be unexported (golint)
    • Line 57: warning: exported method OrgFormModal.SetCtxBundle should have comment or be unexported (golint)
    • Line 67: warning: exported method OrgFormModal.GenComponentState should have comment or be unexported (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 86: warning: exported method OrgFormModal.SetProps should have comment or be unexported (golint)
    • Line 166: warning: exported method OrgFormModal.Render should have comment or be unexported (golint)
    • Line 221: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/visitor_ref_op.go
    • Line 28: warning: exported const RefOpOutput should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported type Refs should have comment or be unexported (golint)
    • Line 45: warning: exported type Outputs should have comment or be unexported (golint)
    • Line 47: warning: exported type HandleResult should have comment or be unexported (golint)
    • Line 52: warning: exported method HandleResult.AppendError should have comment or be unexported (golint)
    • Line 55: warning: exported method HandleResult.AppendWarn should have comment or be unexported (golint)
    • Line 59: warning: exported type RefOpVisitor should have comment or be unexported (golint)
    • Line 76: warning: comment on exported function NewRefOpVisitor should be of the form "NewRefOpVisitor ..." (golint)
    • Line 94: warning: exported method RefOpVisitor.Visit should have comment or be unexported (golint)
    • erda/tools/cli/cmd/extensions_pull.go
    • Line 32: warning: exported var EXTENSIONSPULL should have comment or be unexported (golint)
    • Line 48: warning: exported function RunExtensionsPull should have comment or be unexported (golint)
    • Line 157: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • erda/apistructs/testcase.go
    • Line 19: warning: comment on exported const RecycledYes should be of the form "RecycledYes ..." (golint)
    • Line 21: warning: exported const RecycledNo should have comment (or a comment on this block) or be unexported (golint)
    • Line 75: warning: exported var TestCaseFromManual should have comment or be unexported (golint)
    • Line 83: warning: exported method TestCasePriority.IsValid should have comment or be unexported (golint)
    • Line 96: warning: exported var TestCaseFileTypeExcel should have comment or be unexported (golint)
    • Line 100: warning: exported method TestCaseFileType.Valid should have comment or be unexported (golint)
    • Line 109: warning: exported type TestCaseGetResponse should have comment or be unexported (golint)
    • Line 135: warning: exported type TestCaseBatchCreateRequest should have comment or be unexported (golint)
    • Line 142: warning: exported type TestCaseBatchCreateResponse should have comment or be unexported (golint)
    • Line 147: warning: exported type TestCaseListRequest should have comment or be unexported (golint)
    • Line 160: warning: exported type TestCaseListResponse should have comment or be unexported (golint)
    • Line 214: warning: exported type TestCasePagingResponse should have comment or be unexported (golint)
    • Line 219: warning: exported type TestCasePagingResponseData should have comment or be unexported (golint)
    • Line 233: warning: exported type TestSetWithPlanCaseRels should have comment or be unexported (golint)
    • Line 258: warning: comment on exported type TestCaseUpdateResponse should be of the form "TestCaseUpdateResponse ..." (with optional leading article) (golint)
    • Line 281: warning: exported type TestCaseBatchCleanFromRecycleBinResponse should have comment or be unexported (golint)
    • Line 298: warning: comment on exported type TestCaseBatchUpdateResponse should be of the form "TestCaseBatchUpdateResponse ..." (with optional leading article) (golint)
    • Line 304: warning: exported type TestCaseBatchCopyRequest should have comment or be unexported (golint)
    • Line 313: warning: exported type TestCaseBatchCopyResponse should have comment or be unexported (golint)
    • Line 352: warning: exported type TestCaseExportResponse should have comment or be unexported (golint)
    • Line 365: warning: exported type TestCaseImportResponse should have comment or be unexported (golint)
    • Line 369: warning: exported type TestCaseImportResult should have comment or be unexported (golint)
    • erda/modules/eventbox/webhook/event.go
    • Line 22: warning: comment on exported type EventMessage should be of the form "EventMessage ..." (with optional leading article) (golint)
    • Line 35: warning: exported function PingEvent should have comment or be unexported (golint)
    • Line 50: warning: exported function MkEventMessage should have comment or be unexported (golint)
    • Line 63: warning: exported type EventLabel should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_package_in_consumer_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayPackageInConsumerServiceImpl should have comment or be unexported (golint)
    • Line 30: warning: exported function NewGatewayPackageInConsumerServiceImpl should have comment or be unexported (golint)
    • Line 41: warning: exported method GatewayPackageInConsumerServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 64: warning: exported method GatewayPackageInConsumerServiceImpl.Update should have comment or be unexported (golint)
    • Line 75: warning: exported method GatewayPackageInConsumerServiceImpl.Insert should have comment or be unexported (golint)
    • Line 86: warning: exported method GatewayPackageInConsumerServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 105: warning: exported method GatewayPackageInConsumerServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 121: warning: exported method GatewayPackageInConsumerServiceImpl.Get should have comment or be unexported (golint)
    • Line 136: warning: exported method GatewayPackageInConsumerServiceImpl.Delete should have comment or be unexported (golint)
    • Line 147: warning: exported method GatewayPackageInConsumerServiceImpl.DeleteByConsumerId should have comment or be unexported (golint)
    • Line 158: warning: exported method GatewayPackageInConsumerServiceImpl.DeleteByPackageId should have comment or be unexported (golint)
    • Line 169: warning: exported method GatewayPackageInConsumerServiceImpl.SelectByConsumer should have comment or be unexported (golint)
    • Line 181: warning: exported method GatewayPackageInConsumerServiceImpl.SelectByPackage should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/access.go
    • Line 90: warning: exported method Endpoints.GetAccess should have comment or be unexported (golint)
    • Line 114: warning: exported method Endpoints.DeleteAccess should have comment or be unexported (golint)
    • Line 138: warning: exported method Endpoints.UpdateAccess should have comment or be unexported (golint)
    • erda/modules/dop/dbclient/tx.go
    • Line 22: warning: exported type TX should have comment or be unexported (golint)
    • Line 26: warning: exported method TX.Sq should have comment or be unexported (golint)
    • Line 33: warning: exported method DBClient.Tx should have comment or be unexported (golint)
    • Line 40: warning: exported method DBClient.Sq should have comment or be unexported (golint)
    • Line 47: warning: exported function Tx should have comment or be unexported (golint)
    • Line 51: warning: exported function Sq should have comment or be unexported (golint)
    • erda/modules/gittar/webcontext/context.go
    • Line 36: warning: exported type Context should have comment or be unexported (golint)
    • Line 47: warning: exported type ContextHandlerFunc should have comment or be unexported (golint)
    • Line 53: warning: exported function WithDB should have comment or be unexported (golint)
    • Line 57: warning: exported function WithBundle should have comment or be unexported (golint)
    • Line 61: warning: exported function WithUCAuth should have comment or be unexported (golint)
    • Line 65: warning: exported function WrapHandler should have comment or be unexported (golint)
    • Line 73: warning: exported function WrapHandlerWithRepoCheck should have comment or be unexported (golint)
    • Line 80: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 101: warning: exported function WrapMiddlewareHandler should have comment or be unexported (golint)
    • Line 110: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 117: warning: exported function NewEchoContext should have comment or be unexported (golint)
    • Line 140: warning: exported method Context.GetQueryInt32 should have comment or be unexported (golint)
    • Line 144: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 148: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 154: warning: exported method Context.GetQueryBool should have comment or be unexported (golint)
    • Line 158: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 162: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 168: warning: exported method Context.MustGet should have comment or be unexported (golint)
    • Line 172: warning: exported method Context.Set should have comment or be unexported (golint)
    • Line 175: warning: exported method Context.Param should have comment or be unexported (golint)
    • Line 179: warning: exported method Context.ParamInt32 should have comment or be unexported (golint)
    • Line 183: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 187: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 193: warning: exported method Context.Query should have comment or be unexported (golint)
    • Line 197: warning: exported method Context.BindJSON should have comment or be unexported (golint)
    • Line 201: warning: exported method Context.Success should have comment or be unexported (golint)
    • Line 212: warning: exported method Context.Header should have comment or be unexported (golint)
    • Line 216: warning: exported method Context.File should have comment or be unexported (golint)
    • Line 219: warning: exported method Context.GetHeader should have comment or be unexported (golint)
    • Line 223: warning: exported method Context.GetWriter should have comment or be unexported (golint)
    • Line 226: warning: exported method Context.GetRequestBody should have comment or be unexported (golint)
    • Line 230: warning: exported method Context.AbortWithStatus should have comment or be unexported (golint)
    • Line 247: warning: exported method Context.Status should have comment or be unexported (golint)
    • Line 252: warning: exported method Context.AbortWithData should have comment or be unexported (golint)
    • Line 256: warning: exported method Context.AbortWithString should have comment or be unexported (golint)
    • Line 260: warning: exported method Context.Abort should have comment or be unexported (golint)
    • Line 265: warning: exported method Context.Next should have comment or be unexported (golint)
    • Line 269: warning: exported method Context.Host should have comment or be unexported (golint)
    • Line 273: warning: exported method Context.HttpRequest should have comment or be unexported (golint)
    • Line 277: warning: exported method Context.Data should have comment or be unexported (golint)
    • Line 283: warning: exported method Context.BasicAuth should have comment or be unexported (golint)
    • Line 287: warning: exported method Context.CheckPermission should have comment or be unexported (golint)
    • Line 290: warning: exported method Context.CheckBranchOperatePermission should have comment or be unexported (golint)
    • Line 316: warning: exported method Context.CheckPermissionWithRole should have comment or be unexported (golint)
    • erda/apistructs/testset.go
    • Line 16: warning: comment on exported type TestSet should be of the form "TestSet ..." (with optional leading article) (golint)
    • Line 38: warning: exported type TestSetWithAncestors should have comment or be unexported (golint)
    • Line 44: warning: exported type TestSetGetRequest should have comment or be unexported (golint)
    • Line 47: warning: exported type TestSetGetResponse should have comment or be unexported (golint)
    • Line 64: warning: comment on exported type TestSetCreateResponse should be of the form "TestSetCreateResponse ..." (with optional leading article) (golint)
    • Line 86: warning: comment on exported type TestSetListResponse should be of the form "TestSetListResponse ..." (with optional leading article) (golint)
    • Line 103: warning: exported type TestSetUpdateResponse should have comment or be unexported (golint)
    • Line 115: warning: exported type TestSetCopyResponse should have comment or be unexported (golint)
    • Line 130: warning: exported type TestSetRecycleResponse should have comment or be unexported (golint)
    • Line 140: warning: exported type TestSetCleanFromRecycleBinResponse should have comment or be unexported (golint)
    • Line 151: warning: exported type TestSetRecoverFromRecycleBinResponse should have comment or be unexported (golint)
    • Line 155: warning: comment on exported type TestSetCommonResponse should be of the form "TestSetCommonResponse ..." (with optional leading article) (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/emptyOrgTitle/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyOrgTitle should be emptyorgtitle (golint)
    • Line 27: warning: exported type EmptyOrgTitle should have comment or be unexported (golint)
    • Line 33: warning: exported type Props should have comment or be unexported (golint)
    • Line 39: warning: exported method EmptyOrgTitle.SetCtxBundle should have comment or be unexported (golint)
    • Line 49: warning: exported method EmptyOrgTitle.Render should have comment or be unexported (golint)
    • Line 49: warning: receiver name e should be consistent with previous receiver name c for EmptyOrgTitle (golint)
    • Line 74: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/soldier/command/command.go
    • Line 38: warning: exported type ActionDockerLogs should have comment or be unexported (golint)
    • Line 46: warning: exported method Action.DockerLogs should have comment or be unexported (golint)
    • Line 84: warning: exported type ActionCleanCI should have comment or be unexported (golint)
    • Line 88: warning: exported method Action.CleanCI should have comment or be unexported (golint)
    • Line 109: warning: exported method Action.CommandContext should have comment or be unexported (golint)
    • Line 135: warning: exported function Command should have comment or be unexported (golint)
    • erda/modules/orchestrator/endpoints/resource.go
    • Line 29: warning: comment on exported method Endpoints.GetProjectResource should be of the form "GetProjectResource ..." (golint)
    • Line 65: warning: comment on exported method Endpoints.GetClusterResourceReference should be of the form "GetClusterResourceReference ..." (golint)
    • erda/providers/metrics/query/query_response.go
    • Line 23: warning: exported type MetricQueryResponse should have comment or be unexported (golint)
    • Line 28: warning: comment on exported method MetricQueryResponse.ReturnAsSeries should be of the form "ReturnAsSeries ..." (golint)
    • Line 41: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 54: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 63: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 70: warning: comment on exported method MetricQueryResponse.ReturnAsPoint should be of the form "ReturnAsPoint ..." (golint)
    • Line 82: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 95: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • erda/bundle/autotest_scene.go
    • Line 25: warning: exported method Bundle.ExecuteDiceAutotestSceneStep should have comment or be unexported (golint)
    • Line 46: warning: exported method Bundle.ExecuteDiceAutotestScene should have comment or be unexported (golint)
    • Line 67: warning: exported method Bundle.CancelDiceAutotestScene should have comment or be unexported (golint)
    • Line 88: warning: exported method Bundle.CreateAutoTestScene should have comment or be unexported (golint)
    • Line 109: warning: exported method Bundle.UpdateAutoTestScene should have comment or be unexported (golint)
    • Line 130: warning: exported method Bundle.MoveAutoTestScene should have comment or be unexported (golint)
    • Line 151: warning: exported method Bundle.ListAutoTestScene should have comment or be unexported (golint)
    • Line 172: warning: exported method Bundle.GetAutoTestScene should have comment or be unexported (golint)
    • Line 193: warning: exported method Bundle.DeleteAutoTestScene should have comment or be unexported (golint)
    • Line 213: warning: exported method Bundle.CopyAutoTestScene should have comment or be unexported (golint)
    • erda/pkg/ucauth/user.go
    • Line 31: warning: exported type USERID should have comment or be unexported (golint)
    • Line 33: warning: comment on exported method USERID.UnmarshalJSON should be of the form "UnmarshalJSON ..." (golint)
    • Line 48: warning: exported type UserInfo should have comment or be unexported (golint)
    • Line 66: warning: exported type OAuthToken should have comment or be unexported (golint)
    • Line 75: warning: exported type UCUserAuth should have comment or be unexported (golint)
    • Line 83: warning: exported const OryCompatibleClientId should have comment or be unexported (golint)
    • Line 94: warning: exported function NewUCUserAuth should have comment or be unexported (golint)
    • Line 98: warning: comment on exported method UCUserAuth.LoginURL should be of the form "LoginURL ..." (golint)
    • Line 108: warning: comment on exported method UCUserAuth.Login should be of the form "Login ..." (golint)
    • Line 142: warning: exported method UCUserAuth.PwdAuth should have comment or be unexported (golint)
    • Line 175: warning: comment on exported method UCUserAuth.GetUserInfo should be of the form "GetUserInfo ..." (golint)
    • Line 203: warning: comment on exported type CurrentUser should be of the form "CurrentUser ..." (with optional leading article) (golint)
    • Line 248: warning: exported method UCUserAuth.GetCurrentUser should have comment or be unexported (golint)
    • erda/modules/cmdb/services/org/org.go
    • Line 164: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 208: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 276: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 342: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • erda/modules/eventbox/input/schemonjob/schemonjob.go
    • Line 37: warning: exported type ScheMonJob should have comment or be unexported (golint)
    • Line 47: warning: exported function New should have comment or be unexported (golint)
    • Line 52: warning: don't use underscores in Go names; var js_ should be js (golint)
    • Line 66: warning: exported method ScheMonJob.Name should have comment or be unexported (golint)
    • Line 70: warning: exported method ScheMonJob.Start should have comment or be unexported (golint)
    • Line 101: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 107: warning: don't use underscores in Go names; var ctx_ should be ctx (golint)
    • Line 107: warning: don't use underscores in Go names; var cancel_ should be cancel (golint)
    • Line 124: warning: exported method ScheMonJob.Stop should have comment or be unexported (golint)
    • erda/pkg/discover/address.go
    • Line 80: warning: exported function EventBox should have comment or be unexported (golint)
    • Line 84: warning: exported function CMDB should have comment or be unexported (golint)
    • Line 88: warning: exported function Scheduler should have comment or be unexported (golint)
    • Line 92: warning: exported function DiceHub should have comment or be unexported (golint)
    • Line 96: warning: exported function Soldier should have comment or be unexported (golint)
    • Line 100: warning: exported function Orchestrator should have comment or be unexported (golint)
    • Line 104: warning: exported function AddOnPlatform should have comment or be unexported (golint)
    • Line 108: warning: exported function Gittar should have comment or be unexported (golint)
    • Line 112: warning: exported function GittarAdaptor should have comment or be unexported (golint)
    • Line 116: warning: exported function Collector should have comment or be unexported (golint)
    • Line 120: warning: exported function Monitor should have comment or be unexported (golint)
    • Line 124: warning: exported function Pipeline should have comment or be unexported (golint)
    • Line 128: warning: exported function Hepa should have comment or be unexported (golint)
    • Line 132: warning: exported function TMC should have comment or be unexported (golint)
    • Line 136: warning: exported function CMP should have comment or be unexported (golint)
    • Line 140: warning: exported function Openapi should have comment or be unexported (golint)
    • Line 144: warning: exported function KMS should have comment or be unexported (golint)
    • Line 148: warning: exported function QA should have comment or be unexported (golint)
    • Line 152: warning: exported function APIM should have comment or be unexported (golint)
    • Line 156: warning: exported function UC should have comment or be unexported (golint)
    • Line 160: warning: exported function ClusterDialer should have comment or be unexported (golint)
    • Line 164: warning: exported function DOP should have comment or be unexported (golint)
    • Line 168: warning: exported function CoreServices should have comment or be unexported (golint)
    • Line 172: warning: exported function ECP should have comment or be unexported (golint)
    • Line 176: warning: exported function ClusterManager should have comment or be unexported (golint)
    • erda/modules/gittar/pkg/gitmodule/tree_entry.go
    • Line 28: warning: exported type EntryMode should have comment or be unexported (golint)
    • Line 40: warning: exported type TreeEntry should have comment or be unexported (golint)
    • Line 54: warning: exported method TreeEntry.ListEntries should have comment or be unexported (golint)
    • Line 62: warning: exported method TreeEntry.Size should have comment or be unexported (golint)
    • Line 93: warning: exported method TreeEntry.IsSubModule should have comment or be unexported (golint)
    • Line 97: warning: exported method TreeEntry.IsDir should have comment or be unexported (golint)
    • Line 101: warning: exported method TreeEntry.IsLink should have comment or be unexported (golint)
    • Line 105: warning: exported method TreeEntry.Blob should have comment or be unexported (golint)
    • Line 112: warning: exported type Entries should have comment or be unexported (golint)
    • Line 140: warning: exported method Entries.Sort should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/endpoints.go
    • Line 32: warning: exported type Endpoints should have comment or be unexported (golint)
    • Line 47: warning: exported type Option should have comment or be unexported (golint)
    • Line 49: warning: exported function New should have comment or be unexported (golint)
    • erda/modules/dop/dao/autotest_scene_output.go
    • Line 20: warning: exported type AutoTestSceneOutput should have comment or be unexported (golint)
    • Line 31: warning: exported method AutoTestSceneOutput.TableName should have comment or be unexported (golint)
    • Line 35: warning: exported method DBClient.CreateAutoTestSceneOutput should have comment or be unexported (golint)
    • Line 39: warning: exported method DBClient.CreateAutoTestSceneOutputs should have comment or be unexported (golint)
    • Line 43: warning: exported method DBClient.UpdateAutotestSceneOutput should have comment or be unexported (golint)
    • Line 47: warning: exported method DBClient.DeleteAutoTestSceneOutput should have comment or be unexported (golint)
    • Line 51: warning: exported method DBClient.GetAutoTestSceneOutput should have comment or be unexported (golint)
    • Line 60: warning: exported method DBClient.ListAutoTestSceneOutput should have comment or be unexported (golint)
    • Line 69: warning: exported method DBClient.ListAutoTestSceneOutputByScenes should have comment or be unexported (golint)
    • erda/apistructs/branch_rule.go
    • Line 16: warning: exported type BranchRule should have comment or be unexported (golint)
    • Line 32: warning: exported type QueryBranchRuleRequest should have comment or be unexported (golint)
    • Line 37: warning: exported type QueryBranchRuleResponse should have comment or be unexported (golint)
    • Line 42: warning: exported type CreateBranchRuleRequest should have comment or be unexported (golint)
    • Line 54: warning: exported type CreateBranchRuleResponse should have comment or be unexported (golint)
    • Line 59: warning: exported type UpdateBranchRuleRequest should have comment or be unexported (golint)
    • Line 70: warning: exported type UpdateBranchRuleResponse should have comment or be unexported (golint)
    • Line 75: warning: exported type DeleteBranchRuleResponse should have comment or be unexported (golint)
    • erda/modules/dop/dao/issue_stage.go
    • Line 21: warning: exported type IssueStage should have comment or be unexported (golint)
    • Line 30: warning: exported method IssueStage.TableName should have comment or be unexported (golint)
    • Line 34: warning: exported method DBClient.CreateIssueStage should have comment or be unexported (golint)
    • Line 38: warning: exported method DBClient.DeleteIssuesStage should have comment or be unexported (golint)
    • Line 43: warning: exported method DBClient.GetIssuesStage should have comment or be unexported (golint)
    • erda/pkg/ucauth/user_paging.go
    • Line 30: warning: exported function HandlePagingUsers should have comment or be unexported (golint)
    • Line 88: warning: exported function ConvertToUserInfoExt should have comment or be unexported (golint)
    • erda/modules/gittar/api/merge.go
    • Line 35: warning: exported function CheckMergeStatus should have comment or be unexported (golint)
    • Line 51: warning: exported function GetMergeTemplates should have comment or be unexported (golint)
    • Line 87: warning: exported function CreateMergeRequest should have comment or be unexported (golint)
    • Line 137: warning: exported function GetMergeRequestDetail should have comment or be unexported (golint)
    • Line 169: warning: exported function GetMergeRequests should have comment or be unexported (golint)
    • Line 194: warning: exported function UpdateMergeRequest should have comment or be unexported (golint)
    • Line 245: warning: exported function Merge should have comment or be unexported (golint)
    • Line 307: warning: exported function CloseMR should have comment or be unexported (golint)
    • Line 337: warning: exported function ReopenMR should have comment or be unexported (golint)
    • Line 351: warning: exported function QueryNotes should have comment or be unexported (golint)
    • Line 390: warning: exported function CreateNotes should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/fileInfo/model.go
    • Line 14: warning: don't use MixedCaps in package name; fileInfo should be fileinfo (golint)
    • Line 21: warning: exported type ComponentFileInfo should have comment or be unexported (golint)
    • Line 27: warning: exported type CommonFileInfo should have comment or be unexported (golint)
    • Line 38: warning: exported type InParams should have comment or be unexported (golint)
    • Line 43: warning: exported type Data should have comment or be unexported (golint)
    • Line 49: warning: exported type PropColumn should have comment or be unexported (golint)
    • Line 55: warning: exported type State should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/myProjectTitle/render.go
    • Line 14: warning: don't use MixedCaps in package name; myProjectTitle should be myprojecttitle (golint)
    • Line 29: warning: exported type MyProjectTitle should have comment or be unexported (golint)
    • Line 36: warning: exported type Props should have comment or be unexported (golint)
    • Line 46: warning: exported type State should have comment or be unexported (golint)
    • Line 50: warning: exported method MyProjectTitle.GenComponentState should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: exported method MyProjectTitle.SetCtxBundle should have comment or be unexported (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 100: warning: exported method MyProjectTitle.Render should have comment or be unexported (golint)
    • Line 167: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/find_cycle_visitor.go
    • Line 20: warning: exported type FindCycleVisitor should have comment or be unexported (golint)
    • Line 26: warning: exported function NewFindCycleVisitor should have comment or be unexported (golint)
    • Line 30: warning: exported method FindCycleVisitor.VisitServices should have comment or be unexported (golint)
    • Line 89: warning: comment on exported function FindCycle should be of the form "FindCycle ..." (golint)
    • erda/modules/scheduler/events/events_type.go
    • Line 28: warning: comment on exported const KILLING should be of the form "KILLING ..." (golint)
    • Line 30: warning: exported const KILLED should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: comment on exported const INSTANCE_RUNNING should be of the form "INSTANCE_RUNNING ..." (golint)
    • Line 45: warning: comment on exported const HEALTHY should be of the form "HEALTHY ..." (golint)
    • Line 52: warning: comment on exported const SUFFIX_INIT should be of the form "SUFFIX_INIT ..." (golint)
    • Line 55: warning: comment on exported const SUFFIX_PERIOD should be of the form "SUFFIX_PERIOD ..." (golint)
    • Line 57: warning: comment on exported const SUFFIX_NORMAL should be of the form "SUFFIX_NORMAL ..." (golint)
    • Line 59: warning: comment on exported const SUFFIX_EDAS should be of the form "SUFFIX_EDAS ..." (golint)
    • Line 61: warning: comment on exported const SUFFIX_EDASV2_PERIOD should be of the form "SUFFIX_EDASV2_PERIOD ..." (golint)
    • Line 63: warning: comment on exported const SUFFIX_EDASV2_NORMAL should be of the form "SUFFIX_EDASV2_NORMAL ..." (golint)
    • Line 65: warning: comment on exported const SUFFIX_EDASV2_INIT should be of the form "SUFFIX_EDASV2_INIT ..." (golint)
    • Line 67: warning: comment on exported const SUFFIX_K8S_PERIOD should be of the form "SUFFIX_K8S_PERIOD ..." (golint)
    • Line 69: warning: comment on exported const SUFFIX_K8S_NORMAL should be of the form "SUFFIX_K8S_NORMAL ..." (golint)
    • Line 71: warning: comment on exported const SUFFIX_K8S_INIT should be of the form "SUFFIX_K8S_INIT ..." (golint)
    • Line 74: warning: comment on exported const EVENTS_INCR should be of the form "EVENTS_INCR ..." (golint)
    • Line 77: warning: comment on exported const EVENTS_TOTAL should be of the form "EVENTS_TOTAL ..." (golint)
    • Line 80: warning: comment on exported const START_HC_TIME_SUFFIX should be of the form "START_HC_TIME_SUFFIX ..." (golint)
    • Line 83: warning: comment on exported const LEFT_EDGE should be of the form "LEFT_EDGE ..." (golint)
    • Line 85: warning: comment on exported const RIGHT_DEGE should be of the form "RIGHT_DEGE ..." (golint)
    • Line 88: warning: comment on exported const STATUS_UPDATE_EVENT should be of the form "STATUS_UPDATE_EVENT ..." (golint)
    • Line 90: warning: comment on exported const INSTANCE_HEALTH_CHANGED_EVENT should be of the form "INSTANCE_HEALTH_CHANGED_EVENT ..." (golint)
    • Line 93: warning: comment on exported const INSTANCE_STATUS should be of the form "INSTANCE_STATUS ..." (golint)
    • Line 97: warning: exported type LabelKey should have comment or be unexported (golint)
    • Line 99: warning: exported type Op should have comment or be unexported (golint)
    • Line 104: warning: exported type OpOperation should have comment or be unexported (golint)
    • Line 106: warning: exported type Message should have comment or be unexported (golint)
    • Line 115: warning: exported type NotifierImpl should have comment or be unexported (golint)
    • Line 122: warning: exported type GetExecutorJsonStoreFn should have comment or be unexported (golint)
    • Line 123: warning: exported type GetExecutorLocalStoreFn should have comment or be unexported (golint)
    • Line 124: warning: exported type SetCallbackFn should have comment or be unexported (golint)
    • Line 126: warning: exported type Notifier should have comment or be unexported (golint)
    • Line 131: warning: exported type EventMgr should have comment or be unexported (golint)
    • Line 143: warning: comment on exported type RuntimeEvent should be of the form "RuntimeEvent ..." (with optional leading article) (golint)
    • Line 152: warning: exported type ServiceStatus should have comment or be unexported (golint)
    • Line 161: warning: exported type InstanceStatus should have comment or be unexported (golint)
    • Line 175: warning: exported type EventLayer should have comment or be unexported (golint)
    • Line 181: warning: exported type WindowStatus should have comment or be unexported (golint)
    • Line 186: warning: exported type InstancesWindow should have comment or be unexported (golint)
    • Line 224: warning: comment on exported method NotifierImpl.Send should be of the form "Send ..." (golint)
    • Line 250: warning: exported method NotifierImpl.SendRaw should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_upstream_lb_service.go
    • Line 21: warning: should not use dot imports (golint)
    • Line 33: warning: exported type GatewayUpstreamLbServiceImpl should have comment or be unexported (golint)
    • Line 40: warning: exported function NewGatewayUpstreamLbServiceImpl should have comment or be unexported (golint)
    • Line 289: warning: exported method GatewayUpstreamLbServiceImpl.UpstreamTargetOnline should have comment or be unexported (golint)
    • Line 361: warning: exported method GatewayUpstreamLbServiceImpl.UpstreamTargetOffline should have comment or be unexported (golint)
    • erda/pkg/kms/kmstypes/key.go
    • Line 21: warning: exported type KeyInfo should have comment or be unexported (golint)
    • Line 49: warning: exported function GetKeyMetadata should have comment or be unexported (golint)
    • Line 60: warning: exported type KeyVersionInfo should have comment or be unexported (golint)
    • Line 76: warning: exported function CheckKeyForCreate should have comment or be unexported (golint)
    • Line 98: warning: exported type Key should have comment or be unexported (golint)
    • Line 110: warning: exported method Key.New should have comment or be unexported (golint)
    • Line 111: warning: exported method Key.GetPluginKind should have comment or be unexported (golint)
    • Line 112: warning: exported method Key.SetPluginKind should have comment or be unexported (golint)
    • Line 113: warning: exported method Key.GetKeyID should have comment or be unexported (golint)
    • Line 114: warning: exported method Key.SetKeyID should have comment or be unexported (golint)
    • Line 115: warning: exported method Key.GetKeySpec should have comment or be unexported (golint)
    • Line 116: warning: exported method Key.SetKeySpec should have comment or be unexported (golint)
    • Line 117: warning: exported method Key.GetKeyUsage should have comment or be unexported (golint)
    • Line 118: warning: exported method Key.SetKeyUsage should have comment or be unexported (golint)
    • Line 119: warning: exported method Key.GetKeyState should have comment or be unexported (golint)
    • Line 120: warning: exported method Key.SetKeyState should have comment or be unexported (golint)
    • Line 121: warning: exported method Key.GetDescription should have comment or be unexported (golint)
    • Line 122: warning: exported method Key.SetDescription should have comment or be unexported (golint)
    • Line 123: warning: exported method Key.GetCreatedAt should have comment or be unexported (golint)
    • Line 124: warning: exported method Key.SetCreatedAt should have comment or be unexported (golint)
    • Line 125: warning: exported method Key.GetUpdatedAt should have comment or be unexported (golint)
    • Line 126: warning: exported method Key.SetUpdatedAt should have comment or be unexported (golint)
    • Line 127: warning: exported method Key.GetPrimaryKeyVersion should have comment or be unexported (golint)
    • Line 128: warning: exported method Key.SetPrimaryKeyVersion should have comment or be unexported (golint)
    • Line 137: warning: exported type KeyVersion should have comment or be unexported (golint)
    • Line 145: warning: exported method KeyVersion.New should have comment or be unexported (golint)
    • Line 146: warning: exported method KeyVersion.GetVersionID should have comment or be unexported (golint)
    • Line 147: warning: exported method KeyVersion.SetVersionID should have comment or be unexported (golint)
    • Line 148: warning: exported method KeyVersion.GetSymmetricKeyBase64 should have comment or be unexported (golint)
    • Line 149: warning: exported method KeyVersion.SetSymmetricKeyBase64 should have comment or be unexported (golint)
    • Line 150: warning: exported method KeyVersion.GetCreatedAt should have comment or be unexported (golint)
    • Line 151: warning: exported method KeyVersion.SetCreatedAt should have comment or be unexported (golint)
    • Line 152: warning: exported method KeyVersion.GetUpdatedAt should have comment or be unexported (golint)
    • Line 153: warning: exported method KeyVersion.SetUpdatedAt should have comment or be unexported (golint)
    • erda/providers/metrics/report/metric.go
    • Line 18: warning: exported type Metric should have comment or be unexported (golint)
    • Line 25: warning: exported type BulkMetricRequest should have comment or be unexported (golint)
    • Line 27: warning: exported function CreateBulkMetricRequest should have comment or be unexported (golint)
    • Line 32: warning: exported method BulkMetricRequest.Add should have comment or be unexported (golint)
    • Line 42: warning: exported method BulkMetricRequest.AddWithTime should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/edge-configSet-item/components/configItemFormModal/operation.go
    • Line 29: warning: exported const ScopeCommon should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type ComponentFormModal should have comment or be unexported (golint)
    • Line 39: warning: exported type ConfigSetUpdate should have comment or be unexported (golint)
    • Line 44: warning: exported type ConfigSetCreateCommon should have comment or be unexported (golint)
    • Line 50: warning: exported type ConfigSetCreateSite should have comment or be unexported (golint)
    • Line 57: warning: exported method ComponentFormModal.SetBundle should have comment or be unexported (golint)
    • Line 65: warning: exported method ComponentFormModal.SetComponent should have comment or be unexported (golint)
    • Line 73: warning: exported method ComponentFormModal.OperateRendering should have comment or be unexported (golint)
    • Line 130: warning: exported method ComponentFormModal.OperateSubmit should have comment or be unexported (golint)
    • Line 153: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 265: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/apistructs/label.go
    • Line 24: warning: exported const LabelTypeIssue should have comment (or a comment on this block) or be unexported (golint)
    • Line 50: warning: exported type ListByNamesAndProjectIDRequest should have comment or be unexported (golint)
    • Line 55: warning: exported type ListLabelByIDsRequest should have comment or be unexported (golint)
    • Line 65: warning: comment on exported type ProjectLabelUpdateRequest should be of the form "ProjectLabelUpdateRequest ..." (with optional leading article) (golint)
    • Line 104: warning: exported type ProjectLabelsResponse should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/visitor.go
    • Line 16: warning: exported type Visitor should have comment or be unexported (golint)
    • Line 20: warning: exported type Visitable should have comment or be unexported (golint)
    • Line 24: warning: exported method Spec.Accept should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/tablename_linter.go
    • Line 31: warning: exported type TableNameLinter should have comment or be unexported (golint)
    • Line 35: warning: exported function NewTableNameLinter should have comment or be unexported (golint)
    • Line 39: warning: exported method TableNameLinter.Enter should have comment or be unexported (golint)
    • Line 84: warning: exported method TableNameLinter.Leave should have comment or be unexported (golint)
    • erda/modules/cmp/impl/cloud-account/account.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 28: warning: exported type CloudAccount should have comment or be unexported (golint)
    • Line 35: warning: exported type VendorAccount should have comment or be unexported (golint)
    • Line 42: warning: exported function New should have comment or be unexported (golint)
    • Line 46: warning: exported method CloudAccount.KmsKey should have comment or be unexported (golint)
    • Line 74: warning: exported method CloudAccount.List should have comment or be unexported (golint)
    • Line 93: warning: exported method CloudAccount.Create should have comment or be unexported (golint)
    • Line 131: warning: exported method CloudAccount.Delete should have comment or be unexported (golint)
    • Line 138: warning: don't use underscores in Go names; range var ak_ should be ak (golint)
    • erda/modules/hepa/gateway/assembler/gateway_db_assembler.go
    • Line 21: warning: should not use dot imports (golint)
    • Line 29: warning: exported type GatewayDbAssemblerImpl should have comment or be unexported (golint)
    • Line 32: warning: exported method GatewayDbAssemblerImpl.Resp2GatewayService should have comment or be unexported (golint)
    • Line 45: warning: exported method GatewayDbAssemblerImpl.Resp2GatewayServiceByApi should have comment or be unexported (golint)
    • Line 59: warning: exported method GatewayDbAssemblerImpl.Resp2GatewayRoute should have comment or be unexported (golint)
    • Line 86: warning: exported method GatewayDbAssemblerImpl.Resp2GatewayRouteByAPi should have comment or be unexported (golint)
    • Line 100: warning: exported method GatewayDbAssemblerImpl.Resp2GatewayPluginInstance should have comment or be unexported (golint)
    • Line 121: warning: exported method GatewayDbAssemblerImpl.BuildGatewayApi should have comment or be unexported (golint)
    • Line 177: warning: exported method GatewayDbAssemblerImpl.BuildConsumerInfo should have comment or be unexported (golint)
    • Line 186: warning: exported method GatewayDbAssemblerImpl.BuildConsumerApiInfo should have comment or be unexported (golint)
    • Line 206: warning: exported method GatewayDbAssemblerImpl.BuildConsumerApiPolicyInfo should have comment or be unexported (golint)
    • erda/pkg/secret/hmac/option.go
    • Line 21: warning: exported type Option should have comment or be unexported (golint)
    • Line 23: warning: exported function WithTimestamp should have comment or be unexported (golint)
    • Line 30: warning: exported function WithQueryStringMode should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/kubernetes/node.go
    • Line 33: warning: exported method Endpoints.NodeRouters should have comment or be unexported (golint)
    • Line 48: warning: exported type NodeMeta should have comment or be unexported (golint)
    • Line 52: warning: exported type NodeSpec should have comment or be unexported (golint)
    • Line 56: warning: exported type Node should have comment or be unexported (golint)
    • Line 61: warning: exported type UpdateNodeTagsRequest should have comment or be unexported (golint)
    • Line 66: warning: exported method Endpoints.UpdateNodeTaints should have comment or be unexported (golint)
    • Line 106: warning: exported method Endpoints.DrainNode should have comment or be unexported (golint)
    • erda/modules/scheduler/impl/volume/driver/nasvolume.go
    • Line 27: warning: error var BadVolumeTypeNotNasVolume should have name of the form ErrFoo (golint)
    • Line 27: warning: exported var BadVolumeTypeNotNasVolume should have comment or be unexported (golint)
    • Line 31: warning: exported const NasVolumeHostPathPrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type NasVolumeDriver should have comment or be unexported (golint)
    • Line 38: warning: exported function NewNasVolumeDriver should have comment or be unexported (golint)
    • Line 42: warning: exported method NasVolumeDriver.Type should have comment or be unexported (golint)
    • Line 46: warning: exported method NasVolumeDriver.Create should have comment or be unexported (golint)
    • Line 58: warning: exported method NasVolumeDriver.Info should have comment or be unexported (golint)
    • Line 62: warning: exported method NasVolumeDriver.Attach should have comment or be unexported (golint)
    • Line 95: warning: exported method NasVolumeDriver.UnAttach should have comment or be unexported (golint)
    • Line 117: warning: exported method NasVolumeDriver.Delete should have comment or be unexported (golint)
    • erda/bundle/dashboard.go
    • Line 41: warning: exported method Bundle.GetHostMetricInfo should have comment or be unexported (golint)
    • Line 127: warning: exported method Bundle.GetLog should have comment or be unexported (golint)
    • Line 182: warning: comment on exported method Bundle.MetricsRouting should be of the form "MetricsRouting ..." (golint)
    • erda/apistructs/errorbox.go
    • Line 23: warning: exported type ErrorResourceType should have comment or be unexported (golint)
    • Line 26: warning: exported const PipelineError should have comment (or a comment on this block) or be unexported (golint)
    • Line 89: warning: exported type ErrorLogLevel should have comment or be unexported (golint)
    • Line 92: warning: exported const SuccessLevel should have comment (or a comment on this block) or be unexported (golint)
    • erda/modules/dop/endpoints/sla.go
    • Line 31: warning: comment on exported method Endpoints.ListSLAs should be of the form "ListSLAs ..." (golint)
    • Line 67: warning: comment on exported method Endpoints.CreateSLA should be of the form "CreateSLA ..." (golint)
    • Line 100: warning: exported method Endpoints.GetSLA should have comment or be unexported (golint)
    • Line 133: warning: exported method Endpoints.DeleteSLA should have comment or be unexported (golint)
    • Line 163: warning: exported method Endpoints.UpdateSLA should have comment or be unexported (golint)
    • erda/pkg/swagger/openapi/ddl/openapi.go
    • Line 25: warning: exported type OnlySchemaOpenapi should have comment or be unexported (golint)
    • Line 34: warning: exported function NewOnlySchemaOpenapi should have comment or be unexported (golint)
    • Line 64: warning: exported method OnlySchemaOpenapi.WriteString should have comment or be unexported (golint)
    • Line 77: warning: exported method OnlySchemaOpenapi.Enter should have comment or be unexported (golint)
    • Line 208: warning: exported method OnlySchemaOpenapi.Leave should have comment or be unexported (golint)
    • Line 212: warning: exported method OnlySchemaOpenapi.YAML should have comment or be unexported (golint)
    • Line 223: warning: exported method OnlySchemaOpenapi.JSON should have comment or be unexported (golint)
    • erda/modules/cmp/dbclient/addon_node.go
    • Line 38: warning: exported method AddonNode.TableName should have comment or be unexported (golint)
    • Line 53: warning: exported method DBClient.AddonNodeReader should have comment or be unexported (golint)
    • Line 86: warning: exported method DBClient.AddonNodeWriter should have comment or be unexported (golint)
    • Line 110: warning: exported type AddonNodeList should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/addons.go
    • Line 30: warning: comment on exported method Endpoints.GetAddonConfig should be of the form "GetAddonConfig ..." (golint)
    • Line 56: warning: comment on exported method Endpoints.GetAddonStatus should be of the form "GetAddonStatus ..." (golint)
    • Line 86: warning: comment on exported method Endpoints.UpdateAddonConfig should be of the form "UpdateAddonConfig ..." (golint)
    • Line 117: warning: comment on exported method Endpoints.AddonScale should be of the form "AddonScale ..." (golint)
    • erda/modules/pipeline/dbclient/op_pipeline_extra.go
    • Line 22: warning: exported method Client.GetPipelineExtraByPipelineID should have comment or be unexported (golint)
    • Line 32: warning: exported method Client.CreatePipelineExtra should have comment or be unexported (golint)
    • Line 40: warning: exported method Client.UpdatePipelineExtraByPipelineID should have comment or be unexported (golint)
    • Line 48: warning: exported method Client.UpdatePipelineExtraExtraInfoByPipelineID should have comment or be unexported (golint)
    • Line 68: warning: exported method Client.ListPipelineExtrasByPipelineIDs should have comment or be unexported (golint)
    • Line 83: warning: exported method Client.UpdatePipelineProgress should have comment or be unexported (golint)
    • Line 91: warning: exported method Client.UpdatePipelineExtraSnapshot should have comment or be unexported (golint)
    • erda/pkg/nexus/repository_request_maven.go
    • Line 20: warning: comment on exported type MavenHostedRepositoryCreateRequest should be of the form "MavenHostedRepositoryCreateRequest ..." (with optional leading article) (golint)
    • Line 26: warning: exported type MavenHostedRepositoryUpdateRequest should have comment or be unexported (golint)
    • Line 28: warning: comment on exported type MavenProxyRepositoryCreateRequest should be of the form "MavenProxyRepositoryCreateRequest ..." (with optional leading article) (golint)
    • Line 34: warning: exported type MavenProxyRepositoryUpdateRequest should have comment or be unexported (golint)
    • Line 36: warning: comment on exported type MavenGroupRepositoryCreateRequest should be of the form "MavenGroupRepositoryCreateRequest ..." (with optional leading article) (golint)
    • Line 41: warning: exported type MavenGroupRepositoryUpdateRequest should have comment or be unexported (golint)
    • erda/modules/kms/endpoints/kms_symmetric.go
    • Line 25: warning: exported method Endpoints.KmsEncrypt should have comment or be unexported (golint)
    • Line 43: warning: exported method Endpoints.KmsDecrypt should have comment or be unexported (golint)
    • Line 61: warning: exported method Endpoints.KmsGenerateDataKey should have comment or be unexported (golint)
    • Line 79: warning: exported method Endpoints.KmsRotateKeyVersion should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/vpc/vpc.go
    • Line 31: warning: exported function List should have comment or be unexported (golint)
    • Line 70: warning: exported type VPCCreateRequest should have comment or be unexported (golint)
    • Line 76: warning: exported function ListByCluster should have comment or be unexported (golint)
    • Line 81: warning: exported function DescribeVPCs should have comment or be unexported (golint)
    • Line 125: warning: exported function Classify should have comment or be unexported (golint)
    • Line 154: warning: exported function OverwriteTags should have comment or be unexported (golint)
    • Line 171: warning: exported function TagResource should have comment or be unexported (golint)
    • Line 209: warning: exported function UntagResource should have comment or be unexported (golint)
    • erda/modules/dop/services/pipeline/pipeline.go
    • Line 36: warning: exported const DicePipelinesGitFolder should have comment (or a comment on this block) or be unexported (golint)
    • Line 63: warning: comment on exported function GetPipelineYmlList should be of the form "GetPipelineYmlList ..." (golint)
    • Line 99: warning: comment on exported method Pipeline.CreatePipelineV2 should be of the form "CreatePipelineV2 ..." (golint)
    • Line 168: warning: exported method Pipeline.AppCombos should have comment or be unexported (golint)
    • Line 236: warning: exported method Pipeline.AllValidBranchWorkspaces should have comment or be unexported (golint)
    • Line 240: warning: exported method Pipeline.ConvertPipelineToV2 should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_runtime_service_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayRuntimeServiceServiceImpl should have comment or be unexported (golint)
    • Line 30: warning: exported function NewGatewayRuntimeServiceServiceImpl should have comment or be unexported (golint)
    • Line 41: warning: exported method GatewayRuntimeServiceServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 64: warning: exported method GatewayRuntimeServiceServiceImpl.Update should have comment or be unexported (golint)
    • Line 75: warning: exported method GatewayRuntimeServiceServiceImpl.Insert should have comment or be unexported (golint)
    • Line 86: warning: exported method GatewayRuntimeServiceServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 105: warning: exported method GatewayRuntimeServiceServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 121: warning: exported method GatewayRuntimeServiceServiceImpl.Get should have comment or be unexported (golint)
    • Line 136: warning: exported method GatewayRuntimeServiceServiceImpl.Delete should have comment or be unexported (golint)
    • Line 147: warning: exported method GatewayRuntimeServiceServiceImpl.CreateIfNotExist should have comment or be unexported (golint)
    • erda/pkg/apitestsv2/cookiejar/jar.go
    • Line 70: warning: exported type Cookies should have comment or be unexported (golint)
    • Line 319: warning: exported method Jar.GetEntries should have comment or be unexported (golint)
    • Line 323: warning: exported method Jar.SetEntries should have comment or be unexported (golint)
    • erda/modules/core-services/dao/app_publish_item_relation.go
    • Line 21: warning: exported method DBClient.QueryAppPublishItemRelations should have comment or be unexported (golint)
    • Line 45: warning: exported method DBClient.RemovePublishItemRelations should have comment or be unexported (golint)
    • Line 49: warning: exported method DBClient.UpdateAppPublishItemRelations should have comment or be unexported (golint)
    • erda/modules/dop/pipeline/pipelineyml/parser.go
    • Line 24: warning: exported const GittarFilePath should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported function ParsePipeline should have comment or be unexported (golint)
    • Line 43: warning: exported function GetReSources should have comment or be unexported (golint)
    • Line 61: warning: exported function GetStages should have comment or be unexported (golint)
    • Line 112: warning: exported function GetLanguagePaths should have comment or be unexported (golint)
    • erda/modules/hepa/config/config.go
    • Line 16: warning: exported var ServerConf should have comment or be unexported (golint)
    • Line 17: warning: exported var LogConf should have comment or be unexported (golint)
    • Line 19: warning: exported type LogConfig should have comment or be unexported (golint)
    • Line 30: warning: exported type ServerConfig should have comment or be unexported (golint)
    • erda/apistructs/log.go
    • Line 16: warning: exported type GetLogsResponse should have comment or be unexported (golint)
    • Line 22: warning: exported type LogLine should have comment or be unexported (golint)
    • Line 31: warning: exported type LogDetail should have comment or be unexported (golint)
    • Line 52: warning: exported var CollectorLogPushStreamStdout should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/project-list-my/components/filter/model.go
    • Line 18: warning: exported type ComponentFilter should have comment or be unexported (golint)
    • Line 24: warning: exported type CommonFilter should have comment or be unexported (golint)
    • Line 33: warning: exported type Operations should have comment or be unexported (golint)
    • Line 38: warning: exported type Options should have comment or be unexported (golint)
    • Line 44: warning: exported type Props should have comment or be unexported (golint)
    • Line 49: warning: exported type StateConditions should have comment or be unexported (golint)
    • Line 59: warning: exported type State should have comment or be unexported (golint)
    • erda/modules/soldier/autoop/collect.go
    • Line 16: warning: exported type LogContent should have comment or be unexported (golint)
    • Line 25: warning: exported type Tag should have comment or be unexported (golint)
    • Line 29: warning: exported function NewLogContent should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/marathon/marathon.go
    • Line 64: warning: comment on exported const CPU_SUBSCRIBE_RATIO should be of the form "CPU_SUBSCRIBE_RATIO ..." (golint)
    • Line 67: warning: comment on exported const CPU_CFS_PERIOD_US should be of the form "CPU_CFS_PERIOD_US ..." (golint)
    • Line 69: warning: comment on exported const MIN_CPU_SIZE should be of the form "MIN_CPU_SIZE ..." (golint)
    • Line 72: warning: exported const HCMethodCommand should have comment (or a comment on this block) or be unexported (golint)
    • Line 143: warning: don't use underscores in Go names; var unique_ should be unique (golint)
    • Line 148: warning: don't use underscores in Go names; var disableAutoRestart_ should be disableAutoRestart (golint)
    • Line 154: warning: don't use underscores in Go names; var cpuSubscribeRatio_ should be cpuSubscribeRatio (golint)
    • Line 162: warning: don't use underscores in Go names; var cpuNumQuota_ should be cpuNumQuota (golint)
    • Line 229: warning: don't use underscores in Go names; var forceKill_ should be forceKill (golint)
    • Line 241: warning: exported type Marathon should have comment or be unexported (golint)
    • Line 278: warning: exported type Ver should have comment or be unexported (golint)
    • Line 280: warning: exported method Marathon.Kind should have comment or be unexported (golint)
    • Line 284: warning: exported method Marathon.Name should have comment or be unexported (golint)
    • Line 288: warning: exported method Marathon.Create should have comment or be unexported (golint)
    • Line 345: warning: exported method Marathon.Destroy should have comment or be unexported (golint)
    • Line 361: warning: exported method Marathon.Status should have comment or be unexported (golint)
    • Line 381: warning: exported method Marathon.Remove should have comment or be unexported (golint)
    • Line 421: warning: exported method Marathon.Inspect should have comment or be unexported (golint)
    • Line 497: warning: exported method Marathon.Cancel should have comment or be unexported (golint)
    • Line 542: warning: exported method Marathon.Precheck should have comment or be unexported (golint)
    • Line 546: warning: exported method Marathon.CapacityInfo should have comment or be unexported (golint)
    • Line 550: warning: exported method Marathon.ResourceInfo should have comment or be unexported (golint)
    • Line 1772: warning: exported method Marathon.CleanUpBeforeDelete should have comment or be unexported (golint)
    • Line 1773: warning: exported method Marathon.JobVolumeCreate should have comment or be unexported (golint)
    • Line 1777: warning: exported method Marathon.KillPod should have comment or be unexported (golint)
    • Line 1781: warning: exported method Marathon.Scale should have comment or be unexported (golint)
    • erda/apistructs/project.go
    • Line 58: warning: exported const DevopsTemplate should have comment (or a comment on this block) or be unexported (golint)
    • Line 266: warning: exported const PrjCooperativeFunc should have comment (or a comment on this block) or be unexported (golint)
    • Line 312: warning: exported type MyProjectIDsResponse should have comment or be unexported (golint)
    • Line 317: warning: exported type GetProjectIDListByStatesRequest should have comment or be unexported (golint)
    • Line 322: warning: exported type GetProjectIDListByStatesResponse should have comment or be unexported (golint)
    • Line 328: warning: exported type GetProjectIDListByStatesData should have comment or be unexported (golint)
    • Line 333: warning: exported type GetAllProjectsResponse should have comment or be unexported (golint)
    • erda/modules/pipeline/spec/pipeline_extra.go
    • Line 60: warning: exported method PipelineExtra.TableName should have comment or be unexported (golint)
    • Line 64: warning: exported type PipelineExtraInfo should have comment or be unexported (golint)
    • Line 117: warning: exported type QueueInfo should have comment or be unexported (golint)
    • Line 122: warning: exported type Snapshot should have comment or be unexported (golint)
    • Line 175: warning: exported method Snapshot.ToDB should have comment or be unexported (golint)
    • Line 179: warning: exported type RerunFailedDetail should have comment or be unexported (golint)
    • Line 187: warning: exported method PipelineExtra.GetCommitID should have comment or be unexported (golint)
    • Line 194: warning: exported method PipelineExtra.GetOrgName should have comment or be unexported (golint)
    • erda/modules/orchestrator/services/runtime/runtime.go
    • Line 94: warning: exported method Runtime.CreateByReleaseIDPipeline should have comment or be unexported (golint)
    • Line 177: warning: comment on exported method Runtime.CreateByReleaseID should be of the form "CreateByReleaseID ..." (golint)
    • Line 259: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 389: warning: exported method Runtime.RedeployPipeline should have comment or be unexported (golint)
    • Line 766: warning: exported method Runtime.RollbackPipeline should have comment or be unexported (golint)
    • Line 878: warning: exported method Runtime.Rollback should have comment or be unexported (golint)
    • Line 1546: warning: exported method Runtime.KillPod should have comment or be unexported (golint)
    • erda/modules/dop/services/nexussvc/repository.go
    • Line 25: warning: exported method NexusSvc.ConvertRepo should have comment or be unexported (golint)
    • Line 42: warning: exported method NexusSvc.ConvertRepos should have comment or be unexported (golint)
    • Line 158: warning: exported method NexusSvc.GetRepositoryByName should have comment or be unexported (golint)
    • erda/bundle/autotest_plan.go
    • Line 179: warning: comment on exported method Bundle.GetTestPlanV2Step should be of the form "GetTestPlanV2Step ..." (golint)
    • Line 201: warning: comment on exported method Bundle.UpdateTestPlanV2Step should be of the form "UpdateTestPlanV2Step ..." (golint)
    • Line 223: warning: exported method Bundle.ExecuteDiceAutotestTestPlan should have comment or be unexported (golint)
    • Line 244: warning: exported method Bundle.CancelDiceAutotestTestPlan should have comment or be unexported (golint)
    • erda/apistructs/sonar_metric_rules.go
    • Line 21: warning: exported const ProjectScopeType should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type SonarMetricKey should have comment or be unexported (golint)
    • Line 39: warning: exported method SonarMetricKey.FormatValue should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported function GetOperationalValue should have comment or be unexported (golint)
    • Line 56: warning: exported var SonarMetricKeys should have comment or be unexported (golint)
    • Line 58: warning: comment on exported type SonarMetricRulesPagingRequest should be of the form "SonarMetricRulesPagingRequest ..." (with optional leading article) (golint)
    • Line 66: warning: comment on exported type SonarMetricRulesUpdateRequest should be of the form "SonarMetricRulesUpdateRequest ..." (with optional leading article) (golint)
    • Line 75: warning: comment on exported type SonarMetricRulesBatchInsertRequest should be of the form "SonarMetricRulesBatchInsertRequest ..." (with optional leading article) (golint)
    • Line 82: warning: exported type SonarMetricRulesBatchDeleteRequest should have comment or be unexported (golint)
    • Line 88: warning: exported type SonarMetricRuleDto should have comment or be unexported (golint)
    • Line 104: warning: comment on exported type SonarMetricRulesDeleteRequest should be of the form "SonarMetricRulesDeleteRequest ..." (with optional leading article) (golint)
    • Line 111: warning: comment on exported type SonarMetricRulesDefinitionListRequest should be of the form "SonarMetricRulesDefinitionListRequest ..." (with optional leading article) (golint)
    • Line 117: warning: comment on exported type SonarMetricRulesListRequest should be of the form "SonarMetricRulesListRequest ..." (with optional leading article) (golint)
    • Line 123: warning: exported type SonarMetricRulesListResp should have comment or be unexported (golint)
    • erda/bundle/issue.go
    • Line 26: warning: exported method Bundle.PageIssues should have comment or be unexported (golint)
    • Line 47: warning: comment on exported method Bundle.Labels should be of the form "Labels ..." (golint)
    • Line 167: warning: exported method Bundle.GetIssueStateBelong should have comment or be unexported (golint)
    • Line 189: warning: exported method Bundle.GetIssueStatesByID should have comment or be unexported (golint)
    • Line 235: warning: exported method Bundle.GetIssuePanel should have comment or be unexported (golint)
    • Line 258: warning: exported method Bundle.GetIssuePanelIssue should have comment or be unexported (golint)
    • Line 282: warning: exported method Bundle.CreateIssuePanel should have comment or be unexported (golint)
    • Line 304: warning: exported method Bundle.DeleteIssuePanel should have comment or be unexported (golint)
    • Line 328: warning: exported method Bundle.UpdateIssuePanel should have comment or be unexported (golint)
    • Line 352: warning: exported method Bundle.GetIssueStage should have comment or be unexported (golint)
    • erda/modules/dop/services/autotest_v2/space.go
    • Line 226: warning: comment on exported method Service.UpdateAutoTestSceneRefSet should be of the form "UpdateAutoTestSceneRefSet ..." (golint)
    • Line 237: warning: comment on exported method Service.GenerateSpaceName should be of the form "GenerateSpaceName ..." (golint)
    • erda/modules/gittar/pkg/gitmodule/tool/tools.go
    • Line 22: warning: exported function IsImageFile should have comment or be unexported (golint)
    • Line 26: warning: exported function IsPDFFile should have comment or be unexported (golint)
    • Line 30: warning: exported function IsVideoFile should have comment or be unexported (golint)
    • Line 35: warning: exported const Byte should have comment (or a comment on this block) or be unexported (golint)
    • erda/pkg/mock/mock.go
    • Line 51: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 79: warning: don't use underscores in Go names; const asciiCodeIndex_A should be asciiCodeIndexA (golint)
    • Line 80: warning: don't use underscores in Go names; const asciiCodeIndex_a should be asciiCodeIndexA (golint)
    • Line 81: warning: don't use underscores in Go names; const asciiCodeIndex_0 should be asciiCodeIndex0 (golint)
    • Line 148: warning: exported function MockValue should have comment or be unexported (golint)
    • erda/pkg/ucauth/token.go
    • Line 33: warning: exported type TokenClient should have comment or be unexported (golint)
    • Line 39: warning: exported type UCTokenAuth should have comment or be unexported (golint)
    • Line 52: warning: comment on exported function NewUCTokenAuth should be of the form "NewUCTokenAuth ..." (golint)
    • Line 81: warning: exported method UCTokenAuth.GetServerToken should have comment or be unexported (golint)
    • Line 95: warning: comment on exported method UCTokenAuth.Auth should be of the form "Auth ..." (golint)
    • Line 127: warning: exported function GenClientToken should have comment or be unexported (golint)
    • Line 154: warning: comment on exported type NewClientRequest should be of the form "NewClientRequest ..." (with optional leading article) (golint)
    • Line 172: warning: comment on exported type NewClientResponse should be of the form "NewClientResponse ..." (with optional leading article) (golint)
    • Line 182: warning: exported method UCTokenAuth.NewClient should have comment or be unexported (golint)
    • erda/modules/hepa/kong/base/kong_adapter.go
    • Line 23: warning: should not use dot imports (golint)
    • Line 24: warning: should not use dot imports (golint)
    • Line 31: warning: exported const ConsumerRoot should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported var ErrInvalidReq should have comment or be unexported (golint)
    • Line 45: warning: exported type KongAdapterImpl should have comment or be unexported (golint)
    • Line 50: warning: exported method KongAdapterImpl.KongExist should have comment or be unexported (golint)
    • Line 54: warning: exported method KongAdapterImpl.CreateConsumer should have comment or be unexported (golint)
    • Line 76: warning: exported method KongAdapterImpl.DeleteConsumer should have comment or be unexported (golint)
    • Line 93: warning: exported method KongAdapterImpl.UpdateRoute should have comment or be unexported (golint)
    • Line 121: warning: exported method KongAdapterImpl.CreateOrUpdateRoute should have comment or be unexported (golint)
    • Line 155: warning: exported method KongAdapterImpl.TouchRouteOAuthMethod should have comment or be unexported (golint)
    • Line 194: warning: exported method KongAdapterImpl.DeleteRoute should have comment or be unexported (golint)
    • Line 210: warning: exported method KongAdapterImpl.CreateOrUpdateService should have comment or be unexported (golint)
    • Line 239: warning: exported method KongAdapterImpl.DeleteService should have comment or be unexported (golint)
    • Line 256: warning: exported method KongAdapterImpl.GetPlugin should have comment or be unexported (golint)
    • Line 293: warning: exported method KongAdapterImpl.CreateOrUpdatePluginById should have comment or be unexported (golint)
    • Line 321: warning: exported method KongAdapterImpl.GetVersion should have comment or be unexported (golint)
    • Line 340: warning: exported method KongAdapterImpl.CheckPluginEnabled should have comment or be unexported (golint)
    • Line 366: warning: exported method KongAdapterImpl.DeletePluginIfExist should have comment or be unexported (golint)
    • Line 385: warning: exported method KongAdapterImpl.CreateOrUpdatePlugin should have comment or be unexported (golint)
    • Line 406: warning: exported method KongAdapterImpl.AddPlugin should have comment or be unexported (golint)
    • Line 436: warning: exported method KongAdapterImpl.PutPlugin should have comment or be unexported (golint)
    • Line 468: warning: exported method KongAdapterImpl.UpdatePlugin should have comment or be unexported (golint)
    • Line 505: warning: exported method KongAdapterImpl.RemovePlugin should have comment or be unexported (golint)
    • Line 521: warning: exported method KongAdapterImpl.CreateCredential should have comment or be unexported (golint)
    • Line 549: warning: exported method KongAdapterImpl.DeleteCredential should have comment or be unexported (golint)
    • Line 563: warning: exported method KongAdapterImpl.GetCredentialList should have comment or be unexported (golint)
    • Line 588: warning: exported method KongAdapterImpl.CreateAclGroup should have comment or be unexported (golint)
    • Line 606: warning: exported method KongAdapterImpl.CreateUpstream should have comment or be unexported (golint)
    • Line 628: warning: exported method KongAdapterImpl.GetUpstreamStatus should have comment or be unexported (golint)
    • Line 650: warning: exported method KongAdapterImpl.AddUpstreamTarget should have comment or be unexported (golint)
    • Line 672: warning: exported method KongAdapterImpl.DeleteUpstreamTarget should have comment or be unexported (golint)
    • Line 689: warning: exported method KongAdapterImpl.GetRoutes should have comment or be unexported (golint)
    • erda/apistructs/identity_info.go
    • Line 30: warning: exported method IdentityInfo.IsInternalClient should have comment or be unexported (golint)
    • Line 34: warning: exported method IdentityInfo.Empty should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_zone_service.go
    • Line 23: warning: should not use dot imports (golint)
    • Line 36: warning: exported type GatewayZoneServiceImpl should have comment or be unexported (golint)
    • Line 46: warning: exported function NewGatewayZoneServiceImpl should have comment or be unexported (golint)
    • Line 86: warning: exported method GatewayZoneServiceImpl.GetRegisterAppInfo should have comment or be unexported (golint)
    • Line 140: warning: exported method GatewayZoneServiceImpl.UpdateBuiltinPolicies should have comment or be unexported (golint)
    • Line 156: warning: exported method GatewayZoneServiceImpl.UpdateKongDomainPolicy should have comment or be unexported (golint)
    • Line 277: warning: exported method GatewayZoneServiceImpl.SetZoneKongPoliciesWithoutDomainPolicy should have comment or be unexported (golint)
    • Line 311: warning: exported method GatewayZoneServiceImpl.SetZoneKongPolicies should have comment or be unexported (golint)
    • Line 340: warning: exported method GatewayZoneServiceImpl.DeleteZone should have comment or be unexported (golint)
    • Line 363: warning: exported method GatewayZoneServiceImpl.CreateZoneWithoutIngress should have comment or be unexported (golint)
    • Line 396: warning: exported method GatewayZoneServiceImpl.CreateZone should have comment or be unexported (golint)
    • Line 449: warning: exported method GatewayZoneServiceImpl.UpdateZoneRoute should have comment or be unexported (golint)
    • Line 493: warning: exported method GatewayZoneServiceImpl.DeleteZoneRoute should have comment or be unexported (golint)
    • Line 577: warning: exported method GatewayZoneServiceImpl.GetZone should have comment or be unexported (golint)
    • erda/apistructs/cmp_cloud_resource.go
    • Line 20: warning: comment on exported type CloudNodesRequest should be of the form "CloudNodesRequest ..." (with optional leading article) (golint)
    • Line 47: warning: exported const PrePaidChargeType should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: comment on exported type CloudNodesResponse should be of the form "CloudNodesResponse ..." (with optional leading article) (golint)
    • Line 57: warning: comment on exported type NodeStatusRequest should be of the form "NodeStatusRequest ..." (with optional leading article) (golint)
    • Line 62: warning: comment on exported type NodeStatusResponse should be of the form "NodeStatusResponse ..." (with optional leading article) (golint)
    • Line 68: warning: comment on exported type NodeStatusData should be of the form "NodeStatusData ..." (with optional leading article) (golint)
    • Line 76: warning: exported type Condition should have comment or be unexported (golint)
    • Line 85: warning: exported type NodePhase should have comment or be unexported (golint)
    • Line 88: warning: exported const NodePhaseInit should have comment (or a comment on this block) or be unexported (golint)
    • Line 95: warning: comment on exported const NodePhaseEssInfo should be of the form "NodePhaseEssInfo ..." (golint)
    • Line 102: warning: exported const DeleteEssNodesCronPrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 109: warning: exported method NodePhase.ToDesc should have comment or be unexported (golint)
    • Line 128: warning: exported type PhaseStatus should have comment or be unexported (golint)
    • Line 131: warning: exported const PhaseStatusRunning should have comment (or a comment on this block) or be unexported (golint)
    • Line 137: warning: exported type CloudClusterInfo should have comment or be unexported (golint)
    • Line 151: warning: exported type CloudClusterInstaller should have comment or be unexported (golint)
    • Line 158: warning: exported type CloudClusterNas should have comment or be unexported (golint)
    • Line 163: warning: exported type CloudClusterGlusterfs should have comment or be unexported (golint)
    • Line 167: warning: exported type CloudClusterHostsInfo should have comment or be unexported (golint)
    • Line 173: warning: exported type CloudClusterContainerInfo should have comment or be unexported (golint)
    • Line 183: warning: exported type CloudClusterNewCreateInfo should have comment or be unexported (golint)
    • Line 215: warning: comment on exported type CloudClusterRequest should be of the form "CloudClusterRequest ..." (with optional leading article) (golint)
    • Line 237: warning: exported type CloudClusterResponse should have comment or be unexported (golint)
    • Line 238: warning: exported type ClusterStatusResponse should have comment or be unexported (golint)
    • Line 239: warning: exported type ClusterStatusRequest should have comment or be unexported (golint)
    • Line 241: warning: exported type CloudVendor should have comment or be unexported (golint)
    • Line 244: warning: exported const CloudVendorAliEcs should have comment (or a comment on this block) or be unexported (golint)
    • Line 251: warning: exported const TerraformEcyKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 254: warning: exported var CloudVendorSlice should have comment or be unexported (golint)
    • Line 261: warning: exported type ClusterPreviewResponse should have comment or be unexported (golint)
    • Line 266: warning: comment on exported type CloudResource should be of the form "CloudResource ..." (with optional leading article) (golint)
    • Line 275: warning: exported type ClusterResourceType should have comment or be unexported (golint)
    • Line 278: warning: exported const ResourceEcs should have comment (or a comment on this block) or be unexported (golint)
    • Line 285: warning: exported const EdgeStandardNum should have comment (or a comment on this block) or be unexported (golint)
    • Line 301: warning: exported type ClusterSpec should have comment or be unexported (golint)
    • Line 304: warning: exported const ClusterSpecStandard should have comment (or a comment on this block) or be unexported (golint)
    • Line 309: warning: exported method ClusterSpec.GetSpecNum should have comment or be unexported (golint)
    • Line 322: warning: exported method ClusterResourceType.GetResSpec should have comment or be unexported (golint)
    • erda/apistructs/hepa.go
    • Line 40: warning: exported type EndpointInfoResponse should have comment or be unexported (golint)
    • Line 45: warning: exported type ClientInfoResponse should have comment or be unexported (golint)
    • Line 50: warning: exported type TenantGroupResponse should have comment or be unexported (golint)
    • Line 55: warning: exported type ClientInfoDto should have comment or be unexported (golint)
    • Line 60: warning: exported type LimitType should have comment or be unexported (golint)
    • Line 67: warning: exported type ChangeLimitsReq should have comment or be unexported (golint)
    • Line 71: warning: exported type OpenapiInfoDto should have comment or be unexported (golint)
    • Line 81: warning: exported type OpenapiDto should have comment or be unexported (golint)
    • Line 96: warning: exported type PackageDto should have comment or be unexported (golint)
    • Line 106: warning: exported type PackageInfoDto should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/emptyOrganization/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyOrganization should be emptyorganization (golint)
    • Line 26: warning: exported type EmptyOrganization should have comment or be unexported (golint)
    • Line 32: warning: exported type Props should have comment or be unexported (golint)
    • Line 36: warning: exported method EmptyOrganization.SetCtxBundle should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method EmptyOrganization.Render should have comment or be unexported (golint)
    • Line 59: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/monitor/utils/map.go
    • Line 18: warning: exported function GetMapValueString should have comment or be unexported (golint)
    • Line 26: warning: exported function GetMapValueBool should have comment or be unexported (golint)
    • Line 34: warning: exported function GetMapValueInt64 should have comment or be unexported (golint)
    • Line 42: warning: exported function GetMapValueUint64 should have comment or be unexported (golint)
    • Line 50: warning: exported function GetMapValueFloat64 should have comment or be unexported (golint)
    • Line 58: warning: exported function GetMapValueArr should have comment or be unexported (golint)
    • Line 67: warning: exported function GetMapValueMap should have comment or be unexported (golint)
    • Line 76: warning: exported function GetMapValue should have comment or be unexported (golint)
    • erda/modules/eventbox/subscriber/http/http.go
    • Line 37: warning: comment on exported type Dest should be of the form "Dest ..." (with optional leading article) (golint)
    • Line 40: warning: comment on exported type HTTPHeaders should be of the form "HTTPHeaders ..." (with optional leading article) (golint)
    • Line 43: warning: exported type HTTPSubscriber should have comment or be unexported (golint)
    • Line 45: warning: exported function New should have comment or be unexported (golint)
    • Line 49: warning: exported method HTTPSubscriber.Publish should have comment or be unexported (golint)
    • Line 53: warning: don't use underscores in Go names; var dest_ should be dest (golint)
    • Line 106: warning: exported method HTTPSubscriber.Status should have comment or be unexported (golint)
    • Line 110: warning: exported method HTTPSubscriber.Name should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/graph_pipelineyml.go
    • Line 22: warning: comment on exported function ConvertGraphPipelineYmlContent should be of the form "ConvertGraphPipelineYmlContent ..." (golint)
    • Line 109: warning: comment on exported function ConvertToGraphPipelineYml should be of the form "ConvertToGraphPipelineYml ..." (golint)
    • erda/modules/scheduler/impl/volume/volume.go
    • Line 26: warning: exported type VolumeType should have comment or be unexported (golint)
    • Line 28: warning: exported type VolumeCreateConfig should have comment or be unexported (golint)
    • Line 37: warning: exported function VolumeCreateConfigFrom should have comment or be unexported (golint)
    • Line 48: warning: exported type VolumeReference should have comment or be unexported (golint)
    • Line 50: warning: exported type VolumeInfo should have comment or be unexported (golint)
    • Line 52: warning: exported var IDLenLock should have comment or be unexported (golint)
    • Line 53: warning: exported var IDLen should have comment or be unexported (golint)
    • Line 62: warning: comment on exported method VolumeIdentity.IsNotUUID should be of the form "IsNotUUID ..." (golint)
    • Line 93: warning: exported function NewVolumeID should have comment or be unexported (golint)
    • Line 105: warning: exported function NewVolumeName should have comment or be unexported (golint)
    • Line 109: warning: exported type AttachDest should have comment or be unexported (golint)
    • Line 111: warning: exported method AttachDest.Validate should have comment or be unexported (golint)
    • Line 124: warning: comment on exported method AttachDest.Equal should be of the form "Equal ..." (golint)
    • Line 146: warning: exported type AttachCallback should have comment or be unexported (golint)
    • Line 148: warning: exported type Volume should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_mock_service.go
    • Line 18: warning: should not use dot imports (golint)
    • Line 27: warning: exported type GatewayMockServiceImpl should have comment or be unexported (golint)
    • Line 31: warning: exported function NewGatewayMockServiceImpl should have comment or be unexported (golint)
    • Line 41: warning: exported method GatewayMockServiceImpl.RegisterMockApi should have comment or be unexported (golint)
    • Line 74: warning: exported method GatewayMockServiceImpl.CallMockApi should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/cloud_resource_account.go
    • Line 30: warning: exported method Endpoints.CreateAccount should have comment or be unexported (golint)
    • Line 58: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 70: warning: exported method Endpoints.DeleteAccount should have comment or be unexported (golint)
    • Line 99: warning: exported method Endpoints.ListAccount should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/org-list-my/components/emptyText/model.go
    • Line 14: warning: don't use MixedCaps in package name; emptyText should be emptytext (golint)
    • Line 20: warning: exported type ComponentEmptyText should have comment or be unexported (golint)
    • Line 27: warning: exported type Props should have comment or be unexported (golint)
    • Line 34: warning: exported type State should have comment or be unexported (golint)
    • Line 38: warning: exported type Config should have comment or be unexported (golint)
    • Line 43: warning: exported type Redirect should have comment or be unexported (golint)
    • Line 49: warning: exported type RedirectConfig should have comment or be unexported (golint)
    • Line 53: warning: exported type Operation should have comment or be unexported (golint)
    • Line 59: warning: exported type Command should have comment or be unexported (golint)
    • erda/tools/cli/status/status.go
    • Line 29: warning: comment on exported var SessionInfos should be of the form "SessionInfos ..." (golint)
    • Line 45: warning: exported type StatusInfo should have comment or be unexported (golint)
    • Line 52: warning: exported type UserInfo should have comment or be unexported (golint)
    • erda/pkg/aliyunclient/config.go
    • Line 23: warning: exported type Config should have comment or be unexported (golint)
    • Line 37: warning: exported function NewConfig should have comment or be unexported (golint)
    • Line 43: warning: exported method Config.WithAutoRetry should have comment or be unexported (golint)
    • Line 48: warning: exported method Config.WithMaxRetryTime should have comment or be unexported (golint)
    • Line 53: warning: exported method Config.WithUserAgent should have comment or be unexported (golint)
    • Line 58: warning: exported method Config.WithDebug should have comment or be unexported (golint)
    • Line 63: warning: exported method Config.WithTimeout should have comment or be unexported (golint)
    • Line 68: warning: exported method Config.WithHttpTransport should have comment or be unexported (golint)
    • Line 73: warning: exported method Config.WithEnableAsync should have comment or be unexported (golint)
    • Line 78: warning: exported method Config.WithMaxTaskQueueSize should have comment or be unexported (golint)
    • Line 83: warning: exported method Config.WithGoRoutinePoolSize should have comment or be unexported (golint)
    • Line 88: warning: exported method Config.WithScheme should have comment or be unexported (golint)
    • erda/modules/eventbox/dispatcher/router.go
    • Line 28: warning: comment on exported type Router should be of the form "Router ..." (with optional leading article) (golint)
    • Line 51: warning: exported function NewRouter should have comment or be unexported (golint)
    • Line 73: warning: exported method Router.RegisterFilter should have comment or be unexported (golint)
    • Line 78: warning: exported method Router.Route should have comment or be unexported (golint)
    • Line 94: warning: exported method Router.GetFilters should have comment or be unexported (golint)
    • erda/modules/orchestrator/endpoints/server_handler.go
    • Line 39: warning: don't use underscores in Go names; var rs_ should be rs (golint)
    • Line 61: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 70: warning: don't use underscores in Go names; var appId_ should be appID (golint)
    • erda/pkg/database/sqllint/visitors.go
    • Line 25: warning: exported type Linter should have comment or be unexported (golint)
    • Line 33: warning: exported function New should have comment or be unexported (golint)
    • Line 47: warning: exported method Linter.Input should have comment or be unexported (golint)
    • Line 87: warning: exported method Linter.Errors should have comment or be unexported (golint)
    • Line 91: warning: exported method Linter.Report should have comment or be unexported (golint)
    • erda/pkg/clusterdialer/dialer.go
    • Line 40: warning: exported function Init should have comment or be unexported (golint)
    • Line 48: warning: exported type DialContextFunc should have comment or be unexported (golint)
    • Line 49: warning: exported type DialContextProtoFunc should have comment or be unexported (golint)
    • Line 51: warning: exported function DialContext should have comment or be unexported (golint)
    • Line 62: warning: exported function DialContextProto should have comment or be unexported (golint)
    • Line 73: warning: exported function DialContextTCP should have comment or be unexported (golint)
    • erda/modules/dop/dbclient/asset_version_spec.go
    • Line 25: warning: comment on exported type APIAssetVersionSpecsModel should be of the form "APIAssetVersionSpecsModel ..." (with optional leading article) (golint)
    • Line 28: warning: exported method APIAssetVersionSpecsModel.TableName should have comment or be unexported (golint)
    • Line 32: warning: exported function CreateOrUpdateAPIAssetVersionSpec should have comment or be unexported (golint)
    • Line 63: warning: exported function GetAPIAssetVersionSpec should have comment or be unexported (golint)
    • Line 75: warning: exported function QuerySpecsFromVersions should have comment or be unexported (golint)
    • erda/apistructs/extention.go
    • Line 22: warning: exported const DicehubExtensionsMenu should have comment or be unexported (golint)
    • Line 24: warning: exported var CategoryTypes should have comment or be unexported (golint)
    • Line 194: warning: exported type ExtensionMenu should have comment or be unexported (golint)
    • Line 200: warning: comment on exported type Extension should be of the form "Extension ..." (with optional leading article) (golint)
    • Line 214: warning: comment on exported type ExtensionVersion should be of the form "ExtensionVersion ..." (with optional leading article) (golint)
    • Line 229: warning: exported method ExtensionVersion.NotExist should have comment or be unexported (golint)
    • Line 233: warning: exported type ActionSpec should have comment or be unexported (golint)
    • Line 245: warning: exported type ActionMatchOutputType should have comment or be unexported (golint)
    • Line 247: warning: exported const JqActionMatchOutputType should have comment or be unexported (golint)
    • Line 249: warning: exported type OutputsFromParams should have comment or be unexported (golint)
    • Line 254: warning: exported type LoopStrategy should have comment or be unexported (golint)
    • Line 261: warning: exported type ActionConcurrency should have comment or be unexported (golint)
    • Line 270: warning: exported type ActionConcurrencyV1 should have comment or be unexported (golint)
    • Line 275: warning: exported type ActionConcurrencyV1Item should have comment or be unexported (golint)
    • Line 279: warning: exported type ActionSpecParam should have comment or be unexported (golint)
    • Line 288: warning: exported type ActionSpecOutput should have comment or be unexported (golint)
    • Line 293: warning: exported type FormPropItem should have comment or be unexported (golint)
    • erda/tools/cli/cmd/status.go
    • Line 32: warning: exported var STATUS should have comment or be unexported (golint)
    • Line 45: warning: comment on exported function RunPipelineStatus should be of the form "RunPipelineStatus ..." (golint)
    • erda/apistructs/pipeline_yml.go
    • Line 23: warning: exported const ActionSourceType should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported const PipelineParamStringType should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported type PipelineYml should have comment or be unexported (golint)
    • Line 68: warning: exported type NetworkHookInfo should have comment or be unexported (golint)
    • Line 74: warning: exported type TriggerConfig should have comment or be unexported (golint)
    • Line 79: warning: exported type PushTrigger should have comment or be unexported (golint)
    • Line 84: warning: exported type MergeTrigger should have comment or be unexported (golint)
    • Line 88: warning: exported type PipelineYmlAction should have comment or be unexported (golint)
    • Line 108: warning: exported type SnippetStages should have comment or be unexported (golint)
    • Line 114: warning: exported type SnippetConfig should have comment or be unexported (golint)
    • Line 120: warning: exported type SnippetLabel should have comment or be unexported (golint)
    • Line 125: warning: exported type SnippetLabels should have comment or be unexported (golint)
    • Line 131: warning: exported method SnippetConfig.ToString should have comment or be unexported (golint)
    • Line 158: warning: exported type BatchSnippetConfigYml should have comment or be unexported (golint)
    • Line 163: warning: exported type PipelineParam should have comment or be unexported (golint)
    • Line 171: warning: exported type PipelineOutput should have comment or be unexported (golint)
    • Line 177: warning: exported type PipelineOutputWithValue should have comment or be unexported (golint)
    • Line 182: warning: exported type ActionCache should have comment or be unexported (golint)
    • Line 190: warning: exported type CronCompensator should have comment or be unexported (golint)
    • Line 196: warning: exported type PipelineYmlParseGraphRequest should have comment or be unexported (golint)
    • Line 202: warning: exported type PipelineYmlParseGraphResponse should have comment or be unexported (golint)
    • erda/pkg/istioctl/engine.go
    • Line 25: warning: exported type ExecResult should have comment or be unexported (golint)
    • Line 28: warning: exported const ExecSuccess should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported var EmptyEngine should have comment or be unexported (golint)
    • Line 36: warning: exported type ServiceOp should have comment or be unexported (golint)
    • Line 38: warning: exported type IstioEngine should have comment or be unexported (golint)
    • Line 43: warning: exported const ServiceCreate should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported type IstioExecutor should have comment or be unexported (golint)
    • Line 56: warning: exported type DefaultEngine should have comment or be unexported (golint)
    • Line 61: warning: exported function NewDefaultEngine should have comment or be unexported (golint)
    • Line 69: warning: comment on exported method DefaultEngine.OnServiceOperator should be of the form "OnServiceOperator ..." (golint)
    • erda/modules/hepa/repository/orm/base_ability.go
    • Line 22: warning: should not use dot imports (golint)
    • Line 53: warning: exported type OptionType should have comment or be unexported (golint)
    • Line 56: warning: exported const FuzzyMatch should have comment (or a comment on this block) or be unexported (golint)
    • Line 64: warning: exported type SelectOption should have comment or be unexported (golint)
    • Line 70: warning: exported type BaseRow should have comment or be unexported (golint)
    • Line 78: warning: exported type BaseAbility should have comment or be unexported (golint)
    • Line 85: warning: exported method BaseRow.GetPK should have comment or be unexported (golint)
    • Line 91: warning: exported method BaseRow.SetMustCondCols should have comment or be unexported (golint)
    • Line 100: warning: exported method BaseRow.GetMustCondCols should have comment or be unexported (golint)
    • Line 104: warning: exported method BaseRow.BeforeInsert should have comment or be unexported (golint)
    • Line 119: warning: exported method BaseRow.BeforeUpdate should have comment or be unexported (golint)
    • Line 126: warning: exported method BaseRow.SetDeleted should have comment or be unexported (golint)
    • Line 131: warning: exported method BaseRow.SetRecover should have comment or be unexported (golint)
    • Line 136: warning: exported function Insert should have comment or be unexported (golint)
    • Line 145: warning: exported function Distinct should have comment or be unexported (golint)
    • Line 159: warning: exported function Desc should have comment or be unexported (golint)
    • Line 163: warning: exported function In should have comment or be unexported (golint)
    • Line 167: warning: exported function Count should have comment or be unexported (golint)
    • Line 170: warning: exported function Get should have comment or be unexported (golint)
    • Line 174: warning: exported function GetForUpdate should have comment or be unexported (golint)
    • Line 178: warning: exported function GetByAnyI should have comment or be unexported (golint)
    • Line 182: warning: exported function GetRawByAnyI should have comment or be unexported (golint)
    • Line 186: warning: exported function GetByAny should have comment or be unexported (golint)
    • Line 194: warning: exported function SelectByAnyI should have comment or be unexported (golint)
    • Line 201: warning: exported function DeleteByAnyI should have comment or be unexported (golint)
    • Line 206: warning: exported function SelectByAny should have comment or be unexported (golint)
    • Line 214: warning: exported function SelectPageByAnyI should have comment or be unexported (golint)
    • Line 222: warning: exported function SelectPageByAny should have comment or be unexported (golint)
    • Line 230: warning: exported function SelectNoCond should have comment or be unexported (golint)
    • Line 234: warning: exported function SelectNoCondMissing should have comment or be unexported (golint)
    • Line 238: warning: exported function Select should have comment or be unexported (golint)
    • Line 242: warning: exported function SelectPageNoCond should have comment or be unexported (golint)
    • Line 246: warning: exported function SelectPage should have comment or be unexported (golint)
    • Line 263: warning: exported function ParseSelectOptions should have comment or be unexported (golint)
    • Line 298: warning: exported function SelectPageWithOption should have comment or be unexported (golint)
    • Line 302: warning: exported function SelectWithOption should have comment or be unexported (golint)
    • Line 306: warning: exported function CountWithOption should have comment or be unexported (golint)
    • Line 310: warning: don't use underscores in Go names; func update_cols should be updateCols (golint)
    • Line 341: warning: exported function Update should have comment or be unexported (golint)
    • Line 352: warning: exported function Delete should have comment or be unexported (golint)
    • Line 357: warning: exported function RealDelete should have comment or be unexported (golint)
    • Line 361: warning: exported function Recover should have comment or be unexported (golint)
    • erda/modules/openapi/loginserver.go
    • Line 38: warning: exported type LoginServer should have comment or be unexported (golint)
    • Line 45: warning: exported function NewLoginServer should have comment or be unexported (golint)
    • Line 106: warning: comment on exported method LoginServer.Login should be of the form "Login ..." (golint)
    • Line 146: warning: exported method LoginServer.LoginCB should have comment or be unexported (golint)
    • Line 183: warning: exported type PwdLoginRequest should have comment or be unexported (golint)
    • Line 188: warning: exported type PwdLoginResponse should have comment or be unexported (golint)
    • Line 193: warning: exported method LoginServer.PwdLogin should have comment or be unexported (golint)
    • Line 243: warning: exported method LoginServer.Logout should have comment or be unexported (golint)
    • Line 295: warning: exported type ApiData should have comment or be unexported (golint)
    • Line 301: warning: exported method LoginServer.UserInfo should have comment or be unexported (golint)
    • erda/bundle/filetree.go
    • Line 26: warning: comment on exported method Bundle.ListGittarFileTreeNodes should be of the form "ListGittarFileTreeNodes ..." (golint)
    • Line 54: warning: exported method Bundle.GetGittarFileTreeNode should have comment or be unexported (golint)
    • Line 78: warning: exported method Bundle.FuzzySearchGittarFileTreeNodes should have comment or be unexported (golint)
    • Line 122: warning: exported method Bundle.CreateGittarFileTreeNodes should have comment or be unexported (golint)
    • Line 147: warning: exported method Bundle.DeleteGittarFileTreeNodes should have comment or be unexported (golint)
    • Line 171: warning: exported method Bundle.FindGittarFileTreeNodeAncestors should have comment or be unexported (golint)
    • Line 203: warning: comment on exported method Bundle.ListQaFileTreeNodes should be of the form "ListQaFileTreeNodes ..." (golint)
    • Line 231: warning: exported method Bundle.GetQaFileTreeNode should have comment or be unexported (golint)
    • Line 255: warning: exported method Bundle.FuzzySearchQaFileTreeNodes should have comment or be unexported (golint)
    • Line 313: warning: exported method Bundle.CreateQaFileTreeNodes should have comment or be unexported (golint)
    • Line 338: warning: exported method Bundle.DeleteQaFileTreeNodes should have comment or be unexported (golint)
    • Line 362: warning: exported method Bundle.FindQaFileTreeNodeAncestors should have comment or be unexported (golint)
    • Line 394: warning: exported method Bundle.ListFileTreeNodes should have comment or be unexported (golint)
    • Line 405: warning: exported method Bundle.GetFileTreeNode should have comment or be unexported (golint)
    • Line 416: warning: exported method Bundle.FuzzySearchFileTreeNodes should have comment or be unexported (golint)
    • Line 438: warning: exported method Bundle.CreateFileTreeNodes should have comment or be unexported (golint)
    • Line 449: warning: exported method Bundle.DeleteFileTreeNodes should have comment or be unexported (golint)
    • Line 460: warning: exported method Bundle.FindFileTreeNodeAncestors should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/executeAlertInfo/render.go
    • Line 14: warning: don't use MixedCaps in package name; executeAlertInfo should be executealertinfo (golint)
    • Line 27: warning: exported type ComponentAlertInfo should have comment or be unexported (golint)
    • Line 33: warning: exported type CommonAlertInfo should have comment or be unexported (golint)
    • Line 43: warning: exported type State should have comment or be unexported (golint)
    • Line 47: warning: exported method ComponentAlertInfo.Import should have comment or be unexported (golint)
    • Line 59: warning: receiver name i should be consistent with previous receiver name a for ComponentAlertInfo (golint)
    • Line 70: warning: receiver name i should be consistent with previous receiver name a for ComponentAlertInfo (golint)
    • Line 90: warning: exported method ComponentAlertInfo.RenderProtocol should have comment or be unexported (golint)
    • Line 90: warning: receiver name i should be consistent with previous receiver name a for ComponentAlertInfo (golint)
    • Line 100: warning: exported method ComponentAlertInfo.Render should have comment or be unexported (golint)
    • Line 100: warning: receiver name i should be consistent with previous receiver name a for ComponentAlertInfo (golint)
    • Line 166: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/pipeline/precheck/prechecktype/result.go
    • Line 19: warning: exported const CtxResultKeyCrossCluster should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported function InitContext should have comment or be unexported (golint)
    • Line 27: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 30: warning: exported function PutContextResult should have comment or be unexported (golint)
    • Line 34: warning: exported function GetContextResult should have comment or be unexported (golint)
    • erda/modules/cmp/dbclient/addon_management.go
    • Line 34: warning: comment on exported method DBClient.AddonManageReader should be of the form "AddonManageReader ..." (golint)
    • Line 75: warning: comment on exported method DBClient.AddonManageWriter should be of the form "AddonManageWriter ..." (golint)
    • erda/modules/pipeline/aop/plugins/task/plugins/autotest_cookie_keep_after/plugin.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 24: warning: exported const AutotestApiGlobalConfig should have comment or be unexported (golint)
    • Line 25: warning: exported const ReportTypeAutotestSetCookie should have comment or be unexported (golint)
    • Line 27: warning: exported type Plugin should have comment or be unexported (golint)
    • Line 31: warning: exported method Plugin.Name should have comment or be unexported (golint)
    • Line 35: warning: exported method Plugin.Handle should have comment or be unexported (golint)
    • Line 72: warning: exported function New should have comment or be unexported (golint)
    • erda/bundle/api_asset.go
    • Line 27: warning: exported function GetApplicationRuntimesAPI should have comment or be unexported (golint)
    • Line 31: warning: exported function GetRuntimeServicesAPI should have comment or be unexported (golint)
    • Line 35: warning: exported type CreateAPIAssetResponse should have comment or be unexported (golint)
    • Line 63: warning: exported type GetApplicationRuntimesResponse should have comment or be unexported (golint)
    • Line 68: warning: exported type GetApplicationRuntimesDataEle should have comment or be unexported (golint)
    • Line 96: warning: exported type GetApplicationRuntimesDataEleExtra should have comment or be unexported (golint)
    • Line 102: warning: comment on exported method Bundle.GetApplicationRuntimes should be of the form "GetApplicationRuntimes ..." (golint)
    • Line 130: warning: exported type GetRuntimeServicesResponse should have comment or be unexported (golint)
    • Line 135: warning: exported type GetRuntimeServicesResponseData should have comment or be unexported (golint)
    • Line 154: warning: exported type GetRuntimeServicesResponseDataExtra should have comment or be unexported (golint)
    • Line 160: warning: exported type GetRuntimeServicesResponseDataService should have comment or be unexported (golint)
    • Line 166: warning: exported method Bundle.GetRuntimeServices should have comment or be unexported (golint)
    • erda/modules/dop/services/apidocsvc/funcs.go
    • Line 54: warning: exported function FetchAPIDocContent should have comment or be unexported (golint)
    • Line 145: warning: exported function CommitAPIDocCreation should have comment or be unexported (golint)
    • Line 149: warning: exported function CommitAPIDocModifies should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/find_lack_service_visitor.go
    • Line 14: warning: package comment should be of the form "Package diceyml ..." (golint)
    • Line 21: warning: exported type FindLackServiceVisitor should have comment or be unexported (golint)
    • Line 26: warning: exported function NewFindLackServiceVisitor should have comment or be unexported (golint)
    • Line 32: warning: exported method FindLackServiceVisitor.VisitServices should have comment or be unexported (golint)
    • Line 42: warning: exported function FindLackService should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8sflink/flink.go
    • Line 35: warning: exported const DiceRootDomainKEY should have comment (or a comment on this block) or be unexported (golint)
    • Line 278: warning: exported method Flink.Precheck should have comment or be unexported (golint)
    • Line 282: warning: exported method Flink.JobVolumeCreate should have comment or be unexported (golint)
    • Line 286: warning: exported method Flink.SetNodeLabels should have comment or be unexported (golint)
    • Line 290: warning: exported method Flink.CleanUpBeforeDelete should have comment or be unexported (golint)
    • Line 294: warning: exported method Flink.CapacityInfo should have comment or be unexported (golint)
    • Line 298: warning: exported method Flink.ResourceInfo should have comment or be unexported (golint)
    • Line 302: warning: exported method Flink.KillPod should have comment or be unexported (golint)
    • Line 318: warning: exported method Flink.GetClusterInfo should have comment or be unexported (golint)
    • Line 361: warning: exported method Flink.Scale should have comment or be unexported (golint)
    • erda/modules/dop/services/issueproperty/issue_property.go
    • Line 154: warning: comment on exported method IssueProperty.GetPropertyByID should be of the form "GetPropertyByID ..." (golint)
    • Line 327: warning: exported method IssueProperty.GetPropertyUpdateAt should have comment or be unexported (golint)
    • Line 360: warning: exported method IssueProperty.GetByRelation should have comment or be unexported (golint)
    • Line 371: warning: exported method IssueProperty.GetByInstance should have comment or be unexported (golint)
    • Line 382: warning: exported method IssueProperty.GetBatchProperties should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/kubernetes/service.go
    • Line 30: warning: exported type Service should have comment or be unexported (golint)
    • Line 35: warning: exported method Endpoints.ServiceRouters should have comment or be unexported (golint)
    • Line 65: warning: exported method Endpoints.ListService should have comment or be unexported (golint)
    • Line 112: warning: exported method Endpoints.GetService should have comment or be unexported (golint)
    • Line 147: warning: exported method Endpoints.CreateService should have comment or be unexported (golint)
    • Line 179: warning: exported method Endpoints.UpdateService should have comment or be unexported (golint)
    • Line 222: warning: exported method Endpoints.DeleteService should have comment or be unexported (golint)
    • erda/apistructs/autotest_scene.go
    • Line 21: warning: exported type AutoTestRunCustom should have comment or be unexported (golint)
    • Line 26: warning: exported type AutoTestRunScene should have comment or be unexported (golint)
    • Line 31: warning: exported type AutoTestRunStep should have comment or be unexported (golint)
    • Line 35: warning: exported type AutoTestRunWait should have comment or be unexported (golint)
    • Line 39: warning: exported type AutoTestRunConfigSheet should have comment or be unexported (golint)
    • Line 45: warning: exported type AutoTestSceneParams should have comment or be unexported (golint)
    • Line 52: warning: exported type AutoTestScene should have comment or be unexported (golint)
    • Line 68: warning: exported type AutoTestSceneInput should have comment or be unexported (golint)
    • Line 77: warning: exported type AutoTestSceneOutput should have comment or be unexported (golint)
    • Line 85: warning: exported type AutoTestSceneStep should have comment or be unexported (golint)
    • Line 101: warning: exported type AutotestSceneRequest should have comment or be unexported (golint)
    • Line 125: warning: exported type AutotestScenesRequest should have comment or be unexported (golint)
    • Line 132: warning: exported type AutotestSceneSceneUpdateRequest should have comment or be unexported (golint)
    • Line 142: warning: exported type AutotestSceneInputUpdateRequest should have comment or be unexported (golint)
    • Line 147: warning: exported type AutotestSceneOutputUpdateRequest should have comment or be unexported (golint)
    • Line 153: warning: exported type AutotestSceneCopyRequest should have comment or be unexported (golint)
    • Line 161: warning: exported method AutotestSceneRequest.URLQueryString should have comment or be unexported (golint)
    • Line 220: warning: exported type StepAPIType should have comment or be unexported (golint)
    • Line 223: warning: exported const StepTypeWait should have comment (or a comment on this block) or be unexported (golint)
    • Line 238: warning: exported type StepAPIMethod should have comment or be unexported (golint)
    • Line 240: warning: exported var StepApiMethods should have comment or be unexported (golint)
    • Line 243: warning: exported const StepAPIMethodGet should have comment (or a comment on this block) or be unexported (golint)
    • Line 253: warning: exported type PreType should have comment or be unexported (golint)
    • Line 256: warning: exported const PreTypeSerial should have comment (or a comment on this block) or be unexported (golint)
    • Line 260: warning: exported type ActiveKey should have comment or be unexported (golint)
    • Line 263: warning: exported const ActiveKeyfileConfig should have comment (or a comment on this block) or be unexported (golint)
    • Line 271: warning: exported type SceneStatus should have comment or be unexported (golint)
    • Line 274: warning: exported const DefaultSceneStatus should have comment (or a comment on this block) or be unexported (golint)
    • Line 284: warning: exported method SceneStatus.Value should have comment or be unexported (golint)
    • Line 299: warning: exported type AutoTestSceneList should have comment or be unexported (golint)
    • Line 304: warning: exported type AutotestListStepOutPutRequest should have comment or be unexported (golint)
    • Line 309: warning: exported type AutotestCreateSceneResponse should have comment or be unexported (golint)
    • Line 314: warning: exported type AutotestListSceneResponse should have comment or be unexported (golint)
    • Line 319: warning: exported type AutotestScenesModalResponse should have comment or be unexported (golint)
    • Line 324: warning: exported type AutotestGetSceneResponse should have comment or be unexported (golint)
    • Line 329: warning: exported type AutotestGetSceneInputResponse should have comment or be unexported (golint)
    • Line 334: warning: exported type AutotestGetSceneOutputResponse should have comment or be unexported (golint)
    • Line 339: warning: exported type AutotestGetSceneStepResponse should have comment or be unexported (golint)
    • Line 344: warning: exported type AutotestGetSceneStepOutPutResponse should have comment or be unexported (golint)
    • Line 349: warning: exported type AutotestGetSceneStepReq should have comment or be unexported (golint)
    • Line 354: warning: exported type AutotestGetSceneStepResp should have comment or be unexported (golint)
    • Line 359: warning: exported type AutotestExecuteSceneRequest should have comment or be unexported (golint)
    • Line 368: warning: exported type AutotestExecuteSceneStepRequest should have comment or be unexported (golint)
    • Line 375: warning: exported type AutotestExecuteSceneStepResp should have comment or be unexported (golint)
    • Line 380: warning: exported type AutotestExecuteSceneStepRespData should have comment or be unexported (golint)
    • Line 386: warning: exported type AutotestExecuteSceneResponse should have comment or be unexported (golint)
    • Line 391: warning: exported type AutotestCancelSceneRequest should have comment or be unexported (golint)
    • Line 397: warning: exported type AutotestCancelSceneResponse should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/dto/get_diceapi_dto.go
    • Line 22: warning: exported type GetDiceApiDto should have comment or be unexported (golint)
    • Line 28: warning: exported function NewGetDiceApiDto should have comment or be unexported (golint)
    • Line 36: warning: exported method GetDiceApiDto.GenSelectOptions should have comment or be unexported (golint)
    • erda/modules/dop/services/issuepanel/issue_panel.go
    • Line 94: warning: exported method IssuePanel.UpdatePanel should have comment or be unexported (golint)
    • Line 106: warning: exported method IssuePanel.UpdatePanelIssue should have comment or be unexported (golint)
    • Line 155: warning: exported method IssuePanel.GetPanelByProjectID should have comment or be unexported (golint)
    • Line 189: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 206: warning: exported method IssuePanel.GetPanelIssue should have comment or be unexported (golint)
    • erda/modules/gittar/pkg/gitmodule/repo.go
    • Line 60: warning: exported const REF_TYPE_BRANCH should have comment (or a comment on this block) or be unexported (golint)
    • Line 66: warning: exported method Repository.IsProtectBranch should have comment or be unexported (golint)
    • Line 79: warning: exported method Repository.IsProtectBranchWithRules should have comment or be unexported (golint)
    • Line 84: warning: exported method Repository.ParseRefAndTreePath should have comment or be unexported (golint)
    • Line 146: warning: exported method Repository.GetParsedTreeEntry should have comment or be unexported (golint)
    • Line 149: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 154: warning: exported method Repository.GetCommitByAny should have comment or be unexported (golint)
    • Line 172: warning: exported method Repository.GetRepoStats should have comment or be unexported (golint)
    • Line 292: warning: exported method Repository.Root should have comment or be unexported (golint)
    • Line 296: warning: exported method Repository.DiskPath should have comment or be unexported (golint)
    • Line 300: warning: exported method Repository.FullName should have comment or be unexported (golint)
    • Line 325: warning: exported method Repository.GetRawRepo should have comment or be unexported (golint)
    • Line 329: warning: exported type NetworkOptions should have comment or be unexported (golint)
    • Line 407: warning: exported function OpenRepository should have comment or be unexported (golint)
    • Line 421: warning: exported function OpenRepositoryWithInit should have comment or be unexported (golint)
    • Line 429: warning: exported type CloneRepoOptions should have comment or be unexported (golint)
    • Line 437: warning: exported type CheckoutOptions should have comment or be unexported (golint)
    • Line 527: warning: receiver name r should be consistent with previous receiver name repo for Repository (golint)
    • Line 532: warning: receiver name r should be consistent with previous receiver name repo for Repository (golint)
    • Line 537: warning: receiver name r should be consistent with previous receiver name repo for Repository (golint)
    • erda/modules/cmp/endpoints/kubernetes/configmap.go
    • Line 30: warning: exported type ConfigMap should have comment or be unexported (golint)
    • Line 35: warning: exported method Endpoints.ConfigMapRouters should have comment or be unexported (golint)
    • Line 65: warning: exported method Endpoints.ListConfigMap should have comment or be unexported (golint)
    • Line 111: warning: exported method Endpoints.GetConfigMap should have comment or be unexported (golint)
    • Line 146: warning: exported method Endpoints.CreateConfigMap should have comment or be unexported (golint)
    • Line 178: warning: exported method Endpoints.UpdateConfigMap should have comment or be unexported (golint)
    • Line 221: warning: exported method Endpoints.DeleteConfigMap should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/protocol.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 30: warning: exported type GlobalInnerKey should have comment or be unexported (golint)
    • Line 36: warning: exported method GlobalInnerKey.Normal should have comment or be unexported (golint)
    • Line 43: warning: exported const GlobalInnerKeyCtxBundle should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: comment on exported const GlobalInnerKeyIdentity should be of the form "GlobalInnerKeyIdentity ..." (golint)
    • Line 49: warning: comment on exported const DefaultRenderingKey should be of the form "DefaultRenderingKey ..." (golint)
    • Line 52: warning: comment on exported const InParamsStateBindingKey should be of the form "InParamsStateBindingKey ..." (golint)
    • Line 56: warning: exported type ContextBundle should have comment or be unexported (golint)
    • Line 65: warning: comment on exported var DefaultProtocols should be of the form "DefaultProtocols ..." (golint)
    • Line 68: warning: comment on exported function InitDefaultCompProtocols should be of the form "InitDefaultCompProtocols ..." (golint)
    • Line 102: warning: exported function LoadDefaultProtocol should have comment or be unexported (golint)
    • Line 122: warning: exported function GetProtoComp should have comment or be unexported (golint)
    • Line 136: warning: exported function GetCompStateKV should have comment or be unexported (golint)
    • Line 148: warning: exported function SetCompStateValueFromComps should have comment or be unexported (golint)
    • Line 167: warning: exported function SetCompStateKVFromInParams should have comment or be unexported (golint)
    • Line 186: warning: exported function GetProtoCompStateValue should have comment or be unexported (golint)
    • Line 198: warning: exported function GetProtoInParamsValue should have comment or be unexported (golint)
    • Line 205: warning: exported function ParseStateBound should have comment or be unexported (golint)
    • Line 230: warning: exported function ProtoCompStateRending should have comment or be unexported (golint)
    • Line 271: warning: exported function SetGlobalStateKV should have comment or be unexported (golint)
    • Line 280: warning: exported function GetGlobalStateKV should have comment or be unexported (golint)
    • Line 287: warning: exported function PolishProtocol should have comment or be unexported (golint)
    • erda/modules/dop/services/testcase/file_records.go
    • Line 24: warning: exported method Service.CreateFileRecord should have comment or be unexported (golint)
    • Line 46: warning: exported method Service.GetFileRecord should have comment or be unexported (golint)
    • Line 54: warning: exported method Service.UpdateFileRecord should have comment or be unexported (golint)
    • Line 69: warning: exported method Service.ListFileRecordsByProject should have comment or be unexported (golint)
    • Line 88: warning: exported method Service.GetFirstFileReady should have comment or be unexported (golint)
    • Line 96: warning: exported method Service.BatchClearProcessingRecords should have comment or be unexported (golint)
    • Line 100: warning: exported method Service.DeleteRecordApiFilesByTime should have comment or be unexported (golint)
    • erda/apistructs/eventbox.go
    • Line 16: warning: exported type EventBoxRequest should have comment or be unexported (golint)
    • Line 22: warning: exported type EventBoxResponse should have comment or be unexported (golint)
    • Line 25: warning: exported type EventBoxGroupNotifyRequest should have comment or be unexported (golint)
    • erda/pkg/jsonstore/option.go
    • Line 32: warning: exported type BackendType should have comment or be unexported (golint)
    • Line 35: warning: exported const EtcdStore should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported type OptionOperator should have comment or be unexported (golint)
    • Line 45: warning: exported type Option should have comment or be unexported (golint)
    • Line 65: warning: exported method Option.Apply should have comment or be unexported (golint)
    • Line 71: warning: exported method Option.GetBackend should have comment or be unexported (golint)
    • Line 117: warning: exported function UseEtcdStore should have comment or be unexported (golint)
    • Line 123: warning: exported function UseMemStore should have comment or be unexported (golint)
    • Line 129: warning: exported function UseLruStore should have comment or be unexported (golint)
    • Line 136: warning: exported function UseMemEtcdStore should have comment or be unexported (golint)
    • Line 146: warning: exported function UseCacheEtcdStore should have comment or be unexported (golint)
    • Line 155: warning: comment on exported function UseTimeoutStore should be of the form "UseTimeoutStore ..." (golint)
    • erda/modules/dop/dbclient/contract.go
    • Line 20: warning: exported function ListContracts should have comment or be unexported (golint)
    • Line 58: warning: exported function GetContract should have comment or be unexported (golint)
    • Line 74: warning: exported function ListContractRecords should have comment or be unexported (golint)
    • erda/apistructs/apitests.go
    • Line 34: warning: exported type APIInfoV2 should have comment or be unexported (golint)
    • Line 60: warning: exported type APIBodyType should have comment or be unexported (golint)
    • Line 63: warning: exported var APIBodyTypeNone should have comment or be unexported (golint)
    • Line 85: warning: exported var APIOutParamSourceStatus should have comment or be unexported (golint)
    • Line 163: warning: comment on exported type APITestsAssertData should be of the form "APITestsAssertData ..." (with optional leading article) (golint)
    • erda/modules/dop/services/assetsvc/update.go
    • Line 35: warning: exported method Service.UpdateAPIAsset should have comment or be unexported (golint)
    • Line 140: warning: exported method Service.UpdateInstantiation should have comment or be unexported (golint)
    • Line 229: warning: exported method Service.UpdateClient should have comment or be unexported (golint)
    • Line 276: warning: exported method Service.UpdateContract should have comment or be unexported (golint)
    • Line 583: warning: exported method Service.UpdateAccess should have comment or be unexported (golint)
    • Line 742: warning: exported method Service.UpdateSLA should have comment or be unexported (golint)
    • Line 916: warning: comment on exported method Service.UpdateAssetVersion should be of the form "UpdateAssetVersion ..." (golint)
    • erda/apistructs/testplan_case_rel.go
    • Line 20: warning: comment on exported type TestPlanCaseRel should be of the form "TestPlanCaseRel ..." (with optional leading article) (golint)
    • Line 39: warning: exported type TestPlanCaseRelIssueBug should have comment or be unexported (golint)
    • Line 54: warning: exported const CaseExecStatusInit should have comment (or a comment on this block) or be unexported (golint)
    • Line 69: warning: exported type TestPlanCaseRelCreateResponse should have comment or be unexported (golint)
    • Line 73: warning: exported type TestPlanCaseRelCreateResult should have comment or be unexported (golint)
    • Line 77: warning: exported type TestPlanCaseRelGetRequest should have comment or be unexported (golint)
    • Line 80: warning: exported type TestPlanCaseRelGetResponse should have comment or be unexported (golint)
    • Line 142: warning: exported type TestPlanCaseRelExportResponse should have comment or be unexported (golint)
    • Line 152: warning: exported type TestPlanReport should have comment or be unexported (golint)
    • Line 170: warning: exported type TestPlanCaseRelIssueRelationRemoveResponse should have comment or be unexported (golint)
    • Line 183: warning: exported type TestPlanCaseRelIssueRelationAddResponse should have comment or be unexported (golint)
    • erda/modules/monitor/notify/template/db/notify.go
    • Line 22: warning: exported type NotifyDB should have comment or be unexported (golint)
    • Line 26: warning: exported function New should have comment or be unexported (golint)
    • Line 32: warning: exported type Notify should have comment or be unexported (golint)
    • Line 43: warning: exported method Notify.TableName should have comment or be unexported (golint)
    • Line 47: warning: exported method NotifyDB.CheckNotifyNameExist should have comment or be unexported (golint)
    • Line 57: warning: exported method NotifyDB.CreateNotifyRecord should have comment or be unexported (golint)
    • Line 62: warning: exported method NotifyDB.GetNotify should have comment or be unexported (golint)
    • Line 68: warning: exported method NotifyDB.DeleteNotifyRecord should have comment or be unexported (golint)
    • Line 73: warning: exported method NotifyDB.UpdateNotify should have comment or be unexported (golint)
    • Line 79: warning: exported method NotifyDB.GetNotifyList should have comment or be unexported (golint)
    • Line 92: warning: exported method NotifyDB.UpdateEnable should have comment or be unexported (golint)
    • Line 107: warning: exported method NotifyDB.CheckNotifyTemplateExist should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/insert_addon_options_visitor.go
    • Line 20: warning: exported type InsertAddonOptionsVisitor should have comment or be unexported (golint)
    • Line 28: warning: exported function NewInsertAddonOptionsVisitor should have comment or be unexported (golint)
    • Line 32: warning: exported method InsertAddonOptionsVisitor.VisitAddOns should have comment or be unexported (golint)
    • Line 41: warning: exported method InsertAddonOptionsVisitor.VisitAddOn should have comment or be unexported (golint)
    • Line 55: warning: exported method InsertAddonOptionsVisitor.VisitEnvObjects should have comment or be unexported (golint)
    • Line 66: warning: exported method InsertAddonOptionsVisitor.VisitEnvObject should have comment or be unexported (golint)
    • Line 72: warning: exported function InsertAddonOptions should have comment or be unexported (golint)
    • erda/pkg/database/sqlparser/migrator/schema.go
    • Line 28: warning: exported function NewSchema should have comment or be unexported (golint)
    • Line 32: warning: exported method Schema.Enter should have comment or be unexported (golint)
    • Line 57: warning: exported method Schema.Leave should have comment or be unexported (golint)
    • Line 61: warning: exported method Schema.Equal should have comment or be unexported (golint)
    • erda/modules/orchestrator/events/publish_webook.go
    • Line 24: warning: exported type EventboxPublisher should have comment or be unexported (golint)
    • Line 28: warning: exported function NewEventboxPublisher should have comment or be unexported (golint)
    • Line 33: warning: exported method EventboxPublisher.OnEvent should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/boolean_field_linter.go
    • Line 28: warning: exported type BooleanFieldLinter should have comment or be unexported (golint)
    • Line 32: warning: exported function NewBooleanFieldLinter should have comment or be unexported (golint)
    • Line 36: warning: exported method BooleanFieldLinter.Enter should have comment or be unexported (golint)
    • Line 75: warning: exported method BooleanFieldLinter.Leave should have comment or be unexported (golint)
    • erda/modules/extensions/loghub/sls-import/filter.go
    • Line 65: warning: exported type LogFilter should have comment or be unexported (golint)
    • Line 70: warning: exported type RDSLogFilter should have comment or be unexported (golint)
    • Line 75: warning: exported method RDSLogFilter.InitWithOptions should have comment or be unexported (golint)
    • Line 95: warning: exported method RDSLogFilter.FilterSLSLog should have comment or be unexported (golint)
    • Line 129: warning: exported function InString should have comment or be unexported (golint)
    • erda/apistructs/resource.go
    • Line 16: warning: comment on exported type SchedulerResourceFecthRequest should be of the form "SchedulerResourceFecthRequest ..." (with optional leading article) (golint)
    • Line 26: warning: exported type SchedulerResource should have comment or be unexported (golint)
    • erda/modules/gittar/pkg/gitmodule/error.go
    • Line 12: warning: exported type ErrExecTimeout should have comment or be unexported (golint)
    • Line 16: warning: exported function IsErrExecTimeout should have comment or be unexported (golint)
    • Line 25: warning: exported type ErrNotExist should have comment or be unexported (golint)
    • Line 30: warning: exported function IsErrNotExist should have comment or be unexported (golint)
    • Line 39: warning: exported type ErrUnsupportedVersion should have comment or be unexported (golint)
    • Line 43: warning: exported function IsErrUnsupportedVersion should have comment or be unexported (golint)
    • Line 52: warning: exported type ErrNoMergeBase should have comment or be unexported (golint)
    • Line 54: warning: exported function IsErrNoMergeBase should have comment or be unexported (golint)
    • erda/modules/cluster-manager/endpoints/endpoints.go
    • Line 25: warning: exported type Endpoints should have comment or be unexported (golint)
    • Line 30: warning: exported type Option should have comment or be unexported (golint)
    • Line 32: warning: exported function New should have comment or be unexported (golint)
    • Line 47: warning: exported function WithDBClient should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/executeHistoryTable/render.go
    • Line 14: warning: don't use MixedCaps in package name; executeHistoryTable should be executehistorytable (golint)
    • Line 28: warning: exported type ExecuteHistoryTable should have comment or be unexported (golint)
    • Line 37: warning: exported type State should have comment or be unexported (golint)
    • Line 46: warning: exported const DefaultPageSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 50: warning: exported type Operation should have comment or be unexported (golint)
    • Line 88: warning: exported method ExecuteHistoryTable.Import should have comment or be unexported (golint)
    • Line 99: warning: exported method ExecuteHistoryTable.Render should have comment or be unexported (golint)
    • Line 230: warning: receiver name e should be consistent with previous receiver name a for ExecuteHistoryTable (golint)
    • Line 258: warning: receiver name e should be consistent with previous receiver name a for ExecuteHistoryTable (golint)
    • Line 290: warning: receiver name e should be consistent with previous receiver name a for ExecuteHistoryTable (golint)
    • Line 303: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_service_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayServiceServiceImpl should have comment or be unexported (golint)
    • Line 30: warning: exported function NewGatewayServiceServiceImpl should have comment or be unexported (golint)
    • Line 41: warning: exported method GatewayServiceServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 65: warning: exported method GatewayServiceServiceImpl.Insert should have comment or be unexported (golint)
    • Line 76: warning: exported method GatewayServiceServiceImpl.Update should have comment or be unexported (golint)
    • Line 87: warning: exported method GatewayServiceServiceImpl.DeleteById should have comment or be unexported (golint)
    • Line 99: warning: exported method GatewayServiceServiceImpl.GetByApiId should have comment or be unexported (golint)
    • Line 114: warning: exported method GatewayServiceServiceImpl.GetById should have comment or be unexported (golint)
    • erda/bundle/pipeline_cms.go
    • Line 24: warning: exported method Bundle.CreatePipelineCmsNs should have comment or be unexported (golint)
    • Line 45: warning: exported method Bundle.CreateOrUpdatePipelineCmsNsConfigs should have comment or be unexported (golint)
    • Line 66: warning: exported method Bundle.DeletePipelineCmsNsConfigs should have comment or be unexported (golint)
    • Line 87: warning: exported method Bundle.GetPipelineCmsNsConfigs should have comment or be unexported (golint)
    • Line 108: warning: exported method Bundle.ListPipelineCmsNs should have comment or be unexported (golint)
    • erda/modules/orchestrator/spec/legacy_dice.go
    • Line 18: warning: exported type LegacyDice should have comment or be unexported (golint)
    • Line 28: warning: exported type Service should have comment or be unexported (golint)
    • Line 42: warning: exported type HealthCheck should have comment or be unexported (golint)
    • Line 47: warning: exported type HTTPCheck should have comment or be unexported (golint)
    • Line 53: warning: exported type ExecCheck should have comment or be unexported (golint)
    • Line 58: warning: exported type Resources should have comment or be unexported (golint)
    • Line 64: warning: exported type Addon should have comment or be unexported (golint)
    • erda/modules/gittar/models/backup.go
    • Line 23: warning: comment on exported method Service.GetBackupList should be of the form "GetBackupList ..." (golint)
    • Line 41: warning: comment on exported method Service.AddBackupRecording should be of the form "AddBackupRecording ..." (golint)
    • Line 62: warning: comment on exported method Service.DeleteBackupRecording should be of the form "DeleteBackupRecording ..." (golint)
    • erda/modules/dop/services/apidocsvc/filetree.go
    • Line 28: warning: exported const TreeNameAPIDocs should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported method Service.CreateNode should have comment or be unexported (golint)
    • Line 56: warning: exported method Service.DeleteNode should have comment or be unexported (golint)
    • Line 65: warning: exported method Service.UpdateNode should have comment or be unexported (golint)
    • Line 74: warning: exported method Service.MoveNode should have comment or be unexported (golint)
    • Line 83: warning: exported method Service.CopyNode should have comment or be unexported (golint)
    • Line 92: warning: comment on exported method Service.ListChildren should be of the form "ListChildren ..." (golint)
    • Line 121: warning: exported method Service.GetNodeDetail should have comment or be unexported (golint)
    • erda/apistructs/pipeline_gc.go
    • Line 20: warning: exported type PipelineGCInfo should have comment or be unexported (golint)
    • Line 28: warning: exported function MakePipelineGCInfo should have comment or be unexported (golint)
    • Line 39: warning: exported type PipelineGCDBOption should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/cloud_resource_gateway.go
    • Line 30: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 35: warning: exported method Endpoints.CreateGatewayVpcGrant should have comment or be unexported (golint)
    • Line 88: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 109: warning: exported method Endpoints.ListGatewayAndVpc should have comment or be unexported (golint)
    • Line 206: warning: exported method Endpoints.DeleteGateway should have comment or be unexported (golint)
    • erda/modules/soldier/client/client.go
    • Line 32: warning: exported const BufferSize should have comment or be unexported (golint)
    • Line 35: warning: exported const Error should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported type Action should have comment or be unexported (golint)
    • Line 51: warning: exported type ActionDocker should have comment or be unexported (golint)
    • Line 57: warning: exported type ActionSSH should have comment or be unexported (golint)
    • Line 69: warning: exported method Action.Run should have comment or be unexported (golint)
    • erda/modules/hepa/endpoint/factories/edas.go
    • Line 21: warning: exported type EdasFactory should have comment or be unexported (golint)
    • Line 25: warning: exported function NewEdasFactory should have comment or be unexported (golint)
    • Line 39: warning: exported method EdasFactory.TouchRoute should have comment or be unexported (golint)
    • Line 60: warning: exported method EdasFactory.TouchComponentRoute should have comment or be unexported (golint)
    • Line 83: warning: exported method EdasFactory.ClearComponentRoute should have comment or be unexported (golint)
    • Line 90: warning: exported method EdasFactory.ClearRoute should have comment or be unexported (golint)
    • erda/modules/hepa/kong/dto/kong_consumer_req_dto.go
    • Line 16: warning: exported type KongConsumerReqDto should have comment or be unexported (golint)
    • Line 23: warning: exported method KongConsumerReqDto.IsEmpty should have comment or be unexported (golint)
    • Line 27: warning: exported function NewKongConsumerReqDto should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/inParamsForm/inParamsForm.go
    • Line 14: warning: don't use MixedCaps in package name; inParamsForm should be inparamsform (golint)
    • Line 25: warning: exported method ComponentInParamsForm.SetProps should have comment or be unexported (golint)
    • Line 98: warning: exported method ComponentInParamsForm.RenderListInParamsForm should have comment or be unexported (golint)
    • Line 125: warning: exported method ComponentInParamsForm.RenderUpdateInParamsForm should have comment or be unexported (golint)
    • Line 138: warning: exported method ComponentInParamsForm.RenderOnSelect should have comment or be unexported (golint)
    • Line 316: warning: exported method ComponentInParamsForm.GetSceneOutPutValue should have comment or be unexported (golint)
    • Line 321: warning: exported method ComponentInParamsForm.Filter should have comment or be unexported (golint)
    • erda/modules/cmp/impl/nodes/rm.go
    • Line 34: warning: exported method Nodes.RmNodes should have comment or be unexported (golint)
    • Line 118: warning: comment on exported method Nodes.DeleteEssNodes should be of the form "DeleteEssNodes ..." (golint)
    • Line 229: warning: comment on exported method Nodes.DeleteEssNodesCron should be of the form "DeleteEssNodesCron ..." (golint)
    • erda/modules/core-services/services/security/process.go
    • Line 30: warning: exported type PermissionProcess should have comment or be unexported (golint)
    • Line 35: warning: exported type DefaultPermissionProcess should have comment or be unexported (golint)
    • Line 53: warning: exported type PermissionProcessMiddleware should have comment or be unexported (golint)
    • Line 82: warning: exported type RolePermissionProcess should have comment or be unexported (golint)
    • Line 139: warning: receiver name d should be consistent with previous receiver name r for RolePermissionProcess (golint)
    • Line 148: warning: exported type GetByUserAndScopePermissionProcess should have comment or be unexported (golint)
    • Line 172: warning: receiver name d should be consistent with previous receiver name g for GetByUserAndScopePermissionProcess (golint)
    • Line 187: warning: exported method GetByUserAndScopePermissionProcess.GetAllRoles should have comment or be unexported (golint)
    • Line 219: warning: exported type AppPermissionProcess should have comment or be unexported (golint)
    • Line 236: warning: receiver name d should be consistent with previous receiver name a for AppPermissionProcess (golint)
    • Line 248: warning: exported method AppPermissionProcess.GetAllRoles should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/cloud_resource_oss.go
    • Line 39: warning: exported method Endpoints.ListOSS should have comment or be unexported (golint)
    • Line 70: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 146: warning: exported method Endpoints.CreateOSS should have comment or be unexported (golint)
    • Line 183: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 215: warning: comment on exported method Endpoints.DeleteOSSResource should be of the form "DeleteOSSResource ..." (golint)
    • erda/pkg/database/sqllint/linters/column_comment_linter.go
    • Line 26: warning: exported type ColumnCommentLinter should have comment or be unexported (golint)
    • Line 30: warning: exported function NewColumnCommentLinter should have comment or be unexported (golint)
    • Line 34: warning: exported method ColumnCommentLinter.Enter should have comment or be unexported (golint)
    • Line 64: warning: exported method ColumnCommentLinter.Leave should have comment or be unexported (golint)
    • erda/modules/pkg/dcos/dcos.go
    • Line 30: warning: exported function GetVersion should have comment or be unexported (golint)
    • Line 56: warning: exported function GetApps should have comment or be unexported (golint)
    • Line 82: warning: exported function GetApp should have comment or be unexported (golint)
    • Line 111: warning: exported function PutApp should have comment or be unexported (golint)
    • Line 153: warning: exported function RestartApp should have comment or be unexported (golint)
    • Line 184: warning: exported function DeleteApp should have comment or be unexported (golint)
    • erda/pkg/i18n/locale_loader.go
    • Line 27: warning: exported type LocaleResourceLoader should have comment or be unexported (golint)
    • Line 32: warning: exported function NewLoader should have comment or be unexported (golint)
    • Line 50: warning: exported method LocaleResourceLoader.LoadFile should have comment or be unexported (golint)
    • Line 78: warning: exported method LocaleResourceLoader.LoadDir should have comment or be unexported (golint)
    • Line 94: warning: exported method LocaleResourceLoader.DefaultLocale should have comment or be unexported (golint)
    • Line 98: warning: exported method LocaleResourceLoader.Locale should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8s/addon/elasticsearch/cr.go
    • Line 21: warning: exported type ElasticsearchAndSecret should have comment or be unexported (golint)
    • Line 26: warning: exported type Elasticsearch should have comment or be unexported (golint)
    • Line 32: warning: exported type ElasticsearchSpec should have comment or be unexported (golint)
    • Line 39: warning: comment on exported type HttpSettings should be of the form "HttpSettings ..." (with optional leading article) (golint)
    • Line 44: warning: exported type TlsSettings should have comment or be unexported (golint)
    • Line 48: warning: exported type SelfSignedCertificateSettings should have comment or be unexported (golint)
    • Line 52: warning: comment on exported type NodeSetsSettings should be of the form "NodeSetsSettings ..." (with optional leading article) (golint)
    • Line 61: warning: exported type PodTemplateSettings should have comment or be unexported (golint)
    • Line 65: warning: exported type PodSpecSettings should have comment or be unexported (golint)
    • Line 70: warning: exported type ContainersSettings should have comment or be unexported (golint)
    • Line 82: warning: exported type VolumeClaimSpecSettings should have comment or be unexported (golint)
    • erda/pkg/nexus/role.go
    • Line 22: warning: exported type RoleID should have comment or be unexported (golint)
    • Line 23: warning: exported type ExternalRoleID should have comment or be unexported (golint)
    • Line 25: warning: exported type Role should have comment or be unexported (golint)
    • Line 34: warning: exported type RoleListRequest should have comment or be unexported (golint)
    • Line 39: warning: exported type RoleCreateRequest should have comment or be unexported (golint)
    • Line 50: warning: exported type RoleGetRequest should have comment or be unexported (golint)
    • Line 55: warning: exported type RoleUpdateRequest should have comment or be unexported (golint)
    • Line 57: warning: exported type RoleDeleteRequest should have comment or be unexported (golint)
    • Line 65: warning: exported method Nexus.EnsureRole should have comment or be unexported (golint)
    • Line 78: warning: exported method Nexus.CreateRole should have comment or be unexported (golint)
    • Line 94: warning: exported method Nexus.UpdateRole should have comment or be unexported (golint)
    • Line 110: warning: exported method Nexus.DeleteRole should have comment or be unexported (golint)
    • Line 125: warning: exported method Nexus.GetRole should have comment or be unexported (golint)
    • Line 150: warning: exported method Nexus.ListRoles should have comment or be unexported (golint)
    • erda/modules/soldier/command/terminal.go
    • Line 100: warning: exported const BufferSize should have comment or be unexported (golint)
    • Line 103: warning: exported const Error should have comment (or a comment on this block) or be unexported (golint)
    • Line 122: warning: exported type Action should have comment or be unexported (golint)
    • Line 128: warning: exported method Action.TerminalContext should have comment or be unexported (golint)
    • Line 153: warning: exported type ActionDocker should have comment or be unexported (golint)
    • Line 159: warning: exported method Action.Docker should have comment or be unexported (golint)
    • Line 187: warning: exported type ActionSSH should have comment or be unexported (golint)
    • Line 193: warning: exported method Action.SSH should have comment or be unexported (golint)
    • Line 226: warning: exported function Terminal should have comment or be unexported (golint)
    • erda/modules/cmdb/model/notify_group.go
    • Line 24: warning: exported type NotifyGroup should have comment or be unexported (golint)
    • Line 37: warning: exported method NotifyGroup.TableName should have comment or be unexported (golint)
    • Line 41: warning: exported method NotifyGroup.ToApiData should have comment or be unexported (golint)
    • erda/modules/dop/dao/sceneset.go
    • Line 24: warning: exported type SceneSet should have comment or be unexported (golint)
    • Line 34: warning: comment on exported method SceneSet.TableName should be of the form "TableName ..." (golint)
    • Line 39: warning: comment on exported method DBClient.CreateSceneSet should be of the form "CreateSceneSet ..." (golint)
    • Line 44: warning: exported method DBClient.CountSceneSetByName should have comment or be unexported (golint)
    • Line 52: warning: comment on exported method DBClient.GetSceneSet should be of the form "GetSceneSet ..." (golint)
    • Line 61: warning: comment on exported method DBClient.SceneSetsBySpaceID should be of the form "SceneSetsBySpaceID ..." (golint)
    • Line 70: warning: comment on exported method DBClient.UpdateSceneSet should be of the form "UpdateSceneSet ..." (golint)
    • Line 76: warning: comment on exported method DBClient.DeleteSceneSet should be of the form "DeleteSceneSet ..." (golint)
    • Line 107: warning: exported method DBClient.MoveSceneSet should have comment or be unexported (golint)
    • Line 158: warning: exported method DBClient.FindByPreId should have comment or be unexported (golint)
    • Line 166: warning: exported method DBClient.GetSceneSetByPreID should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_api_service.go
    • Line 18: warning: should not use dot imports (golint)
    • Line 25: warning: exported type GatewayApiServiceImpl should have comment or be unexported (golint)
    • Line 31: warning: exported function NewGatewayApiServiceImpl should have comment or be unexported (golint)
    • Line 42: warning: exported method GatewayApiServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 65: warning: exported method GatewayApiServiceImpl.Insert should have comment or be unexported (golint)
    • Line 76: warning: exported method GatewayApiServiceImpl.CountByConsumerId should have comment or be unexported (golint)
    • Line 87: warning: exported method GatewayApiServiceImpl.GetPageByConsumerId should have comment or be unexported (golint)
    • Line 107: warning: exported method GatewayApiServiceImpl.GetById should have comment or be unexported (golint)
    • Line 122: warning: exported method GatewayApiServiceImpl.GetPage should have comment or be unexported (golint)
    • Line 139: warning: exported method GatewayApiServiceImpl.Count should have comment or be unexported (golint)
    • Line 147: warning: exported method GatewayApiServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 166: warning: exported method GatewayApiServiceImpl.GetRawByAny should have comment or be unexported (golint)
    • Line 185: warning: exported method GatewayApiServiceImpl.SelectByGroupId should have comment or be unexported (golint)
    • Line 197: warning: exported method GatewayApiServiceImpl.DeleteById should have comment or be unexported (golint)
    • Line 208: warning: exported method GatewayApiServiceImpl.RealDeleteById should have comment or be unexported (golint)
    • Line 219: warning: exported method GatewayApiServiceImpl.RealDeleteByRuntimeServiceId should have comment or be unexported (golint)
    • Line 230: warning: exported method GatewayApiServiceImpl.Update should have comment or be unexported (golint)
    • Line 241: warning: exported method GatewayApiServiceImpl.SelectByOptions should have comment or be unexported (golint)
    • Line 250: warning: exported method GatewayApiServiceImpl.SelectByAny should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_category_service.go
    • Line 21: warning: should not use dot imports (golint)
    • Line 33: warning: exported type GatewayCategoryServiceImpl should have comment or be unexported (golint)
    • Line 45: warning: exported function NewGatewayCategoryServiceImpl should have comment or be unexported (golint)
    • Line 151: warning: exported method GatewayCategoryServiceImpl.CreatePolicy should have comment or be unexported (golint)
    • Line 239: warning: exported method GatewayCategoryServiceImpl.UpdatePolicy should have comment or be unexported (golint)
    • Line 378: warning: exported method GatewayCategoryServiceImpl.DeletePolicy should have comment or be unexported (golint)
    • Line 417: warning: exported method GatewayCategoryServiceImpl.GetCategoryInfo should have comment or be unexported (golint)
    • erda/modules/hepa/apipolicy/policies/cors/policy.go
    • Line 25: warning: exported type Policy should have comment or be unexported (golint)
    • Line 29: warning: exported method Policy.CreateDefaultConfig should have comment or be unexported (golint)
    • Line 41: warning: exported method Policy.MergeDiceConfig should have comment or be unexported (golint)
    • Line 91: warning: error should be the last type when returning multiple items (golint)
    • Line 91: warning: exported method Policy.UnmarshalConfig should have comment or be unexported (golint)
    • Line 104: warning: exported method Policy.ParseConfig should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/outPutForm/model.go
    • Line 14: warning: don't use MixedCaps in package name; outPutForm should be outputform (golint)
    • Line 21: warning: exported type ComponentOutPutForm should have comment or be unexported (golint)
    • Line 27: warning: exported type CommonOutPutForm should have comment or be unexported (golint)
    • Line 38: warning: exported type Data should have comment or be unexported (golint)
    • Line 42: warning: exported type ParamData should have comment or be unexported (golint)
    • Line 50: warning: exported type InParams should have comment or be unexported (golint)
    • Line 54: warning: exported type PropColumn should have comment or be unexported (golint)
    • Line 62: warning: exported type PropRender should have comment or be unexported (golint)
    • Line 73: warning: exported type PropRenderProp should have comment or be unexported (golint)
    • Line 78: warning: exported type PropRenderRule should have comment or be unexported (golint)
    • Line 83: warning: exported type PropChangeOption should have comment or be unexported (golint)
    • Line 88: warning: exported type PropsKey should have comment or be unexported (golint)
    • Line 91: warning: exported const PropsKeyParamsName should have comment (or a comment on this block) or be unexported (golint)
    • Line 96: warning: exported type State should have comment or be unexported (golint)
    • Line 102: warning: exported type OperationBaseInfo should have comment or be unexported (golint)
    • Line 116: warning: exported type OpMetaInfo should have comment or be unexported (golint)
    • Line 121: warning: exported type OperationInfo should have comment or be unexported (golint)
    • Line 126: warning: exported type DeleteOperation should have comment or be unexported (golint)
    • Line 127: warning: exported type OnChangeOperation should have comment or be unexported (golint)
    • erda/modules/scheduler/impl/cap/cap.go
    • Line 23: warning: exported type CapImpl should have comment or be unexported (golint)
    • Line 25: warning: exported type Cap should have comment or be unexported (golint)
    • Line 29: warning: exported function NewCapImpl should have comment or be unexported (golint)
    • Line 33: warning: exported method CapImpl.CapacityInfo should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/diceyml.go
    • Line 28: warning: exported type EnvType should have comment or be unexported (golint)
    • Line 31: warning: exported const BaseEnv should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: exported type DiceYaml should have comment or be unexported (golint)
    • Line 61: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 74: warning: comment on exported function NewDeployable should be of the form "NewDeployable ..." (golint)
    • Line 91: warning: exported method DiceYaml.Parse should have comment or be unexported (golint)
    • Line 112: warning: comment on exported type ValidateError should be of the form "ValidateError ..." (with optional leading article) (golint)
    • Line 117: warning: exported method DiceYaml.Validate should have comment or be unexported (golint)
    • Line 133: warning: exported method DiceYaml.Obj should have comment or be unexported (golint)
    • Line 155: warning: exported method DiceYaml.MergeEnv should have comment or be unexported (golint)
    • Line 255: warning: exported method DiceYaml.Compose should have comment or be unexported (golint)
    • Line 264: warning: exported method DiceYaml.InsertImage should have comment or be unexported (golint)
    • Line 275: warning: comment on exported method DiceYaml.InsertSideCarImage should be of the form "InsertSideCarImage ..." (golint)
    • Line 287: warning: exported method DiceYaml.InsertAddonOptions should have comment or be unexported (golint)
    • Line 296: warning: exported method DiceYaml.JSON should have comment or be unexported (golint)
    • Line 304: warning: exported method DiceYaml.YAML should have comment or be unexported (golint)
    • erda/modules/dop/services/testplan/testplan.go
    • Line 35: warning: comment on exported type TestPlan should be of the form "TestPlan ..." (with optional leading article) (golint)
    • Line 44: warning: comment on exported type Option should be of the form "Option ..." (with optional leading article) (golint)
    • Line 84: warning: exported function WithAutoTest should have comment or be unexported (golint)
    • Line 247: warning: comment on exported method TestPlan.Delete should be of the form "Delete ..." (golint)
    • Line 304: warning: comment on exported method TestPlan.Paging should be of the form "Paging ..." (golint)
    • Line 487: warning: exported method TestPlan.ListTestPlanCaseRels should have comment or be unexported (golint)
    • Line 572: warning: comment on exported method TestPlan.Convert should be of the form "Convert ..." (golint)
    • erda/modules/openapi/proxy/ws/ws.go
    • Line 28: warning: exported type ReverseProxy should have comment or be unexported (golint)
    • Line 32: warning: exported function NewReverseProxy should have comment or be unexported (golint)
    • Line 77: warning: exported type ReverseProxyWithCustom should have comment or be unexported (golint)
    • Line 81: warning: exported function NewReverseProxyWithCustom should have comment or be unexported (golint)
    • erda/modules/monitor/apm/common/common.go
    • Line 21: warning: exported const Tags should have comment (or a comment on this block) or be unexported (golint)
    • Line 61: warning: exported const Sep1 should have comment (or a comment on this block) or be unexported (golint)
    • Line 71: warning: comment on exported const Monitor should be of the form "Monitor ..." (golint)
    • Line 73: warning: exported const MonitorTopology should have comment (or a comment on this block) or be unexported (golint)
    • Line 79: warning: exported function CreateEsIndices should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/find_orphan_visitor.go
    • Line 14: warning: package comment should be of the form "Package diceyml ..." (golint)
    • Line 17: warning: exported type FindOrphanVisitor should have comment or be unexported (golint)
    • Line 22: warning: exported function NewFindOrphanVisitor should have comment or be unexported (golint)
    • Line 26: warning: exported method FindOrphanVisitor.VisitServices should have comment or be unexported (golint)
    • Line 43: warning: exported function FindOrphan should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-plan-detail/components/executeTaskTable/render.go
    • Line 14: warning: don't use MixedCaps in package name; executeTaskTable should be executetasktable (golint)
    • Line 29: warning: exported type ExecuteTaskTable should have comment or be unexported (golint)
    • Line 38: warning: exported type State should have comment or be unexported (golint)
    • Line 57: warning: exported const DefaultPageSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 61: warning: exported type Operation should have comment or be unexported (golint)
    • Line 99: warning: exported type RowData should have comment or be unexported (golint)
    • Line 104: warning: exported type AutoTestRunStep should have comment or be unexported (golint)
    • Line 109: warning: exported method ExecuteTaskTable.Import should have comment or be unexported (golint)
    • Line 120: warning: exported method ExecuteTaskTable.Render should have comment or be unexported (golint)
    • Line 496: warning: receiver name e should be consistent with previous receiver name a for ExecuteTaskTable (golint)
    • Line 519: warning: receiver name e should be consistent with previous receiver name a for ExecuteTaskTable (golint)
    • Line 541: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/pkg/clientgo/restclient/inet_rest_client.go
    • Line 23: warning: should not use dot imports (golint)
    • Line 27: warning: exported var ErrAddrMiss should have comment or be unexported (golint)
    • Line 31: warning: exported type Error should have comment or be unexported (golint)
    • Line 53: warning: exported type InetRESTClient should have comment or be unexported (golint)
    • Line 58: warning: exported function NewClientSet should have comment or be unexported (golint)
    • Line 66: warning: comment on exported function SetInetAddr should be of the form "SetInetAddr ..." (golint)
    • Line 106: warning: exported function NewInetRESTClient should have comment or be unexported (golint)
    • Line 160: warning: exported method InetRESTClient.Get should have comment or be unexported (golint)
    • Line 164: warning: exported method InetRESTClient.Post should have comment or be unexported (golint)
    • Line 167: warning: exported method InetRESTClient.Put should have comment or be unexported (golint)
    • Line 171: warning: exported method InetRESTClient.Patch should have comment or be unexported (golint)
    • Line 175: warning: exported method InetRESTClient.Delete should have comment or be unexported (golint)
    • Line 179: warning: exported method InetRESTClient.Verb should have comment or be unexported (golint)
    • erda/modules/pipeline/dbclient/op_pipeline_base.go
    • Line 23: warning: exported method Client.ListPipelineBasesByIDs should have comment or be unexported (golint)
    • Line 38: warning: exported method Client.CreatePipelineBase should have comment or be unexported (golint)
    • Line 46: warning: exported method Client.UpdatePipelineBase should have comment or be unexported (golint)
    • Line 54: warning: exported method Client.GetPipelineBase should have comment or be unexported (golint)
    • Line 66: warning: exported method Client.GetPipelineStatus should have comment or be unexported (golint)
    • Line 81: warning: exported method Client.UpdatePipelineBaseStatus should have comment or be unexported (golint)
    • erda/modules/scheduler/server/server.go
    • Line 50: warning: exported type Responser should have comment or be unexported (golint)
    • Line 52: warning: exported type HTTPResponse should have comment or be unexported (golint)
    • Line 54: warning: exported type Server should have comment or be unexported (golint)
    • Line 146: warning: comment on exported method Server.ListenAndServe should be of the form "ListenAndServe ..." (golint)
    • Line 325: warning: should not use basic type string as key in context.WithValue (golint)
    • erda/modules/eventbox/input/etcd/etcd.go
    • Line 36: warning: exported type EtcdInput should have comment or be unexported (golint)
    • Line 48: warning: exported function New should have comment or be unexported (golint)
    • Line 53: warning: don't use underscores in Go names; var js_ should be js (golint)
    • Line 75: warning: exported method EtcdInput.Name should have comment or be unexported (golint)
    • Line 126: warning: exported method EtcdInput.Start should have comment or be unexported (golint)
    • Line 177: warning: exported method EtcdInput.Stop should have comment or be unexported (golint)
    • erda/modules/dop/services/apidocsvc/svc.go
    • Line 22: warning: exported type Service should have comment or be unexported (golint)
    • Line 28: warning: exported type Option should have comment or be unexported (golint)
    • Line 30: warning: exported function New should have comment or be unexported (golint)
    • Line 38: warning: exported function WithDBClient should have comment or be unexported (golint)
    • Line 44: warning: exported function WithBundle should have comment or be unexported (golint)
    • Line 50: warning: exported function WithBranchRuleSvc should have comment or be unexported (golint)
    • erda/modules/dop/dbclient/dbclient.go
    • Line 28: warning: exported const BULK_INSERT_CHUNK_SIZE should have comment or be unexported (golint)
    • Line 30: warning: exported var DB should have comment or be unexported (golint)
    • Line 32: warning: exported type DBClient should have comment or be unexported (golint)
    • Line 36: warning: exported function Open should have comment or be unexported (golint)
    • Line 60: warning: exported function Close should have comment or be unexported (golint)
    • Line 71: warning: exported method DBClient.BulkInsert should have comment or be unexported (golint)
    • erda/modules/hepa/kong/dto/kong_upstream_dto.go
    • Line 16: warning: exported type HealthyDto should have comment or be unexported (golint)
    • Line 25: warning: exported type UnhealthyDto should have comment or be unexported (golint)
    • Line 38: warning: exported type ActiveHealthcheckDto should have comment or be unexported (golint)
    • Line 48: warning: exported type PassiveHealthcheckDto should have comment or be unexported (golint)
    • Line 53: warning: exported type HealthchecksDto should have comment or be unexported (golint)
    • Line 58: warning: exported type KongUpstreamDto should have comment or be unexported (golint)
    • Line 64: warning: exported function NewHealthchecks should have comment or be unexported (golint)
    • erda/modules/gittar/api/webhook.go
    • Line 26: warning: exported type HookRequest should have comment or be unexported (golint)
    • Line 33: warning: comment on exported function GetHooks should be of the form "GetHooks ..." (golint)
    • Line 45: warning: exported function GetHookDetail should have comment or be unexported (golint)
    • Line 62: warning: exported function AddHook should have comment or be unexported (golint)
    • Line 88: warning: exported function UpdateHook should have comment or be unexported (golint)
    • Line 119: warning: exported function DeleteHook should have comment or be unexported (golint)
    • Line 138: warning: exported function RequeueTask should have comment or be unexported (golint)
    • Line 153: warning: exported function AddSystemHook should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/orgLogo/render.go
    • Line 14: warning: don't use MixedCaps in package name; orgLogo should be orglogo (golint)
    • Line 26: warning: exported type OrgLogo should have comment or be unexported (golint)
    • Line 32: warning: exported type Props should have comment or be unexported (golint)
    • Line 40: warning: exported type StyleNames should have comment or be unexported (golint)
    • Line 46: warning: exported method OrgLogo.SetCtxBundle should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method OrgLogo.Render should have comment or be unexported (golint)
    • Line 80: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/dop/services/assetsvc/delete.go
    • Line 66: warning: comment on exported method Service.DeleteAssetVersionByID should be of the form "DeleteAssetVersionByID ..." (golint)
    • Line 140: warning: exported method Service.DeleteClient should have comment or be unexported (golint)
    • Line 208: warning: exported method Service.DeleteAccess should have comment or be unexported (golint)
    • Line 289: warning: exported method Service.DeleteContract should have comment or be unexported (golint)
    • Line 354: warning: exported method Service.DeleteSLA should have comment or be unexported (golint)
    • erda/apistructs/ticket.go
    • Line 85: warning: comment on exported const NormalTCType should be of the form "NormalTCType ..." (golint)
    • Line 87: warning: comment on exported const IssueRelationTCType should be of the form "IssueRelationTCType ..." (golint)
    • erda/modules/pipeline/pipengine/actionexecutor/plugins/demo/demo.go
    • Line 28: warning: exported const Kind should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported type Demo should have comment or be unexported (golint)
    • Line 43: warning: exported method Demo.Kind should have comment or be unexported (golint)
    • Line 47: warning: exported method Demo.Name should have comment or be unexported (golint)
    • Line 51: warning: exported method Demo.Exist should have comment or be unexported (golint)
    • Line 55: warning: exported method Demo.Create should have comment or be unexported (golint)
    • Line 61: warning: exported method Demo.Start should have comment or be unexported (golint)
    • Line 67: warning: exported method Demo.Update should have comment or be unexported (golint)
    • Line 73: warning: exported method Demo.Status should have comment or be unexported (golint)
    • Line 79: warning: exported method Demo.Inspect should have comment or be unexported (golint)
    • Line 85: warning: exported method Demo.Cancel should have comment or be unexported (golint)
    • Line 91: warning: exported method Demo.Remove should have comment or be unexported (golint)
    • Line 97: warning: exported method Demo.BatchDelete should have comment or be unexported (golint)
    • erda/modules/dicehub/service/extension/extension.go
    • Line 243: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 279: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 285: warning: comment on exported method Extension.QueryExtensionVersions should be of the form "QueryExtensionVersions ..." (golint)
    • erda/modules/dop/bdl/rolesset.go
    • Line 25: warning: comment on exported const RoleSysManager should be of the form "RoleSysManager ..." (golint)
    • Line 28: warning: comment on exported const RoleOrgManager should be of the form "RoleOrgManager ..." (golint)
    • Line 30: warning: exported const RoleOrgDev should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: comment on exported const RoleProjectOwner should be of the form "RoleProjectOwner ..." (golint)
    • Line 49: warning: comment on exported const RoleAppOwner should be of the form "RoleAppOwner ..." (golint)
    • Line 57: warning: comment on exported const RolePublisherManager should be of the form "RolePublisherManager ..." (golint)
    • Line 61: warning: comment on exported const RoleGuest should be of the form "RoleGuest ..." (golint)
    • Line 66: warning: exported var OrgMRoles should have comment or be unexported (golint)
    • Line 71: warning: exported var AllScopeRoleMap should have comment or be unexported (golint)
    • Line 111: warning: exported type RolesSet should have comment or be unexported (golint)
    • Line 117: warning: exported method RolesSet.OrgID should have comment or be unexported (golint)
    • Line 121: warning: exported method RolesSet.UserID should have comment or be unexported (golint)
    • Line 125: warning: exported method RolesSet.Orgs should have comment or be unexported (golint)
    • Line 129: warning: exported method RolesSet.Projects should have comment or be unexported (golint)
    • Line 133: warning: exported method RolesSet.Apps should have comment or be unexported (golint)
    • Line 180: warning: exported type RoleInfo should have comment or be unexported (golint)
    • Line 277: warning: exported function GetScopeManagerRoleMap should have comment or be unexported (golint)
    • erda/bundle/workbench.go
    • Line 25: warning: exported method Bundle.GetWorkbenchData should have comment or be unexported (golint)
    • Line 49: warning: exported method Bundle.GetIssuesForWorkbench should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/es/es.go
    • Line 28: warning: exported type DescribeESInstancesResponse should have comment or be unexported (golint)
    • Line 33: warning: exported function ListByCluster should have comment or be unexported (golint)
    • Line 90: warning: exported function TagResource should have comment or be unexported (golint)
    • erda/apistructs/issue_panel.go
    • Line 16: warning: exported type IssuePanel should have comment or be unexported (golint)
    • Line 21: warning: exported type IssuePanelIssues should have comment or be unexported (golint)
    • Line 26: warning: exported type IssuePanelIssueIDs should have comment or be unexported (golint)
    • Line 31: warning: comment on exported type IssuePanelRequest should be of the form "IssuePanelRequest ..." (with optional leading article) (golint)
    • Line 39: warning: comment on exported type IssuePanelIssuesCreateResponse should be of the form "IssuePanelIssuesCreateResponse ..." (with optional leading article) (golint)
    • Line 45: warning: comment on exported type IssuePanelGetResponse should be of the form "IssuePanelGetResponse ..." (with optional leading article) (golint)
    • Line 51: warning: comment on exported type IssuePanelIssuesGetResponse should be of the form "IssuePanelIssuesGetResponse ..." (with optional leading article) (golint)
    • Line 57: warning: comment on exported type IssuePanelDeleteResponse should be of the form "IssuePanelDeleteResponse ..." (with optional leading article) (golint)
    • erda/modules/gittar/pkg/gitmodule/git.go
    • Line 15: warning: exported function Version should have comment or be unexported (golint)
    • Line 23: warning: exported var Prefix should have comment or be unexported (golint)
    • Line 41: warning: comment on exported function BinVersion should be of the form "BinVersion ..." (golint)
    • erda/pkg/k8s/node/drain/default.go
    • Line 32: warning: comment on exported function RunNodeDrain should be of the form "RunNodeDrain ..." (golint)
    • Line 69: warning: exported function DrainNode should have comment or be unexported (golint)
    • Line 133: warning: exported function UncordonNode should have comment or be unexported (golint)
    • erda/modules/openapi/conf/conf.go
    • Line 27: warning: exported type Conf should have comment or be unexported (golint)
    • Line 78: warning: comment on exported function RedisMasterName should be of the form "RedisMasterName ..." (golint)
    • Line 83: warning: exported function RedisSentinelAddrs should have comment or be unexported (golint)
    • Line 87: warning: exported function RedisAddr should have comment or be unexported (golint)
    • Line 91: warning: exported function RedisPwd should have comment or be unexported (golint)
    • Line 95: warning: exported function UCAddrFront should have comment or be unexported (golint)
    • Line 99: warning: exported function UCRedirectHost should have comment or be unexported (golint)
    • Line 103: warning: exported function UCClientID should have comment or be unexported (golint)
    • Line 107: warning: exported function UCClientSecret should have comment or be unexported (golint)
    • Line 111: warning: exported function RedirectAfterLogin should have comment or be unexported (golint)
    • Line 115: warning: exported function CMDBCurrentUserHost should have comment or be unexported (golint)
    • Line 119: warning: exported function CookieDomain should have comment or be unexported (golint)
    • Line 123: warning: exported function OldCookieDomain should have comment or be unexported (golint)
    • Line 127: warning: exported function SessionCookieName should have comment or be unexported (golint)
    • Line 131: warning: exported function CSRFCookieDomain should have comment or be unexported (golint)
    • Line 135: warning: exported function UseK8S should have comment or be unexported (golint)
    • Line 139: warning: exported function SurveyDingding should have comment or be unexported (golint)
    • Line 143: warning: exported function DiceProtocol should have comment or be unexported (golint)
    • Line 147: warning: exported function OAuth2NetdataDir should have comment or be unexported (golint)
    • Line 151: warning: exported function CSRFWhiteList should have comment or be unexported (golint)
    • Line 155: warning: exported function OryEnabled should have comment or be unexported (golint)
    • Line 159: warning: exported function OryKratosAddr should have comment or be unexported (golint)
    • Line 163: warning: exported function OryKratosPrivateAddr should have comment or be unexported (golint)
    • Line 167: warning: exported function OryLoginURL should have comment or be unexported (golint)
    • Line 171: warning: exported function OryLogoutURL should have comment or be unexported (golint)
    • Line 175: warning: exported function OryCompatibleClientID should have comment or be unexported (golint)
    • Line 179: warning: exported function OryCompatibleClientSecret should have comment or be unexported (golint)
    • Line 183: warning: exported function CustomNamespace should have comment or be unexported (golint)
    • Line 187: warning: exported function SelfPublicURL should have comment or be unexported (golint)
    • Line 191: warning: exported function ExportUserWithRole should have comment or be unexported (golint)
    • Line 195: warning: exported function ErdaSystemFQDN should have comment or be unexported (golint)
    • Line 199: warning: exported function CreateOrgEnabled should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/define.go
    • Line 26: warning: exported const Version1dot1 should have comment (or a comment on this block) or be unexported (golint)
    • Line 61: warning: comment on exported type NetworkHookInfo should be of the form "NetworkHookInfo ..." (with optional leading article) (golint)
    • Line 68: warning: exported type StorageConfig should have comment or be unexported (golint)
    • Line 72: warning: exported type TriggerConfig should have comment or be unexported (golint)
    • Line 77: warning: exported type PushTrigger should have comment or be unexported (golint)
    • Line 82: warning: exported type MergeTrigger should have comment or be unexported (golint)
    • Line 98: warning: exported type PipelineParam should have comment or be unexported (golint)
    • Line 106: warning: exported type PipelineOutput should have comment or be unexported (golint)
    • Line 115: warning: exported type Action should have comment or be unexported (golint)
    • Line 162: warning: exported type SnippetConfig should have comment or be unexported (golint)
    • Line 168: warning: exported type SnippetPipelineYmlCache should have comment or be unexported (golint)
    • Line 185: warning: exported type ActionCache should have comment or be unexported (golint)
    • Line 193: warning: exported type ActionType should have comment or be unexported (golint)
    • Line 194: warning: exported type ActionAlias should have comment or be unexported (golint)
    • Line 200: warning: exported method ActionType.IsCustom should have comment or be unexported (golint)
    • Line 204: warning: exported method ActionType.IsSnippet should have comment or be unexported (golint)
    • Line 212: warning: comment on exported method Action.GetActionTypeVersion should be of the form "GetActionTypeVersion ..." (golint)
    • Line 221: warning: exported type Resources should have comment or be unexported (golint)
    • Line 229: warning: exported type CronCompensator should have comment or be unexported (golint)
    • Line 303: warning: exported method Spec.ToSimplePipelineYmlActionSlice should have comment or be unexported (golint)
    • Line 333: warning: comment on exported method Spec.LoopStagesActions should be of the form "LoopStagesActions ..." (golint)
    • erda/modules/scheduler/executor/plugins/k8s/addon/mysql/mysql.go
    • Line 37: warning: exported type MysqlOperator should have comment or be unexported (golint)
    • Line 45: warning: exported function New should have comment or be unexported (golint)
    • Line 55: warning: exported method MysqlOperator.IsSupported should have comment or be unexported (golint)
    • Line 74: warning: exported method MysqlOperator.Validate should have comment or be unexported (golint)
    • Line 100: warning: exported method MysqlOperator.Convert should have comment or be unexported (golint)
    • Line 185: warning: exported method MysqlOperator.Create should have comment or be unexported (golint)
    • Line 220: warning: exported method MysqlOperator.Inspect should have comment or be unexported (golint)
    • Line 262: warning: exported method MysqlOperator.Remove should have comment or be unexported (golint)
    • Line 293: warning: exported method MysqlOperator.Update should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_upstream_api_service.go
    • Line 18: warning: should not use dot imports (golint)
    • Line 26: warning: exported type GatewayUpstreamApiServiceImpl should have comment or be unexported (golint)
    • Line 30: warning: exported function NewGatewayUpstreamApiServiceImpl should have comment or be unexported (golint)
    • Line 38: warning: exported method GatewayUpstreamApiServiceImpl.Insert should have comment or be unexported (golint)
    • Line 60: warning: exported method GatewayUpstreamApiServiceImpl.GetLastApiId should have comment or be unexported (golint)
    • Line 75: warning: exported method GatewayUpstreamApiServiceImpl.UpdateApiId should have comment or be unexported (golint)
    • Line 83: warning: exported method GatewayUpstreamApiServiceImpl.GetPage should have comment or be unexported (golint)
    • Line 103: warning: exported method GatewayUpstreamApiServiceImpl.SelectInIdsAndDeleted should have comment or be unexported (golint)
    • Line 112: warning: exported method GatewayUpstreamApiServiceImpl.SelectInIds should have comment or be unexported (golint)
    • Line 121: warning: exported method GatewayUpstreamApiServiceImpl.Recover should have comment or be unexported (golint)
    • Line 129: warning: exported method GatewayUpstreamApiServiceImpl.GetById should have comment or be unexported (golint)
    • Line 144: warning: exported method GatewayUpstreamApiServiceImpl.DeleteById should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_api_in_package_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayApiInPackageServiceImpl should have comment or be unexported (golint)
    • Line 30: warning: exported function NewGatewayApiInPackageServiceImpl should have comment or be unexported (golint)
    • Line 41: warning: exported method GatewayApiInPackageServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 64: warning: exported method GatewayApiInPackageServiceImpl.Update should have comment or be unexported (golint)
    • Line 75: warning: exported method GatewayApiInPackageServiceImpl.Insert should have comment or be unexported (golint)
    • Line 86: warning: exported method GatewayApiInPackageServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 105: warning: exported method GatewayApiInPackageServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 121: warning: exported method GatewayApiInPackageServiceImpl.Get should have comment or be unexported (golint)
    • Line 136: warning: exported method GatewayApiInPackageServiceImpl.Delete should have comment or be unexported (golint)
    • Line 147: warning: exported method GatewayApiInPackageServiceImpl.DeleteByPackageId should have comment or be unexported (golint)
    • Line 158: warning: exported method GatewayApiInPackageServiceImpl.SelectByApi should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/check_env_size.go
    • Line 20: warning: exported type CheckEnvSizeVisitor should have comment or be unexported (golint)
    • Line 25: warning: exported function NewCheckEnvSizeVisitor should have comment or be unexported (golint)
    • Line 31: warning: exported method CheckEnvSizeVisitor.VisitObject should have comment or be unexported (golint)
    • Line 39: warning: exported method CheckEnvSizeVisitor.VisitService should have comment or be unexported (golint)
    • Line 51: warning: exported function CheckEnvSize should have comment or be unexported (golint)
    • erda/apistructs/unified_filetree.go
    • Line 14: warning: package comment should be of the form "Package apistructs ..." (golint)
    • Line 24: warning: exported const RootPinode should have comment or be unexported (golint)
    • Line 25: warning: exported const MaxSetNameLen should have comment or be unexported (golint)
    • Line 26: warning: exported const MaxSetDescLen should have comment or be unexported (golint)
    • Line 37: warning: exported var AllScope should have comment or be unexported (golint)
    • Line 43: warning: exported var UnifiedFileTreeNodeTypeDir should have comment or be unexported (golint)
    • Line 47: warning: exported method UnifiedFileTreeNodeType.IsFile should have comment or be unexported (golint)
    • Line 50: warning: exported method UnifiedFileTreeNodeType.IsDir should have comment or be unexported (golint)
    • Line 58: warning: exported method UnifiedFileTreeNodeType.Valid should have comment or be unexported (golint)
    • Line 89: warning: exported method UnifiedFileTreeNode.GetUserIDs should have comment or be unexported (golint)
    • Line 104: warning: comment on exported type UnifiedFileTreeNodeCreateRequest should be of the form "UnifiedFileTreeNodeCreateRequest ..." (with optional leading article) (golint)
    • Line 115: warning: exported type UnifiedFileTreeNodeCreateResponse should have comment or be unexported (golint)
    • Line 120: warning: exported method UnifiedFileTreeNodeCreateRequest.BasicValidate should have comment or be unexported (golint)
    • Line 133: warning: exported method UnifiedFileTreeNodeCreateRequest.ValidateRootDir should have comment or be unexported (golint)
    • Line 151: warning: exported method UnifiedFileTreeNodeCreateRequest.ValidateNonRootDir should have comment or be unexported (golint)
    • Line 163: warning: exported method UnifiedFileTreeNodeCreateRequest.ValidateFile should have comment or be unexported (golint)
    • Line 174: warning: comment on exported type UnifiedFileTreeNodeDeleteRequest should be of the form "UnifiedFileTreeNodeDeleteRequest ..." (with optional leading article) (golint)
    • Line 183: warning: exported type UnifiedFileTreeNodeDeleteResponse should have comment or be unexported (golint)
    • Line 188: warning: exported method UnifiedFileTreeNodeDeleteRequest.BasicValidate should have comment or be unexported (golint)
    • Line 195: warning: comment on exported type UnifiedFileTreeNodeGetRequest should be of the form "UnifiedFileTreeNodeGetRequest ..." (with optional leading article) (golint)
    • Line 204: warning: exported type UnifiedFileTreeNodeGetResponse should have comment or be unexported (golint)
    • Line 209: warning: exported method UnifiedFileTreeNodeGetRequest.BasicValidate should have comment or be unexported (golint)
    • Line 216: warning: comment on exported type UnifiedFileTreeNodeUpdateBasicInfoRequest should be of the form "UnifiedFileTreeNodeUpdateBasicInfoRequest ..." (with optional leading article) (golint)
    • Line 225: warning: exported type UnifiedFileTreeNodeUpdateBasicInfoResponse should have comment or be unexported (golint)
    • Line 230: warning: exported method UnifiedFileTreeNodeUpdateBasicInfoRequest.BasicValidate should have comment or be unexported (golint)
    • Line 237: warning: comment on exported type UnifiedFileTreeNodeMoveRequest should be of the form "UnifiedFileTreeNodeMoveRequest ..." (with optional leading article) (golint)
    • Line 245: warning: exported type UnifiedFileTreeNodeMoveResponse should have comment or be unexported (golint)
    • Line 250: warning: exported method UnifiedFileTreeNodeMoveRequest.BasicValidate should have comment or be unexported (golint)
    • Line 260: warning: comment on exported type UnifiedFileTreeNodeCopyRequest should be of the form "UnifiedFileTreeNodeCopyRequest ..." (with optional leading article) (golint)
    • Line 268: warning: exported type UnifiedFileTreeNodeCopyResponse should have comment or be unexported (golint)
    • Line 273: warning: exported method UnifiedFileTreeNodeCopyRequest.BasicValidate should have comment or be unexported (golint)
    • Line 283: warning: comment on exported type UnifiedFileTreeNodeListRequest should be of the form "UnifiedFileTreeNodeListRequest ..." (with optional leading article) (golint)
    • Line 292: warning: exported type UnifiedFileTreeNodeListResponse should have comment or be unexported (golint)
    • Line 297: warning: exported method UnifiedFileTreeNodeListRequest.BasicValidate should have comment or be unexported (golint)
    • Line 313: warning: comment on exported type UnifiedFileTreeNodeFindAncestorsRequest should be of the form "UnifiedFileTreeNodeFindAncestorsRequest ..." (with optional leading article) (golint)
    • Line 322: warning: exported type UnifiedFileTreeNodeFindAncestorsResponse should have comment or be unexported (golint)
    • Line 327: warning: exported method UnifiedFileTreeNodeFindAncestorsRequest.BasicValidate should have comment or be unexported (golint)
    • Line 334: warning: comment on exported type UnifiedFileTreeNodeFuzzySearchRequest should be of the form "UnifiedFileTreeNodeFuzzySearchRequest ..." (with optional leading article) (golint)
    • Line 352: warning: exported type UnifiedFileTreeNodeFuzzySearchResponse should have comment or be unexported (golint)
    • Line 357: warning: exported method UnifiedFileTreeNodeFuzzySearchRequest.BasicValidate should have comment or be unexported (golint)
    • Line 377: warning: comment on exported type UnifiedFileTreeNodeHistorySearchRequest should be of the form "UnifiedFileTreeNodeHistorySearchRequest ..." (with optional leading article) (golint)
    • erda/modules/openapi/reverseproxy.go
    • Line 44: warning: exported type ReverseProxyWithAuth should have comment or be unexported (golint)
    • Line 52: warning: exported function NewReverseProxyWithAuth should have comment or be unexported (golint)
    • Line 94: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 95: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 96: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 97: warning: should not use basic type string as key in context.WithValue (golint)
    • erda/modules/dop/endpoints/nexus.go
    • Line 32: warning: exported method Endpoints.GetOrgNexus should have comment or be unexported (golint)
    • Line 81: warning: exported method Endpoints.ShowOrgNexusPassword should have comment or be unexported (golint)
    • Line 118: warning: exported method Endpoints.GetNexusOrgDockerCredentialByImage should have comment or be unexported (golint)
    • erda/modules/dop/services/nexussvc/nexus.go
    • Line 30: warning: exported type Option should have comment or be unexported (golint)
    • Line 32: warning: exported function New should have comment or be unexported (golint)
    • Line 41: warning: exported function WithDBClient should have comment or be unexported (golint)
    • Line 47: warning: exported function WithBundle should have comment or be unexported (golint)
    • Line 53: warning: exported function WithRsaCrypt should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/foreignkey_linter.go
    • Line 26: warning: exported type ForeignKeyLinter should have comment or be unexported (golint)
    • Line 30: warning: exported function NewForeignKeyLinter should have comment or be unexported (golint)
    • Line 34: warning: exported method ForeignKeyLinter.Enter should have comment or be unexported (golint)
    • Line 54: warning: exported method ForeignKeyLinter.Leave should have comment or be unexported (golint)
    • erda/pkg/storage/oss.go
    • Line 23: warning: exported type OSS should have comment or be unexported (golint)
    • Line 32: warning: exported function NewOSS should have comment or be unexported (golint)
    • Line 44: warning: exported method OSS.Type should have comment or be unexported (golint)
    • Line 74: warning: exported method OSS.Delete should have comment or be unexported (golint)
    • erda/bundle/role.go
    • Line 29: warning: comment on exported const RoleSysManager should be of the form "RoleSysManager ..." (golint)
    • Line 32: warning: comment on exported const RoleOrgManager should be of the form "RoleOrgManager ..." (golint)
    • Line 34: warning: exported const RoleOrgDev should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: comment on exported const RoleProjectOwner should be of the form "RoleProjectOwner ..." (golint)
    • Line 53: warning: comment on exported const RoleAppOwner should be of the form "RoleAppOwner ..." (golint)
    • Line 61: warning: comment on exported const RolePublisherManager should be of the form "RolePublisherManager ..." (golint)
    • erda/modules/hepa/server/location.go
    • Line 17: warning: exported const OPENAPI_PREFIX should have comment (or a comment on this block) or be unexported (golint)
    • Line 65: warning: exported const API_GATEWAY_PREFIX should have comment (or a comment on this block) or be unexported (golint)
    • Line 87: warning: comment on exported const TENANTS should be of the form "TENANTS ..." (golint)
    • Line 91: warning: comment on exported const HEALTH_CHECK should be of the form "HEALTH_CHECK ..." (golint)
    • Line 94: warning: comment on exported const GATEWAY_UI_TYPE should be of the form "GATEWAY_UI_TYPE ..." (golint)
    • Line 126: warning: comment on exported const API_MOCK_REGISTER should be of the form "API_MOCK_REGISTER ..." (golint)
    • Line 129: warning: comment on exported const API_TRANSFORM_REGISTER should be of the form "API_TRANSFORM_REGISTER ..." (golint)
    • erda/modules/cmdb/model/mbox.go
    • Line 22: warning: exported type MBox should have comment or be unexported (golint)
    • Line 33: warning: exported method MBox.TableName should have comment or be unexported (golint)
    • Line 37: warning: exported method MBox.ToApiData should have comment or be unexported (golint)
    • erda/modules/core-services/dao/nexus_user.go
    • Line 27: warning: exported type NexusUser should have comment or be unexported (golint)
    • Line 40: warning: exported type NexusUserConfig should have comment or be unexported (golint)
    • Line 42: warning: exported method NexusUserConfig.Value should have comment or be unexported (golint)
    • Line 45: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 49: warning: exported method NexusUserConfig.Scan should have comment or be unexported (golint)
    • Line 66: warning: exported method NexusUser.TableName should have comment or be unexported (golint)
    • Line 70: warning: exported method DBClient.CreateOrUpdateNexusUser should have comment or be unexported (golint)
    • Line 86: warning: exported method DBClient.GetNexusUser should have comment or be unexported (golint)
    • Line 94: warning: exported method DBClient.GetNexusUserByName should have comment or be unexported (golint)
    • Line 102: warning: exported method DBClient.ListNexusUsers should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/content/render.go
    • Line 27: warning: exported type Content should have comment or be unexported (golint)
    • Line 34: warning: exported type Props should have comment or be unexported (golint)
    • Line 38: warning: exported type State should have comment or be unexported (golint)
    • Line 60: warning: exported method Content.SetCtxBundle should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: exported method Content.Render should have comment or be unexported (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/pipeline/events/emit.go
    • Line 22: warning: exported function EmitPipelineInstanceEvent should have comment or be unexported (golint)
    • Line 44: warning: exported function EmitPipelineStreamEvent should have comment or be unexported (golint)
    • Line 59: warning: exported function EmitTaskEvent should have comment or be unexported (golint)
    • Line 84: warning: exported function EmitTaskRuntimeEvent should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/configSheetSelect/render.go
    • Line 14: warning: don't use MixedCaps in package name; configSheetSelect should be configsheetselect (golint)
    • Line 26: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 46: warning: exported type Value should have comment or be unexported (golint)
    • Line 57: warning: exported type Data should have comment or be unexported (golint)
    • Line 155: warning: exported method ComponentAction.SetBundle should have comment or be unexported (golint)
    • Line 164: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 164: warning: receiver name ca should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 232: warning: exported method ComponentAction.HandlerChangeValue should have comment or be unexported (golint)
    • Line 232: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 241: warning: exported method ComponentAction.HandlerSearchValue should have comment or be unexported (golint)
    • Line 241: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 279: warning: exported method ComponentAction.HandlerDefaultValue should have comment or be unexported (golint)
    • Line 279: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 390: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/projectTipWithoutOrg/render.go
    • Line 14: warning: don't use MixedCaps in package name; projectTipWithoutOrg should be projecttipwithoutorg (golint)
    • Line 28: warning: exported type ProjectTipWithoutOrg should have comment or be unexported (golint)
    • Line 36: warning: exported type Props should have comment or be unexported (golint)
    • Line 42: warning: exported type State should have comment or be unexported (golint)
    • Line 46: warning: exported type Command should have comment or be unexported (golint)
    • Line 53: warning: exported type Operation should have comment or be unexported (golint)
    • Line 60: warning: exported method ProjectTipWithoutOrg.SetCtxBundle should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: exported method ProjectTipWithoutOrg.GenComponentState should have comment or be unexported (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: exported method ProjectTipWithoutOrg.Render should have comment or be unexported (golint)
    • Line 127: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/edas/types.go
    • Line 27: warning: exported const EDAS_SLB_INTERNAL should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported const CHANGE_ORDER_STATUS_ERROR should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported var ChangeOrderStatusString should have comment or be unexported (golint)
    • Line 58: warning: exported const APP_STATE_AGENT_OFF should have comment (or a comment on this block) or be unexported (golint)
    • Line 64: warning: exported var AppStateString should have comment or be unexported (golint)
    • Line 75: warning: exported const TASK_STATE_UNKNOWN should have comment (or a comment on this block) or be unexported (golint)
    • Line 81: warning: exported var TaskStateString should have comment or be unexported (golint)
    • Line 92: warning: exported const AppStatusRunning should have comment (or a comment on this block) or be unexported (golint)
    • Line 99: warning: exported type ServiceSpec should have comment or be unexported (golint)
    • Line 133: warning: exported type ChangeType should have comment or be unexported (golint)
    • Line 136: warning: exported const CHANGE_TYPE_CREATE should have comment (or a comment on this block) or be unexported (golint)
    • Line 141: warning: exported type EdasEnv should have comment or be unexported (golint)
    • erda/modules/pipeline/aop/plugins/pipeline/plugins/precheck_before_pop/before_run_check.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 26: warning: exported const CheckResultSuccess should have comment or be unexported (golint)
    • Line 27: warning: exported const CheckResultFailed should have comment or be unexported (golint)
    • Line 28: warning: exported const HookType should have comment or be unexported (golint)
    • Line 30: warning: exported type HttpBeforeCheckRun should have comment or be unexported (golint)
    • Line 36: warning: exported type RetryOption should have comment or be unexported (golint)
    • Line 41: warning: exported type CheckRunResult should have comment or be unexported (golint)
    • Line 47: warning: exported type CheckRunResultRequest should have comment or be unexported (golint)
    • Line 55: warning: exported type CheckRunResultResponse should have comment or be unexported (golint)
    • Line 60: warning: exported type HookBeforeCheckRun should have comment or be unexported (golint)
    • Line 76: warning: exported method HttpBeforeCheckRun.CheckRun should have comment or be unexported (golint)
    • erda/modules/gittar/pkg/gitmodule/repo_diff.go
    • Line 28: warning: exported const DIFF_LINE_CONTEXT should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported const DIFF_FILE_ADD should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported type DiffOptions should have comment or be unexported (golint)
    • Line 54: warning: exported function NewDefaultDiffOptions should have comment or be unexported (golint)
    • Line 66: warning: exported method DiffOptions.SetShowAll should have comment or be unexported (golint)
    • Line 144: warning: exported method DiffFile.NumSections should have comment or be unexported (golint)
    • Line 157: warning: exported method Diff.NumFiles should have comment or be unexported (golint)
    • Line 161: warning: exported method Repository.GetDiffFile should have comment or be unexported (golint)
    • Line 186: warning: exported method Repository.GetDiff should have comment or be unexported (golint)
    • Line 190: warning: exported method Repository.GetDiffWithOptions should have comment or be unexported (golint)
    • Line 366: warning: exported function ButtonContextLineCount should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_consumer_service.go
    • Line 18: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayConsumerServiceImpl should have comment or be unexported (golint)
    • Line 28: warning: exported function NewGatewayConsumerServiceImpl should have comment or be unexported (golint)
    • Line 36: warning: exported method GatewayConsumerServiceImpl.Insert should have comment or be unexported (golint)
    • Line 47: warning: exported method GatewayConsumerServiceImpl.GetDefaultConsumerName should have comment or be unexported (golint)
    • Line 55: warning: exported method GatewayConsumerServiceImpl.GetById should have comment or be unexported (golint)
    • Line 70: warning: exported method GatewayConsumerServiceImpl.Get should have comment or be unexported (golint)
    • Line 85: warning: exported method GatewayConsumerServiceImpl.GetDefaultConsumer should have comment or be unexported (golint)
    • Line 104: warning: exported method GatewayConsumerServiceImpl.GetByName should have comment or be unexported (golint)
    • Line 119: warning: exported method GatewayConsumerServiceImpl.DeleteById should have comment or be unexported (golint)
    • Line 130: warning: exported method GatewayConsumerServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 142: warning: exported method GatewayConsumerServiceImpl.Update should have comment or be unexported (golint)
    • Line 153: warning: exported method GatewayConsumerServiceImpl.CheckUnique should have comment or be unexported (golint)
    • Line 171: warning: exported method GatewayConsumerServiceImpl.GetPage should have comment or be unexported (golint)
    • Line 188: warning: exported method GatewayConsumerServiceImpl.Count should have comment or be unexported (golint)
    • Line 196: warning: exported method GatewayConsumerServiceImpl.SelectByOptions should have comment or be unexported (golint)
    • Line 205: warning: exported method GatewayConsumerServiceImpl.GetByAny should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/edge-site/components/siteFormModal/operation.go
    • Line 28: warning: exported const SiteNameLength should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported var SiteNameReservedWordMap should have comment or be unexported (golint)
    • Line 37: warning: exported type ComponentFormModal should have comment or be unexported (golint)
    • Line 42: warning: exported method ComponentFormModal.SetBundle should have comment or be unexported (golint)
    • Line 50: warning: exported method ComponentFormModal.SetComponent should have comment or be unexported (golint)
    • Line 58: warning: exported method ComponentFormModal.OperateRendering should have comment or be unexported (golint)
    • Line 97: warning: exported method ComponentFormModal.OperateSubmit should have comment or be unexported (golint)
    • Line 114: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 192: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_openapi_service.go
    • Line 31: warning: should not use dot imports (golint)
    • Line 52: warning: exported type GatewayOpenapiServiceImpl should have comment or be unexported (golint)
    • Line 77: warning: exported function NewGatewayOpenapiServiceImpl should have comment or be unexported (golint)
    • Line 231: warning: exported method GatewayOpenapiServiceImpl.CreatePackage should have comment or be unexported (golint)
    • Line 385: warning: exported method GatewayOpenapiServiceImpl.GetPackage should have comment or be unexported (golint)
    • Line 411: warning: exported method GatewayOpenapiServiceImpl.GetPackages should have comment or be unexported (golint)
    • Line 490: warning: exported method GatewayOpenapiServiceImpl.GetPackagesName should have comment or be unexported (golint)
    • Line 573: warning: exported method GatewayOpenapiServiceImpl.UpdatePackage should have comment or be unexported (golint)
    • Line 794: warning: exported method GatewayOpenapiServiceImpl.TryClearRuntimePackage should have comment or be unexported (golint)
    • Line 936: warning: exported method GatewayOpenapiServiceImpl.DeletePackage should have comment or be unexported (golint)
    • Line 1490: warning: exported method GatewayOpenapiServiceImpl.SessionCreatePackageApi should have comment or be unexported (golint)
    • Line 1706: warning: exported method GatewayOpenapiServiceImpl.TouchPackageApiZone should have comment or be unexported (golint)
    • Line 1830: warning: exported method GatewayOpenapiServiceImpl.CreatePackageApi should have comment or be unexported (golint)
    • Line 1920: warning: don't use underscores in Go names; var scheme_find should be schemeFind (golint)
    • Line 1926: warning: don't use underscores in Go names; var slash_find should be slashFind (golint)
    • Line 1987: warning: exported method GatewayOpenapiServiceImpl.GetPackageApis should have comment or be unexported (golint)
    • Line 2018: warning: exported method GatewayOpenapiServiceImpl.UpdatePackageApi should have comment or be unexported (golint)
    • Line 2253: warning: exported method GatewayOpenapiServiceImpl.DeletePackageApi should have comment or be unexported (golint)
    • Line 2400: warning: exported method GatewayOpenapiServiceImpl.TouchRuntimePackageMeta should have comment or be unexported (golint)
    • Line 2448: warning: exported method GatewayOpenapiServiceImpl.RefreshRuntimePackage should have comment or be unexported (golint)
    • Line 2530: warning: exported method GatewayOpenapiServiceImpl.CreateUnityPackageZone should have comment or be unexported (golint)
    • Line 2581: warning: exported method GatewayOpenapiServiceImpl.CreateTenantPackage should have comment or be unexported (golint)
    • Line 2691: warning: comment on exported method GatewayOpenapiServiceImpl.GetCloudapiGroupBind should be of the form "GetCloudapiGroupBind ..." (golint)
    • Line 2758: warning: comment on exported method GatewayOpenapiServiceImpl.GetCloudapiInfo should be of the form "GetCloudapiInfo ..." (golint)
    • Line 2781: warning: comment on exported method GatewayOpenapiServiceImpl.SetCloudapiGroupBind should be of the form "SetCloudapiGroupBind ..." (golint)
    • Line 2874: warning: exported method GatewayOpenapiServiceImpl.TouchPackageRootApi should have comment or be unexported (golint)
    • Line 2977: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 3000: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 3157: warning: exported method GatewayOpenapiServiceImpl.SetRuntimeEndpoint should have comment or be unexported (golint)
    • Line 3227: warning: exported method GatewayOpenapiServiceImpl.ClearRuntimeRoute should have comment or be unexported (golint)
    • erda/modules/pipeline/services/extmarketsvc/list.go
    • Line 28: warning: exported type SearchOption should have comment or be unexported (golint)
    • Line 32: warning: exported type OpOption should have comment or be unexported (golint)
    • Line 34: warning: exported function SearchActionWithRender should have comment or be unexported (golint)
    • Line 41: warning: comment on exported method ExtMarketSvc.SearchActions should be of the form "SearchActions ..." (golint)
    • erda/modules/hepa/repository/service/session_helper.go
    • Line 23: warning: exported type SessionHelper should have comment or be unexported (golint)
    • Line 29: warning: exported function NewSessionHelper should have comment or be unexported (golint)
    • Line 43: warning: exported method SessionHelper.GetSessionHelper should have comment or be unexported (golint)
    • Line 47: warning: exported method SessionHelper.Session should have comment or be unexported (golint)
    • Line 49: warning: exported method SessionHelper.Begin should have comment or be unexported (golint)
    • Line 65: warning: exported method SessionHelper.Commit should have comment or be unexported (golint)
    • Line 77: warning: exported method SessionHelper.Rollback should have comment or be unexported (golint)
    • Line 89: warning: exported method SessionHelper.Close should have comment or be unexported (golint)
    • erda/modules/orchestrator/services/addon/addon_status.go
    • Line 369: warning: comment on exported method Addon.BuildZookeeperServiceItem should be of the form "BuildZookeeperServiceItem ..." (golint)
    • Line 503: warning: comment on exported method Addon.BuildConsulServiceItem should be of the form "BuildConsulServiceItem ..." (golint)
    • Line 534: warning: comment on exported method Addon.BuildEsServiceItem should be of the form "BuildEsServiceItem ..." (golint)
    • Line 587: warning: comment on exported method Addon.BuildKafkaServiceItem should be of the form "BuildKafkaServiceItem ..." (golint)
    • Line 714: warning: exported method Addon.BuildRocketMqServiceItem should have comment or be unexported (golint)
    • Line 860: warning: comment on exported method Addon.BuildMysqlServiceItem should be of the form "BuildMysqlServiceItem ..." (golint)
    • Line 938: warning: exported method Addon.BuildESOperatorServiceItem should have comment or be unexported (golint)
    • Line 964: warning: comment on exported method Addon.BuildMysqlOperatorServiceItem should be of the form "BuildMysqlOperatorServiceItem ..." (golint)
    • Line 997: warning: comment on exported method Addon.BuildRedisServiceItem should be of the form "BuildRedisServiceItem ..." (golint)
    • Line 1085: warning: comment on exported method Addon.BuildRedisOperatorServiceItem should be of the form "BuildRedisOperatorServiceItem ..." (golint)
    • Line 1208: warning: comment on exported method Addon.BuildCanalServiceItem should be of the form "BuildCanalServiceItem ..." (golint)
    • Line 1460: warning: comment on exported function Min should be of the form "Min ..." (golint)
    • Line 1468: warning: comment on exported method Addon.DecryptPassword should be of the form "DecryptPassword ..." (golint)
    • erda/pkg/parser/pipelineyml/pipelineymlv1/put.go
    • Line 24: warning: exported type PutTask should have comment or be unexported (golint)
    • Line 31: warning: exported method PutTask.GetCustomTaskRunPathArgs should have comment or be unexported (golint)
    • Line 35: warning: exported method PutTask.GetTimeout should have comment or be unexported (golint)
    • Line 39: warning: exported method PutTask.GetStatus should have comment or be unexported (golint)
    • Line 43: warning: exported method PutTask.SetStatus should have comment or be unexported (golint)
    • Line 47: warning: exported method PutTask.GetTaskParams should have comment or be unexported (golint)
    • Line 51: warning: exported method PutTask.GetVersion should have comment or be unexported (golint)
    • Line 55: warning: exported method PutTask.GetTaskConfig should have comment or be unexported (golint)
    • Line 59: warning: exported method PutTask.GetResource should have comment or be unexported (golint)
    • Line 63: warning: exported method PutTask.IsDisable should have comment or be unexported (golint)
    • Line 70: warning: exported method PutTask.IsPause should have comment or be unexported (golint)
    • Line 77: warning: exported method PutTask.IsResourceTask should have comment or be unexported (golint)
    • Line 81: warning: exported method PutTask.GetResourceType should have comment or be unexported (golint)
    • Line 85: warning: exported method PutTask.GetEnvs should have comment or be unexported (golint)
    • Line 89: warning: comment on exported method PutTask.RequiredContext should be of the form "RequiredContext ..." (golint)
    • Line 101: warning: exported method PutTask.OutputToContext should have comment or be unexported (golint)
    • Line 105: warning: exported method PutTask.Name should have comment or be unexported (golint)
    • Line 109: warning: exported method PutTask.Type should have comment or be unexported (golint)
    • Line 113: warning: exported method PutTask.Validate should have comment or be unexported (golint)
    • erda/tools/cli/cmd/extensions.go
    • Line 36: warning: exported var EXT should have comment or be unexported (golint)
    • Line 46: warning: exported function RunExtensions should have comment or be unexported (golint)
    • Line 124: warning: exported type DockerConfig should have comment or be unexported (golint)
    • Line 128: warning: exported type DockerAuth should have comment or be unexported (golint)
    • erda/apistructs/cicd.go
    • Line 27: warning: comment on exported type CICDPipelineDetailRequest should be of the form "CICDPipelineDetailRequest ..." (with optional leading article) (golint)
    • Line 39: warning: comment on exported type CICDPipelineYmlListResponse should be of the form "CICDPipelineYmlListResponse ..." (with optional leading article) (golint)
    • erda/modules/orchestrator/endpoints/runtime.go
    • Line 83: warning: exported method Endpoints.CreateRuntimeByReleaseAction should have comment or be unexported (golint)
    • Line 156: warning: comment on exported method Endpoints.RedeployRuntimeAction should be of the form "RedeployRuntimeAction ..." (golint)
    • Line 202: warning: exported method Endpoints.RollbackRuntimeAction should have comment or be unexported (golint)
    • Line 231: warning: comment on exported method Endpoints.RollbackRuntime should be of the form "RollbackRuntime ..." (golint)
    • Line 316: warning: exported method Endpoints.GetRuntimeSpec should have comment or be unexported (golint)
    • Line 373: warning: comment on exported method Endpoints.RuntimeLogs should be of the form "RuntimeLogs ..." (golint)
    • Line 506: warning: exported method Endpoints.KillPod should have comment or be unexported (golint)
    • erda/bundle/autotest_sceneset.go
    • Line 24: warning: exported method Bundle.GetSceneSets should have comment or be unexported (golint)
    • Line 45: warning: exported method Bundle.GetSceneSet should have comment or be unexported (golint)
    • Line 64: warning: exported method Bundle.CreateSceneSet should have comment or be unexported (golint)
    • Line 85: warning: exported method Bundle.UpdateSceneSet should have comment or be unexported (golint)
    • Line 106: warning: exported method Bundle.DeleteSceneSet should have comment or be unexported (golint)
    • Line 127: warning: exported method Bundle.DragSceneSet should have comment or be unexported (golint)
    • erda/modules/eventbox/subscriber/fake/fake.go
    • Line 27: warning: exported const FakeTestFilePath should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported type FakeSubscriber should have comment or be unexported (golint)
    • Line 34: warning: exported function New should have comment or be unexported (golint)
    • Line 42: warning: exported method FakeSubscriber.Publish should have comment or be unexported (golint)
    • Line 52: warning: exported method FakeSubscriber.Status should have comment or be unexported (golint)
    • Line 56: warning: exported method FakeSubscriber.Name should have comment or be unexported (golint)
    • erda/apistructs/runtime_dto.go
    • Line 18: warning: exported type RuntimeInspectDTO should have comment or be unexported (golint)
    • Line 45: warning: exported type RuntimeInspectServiceDTO should have comment or be unexported (golint)
    • Line 55: warning: exported type RuntimeSummaryDTO should have comment or be unexported (golint)
    • Line 63: warning: exported type RuntimeDTO should have comment or be unexported (golint)
    • Line 79: warning: comment on exported type RuntimeServiceDTO should be of the form "RuntimeServiceDTO ..." (with optional leading article) (golint)
    • Line 92: warning: exported type RuntimeServiceDeploymentsDTO should have comment or be unexported (golint)
    • Line 96: warning: exported type RuntimeServiceResourceDTO should have comment or be unexported (golint)
    • Line 102: warning: comment on exported type RuntimeInstanceDTO should be of the form "RuntimeInstanceDTO ..." (with optional leading article) (golint)
    • Line 115: warning: exported type DeploymentStatusDTO should have comment or be unexported (golint)
    • Line 129: warning: comment on exported type DeploymentStatusRuntimeDTO should be of the form "DeploymentStatusRuntimeDTO ..." (with optional leading article) (golint)
    • Line 135: warning: comment on exported type DeploymentStatusRuntimeServiceDTO should be of the form "DeploymentStatusRuntimeServiceDTO ..." (with optional leading article) (golint)
    • Line 142: warning: exported type PreDiceDTO should have comment or be unexported (golint)
    • Line 148: warning: exported type DeploymentCreateResponseDTO should have comment or be unexported (golint)
    • Line 154: warning: exported type DeploymentCreateResponsePipelineDTO should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8s/daemonset/daemonset.go
    • Line 30: warning: exported type Daemonset should have comment or be unexported (golint)
    • Line 35: warning: exported type Option should have comment or be unexported (golint)
    • Line 45: warning: exported function New should have comment or be unexported (golint)
    • Line 53: warning: exported method Daemonset.Create should have comment or be unexported (golint)
    • Line 71: warning: exported method Daemonset.Get should have comment or be unexported (golint)
    • Line 94: warning: exported method Daemonset.List should have comment or be unexported (golint)
    • Line 128: warning: exported method Daemonset.Update should have comment or be unexported (golint)
    • Line 145: warning: exported method Daemonset.Delete should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_org_client_service.go
    • Line 29: warning: exported type GatewayOrgClientServiceImpl should have comment or be unexported (golint)
    • Line 37: warning: exported function NewGatewayOrgClientServiceImpl should have comment or be unexported (golint)
    • Line 68: warning: exported method GatewayOrgClientServiceImpl.Create should have comment or be unexported (golint)
    • Line 114: warning: exported method GatewayOrgClientServiceImpl.Delete should have comment or be unexported (golint)
    • Line 150: warning: exported method GatewayOrgClientServiceImpl.GetCredentials should have comment or be unexported (golint)
    • Line 176: warning: exported method GatewayOrgClientServiceImpl.UpdateCredentials should have comment or be unexported (golint)
    • Line 268: warning: exported method GatewayOrgClientServiceImpl.GrantPackage should have comment or be unexported (golint)
    • Line 317: warning: exported method GatewayOrgClientServiceImpl.CreateOrUpdateLimit should have comment or be unexported (golint)
    • Line 376: warning: exported method GatewayOrgClientServiceImpl.RevokePackage should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/index_length_linter.go
    • Line 37: warning: exported type IndexLengthLinter should have comment or be unexported (golint)
    • Line 41: warning: exported function NewIndexLengthLinter should have comment or be unexported (golint)
    • Line 45: warning: exported method IndexLengthLinter.Enter should have comment or be unexported (golint)
    • Line 246: warning: exported method IndexLengthLinter.Leave should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/varchar_length_linter.go
    • Line 27: warning: exported type VarcharLengthLinter should have comment or be unexported (golint)
    • Line 31: warning: exported function NewVarcharLengthLinter should have comment or be unexported (golint)
    • Line 35: warning: exported method VarcharLengthLinter.Enter should have comment or be unexported (golint)
    • Line 58: warning: exported method VarcharLengthLinter.Leave should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/emptyOrgContent/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyOrgContent should be emptyorgcontent (golint)
    • Line 29: warning: exported type EmptyOrgContent should have comment or be unexported (golint)
    • Line 36: warning: exported type Props should have comment or be unexported (golint)
    • Line 41: warning: exported type Value should have comment or be unexported (golint)
    • Line 46: warning: exported type PropValue should have comment or be unexported (golint)
    • Line 56: warning: exported method EmptyOrgContent.SetCtxBundle should have comment or be unexported (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 66: warning: exported method EmptyOrgContent.Render should have comment or be unexported (golint)
    • Line 214: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/apistructs/activities.go
    • Line 41: warning: comment on exported type ActivityListResponseData should be of the form "ActivityListResponseData ..." (with optional leading article) (golint)
    • erda/modules/dop/endpoints/client.go
    • Line 28: warning: comment on exported method Endpoints.CreateClient should be of the form "CreateClient ..." (golint)
    • Line 58: warning: comment on exported method Endpoints.ListMyClients should be of the form "ListMyClients ..." (golint)
    • Line 88: warning: comment on exported method Endpoints.GetClient should be of the form "GetClient ..." (golint)
    • Line 114: warning: exported method Endpoints.ListSwaggerClient should have comment or be unexported (golint)
    • Line 148: warning: exported method Endpoints.UpdateClient should have comment or be unexported (golint)
    • Line 186: warning: exported method Endpoints.DeleteClient should have comment or be unexported (golint)
    • erda/pkg/common/errors/server.go
    • Line 36: warning: exported method InternalServerError.HTTPStatus should have comment or be unexported (golint)
    • Line 37: warning: exported method InternalServerError.Translate should have comment or be unexported (golint)
    • Line 54: warning: exported method DataBaseError.HTTPStatus should have comment or be unexported (golint)
    • Line 55: warning: exported method DataBaseError.Translate should have comment or be unexported (golint)
    • Line 76: warning: exported method ServiceInvokingError.HTTPStatus should have comment or be unexported (golint)
    • Line 77: warning: exported method ServiceInvokingError.Translate should have comment or be unexported (golint)
    • Line 94: warning: exported method UnimplementedError.HTTPStatus should have comment or be unexported (golint)
    • Line 95: warning: exported method UnimplementedError.Translate should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/project-list-my/components/emptyText/model.go
    • Line 14: warning: don't use MixedCaps in package name; emptyText should be emptytext (golint)
    • Line 18: warning: exported type ComponentText should have comment or be unexported (golint)
    • Line 24: warning: exported type CommonText should have comment or be unexported (golint)
    • Line 33: warning: exported type Operation should have comment or be unexported (golint)
    • Line 40: warning: exported type Command should have comment or be unexported (golint)
    • Line 47: warning: exported type StyleConfig should have comment or be unexported (golint)
    • Line 52: warning: exported type Props should have comment or be unexported (golint)
    • Line 59: warning: exported type State should have comment or be unexported (golint)
    • erda/pkg/nexus/http.go
    • Line 26: warning: exported const HeaderAuthorization should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported var ErrNotFound should have comment or be unexported (golint)
    • Line 44: warning: exported function ErrNotOK should have comment or be unexported (golint)
    • erda/pkg/nexus/user.go
    • Line 28: warning: exported type UserID should have comment or be unexported (golint)
    • Line 30: warning: exported type UserSource should have comment or be unexported (golint)
    • Line 33: warning: exported var UserSourceDefault should have comment or be unexported (golint)
    • Line 36: warning: comment on exported type User should be of the form "User ..." (with optional leading article) (golint)
    • Line 61: warning: exported type UserListRequest should have comment or be unexported (golint)
    • Line 68: warning: exported type UserEnsureRequest should have comment or be unexported (golint)
    • Line 73: warning: exported type UserCreateRequest should have comment or be unexported (golint)
    • Line 92: warning: comment on exported type UserUpdateRequest should be of the form "UserUpdateRequest ..." (with optional leading article) (golint)
    • Line 105: warning: exported type UserChangePasswordRequest should have comment or be unexported (golint)
    • Line 110: warning: exported type UserStatus should have comment or be unexported (golint)
    • Line 113: warning: exported var UserStatusActive should have comment or be unexported (golint)
    • Line 119: warning: exported type EnsureDeploymentUserRequest should have comment or be unexported (golint)
    • Line 125: warning: exported type EnsureUserRequest should have comment or be unexported (golint)
    • Line 172: warning: exported method Nexus.GetUser should have comment or be unexported (golint)
    • Line 213: warning: exported method Nexus.UpdateUser should have comment or be unexported (golint)
    • Line 244: warning: exported method Nexus.ChangeUserPassword should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/project-list-all/components/list/list.go
    • Line 27: warning: exported function GetOpsInfo should have comment or be unexported (golint)
    • Line 47: warning: exported function RenItem should have comment or be unexported (golint)
    • Line 164: warning: exported method ComponentList.RenderList should have comment or be unexported (golint)
    • Line 209: warning: exported method ComponentList.RenderExist should have comment or be unexported (golint)
    • Line 225: warning: exported method ComponentList.RenderChangePageSize should have comment or be unexported (golint)
    • Line 235: warning: exported method ComponentList.RenderChangePageNo should have comment or be unexported (golint)
    • Line 244: warning: exported function CountActiveTime should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8s/type.go
    • Line 34: warning: comment on exported const AliyunRegistry should be of the form "AliyunRegistry ..." (golint)
    • Line 36: warning: exported const CustomRegistry should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: exported type StatefulsetInfo should have comment or be unexported (golint)
    • Line 60: warning: exported const ServiceType should have comment (or a comment on this block) or be unexported (golint)
    • erda/modules/scheduler/impl/volume/driver/localvolume.go
    • Line 25: warning: error var BadVolumeTypeNotLocalVolume should have name of the form ErrFoo (golint)
    • Line 25: warning: exported var BadVolumeTypeNotLocalVolume should have comment or be unexported (golint)
    • Line 26: warning: error var BadAttachDest should have name of the form ErrFoo (golint)
    • Line 27: warning: error var MultiAttachWithLocalVolume should have name of the form ErrFoo (golint)
    • Line 31: warning: exported const LocalVolumeHostPathPrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type LocalVolumeDriver should have comment or be unexported (golint)
    • Line 38: warning: exported function NewLocalVolumeDriver should have comment or be unexported (golint)
    • Line 42: warning: exported method LocalVolumeDriver.Type should have comment or be unexported (golint)
    • Line 46: warning: exported method LocalVolumeDriver.Create should have comment or be unexported (golint)
    • Line 53: warning: exported method LocalVolumeDriver.Info should have comment or be unexported (golint)
    • Line 57: warning: exported method LocalVolumeDriver.Attach should have comment or be unexported (golint)
    • Line 92: warning: exported method LocalVolumeDriver.UnAttach should have comment or be unexported (golint)
    • Line 115: warning: comment on exported method LocalVolumeDriver.Delete should be of the form "Delete ..." (golint)
    • erda/pkg/arrays/arrays.go
    • Line 16: warning: exported function Distinct should have comment or be unexported (golint)
    • Line 28: warning: exported function Concat should have comment or be unexported (golint)
    • erda/bundle/cloud_addon.go
    • Line 27: warning: exported method Bundle.CreateCloudAddon should have comment or be unexported (golint)
    • Line 56: warning: exported method Bundle.CreateCloudAddonWithInstance should have comment or be unexported (golint)
    • Line 85: warning: exported method Bundle.DeleteCloudAddon should have comment or be unexported (golint)
    • Line 114: warning: exported method Bundle.DeleteCloudAddonResource should have comment or be unexported (golint)
    • erda/modules/eventbox/dispatcher/filters/webhookfilter.go
    • Line 30: warning: exported type WebhookFilter should have comment or be unexported (golint)
    • Line 34: warning: exported function NewWebhookFilter should have comment or be unexported (golint)
    • Line 42: warning: exported method WebhookFilter.Name should have comment or be unexported (golint)
    • Line 46: warning: exported method WebhookFilter.Filter should have comment or be unexported (golint)
    • erda/modules/pipeline/pipengine/actionexecutor/plugins/memory/memory.go
    • Line 25: warning: exported const Kind should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported type Memory should have comment or be unexported (golint)
    • Line 42: warning: exported method Memory.Kind should have comment or be unexported (golint)
    • Line 46: warning: exported method Memory.Name should have comment or be unexported (golint)
    • Line 50: warning: exported method Memory.Exist should have comment or be unexported (golint)
    • Line 54: warning: exported method Memory.Create should have comment or be unexported (golint)
    • Line 58: warning: exported method Memory.Start should have comment or be unexported (golint)
    • Line 62: warning: exported method Memory.Update should have comment or be unexported (golint)
    • Line 66: warning: exported method Memory.Status should have comment or be unexported (golint)
    • Line 70: warning: exported method Memory.Inspect should have comment or be unexported (golint)
    • Line 74: warning: exported method Memory.Cancel should have comment or be unexported (golint)
    • Line 78: warning: exported method Memory.Remove should have comment or be unexported (golint)
    • Line 82: warning: exported method Memory.BatchDelete should have comment or be unexported (golint)
    • erda/modules/cmp/impl/mns/ecs.go
    • Line 30: warning: exported method Mns.GetInstancesInfo should have comment or be unexported (golint)
    • Line 69: warning: exported method Mns.GetInstancesPrivateIp should have comment or be unexported (golint)
    • Line 102: warning: exported method Mns.GetInstancesIDByPrivateIp should have comment or be unexported (golint)
    • erda/pkg/cron/parser.go
    • Line 24: warning: comment on exported type ParseOption should be of the form "ParseOption ..." (with optional leading article) (golint)
    • Line 31: warning: exported const Second should have comment (or a comment on this block) or be unexported (golint)
    • Line 59: warning: comment on exported type Parser should be of the form "Parser ..." (with optional leading article) (golint)
    • Line 65: warning: comment on exported function NewParser should be of the form "NewParser ..." (golint)
    • erda/modules/soldier/command/dump.go
    • Line 38: warning: exported type GetDumpRequest should have comment or be unexported (golint)
    • Line 47: warning: exported type Download should have comment or be unexported (golint)
    • Line 53: warning: exported type GetDumpResponse should have comment or be unexported (golint)
    • Line 58: warning: exported type DumpResult should have comment or be unexported (golint)
    • Line 65: warning: exported type DumpError should have comment or be unexported (golint)
    • Line 72: warning: exported type GetDumpStatusResponse should have comment or be unexported (golint)
    • Line 225: warning: exported method Download.FileCopy should have comment or be unexported (golint)
    • Line 404: warning: exported function DiceDownload should have comment or be unexported (golint)
    • Line 434: warning: exported function ReadDownloadResult should have comment or be unexported (golint)
    • Line 452: warning: exported function GetFileName should have comment or be unexported (golint)
    • erda/modules/dicehub/service/publish_item/offline_helper.go
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 43: warning: exported var ErrNoIcon should have comment or be unexported (golint)
    • Line 46: warning: exported type IOSPlist should have comment or be unexported (golint)
    • Line 54: warning: exported type CFBundleIcons should have comment or be unexported (golint)
    • Line 58: warning: exported type CFBundlePrimaryIcon should have comment or be unexported (golint)
    • Line 62: warning: exported type IosAppInfo should have comment or be unexported (golint)
    • Line 72: warning: exported type AndroidAppInfo should have comment or be unexported (golint)
    • Line 94: warning: exported method PublishItem.UploadFileFromReader should have comment or be unexported (golint)
    • Line 122: warning: exported method PublishItem.UploadFileFromFile should have comment or be unexported (golint)
    • Line 147: warning: exported function GetAndoridInfo should have comment or be unexported (golint)
    • Line 172: warning: exported function GetIosInfo should have comment or be unexported (golint)
    • Line 273: warning: exported function GenerateInstallPlist should have comment or be unexported (golint)
    • Line 316: warning: exported function GenrateTmpImagePath should have comment or be unexported (golint)
    • Line 320: warning: exported function SaveImageToFile should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/sonar.go
    • Line 71: warning: exported type TextRange should have comment or be unexported (golint)
    • Line 247: warning: exported function MetricsSonar should have comment or be unexported (golint)
    • Line 797: warning: comment on exported method Endpoints.GetSonarCredential should be of the form "GetSonarCredential ..." (golint)
    • erda/pkg/parser/diceyml/envVisitor.go
    • Line 14: warning: package comment should be of the form "Package diceyml ..." (golint)
    • Line 17: warning: exported type EnvVisitor should have comment or be unexported (golint)
    • Line 22: warning: exported function NewEnvVisitor should have comment or be unexported (golint)
    • Line 26: warning: exported method EnvVisitor.VisitObject should have comment or be unexported (golint)
    • Line 31: warning: exported method EnvVisitor.VisitService should have comment or be unexported (golint)
    • Line 43: warning: exported function ExpandGlobalEnv should have comment or be unexported (golint)
    • erda/pkg/database/sqlparser/migrator/service.go
    • Line 63: warning: exported method Module.Schema should have comment or be unexported (golint)
    • Line 73: warning: exported method Module.BaselineSchema should have comment or be unexported (golint)
    • Line 86: warning: exported method Module.TableNames should have comment or be unexported (golint)
    • Line 100: warning: exported method Module.BaselineTableNames should have comment or be unexported (golint)
    • Line 119: warning: exported method Module.Sort should have comment or be unexported (golint)
    • Line 128: warning: exported method Module.Filenames should have comment or be unexported (golint)
    • erda/modules/cmp/impl/nodes/query.go
    • Line 30: warning: exported method Nodes.Sync should have comment or be unexported (golint)
    • Line 81: warning: exported type RecordWithPipeline should have comment or be unexported (golint)
    • Line 86: warning: exported method Nodes.Merge should have comment or be unexported (golint)
    • Line 137: warning: exported method Nodes.Query should have comment or be unexported (golint)
    • Line 231: warning: exported method Nodes.UpdateCronJobRecord should have comment or be unexported (golint)
    • erda/apistructs/pipeline_actions.go
    • Line 22: warning: exported const EnvOpenapiTokenForActionBootstrap should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported const MetadataTypeDiceFile should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported type MetadataLevel should have comment or be unexported (golint)
    • Line 33: warning: exported var MetadataLevelError should have comment or be unexported (golint)
    • Line 39: warning: exported type MetadataField should have comment or be unexported (golint)
    • Line 48: warning: exported type Metadata should have comment or be unexported (golint)
    • Line 50: warning: exported type MetadataFieldType should have comment or be unexported (golint)
    • Line 53: warning: exported method MetadataField.GetLevel should have comment or be unexported (golint)
    • Line 78: warning: exported method Metadata.DedupByName should have comment or be unexported (golint)
    • Line 103: warning: exported type ActionCallback should have comment or be unexported (golint)
    • Line 118: warning: exported const ActionCallbackTypeLink should have comment (or a comment on this block) or be unexported (golint)
    • Line 128: warning: comment on exported type ActionDetailResponse should be of the form "ActionDetailResponse ..." (with optional leading article) (golint)
    • Line 134: warning: comment on exported type ActionListResponse should be of the form "ActionListResponse ..." (with optional leading article) (golint)
    • Line 140: warning: exported type ActionCreateResponse should have comment or be unexported (golint)
    • Line 145: warning: exported type ActionQueryResponse should have comment or be unexported (golint)
    • Line 150: warning: exported type ActionCreateRequest should have comment or be unexported (golint)
    • Line 164: warning: exported type ActionSetStatusResponse should have comment or be unexported (golint)
    • Line 168: warning: exported type ActionItem should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_zone_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayZoneServiceImpl should have comment or be unexported (golint)
    • Line 30: warning: exported function NewGatewayZoneServiceImpl should have comment or be unexported (golint)
    • Line 41: warning: exported method GatewayZoneServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 65: warning: exported method GatewayZoneServiceImpl.Update should have comment or be unexported (golint)
    • Line 76: warning: exported method GatewayZoneServiceImpl.Insert should have comment or be unexported (golint)
    • Line 87: warning: exported method GatewayZoneServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 106: warning: exported method GatewayZoneServiceImpl.SelectPolicyZones should have comment or be unexported (golint)
    • Line 118: warning: exported method GatewayZoneServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 134: warning: exported method GatewayZoneServiceImpl.GetById should have comment or be unexported (golint)
    • Line 149: warning: exported method GatewayZoneServiceImpl.DeleteById should have comment or be unexported (golint)
    • erda/modules/gittar/models/web_hook.go
    • Line 27: warning: exported const HOOK_EVENT_PUSH should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported const HOOK_TYPE_PROJECT should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported type WebHook should have comment or be unexported (golint)
    • Line 60: warning: exported var HookTaskQueue should have comment or be unexported (golint)
    • Line 62: warning: exported method Service.GetProjectHooks should have comment or be unexported (golint)
    • Line 74: warning: exported method Service.GetProjectHooksByEvent should have comment or be unexported (golint)
    • Line 86: warning: exported method Service.AddProjectHook should have comment or be unexported (golint)
    • Line 96: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 110: warning: exported method Service.RemoveProjectHooks should have comment or be unexported (golint)
    • Line 117: warning: exported method Service.CreateHookTask should have comment or be unexported (golint)
    • Line 132: warning: exported function AddToHookTaskQueue should have comment or be unexported (golint)
    • Line 136: warning: exported function StartHookTaskConsumer should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/nestedSceneSelect/render.go
    • Line 14: warning: don't use MixedCaps in package name; nestedSceneSelect should be nestedsceneselect (golint)
    • Line 26: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 46: warning: exported type Value should have comment or be unexported (golint)
    • Line 57: warning: exported type Data should have comment or be unexported (golint)
    • Line 61: warning: exported type StepValue should have comment or be unexported (golint)
    • Line 160: warning: exported method ComponentAction.SetBundle should have comment or be unexported (golint)
    • Line 169: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 169: warning: receiver name ca should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 225: warning: exported method ComponentAction.HandlerChangeValue should have comment or be unexported (golint)
    • Line 225: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 233: warning: exported method ComponentAction.HandlerDefaultValue should have comment or be unexported (golint)
    • Line 233: warning: receiver name i should be consistent with previous receiver name a for ComponentAction (golint)
    • Line 268: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/emptyProjectTitle/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyProjectTitle should be emptyprojecttitle (golint)
    • Line 29: warning: exported type EmptyProjectTitle should have comment or be unexported (golint)
    • Line 36: warning: exported type Props should have comment or be unexported (golint)
    • Line 42: warning: exported type State should have comment or be unexported (golint)
    • Line 46: warning: exported method EmptyProjectTitle.SetCtxBundle should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method EmptyProjectTitle.GenComponentState should have comment or be unexported (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 75: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: exported method EmptyProjectTitle.Render should have comment or be unexported (golint)
    • Line 174: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/pkg/nexus/blob_store.go
    • Line 24: warning: exported const DefaultBlobNetdataDir should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type BlobStore should have comment or be unexported (golint)
    • Line 37: warning: exported type BlobStoreType should have comment or be unexported (golint)
    • Line 40: warning: exported var BlobStoreTypeFile should have comment or be unexported (golint)
    • Line 44: warning: exported type BlobStoreSoftQuota should have comment or be unexported (golint)
    • Line 51: warning: exported type BlobStoreListRequest should have comment or be unexported (golint)
    • Line 54: warning: exported type BlobStoreDeleteRequest should have comment or be unexported (golint)
    • Line 58: warning: exported type FileBlobStoreCreateRequest should have comment or be unexported (golint)
    • Line 79: warning: exported type FileBlobStoreGetRequest should have comment or be unexported (golint)
    • Line 83: warning: exported type FileBlobStoreUpdateRequest should have comment or be unexported (golint)
    • Line 91: warning: exported method Nexus.ListBlobStore should have comment or be unexported (golint)
    • Line 111: warning: exported method Nexus.DeleteBlobStore should have comment or be unexported (golint)
    • Line 140: warning: exported method Nexus.CreateFileBlobStore should have comment or be unexported (golint)
    • Line 156: warning: exported method Nexus.GetFileBlobStore should have comment or be unexported (golint)
    • Line 176: warning: exported method Nexus.UpdateFileBlobStore should have comment or be unexported (golint)
    • erda/pkg/i18n/helper.go
    • Line 18: warning: exported const ZH should have comment or be unexported (golint)
    • Line 19: warning: exported const EN should have comment or be unexported (golint)
    • erda/modules/monitor/utils/strings.go
    • Line 28: warning: exported var APPLICATION_CONFIG_PATH should have comment or be unexported (golint)
    • Line 35: warning: exported function UUID should have comment or be unexported (golint)
    • Line 40: warning: exported function GetMD5Base64 should have comment or be unexported (golint)
    • Line 47: warning: exported function GetMD5Base64WithLegth should have comment or be unexported (golint)
    • Line 55: warning: exported function RandomString should have comment or be unexported (golint)
    • Line 63: warning: exported function StringToBytes should have comment or be unexported (golint)
    • erda/pkg/secret/validator/validator.go
    • Line 28: warning: exported type Result should have comment or be unexported (golint)
    • Line 33: warning: exported type Validator should have comment or be unexported (golint)
    • Line 38: warning: exported type HMACValidator should have comment or be unexported (golint)
    • Line 46: warning: exported type Option should have comment or be unexported (golint)
    • Line 48: warning: exported function WithMaxExpireInterval should have comment or be unexported (golint)
    • Line 54: warning: exported function NewHMACValidator should have comment or be unexported (golint)
    • Line 65: warning: exported method HMACValidator.Verify should have comment or be unexported (golint)
    • Line 80: warning: exported method HMACValidator.VerifySignString should have comment or be unexported (golint)
    • Line 133: warning: exported function GetAccessKeyID should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_domain_service.go
    • Line 18: warning: should not use dot imports (golint)
    • Line 25: warning: exported type GatewayDomainServiceImpl should have comment or be unexported (golint)
    • Line 31: warning: exported function NewGatewayDomainServiceImpl should have comment or be unexported (golint)
    • Line 42: warning: exported method GatewayDomainServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 65: warning: exported method GatewayDomainServiceImpl.Update should have comment or be unexported (golint)
    • Line 76: warning: exported method GatewayDomainServiceImpl.Insert should have comment or be unexported (golint)
    • Line 87: warning: exported method GatewayDomainServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 106: warning: exported method GatewayDomainServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 122: warning: exported method GatewayDomainServiceImpl.Get should have comment or be unexported (golint)
    • Line 137: warning: exported method GatewayDomainServiceImpl.Delete should have comment or be unexported (golint)
    • Line 148: warning: exported method GatewayDomainServiceImpl.DeleteByAny should have comment or be unexported (golint)
    • Line 163: warning: exported method GatewayDomainServiceImpl.Count should have comment or be unexported (golint)
    • Line 171: warning: exported method GatewayDomainServiceImpl.GetPage should have comment or be unexported (golint)
    • Line 188: warning: exported method GatewayDomainServiceImpl.SelectByOptions should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/visitor_env_insert.go
    • Line 16: warning: exported type EnvInsertVisitor should have comment or be unexported (golint)
    • Line 20: warning: exported function NewEnvInsertVisitor should have comment or be unexported (golint)
    • Line 24: warning: exported method EnvInsertVisitor.Visit should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/destruct_linter.go
    • Line 27: warning: exported type DestructLinter should have comment or be unexported (golint)
    • Line 31: warning: exported function NewDestructLinter should have comment or be unexported (golint)
    • Line 35: warning: exported method DestructLinter.Enter should have comment or be unexported (golint)
    • Line 83: warning: exported method DestructLinter.Leave should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/metronome/metronome.go
    • Line 110: warning: exported type Metronome should have comment or be unexported (golint)
    • Line 120: warning: exported method Metronome.Kind should have comment or be unexported (golint)
    • Line 124: warning: exported method Metronome.Name should have comment or be unexported (golint)
    • Line 128: warning: exported method Metronome.Create should have comment or be unexported (golint)
    • Line 191: warning: exported method Metronome.Destroy should have comment or be unexported (golint)
    • Line 232: warning: exported method Metronome.Status should have comment or be unexported (golint)
    • Line 309: warning: comment on exported method Metronome.Remove should be of the form "Remove ..." (golint)
    • Line 316: warning: exported method Metronome.CapacityInfo should have comment or be unexported (golint)
    • Line 349: warning: exported method Metronome.Update should have comment or be unexported (golint)
    • Line 353: warning: exported method Metronome.Inspect should have comment or be unexported (golint)
    • Line 357: warning: exported method Metronome.Cancel should have comment or be unexported (golint)
    • Line 360: warning: exported method Metronome.Precheck should have comment or be unexported (golint)
    • Line 360: warning: receiver name m should be consistent with previous receiver name c for Metronome (golint)
    • Line 594: warning: exported method Metronome.SetNodeLabels should have comment or be unexported (golint)
    • Line 594: warning: receiver name m should be consistent with previous receiver name c for Metronome (golint)
    • Line 597: warning: exported method Metronome.ResourceInfo should have comment or be unexported (golint)
    • Line 597: warning: receiver name m should be consistent with previous receiver name c for Metronome (golint)
    • Line 600: warning: exported method Metronome.CleanUpBeforeDelete should have comment or be unexported (golint)
    • Line 601: warning: exported method Metronome.JobVolumeCreate should have comment or be unexported (golint)
    • Line 605: warning: exported method Metronome.KillPod should have comment or be unexported (golint)
    • Line 609: warning: exported method Metronome.Scale should have comment or be unexported (golint)
    • erda/modules/core-services/conf/conf.go
    • Line 76: warning: comment on exported var OrgWhiteList should be of the form "OrgWhiteList ..." (golint)
    • Line 78: warning: comment on exported var RedirectPathList should be of the form "RedirectPathList ..." (golint)
    • Line 263: warning: comment on exported function RootDomainList should be of the form "RootDomainList ..." (golint)
    • Line 278: warning: comment on exported function LegacyUIDomain should be of the form "LegacyUIDomain ..." (golint)
    • Line 343: warning: exported function OryEnabled should have comment or be unexported (golint)
    • Line 347: warning: exported function OryKratosPrivateAddr should have comment or be unexported (golint)
    • Line 351: warning: exported function OryCompatibleClientID should have comment or be unexported (golint)
    • Line 355: warning: exported function OryCompatibleClientSecret should have comment or be unexported (golint)
    • Line 359: warning: exported function CreateOrgEnabled should have comment or be unexported (golint)
    • erda/modules/dicehub/endpoints/pipeline_template.go
    • Line 34: warning: exported method Endpoints.ApplyPipelineTemplate should have comment or be unexported (golint)
    • Line 50: warning: exported method Endpoints.CreatePipelineTemplate should have comment or be unexported (golint)
    • Line 66: warning: exported method Endpoints.QueryPipelineTemplates should have comment or be unexported (golint)
    • Line 112: warning: exported method Endpoints.GetPipelineTemplateVersion should have comment or be unexported (golint)
    • Line 173: warning: exported method Endpoints.QueryPipelineTemplateVersions should have comment or be unexported (golint)
    • Line 200: warning: exported method Endpoints.RenderPipelineTemplateBySpec should have comment or be unexported (golint)
    • Line 222: warning: exported method Endpoints.RenderPipelineTemplate should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_upstream_register_record_service.go
    • Line 18: warning: should not use dot imports (golint)
    • Line 25: warning: exported type GatewayUpstreamRegisterRecordServiceImpl should have comment or be unexported (golint)
    • Line 29: warning: exported function NewGatewayUpstreamRegisterRecordServiceImpl should have comment or be unexported (golint)
    • Line 37: warning: exported method GatewayUpstreamRegisterRecordServiceImpl.Insert should have comment or be unexported (golint)
    • Line 59: warning: exported method GatewayUpstreamRegisterRecordServiceImpl.GetPage should have comment or be unexported (golint)
    • Line 76: warning: exported method GatewayUpstreamRegisterRecordServiceImpl.Get should have comment or be unexported (golint)
    • erda/modules/orchestrator/dbclient/addon_prebuild.go
    • Line 24: warning: comment on exported type AddonPrebuild should be of the form "AddonPrebuild ..." (with optional leading article) (golint)
    • Line 45: warning: exported method AddonPrebuild.TableName should have comment or be unexported (golint)
    • Line 88: warning: comment on exported method DBClient.UpdateDeleteStatus should be of the form "UpdateDeleteStatus ..." (golint)
    • erda/modules/cmp/endpoints/kubernetes/endpoints.go
    • Line 32: warning: exported const NamespaceAll should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported type Endpoints should have comment or be unexported (golint)
    • Line 40: warning: exported type ListMetadata should have comment or be unexported (golint)
    • Line 44: warning: exported type ListSpec should have comment or be unexported (golint)
    • Line 48: warning: exported type Option should have comment or be unexported (golint)
    • Line 50: warning: exported function New should have comment or be unexported (golint)
    • Line 61: warning: exported method Endpoints.Routers should have comment or be unexported (golint)
    • Line 78: warning: exported method Endpoints.GetClient should have comment or be unexported (golint)
    • Line 106: warning: exported type PageInfo should have comment or be unexported (golint)
    • Line 111: warning: exported function GetPageInfo should have comment or be unexported (golint)
    • Line 134: warning: exported method Endpoints.GetFilterSlice should have comment or be unexported (golint)
    • Line 151: warning: exported method Endpoints.GetLimitSlice should have comment or be unexported (golint)
    • erda/modules/hepa/apipolicy/policies/proxy/dto.go
    • Line 21: warning: exported const ANNOTATION_REQ_BUFFER should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported type PolicyDto should have comment or be unexported (golint)
    • Line 43: warning: exported method PolicyDto.IsValidDto should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/orgImage/render.go
    • Line 14: warning: don't use MixedCaps in package name; orgImage should be orgimage (golint)
    • Line 26: warning: exported function RenderCreator should have comment or be unexported (golint)
    • Line 30: warning: exported type OrgImage should have comment or be unexported (golint)
    • Line 42: warning: exported type StyleNames should have comment or be unexported (golint)
    • Line 46: warning: exported method OrgImage.SetCtxBundle should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method OrgImage.Render should have comment or be unexported (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • erda/modules/pipeline/dbclient/op_pipeline_archives.go
    • Line 25: warning: exported method Client.CreatePipelineArchive should have comment or be unexported (golint)
    • Line 33: warning: exported method Client.GetPipelineArchiveByPipelineID should have comment or be unexported (golint)
    • Line 42: warning: exported method Client.GetPipelineFromArchive should have comment or be unexported (golint)
    • Line 57: warning: comment on exported method Client.GetPipelineIncludeArchive should be of the form "GetPipelineIncludeArchive ..." (golint)
    • Line 78: warning: exported method Client.GetPipelineTasksFromArchive should have comment or be unexported (golint)
    • Line 86: warning: comment on exported method Client.GetPipelineTasksIncludeArchive should be of the form "GetPipelineTasksIncludeArchive ..." (golint)
    • Line 107: warning: exported method Client.ArchivePipeline should have comment or be unexported (golint)
    • erda/pkg/swagger/load.go
    • Line 27: warning: exported function LoadFromData should have comment or be unexported (golint)
    • Line 43: warning: comment on exported function MarshalJSON should be of the form "MarshalJSON ..." (golint)
    • Line 48: warning: comment on exported function MarshalYAML should be of the form "MarshalYAML ..." (golint)
    • erda/pkg/cloudstorage/ossclient/ossclient.go
    • Line 25: warning: exported type OssClient should have comment or be unexported (golint)
    • Line 32: warning: exported function New should have comment or be unexported (golint)
    • Line 47: warning: exported method OssClient.UploadFile should have comment or be unexported (golint)
    • Line 62: warning: exported method OssClient.DownloadFile should have comment or be unexported (golint)
    • Line 88: warning: exported method OssClient.GetFileUrl should have comment or be unexported (golint)
    • Line 103: warning: exported method OssClient.HealthCheck should have comment or be unexported (golint)
    • erda/pkg/jsonstore/cacheetcd/cacheetcd.go
    • Line 14: warning: package comment should be of the form "Package cacheetcd ..." (golint)
    • Line 30: warning: exported type CacheEtcdStore should have comment or be unexported (golint)
    • Line 45: warning: exported function New should have comment or be unexported (golint)
    • Line 90: warning: don't use underscores in Go names; var kv_ should be kv (golint)
    • Line 101: warning: exported method CacheEtcdStore.Put should have comment or be unexported (golint)
    • Line 153: warning: exported method CacheEtcdStore.PutWithOption should have comment or be unexported (golint)
    • Line 157: warning: exported method CacheEtcdStore.Get should have comment or be unexported (golint)
    • Line 193: warning: exported method CacheEtcdStore.Remove should have comment or be unexported (golint)
    • Line 207: warning: exported method CacheEtcdStore.PrefixRemove should have comment or be unexported (golint)
    • Line 226: warning: comment on exported method CacheEtcdStore.PrefixGet should be of the form "PrefixGet ..." (golint)
    • Line 234: warning: comment on exported method CacheEtcdStore.PrefixGetKey should be of the form "PrefixGetKey ..." (golint)
    • Line 242: warning: exported method CacheEtcdStore.Watch should have comment or be unexported (golint)
    • erda/modules/core-services/endpoints/manual_review.go
    • Line 38: warning: exported method Endpoints.GetReviewByTaskId should have comment or be unexported (golint)
    • Line 55: warning: exported method Endpoints.CreateReviewUser should have comment or be unexported (golint)
    • Line 86: warning: exported method Endpoints.CreateReview should have comment or be unexported (golint)
    • Line 157: warning: exported method Endpoints.GetReviewsBySponsorId should have comment or be unexported (golint)
    • Line 195: warning: exported method Endpoints.GetReviewsByUserId should have comment or be unexported (golint)
    • Line 226: warning: exported method Endpoints.UpdateApproval should have comment or be unexported (golint)
    • Line 248: warning: exported method Endpoints.GetAuthorityByUserId should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_zone_in_package_service.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 24: warning: exported type GatewayZoneInPackageServiceImpl should have comment or be unexported (golint)
    • Line 30: warning: exported function NewGatewayZoneInPackageServiceImpl should have comment or be unexported (golint)
    • Line 41: warning: exported method GatewayZoneInPackageServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 64: warning: exported method GatewayZoneInPackageServiceImpl.Update should have comment or be unexported (golint)
    • Line 75: warning: exported method GatewayZoneInPackageServiceImpl.Insert should have comment or be unexported (golint)
    • Line 86: warning: exported method GatewayZoneInPackageServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 105: warning: exported method GatewayZoneInPackageServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 121: warning: exported method GatewayZoneInPackageServiceImpl.Get should have comment or be unexported (golint)
    • Line 136: warning: exported method GatewayZoneInPackageServiceImpl.Delete should have comment or be unexported (golint)
    • Line 147: warning: exported method GatewayZoneInPackageServiceImpl.DeleteByPackageId should have comment or be unexported (golint)
    • Line 158: warning: exported method GatewayZoneInPackageServiceImpl.SelectByZoneId should have comment or be unexported (golint)
    • Line 170: warning: exported method GatewayZoneInPackageServiceImpl.SelectByPackageId should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/dto/consumer_create_dto.go
    • Line 17: warning: exported const CT_PRO should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported type OpenConsumerDto should have comment or be unexported (golint)
    • Line 27: warning: exported type ConsumerCreateDto should have comment or be unexported (golint)
    • Line 36: warning: exported function NewConsumerCreateDto should have comment or be unexported (golint)
    • Line 40: warning: exported method ConsumerCreateDto.IsEmpty should have comment or be unexported (golint)
    • erda/pkg/parser/diceyml/fieldname_validate_visitor.go
    • Line 24: warning: exported type FieldnameValidateVisitor should have comment or be unexported (golint)
    • Line 32: warning: exported function NewFieldnameValidateVisitor should have comment or be unexported (golint)
    • Line 48: warning: exported method FieldnameValidateVisitor.VisitObject should have comment or be unexported (golint)
    • Line 61: warning: exported method FieldnameValidateVisitor.VisitServices should have comment or be unexported (golint)
    • Line 79: warning: exported method FieldnameValidateVisitor.VisitService should have comment or be unexported (golint)
    • Line 92: warning: exported method FieldnameValidateVisitor.VisitAddOns should have comment or be unexported (golint)
    • Line 115: warning: exported method FieldnameValidateVisitor.VisitResources should have comment or be unexported (golint)
    • Line 141: warning: exported method FieldnameValidateVisitor.VisitDeployments should have comment or be unexported (golint)
    • Line 158: warning: exported method FieldnameValidateVisitor.VisitHealthCheck should have comment or be unexported (golint)
    • Line 175: warning: exported method FieldnameValidateVisitor.VisitHTTPCheck should have comment or be unexported (golint)
    • Line 196: warning: exported method FieldnameValidateVisitor.VisitExecCheck should have comment or be unexported (golint)
    • Line 226: warning: exported function FieldnameValidate should have comment or be unexported (golint)
    • erda/modules/hepa/kong/v2/kong_adapter.go
    • Line 21: warning: should not use dot imports (golint)
    • Line 23: warning: should not use dot imports (golint)
    • Line 30: warning: exported const ConsumerRoot should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported var ErrInvalidReq should have comment or be unexported (golint)
    • Line 44: warning: exported type KongAdapterImpl should have comment or be unexported (golint)
    • Line 48: warning: exported method KongAdapterImpl.KongExist should have comment or be unexported (golint)
    • Line 55: warning: exported method KongAdapterImpl.GetPlugin should have comment or be unexported (golint)
    • Line 92: warning: exported method KongAdapterImpl.CreateOrUpdatePluginById should have comment or be unexported (golint)
    • Line 123: warning: exported method KongAdapterImpl.DeletePluginIfExist should have comment or be unexported (golint)
    • Line 142: warning: exported method KongAdapterImpl.CreateOrUpdatePlugin should have comment or be unexported (golint)
    • Line 163: warning: exported method KongAdapterImpl.AddPlugin should have comment or be unexported (golint)
    • Line 195: warning: exported method KongAdapterImpl.PutPlugin should have comment or be unexported (golint)
    • Line 227: warning: exported method KongAdapterImpl.UpdatePlugin should have comment or be unexported (golint)
    • Line 250: warning: exported method KongAdapterImpl.CreateCredential should have comment or be unexported (golint)
    • Line 280: warning: exported method KongAdapterImpl.GetCredentialList should have comment or be unexported (golint)
    • erda/apistructs/runtime_constant.go
    • Line 16: warning: exported type RuntimeSource should have comment or be unexported (golint)
    • Line 19: warning: exported const PIPELINE should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported const RuntimeStatusHealthy should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: comment on exported type DeploymentStatus should be of the form "DeploymentStatus ..." (with optional leading article) (golint)
    • Line 49: warning: exported const DeploymentStatusWaitApprove should have comment (or a comment on this block) or be unexported (golint)
    • Line 59: warning: exported type DeploymentPhase should have comment or be unexported (golint)
    • Line 62: warning: exported const DeploymentPhaseInit should have comment (or a comment on this block) or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/issue-manage/components/issueFilter/render.go
    • Line 14: warning: don't use MixedCaps in package name; issueFilter should be issuefilter (golint)
    • Line 27: warning: exported method ComponentFilter.GenComponentState should have comment or be unexported (golint)
    • Line 46: warning: exported method ComponentFilter.Render should have comment or be unexported (golint)
    • Line 46: warning: receiver name f should be consistent with previous receiver name i for ComponentFilter (golint)
    • Line 83: warning: exported method ComponentFilter.PostSetState should have comment or be unexported (golint)
    • Line 83: warning: receiver name f should be consistent with previous receiver name i for ComponentFilter (golint)
    • Line 109: warning: receiver name f should be consistent with previous receiver name i for ComponentFilter (golint)
    • Line 118: warning: exported method ComponentFilter.SetToProtocolComponent should have comment or be unexported (golint)
    • Line 118: warning: receiver name f should be consistent with previous receiver name i for ComponentFilter (golint)
    • Line 129: warning: exported method ComponentFilter.InitDefaultOperation should have comment or be unexported (golint)
    • Line 129: warning: receiver name f should be consistent with previous receiver name i for ComponentFilter (golint)
    • erda/apistructs/cmp_addon.go
    • Line 18: warning: comment on exported type AddonOpsBaseRequest should be of the form "AddonOpsBaseRequest ..." (with optional leading article) (golint)
    • Line 27: warning: comment on exported type AddonScaleRequest should be of the form "AddonScaleRequest ..." (with optional leading article) (golint)
    • Line 38: warning: exported type AddonScaleResponse should have comment or be unexported (golint)
    • Line 40: warning: comment on exported type ProjectQuotaCheckRequest should be of the form "ProjectQuotaCheckRequest ..." (with optional leading article) (golint)
    • Line 43: warning: exported type BaseResource should have comment or be unexported (golint)
    • Line 49: warning: exported type ProjectQuotaCheckResponse should have comment or be unexported (golint)
    • Line 55: warning: comment on exported type AddonConfigRequest should be of the form "AddonConfigRequest ..." (with optional leading article) (golint)
    • Line 60: warning: exported type AddonConfigResponse should have comment or be unexported (golint)
    • Line 65: warning: exported type AddonConfigData should have comment or be unexported (golint)
    • Line 76: warning: comment on exported type AddonConfigUpdateRequest should be of the form "AddonConfigUpdateRequest ..." (with optional leading article) (golint)
    • Line 84: warning: exported type AddonConfigUpdateResponse should have comment or be unexported (golint)
    • Line 86: warning: comment on exported type OpsAddonStatusResponse should be of the form "OpsAddonStatusResponse ..." (with optional leading article) (golint)
    • Line 92: warning: comment on exported type OpsAddonStatusQueryRequest should be of the form "OpsAddonStatusQueryRequest ..." (with optional leading article) (golint)
    • Line 98: warning: exported type OpsAddonStatusData should have comment or be unexported (golint)
    • erda/pkg/cloudstorage/minioclient/minioclient.go
    • Line 27: warning: exported type MinioClient should have comment or be unexported (golint)
    • Line 34: warning: exported function New should have comment or be unexported (golint)
    • Line 54: warning: exported method MinioClient.UploadFile should have comment or be unexported (golint)
    • Line 70: warning: exported method MinioClient.DownloadFile should have comment or be unexported (golint)
    • Line 89: warning: exported method MinioClient.GetFileUrl should have comment or be unexported (golint)
    • Line 100: warning: exported method MinioClient.HealthCheck should have comment or be unexported (golint)
    • erda/modules/dop/services/testset/recycle.go
    • Line 25: warning: exported method Service.Recycle should have comment or be unexported (golint)
    • Line 85: warning: exported method Service.CleanFromRecycleBin should have comment or be unexported (golint)
    • Line 148: warning: exported method Service.RecoverFromRecycleBin should have comment or be unexported (golint)
    • erda/modules/pkg/websocket/pubsub.go
    • Line 39: warning: exported type Subscriber should have comment or be unexported (golint)
    • Line 46: warning: exported function NewSubscriber should have comment or be unexported (golint)
    • Line 52: warning: don't use underscores in Go names; var js_ should be js (golint)
    • Line 68: warning: exported method Subscriber.Start should have comment or be unexported (golint)
    • Line 92: warning: exported method Subscriber.Stop should have comment or be unexported (golint)
    • Line 98: warning: exported type Publisher should have comment or be unexported (golint)
    • Line 102: warning: exported function NewPublisher should have comment or be unexported (golint)
    • Line 110: warning: exported method Publisher.EmitEvent should have comment or be unexported (golint)
    • erda/modules/dop/dbclient/sql.go
    • Line 16: warning: exported const DistinctAssetIDFromAccess should have comment or be unexported (golint)
    • Line 26: warning: exported const SelectFoundRows should have comment or be unexported (golint)
    • erda/modules/cmp/impl/ess/ess.go
    • Line 38: warning: exported const EssGroupNameSuff should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported type Ess should have comment or be unexported (golint)
    • Line 56: warning: exported type Config should have comment or be unexported (golint)
    • Line 70: warning: exported function New should have comment or be unexported (golint)
    • Line 315: warning: comment on exported method Ess.DeleteScheduledTasks should be of the form "DeleteScheduledTasks ..." (golint)
    • Line 357: warning: comment on exported method Ess.CreateScaleConf should be of the form "CreateScaleConf ..." (golint)
    • Line 528: warning: exported method Ess.AutoScale should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/cloud_resource_ons.go
    • Line 39: warning: comment on exported method Endpoints.DeleteOns should be of the form "DeleteOns ..." (golint)
    • Line 103: warning: exported method Endpoints.DeleteOnsTopic should have comment or be unexported (golint)
    • Line 181: warning: exported method Endpoints.ListOns should have comment or be unexported (golint)
    • Line 214: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 272: warning: exported method Endpoints.ListOnsGroup should have comment or be unexported (golint)
    • Line 314: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 356: warning: exported method Endpoints.ListOnsTopic should have comment or be unexported (golint)
    • Line 395: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 439: warning: exported method Endpoints.CreateOnsInstance should have comment or be unexported (golint)
    • Line 479: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 502: warning: exported method Endpoints.CreateOnsTopic should have comment or be unexported (golint)
    • Line 538: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 593: warning: exported method Endpoints.CreateOnsGroup should have comment or be unexported (golint)
    • Line 625: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • Line 646: warning: exported method Endpoints.CetOnsDetailInfo should have comment or be unexported (golint)
    • Line 683: warning: don't use underscores in Go names; var ak_ctx should be akCtx (golint)
    • erda/modules/monitor/core/logs/schema/manager.go
    • Line 40: warning: exported type LogSchema should have comment or be unexported (golint)
    • Line 45: warning: exported type CassandraSchema should have comment or be unexported (golint)
    • Line 52: warning: exported function NewCassandraSchema should have comment or be unexported (golint)
    • Line 70: warning: exported method CassandraSchema.Name should have comment or be unexported (golint)
    • Line 74: warning: exported method CassandraSchema.RunDaemon should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/issue-manage/components/issueTable/render.go
    • Line 14: warning: don't use MixedCaps in package name; issueTable should be issuetable (golint)
    • Line 36: warning: exported type Progress should have comment or be unexported (golint)
    • Line 40: warning: exported type Severity should have comment or be unexported (golint)
    • Line 48: warning: exported type Tag should have comment or be unexported (golint)
    • Line 52: warning: exported type Title should have comment or be unexported (golint)
    • Line 59: warning: exported type State should have comment or be unexported (golint)
    • Line 68: warning: exported type Priority should have comment or be unexported (golint)
    • Line 77: warning: exported type Deadline should have comment or be unexported (golint)
    • Line 86: warning: exported type Assignee should have comment or be unexported (golint)
    • Line 94: warning: exported type TableItem should have comment or be unexported (golint)
    • Line 109: warning: exported type ClosedAt should have comment or be unexported (golint)
    • Line 115: warning: exported type PriorityOperationData should have comment or be unexported (golint)
    • Line 121: warning: exported type DeadlineOperationData should have comment or be unexported (golint)
    • Line 127: warning: exported type StateOperationData should have comment or be unexported (golint)
    • Line 133: warning: exported type SeverityOperationData should have comment or be unexported (golint)
    • Line 139: warning: exported type AssigneeOperationData should have comment or be unexported (golint)
    • Line 146: warning: exported type ComponentAction should have comment or be unexported (golint)
    • Line 148: warning: exported method ComponentAction.Render should have comment or be unexported (golint)
    • Line 350: warning: don't use underscores in Go names; var urlquery_d should be urlqueryD (golint)
    • Line 728: warning: comment on exported method ComponentAction.CheckUserPermission should be of the form "CheckUserPermission ..." (golint)
    • Line 749: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/dop/dao/testplan_testcase_relation.go
    • Line 23: warning: comment on exported type TestPlanCaseRel should be of the form "TestPlanCaseRel ..." (with optional leading article) (golint)
    • Line 45: warning: exported method DBClient.BatchCreateTestPlanCaseRels should have comment or be unexported (golint)
    • Line 49: warning: exported method DBClient.GetTestPlanCaseRelByPlanIDAndCaseID should have comment or be unexported (golint)
    • Line 107: warning: comment on exported method DBClient.DeleteTestPlanCaseRelations should be of the form "DeleteTestPlanCaseRelations ..." (golint)
    • Line 116: warning: comment on exported method DBClient.DeleteTestPlanCaseRelationsByTestCaseIds should be of the form "DeleteTestPlanCaseRelationsByTestCaseIds ..." (golint)
    • Line 204: warning: exported method DBClient.ListTestPlanCaseRelsCount should have comment or be unexported (golint)
    • erda/modules/cmdb/dao/utlis.go
    • Line 28: warning: comment on exported type Int64Slice should be of the form "Int64Slice ..." (with optional leading article) (golint)
    • Line 43: warning: exported function SortInt64Map should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/components/filter/filter.go
    • Line 16: warning: exported type CommonFilter should have comment or be unexported (golint)
    • Line 24: warning: exported type Props should have comment or be unexported (golint)
    • Line 28: warning: exported type PropConditionKey should have comment or be unexported (golint)
    • Line 32: warning: exported type PropCondition should have comment or be unexported (golint)
    • Line 46: warning: exported type QuickSelect should have comment or be unexported (golint)
    • Line 51: warning: exported type PropConditionOption should have comment or be unexported (golint)
    • Line 57: warning: exported type PropConditionType should have comment or be unexported (golint)
    • Line 60: warning: exported var PropConditionTypeSelect should have comment or be unexported (golint)
    • Line 65: warning: exported type StateKey should have comment or be unexported (golint)
    • Line 67: warning: exported type OperationKey should have comment or be unexported (golint)
    • Line 68: warning: exported type Operation should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/not_null_linter.go
    • Line 26: warning: exported type NotNullLinter should have comment or be unexported (golint)
    • Line 30: warning: exported function NewNotNullLinter should have comment or be unexported (golint)
    • Line 34: warning: exported method NotNullLinter.Enter should have comment or be unexported (golint)
    • Line 67: warning: exported method NotNullLinter.Leave should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/eip/eip.go
    • Line 27: warning: exported function ListByCluster should have comment or be unexported (golint)
    • Line 42: warning: exported function DescribeResource should have comment or be unexported (golint)
    • Line 89: warning: exported function GetEipIDByNat should have comment or be unexported (golint)
    • Line 112: warning: exported function GetEipIDBySlb should have comment or be unexported (golint)
    • Line 135: warning: exported function TagResource should have comment or be unexported (golint)
    • erda/modules/eventbox/register/http.go
    • Line 28: warning: exported type PutRequest should have comment or be unexported (golint)
    • Line 33: warning: exported type DelRequest should have comment or be unexported (golint)
    • Line 37: warning: exported type GetResponseContent should have comment or be unexported (golint)
    • Line 39: warning: exported type RegisterHTTP should have comment or be unexported (golint)
    • Line 43: warning: exported function NewHTTP should have comment or be unexported (golint)
    • Line 49: warning: exported method RegisterHTTP.Put should have comment or be unexported (golint)
    • Line 72: warning: exported method RegisterHTTP.PrefixGet should have comment or be unexported (golint)
    • Line 95: warning: exported method RegisterHTTP.Del should have comment or be unexported (golint)
    • Line 116: warning: exported method RegisterHTTP.GetHTTPEndPoints should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/kubernetes/namespace.go
    • Line 30: warning: exported type NamespaceList should have comment or be unexported (golint)
    • Line 35: warning: exported method Endpoints.NamespaceRouters should have comment or be unexported (golint)
    • Line 65: warning: exported method Endpoints.ListNamespace should have comment or be unexported (golint)
    • Line 119: warning: exported method Endpoints.GetNamespace should have comment or be unexported (golint)
    • Line 146: warning: exported method Endpoints.CreateNamespace should have comment or be unexported (golint)
    • Line 173: warning: exported method Endpoints.UpdateNamespace should have comment or be unexported (golint)
    • Line 211: warning: exported method Endpoints.DeleteNamespace should have comment or be unexported (golint)
    • erda/modules/msp/apm/checker/task/fetcher/scheduled/dispatcher.go
    • Line 26: warning: comment on exported type Dispatcher should be of the form "Dispatcher ..." (with optional leading article) (golint)
    • Line 39: warning: exported function NewDispatcher should have comment or be unexported (golint)
    • Line 50: warning: exported method Dispatcher.Run should have comment or be unexported (golint)
    • Line 125: warning: exported method Dispatcher.Watch should have comment or be unexported (golint)
    • Line 137: warning: exported method Dispatcher.Put should have comment or be unexported (golint)
    • Line 141: warning: exported method Dispatcher.Remove should have comment or be unexported (golint)
    • erda/modules/pipeline/aop/aoptypes/tunepoint.go
    • Line 20: warning: exported const TuneTypePipeline should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: exported const TuneTriggerPipelineBeforeExec should have comment (or a comment on this block) or be unexported (golint)
    • Line 53: warning: exported type PipelineBaseTunePoint should have comment or be unexported (golint)
    • Line 54: warning: exported type TaskBaseTunePoint should have comment or be unexported (golint)
    • Line 56: warning: exported method PipelineBaseTunePoint.Type should have comment or be unexported (golint)
    • Line 57: warning: exported method TaskBaseTunePoint.Type should have comment or be unexported (golint)
    • erda/modules/orchestrator/utils/deployment_utils.go
    • Line 28: warning: exported function ConvertToLegacyDice should have comment or be unexported (golint)
    • Line 101: warning: exported function ApplyOverlay should have comment or be unexported (golint)
    • Line 110: warning: don't use underscores in Go names; func applyOverlay_ should be applyOverlay (golint)
    • Line 119: warning: don't use underscores in Go names; func applyOverlay__ should be applyOverlay (golint)
    • Line 140: warning: don't use underscores in Go names; func applyOverlayJobs__ should be applyOverlayJobs (golint)
    • Line 160: warning: exported function AppendEnv should have comment or be unexported (golint)
    • Line 169: warning: exported function ConvertServiceLabels should have comment or be unexported (golint)
    • Line 184: warning: exported function ConvertHealthCheck should have comment or be unexported (golint)
    • Line 207: warning: exported function ConvertBinds should have comment or be unexported (golint)
    • Line 254: warning: exported function BuildVolumeRootDir should have comment or be unexported (golint)
    • Line 258: warning: exported function BuildDiscoveryConfig should have comment or be unexported (golint)
    • erda/modules/pipeline/services/buildartifactsvc/define.go
    • Line 33: warning: exported type BuildArtifactSvc should have comment or be unexported (golint)
    • Line 37: warning: exported function New should have comment or be unexported (golint)
    • Line 43: warning: exported method BuildArtifactSvc.Query should have comment or be unexported (golint)
    • Line 76: warning: exported method BuildArtifactSvc.Register should have comment or be unexported (golint)
    • Line 87: warning: exported method BuildArtifactSvc.Delete should have comment or be unexported (golint)
    • Line 116: warning: exported type ModuleImage should have comment or be unexported (golint)
    • erda/bundle/pipeline.go
    • Line 69: warning: exported method Bundle.GetPipelineV2 should have comment or be unexported (golint)
    • Line 90: warning: exported method Bundle.GetPipeline should have comment or be unexported (golint)
    • Line 110: warning: exported method Bundle.PageListPipeline should have comment or be unexported (golint)
    • Line 131: warning: exported method Bundle.OperatePipeline should have comment or be unexported (golint)
    • Line 151: warning: exported method Bundle.DeletePipeline should have comment or be unexported (golint)
    • Line 171: warning: exported method Bundle.RunPipeline should have comment or be unexported (golint)
    • Line 192: warning: exported method Bundle.CancelPipeline should have comment or be unexported (golint)
    • Line 212: warning: exported method Bundle.RerunPipeline should have comment or be unexported (golint)
    • Line 233: warning: exported method Bundle.RerunFailedPipeline should have comment or be unexported (golint)
    • Line 254: warning: exported method Bundle.GetPipelineTask should have comment or be unexported (golint)
    • Line 274: warning: exported method Bundle.StartPipelineCron should have comment or be unexported (golint)
    • Line 294: warning: exported method Bundle.StopPipelineCron should have comment or be unexported (golint)
    • Line 314: warning: exported method Bundle.PageListPipelineCrons should have comment or be unexported (golint)
    • Line 335: warning: exported method Bundle.CreatePipelineCron should have comment or be unexported (golint)
    • Line 356: warning: exported method Bundle.DeletePipelineCron should have comment or be unexported (golint)
    • Line 376: warning: exported method Bundle.GetPipelineCron should have comment or be unexported (golint)
    • erda/modules/cmp/endpoints/kubernetes/statefulset.go
    • Line 29: warning: exported type StatefulSetList should have comment or be unexported (golint)
    • Line 34: warning: exported method Endpoints.StatefulSetRouters should have comment or be unexported (golint)
    • Line 64: warning: exported method Endpoints.ListStatefulSet should have comment or be unexported (golint)
    • Line 109: warning: exported method Endpoints.GetStatefulSet should have comment or be unexported (golint)
    • Line 140: warning: exported method Endpoints.CreateStatefulSet should have comment or be unexported (golint)
    • Line 172: warning: exported method Endpoints.UpdateStatefulSet should have comment or be unexported (golint)
    • Line 218: warning: exported method Endpoints.DeleteStatefulSet should have comment or be unexported (golint)
    • erda/modules/hepa/repository/service/gateway_package_api_service.go
    • Line 23: warning: should not use dot imports (golint)
    • Line 27: warning: exported type GatewayPackageApiServiceImpl should have comment or be unexported (golint)
    • Line 33: warning: exported function NewGatewayPackageApiServiceImpl should have comment or be unexported (golint)
    • Line 44: warning: exported method GatewayPackageApiServiceImpl.NewSession should have comment or be unexported (golint)
    • Line 67: warning: exported method GatewayPackageApiServiceImpl.Update should have comment or be unexported (golint)
    • Line 78: warning: exported method GatewayPackageApiServiceImpl.Insert should have comment or be unexported (golint)
    • Line 89: warning: exported method GatewayPackageApiServiceImpl.GetByAny should have comment or be unexported (golint)
    • Line 108: warning: exported method GatewayPackageApiServiceImpl.GetRawByAny should have comment or be unexported (golint)
    • Line 127: warning: exported method GatewayPackageApiServiceImpl.SelectByAny should have comment or be unexported (golint)
    • Line 143: warning: exported method GatewayPackageApiServiceImpl.Get should have comment or be unexported (golint)
    • Line 158: warning: exported method GatewayPackageApiServiceImpl.Delete should have comment or be unexported (golint)
    • Line 169: warning: exported method GatewayPackageApiServiceImpl.DeleteByPackageDiceApi should have comment or be unexported (golint)
    • Line 181: warning: exported method GatewayPackageApiServiceImpl.DeleteByPackageId should have comment or be unexported (golint)
    • Line 192: warning: exported method GatewayPackageApiServiceImpl.GetPage should have comment or be unexported (golint)
    • Line 209: warning: exported method GatewayPackageApiServiceImpl.Count should have comment or be unexported (golint)
    • Line 217: warning: exported method GatewayPackageApiServiceImpl.CheckUnique should have comment or be unexported (golint)
    • erda/modules/scheduler/executor/plugins/k8s/nodelabel/nodelabel.go
    • Line 25: warning: exported type NodeLabel should have comment or be unexported (golint)
    • Line 30: warning: exported function New should have comment or be unexported (golint)
    • Line 37: warning: exported method NodeLabel.List should have comment or be unexported (golint)
    • Line 53: warning: exported method NodeLabel.Get should have comment or be unexported (golint)
    • Line 70: warning: exported method NodeLabel.Set should have comment or be unexported (golint)
    • erda/modules/dop/services/projectpipelinefiletree/filetree.go
    • Line 28: warning: comment on exported type FileTree should be of the form "FileTree ..." (with optional leading article) (golint)
    • Line 54: warning: exported function WithFileTreeSvc should have comment or be unexported (golint)
    • Line 60: warning: exported function WithAutoTestSvc should have comment or be unexported (golint)
    • Line 66: warning: exported method FileTree.ListFileTreeNodes should have comment or be unexported (golint)
    • Line 108: warning: exported method FileTree.GetFileTreeNode should have comment or be unexported (golint)
    • Line 149: warning: exported method FileTree.FuzzySearchFileTreeNodes should have comment or be unexported (golint)
    • Line 180: warning: exported method FileTree.DeleteFileTreeNode should have comment or be unexported (golint)
    • Line 205: warning: exported method FileTree.CreateFileTreeNode should have comment or be unexported (golint)
    • Line 231: warning: exported method FileTree.FindFileTreeNodeAncestors should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/emptyOrgTitle/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyOrgTitle should be emptyorgtitle (golint)
    • Line 27: warning: exported type EmptyOrgTitle should have comment or be unexported (golint)
    • Line 33: warning: exported type Props should have comment or be unexported (golint)
    • Line 39: warning: exported method EmptyOrgTitle.SetCtxBundle should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: exported method EmptyOrgTitle.Render should have comment or be unexported (golint)
    • Line 63: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/pkg/ucauth/user_admin.go
    • Line 41: warning: exported type UcUser should have comment or be unexported (golint)
    • Line 124: warning: exported method UCClient.FuzzSearchUserByName should have comment or be unexported (golint)
    • erda/apistructs/pipeline_task.go
    • Line 20: warning: exported type PipelineTaskDTO should have comment or be unexported (golint)
    • Line 45: warning: exported type PipelineTaskExtra should have comment or be unexported (golint)
    • Line 50: warning: exported type PipelineTaskResult should have comment or be unexported (golint)
    • Line 56: warning: exported type PipelineTaskSnippetDetail should have comment or be unexported (golint)
    • Line 67: warning: exported type PipelineTaskGetResponse should have comment or be unexported (golint)
    • Line 72: warning: exported type PipelineTaskGetBootstrapInfoResponse should have comment or be unexported (golint)
    • Line 77: warning: exported type PipelineTaskGetBootstrapInfoResponseData should have comment or be unexported (golint)
    • Line 81: warning: exported type PipelineTaskMachineStat should have comment or be unexported (golint)
    • Line 88: warning: exported type PipelineTaskMachineHostStat should have comment or be unexported (golint)
    • Line 99: warning: exported type PipelineTaskMachinePodStat should have comment or be unexported (golint)
    • Line 102: warning: exported type PipelineTaskMachineLoadStat should have comment or be unexported (golint)
    • Line 107: warning: exported type PipelineTaskMachineMemStat should have comment or be unexported (golint)
    • Line 116: warning: exported type PipelineTaskMachineSwapStat should have comment or be unexported (golint)
    • Line 123: warning: exported const TaskLoopTimeBegin should have comment or be unexported (golint)
    • Line 125: warning: exported type PipelineTaskLoopOptions should have comment or be unexported (golint)
    • Line 132: warning: exported type PipelineTaskLoop should have comment or be unexported (golint)
    • Line 137: warning: exported method PipelineTaskLoop.Duplicate should have comment or be unexported (golint)
    • Line 155: warning: exported var PipelineTaskDefaultLoopStrategy should have comment or be unexported (golint)
    • Line 162: warning: comment on exported type PipelineTaskPriority should be of the form "PipelineTaskPriority ..." (with optional leading article) (golint)
    • Line 182: warning: exported type PipelineTaskPriorityV1Item should have comment or be unexported (golint)
    • erda/modules/cmp/impl/aliyun-resources/rds/rds.go
    • Line 36: warning: exported type DescribeDBInstancesResponse should have comment or be unexported (golint)
    • Line 41: warning: exported type DBInstanceInDescribeDBInstancesWithTag should have comment or be unexported (golint)
    • Line 46: warning: exported function GetChargeType should have comment or be unexported (golint)
    • Line 56: warning: exported function List should have comment or be unexported (golint)
    • Line 88: warning: exported function ListByCluster should have comment or be unexported (golint)
    • Line 97: warning: exported function DescribeResource should have comment or be unexported (golint)
    • Line 155: warning: exported function GetInstanceDetailInfo should have comment or be unexported (golint)
    • Line 184: warning: comment on exported function GetInstanceFullDetailInfo should be of the form "GetInstanceFullDetailInfo ..." (golint)
    • Line 326: warning: exported function DescribeInstanceAttribute should have comment or be unexported (golint)
    • Line 352: warning: comment on exported function DescribeDBInstanceNetInfo should be of the form "DescribeDBInstanceNetInfo ..." (golint)
    • Line 379: warning: comment on exported function DescribeDBInstanceResourceUsage should be of the form "DescribeDBInstanceResourceUsage ..." (golint)
    • Line 406: warning: comment on exported function DescribeDBInfo should be of the form "DescribeDBInfo ..." (golint)
    • Line 427: warning: exported function OverwriteTags should have comment or be unexported (golint)
    • Line 456: warning: exported function TagResource should have comment or be unexported (golint)
    • Line 489: warning: exported function UnTag should have comment or be unexported (golint)
    • Line 517: warning: exported function DescribeTags should have comment or be unexported (golint)
    • Line 538: warning: exported function Classify should have comment or be unexported (golint)
    • erda/modules/dop/dao/file_records.go
    • Line 28: warning: exported type TestFileRecord should have comment or be unexported (golint)
    • Line 40: warning: exported type TestFileExtra should have comment or be unexported (golint)
    • Line 42: warning: exported method TestFileExtra.Value should have comment or be unexported (golint)
    • Line 45: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 50: warning: exported method TestFileExtra.Scan should have comment or be unexported (golint)
    • Line 67: warning: comment on exported method TestFileRecord.TableName should be of the form "TableName ..." (golint)
    • Line 72: warning: comment on exported method DBClient.CreateRecord should be of the form "CreateRecord ..." (golint)
    • Line 77: warning: comment on exported method DBClient.GetRecord should be of the form "GetRecord ..." (golint)
    • Line 86: warning: comment on exported method DBClient.ListRecordsByProject should be of the form "ListRecordsByProject ..." (golint)
    • Line 101: warning: comment on exported method DBClient.UpdateRecord should be of the form "UpdateRecord ..." (golint)
    • Line 106: warning: exported method DBClient.FirstFileReady should have comment or be unexported (golint)
    • Line 127: warning: exported method DBClient.BatchUpdateRecords should have comment or be unexported (golint)
    • Line 131: warning: exported type FileUUIDStr should have comment or be unexported (golint)
    • Line 135: warning: exported method DBClient.DeleteFileRecordByTime should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/project-list-all/components/list/model.go
    • Line 20: warning: exported type ComponentList should have comment or be unexported (golint)
    • Line 26: warning: exported type CommonList should have comment or be unexported (golint)
    • Line 36: warning: exported type Props should have comment or be unexported (golint)
    • Line 40: warning: exported type Data should have comment or be unexported (golint)
    • Line 44: warning: exported type State should have comment or be unexported (golint)
    • Line 52: warning: exported type ProItem should have comment or be unexported (golint)
    • Line 62: warning: exported type ExtraInfos should have comment or be unexported (golint)
    • Line 69: warning: exported type Command should have comment or be unexported (golint)
    • Line 74: warning: exported type PageSizeNo should have comment or be unexported (golint)
    • Line 79: warning: exported type Meta should have comment or be unexported (golint)
    • Line 87: warning: exported type Operation should have comment or be unexported (golint)
    • erda/pkg/aliyunclient/client.go
    • Line 51: warning: exported var DefaultUserAgent should have comment or be unexported (golint)
    • Line 83: warning: exported method Client.Init should have comment or be unexported (golint)
    • Line 87: warning: exported method Client.SetEndpointRules should have comment or be unexported (golint)
    • Line 93: warning: exported method Client.SetHTTPSInsecure should have comment or be unexported (golint)
    • Line 97: warning: exported method Client.GetHTTPSInsecure should have comment or be unexported (golint)
    • Line 101: warning: exported method Client.SetHttpsProxy should have comment or be unexported (golint)
    • Line 105: warning: exported method Client.GetHttpsProxy should have comment or be unexported (golint)
    • Line 109: warning: exported method Client.SetHttpProxy should have comment or be unexported (golint)
    • Line 113: warning: exported method Client.GetHttpProxy should have comment or be unexported (golint)
    • Line 117: warning: exported method Client.SetNoProxy should have comment or be unexported (golint)
    • Line 121: warning: exported method Client.GetNoProxy should have comment or be unexported (golint)
    • Line 125: warning: exported method Client.SetTransport should have comment or be unexported (golint)
    • Line 145: warning: exported method Client.InitWithOptions should have comment or be unexported (golint)
    • Line 171: warning: exported method Client.SetReadTimeout should have comment or be unexported (golint)
    • Line 175: warning: exported method Client.SetConnectTimeout should have comment or be unexported (golint)
    • Line 179: warning: exported method Client.GetReadTimeout should have comment or be unexported (golint)
    • Line 183: warning: exported method Client.GetConnectTimeout should have comment or be unexported (golint)
    • Line 239: warning: exported method Client.InitWithAccessKey should have comment or be unexported (golint)
    • Line 248: warning: exported method Client.InitWithStsToken should have comment or be unexported (golint)
    • Line 258: warning: exported method Client.InitWithRamRoleArn should have comment or be unexported (golint)
    • Line 269: warning: exported method Client.InitWithRamRoleArnAndPolicy should have comment or be unexported (golint)
    • Line 281: warning: exported method Client.InitWithRsaKeyPair should have comment or be unexported (golint)
    • Line 291: warning: exported method Client.InitWithEcsRamRole should have comment or be unexported (golint)
    • Line 299: warning: exported method Client.InitWithBearerToken should have comment or be unexported (golint)
    • Line 307: warning: exported method Client.InitClientConfig should have comment or be unexported (golint)
    • Line 310: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 315: warning: exported method Client.GetActionResponse should have comment or be unexported (golint)
    • Line 433: warning: exported method Client.DoAction should have comment or be unexported (golint)
    • Line 437: warning: exported method Client.GetEndpointRules should have comment or be unexported (golint)
    • Line 552: warning: exported method Client.AppendUserAgent should have comment or be unexported (golint)
    • Line 571: warning: exported method Client.BuildRequestWithSigner should have comment or be unexported (golint)
    • Line 600: warning: exported function Timeout should have comment or be unexported (golint)
    • Line 631: warning: exported method Client.DoActionWithSigner should have comment or be unexported (golint)
    • Line 801: warning: comment on exported method Client.AddAsyncTask should be of the form "AddAsyncTask ..." (golint)
    • Line 819: warning: exported method Client.GetConfig should have comment or be unexported (golint)
    • Line 823: warning: exported method Client.GetSigner should have comment or be unexported (golint)
    • Line 827: warning: exported method Client.SetSigner should have comment or be unexported (golint)
    • Line 831: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 837: warning: exported function NewClientWithProvider should have comment or be unexported (golint)
    • Line 849: warning: exported function NewClientWithOptions should have comment or be unexported (golint)
    • Line 855: warning: exported function NewClientWithAccessKey should have comment or be unexported (golint)
    • Line 861: warning: exported function NewClientWithStsToken should have comment or be unexported (golint)
    • Line 867: warning: exported function NewClientWithRamRoleArn should have comment or be unexported (golint)
    • Line 873: warning: exported function NewClientWithRamRoleArnAndPolicy should have comment or be unexported (golint)
    • Line 879: warning: exported function NewClientWithEcsRamRole should have comment or be unexported (golint)
    • Line 885: warning: exported function NewClientWithRsaKeyPair should have comment or be unexported (golint)
    • Line 891: warning: exported function NewClientWithBearerToken should have comment or be unexported (golint)
    • Line 897: warning: exported method Client.ProcessCommonRequest should have comment or be unexported (golint)
    • Line 904: warning: exported method Client.ProcessCommonRequestWithSigner should have comment or be unexported (golint)
    • Line 914: warning: exported method Client.Shutdown should have comment or be unexported (golint)
    • Line 924: warning: comment on exported function NewClientWithStsRoleArn should be of the form "NewClientWithStsRoleArn ..." (golint)
    • Line 929: warning: comment on exported function NewClientWithStsRoleNameOnEcs should be of the form "NewClientWithStsRoleNameOnEcs ..." (golint)
    • erda/modules/hepa/apipolicy/policies/server-guard/dto.go
    • Line 25: warning: exported const LIMIT_INNER_STATUS should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: exported type PolicyDto should have comment or be unexported (golint)
    • Line 36: warning: exported method PolicyDto.IsValidDto should have comment or be unexported (golint)
    • Line 57: warning: exported method PolicyDto.AdjustDto should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/emptyProjectContent/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyProjectContent should be emptyprojectcontent (golint)
    • Line 29: warning: exported type EmptyProjectContent should have comment or be unexported (golint)
    • Line 36: warning: exported type State should have comment or be unexported (golint)
    • Line 40: warning: exported method EmptyProjectContent.SetCtxBundle should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: exported method EmptyProjectContent.GenComponentState should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: exported method EmptyProjectContent.Render should have comment or be unexported (golint)
    • Line 335: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/pkg/structparser/node.go
    • Line 149: warning: exported method BoolNode.Type should have comment or be unexported (golint)
    • Line 150: warning: exported method IntNode.Type should have comment or be unexported (golint)
    • Line 151: warning: exported method Int64Node.Type should have comment or be unexported (golint)
    • Line 152: warning: exported method FloatNode.Type should have comment or be unexported (golint)
    • Line 153: warning: exported method SliceNode.Type should have comment or be unexported (golint)
    • Line 154: warning: exported method MapNode.Type should have comment or be unexported (golint)
    • Line 155: warning: exported method PtrNode.Type should have comment or be unexported (golint)
    • Line 156: warning: exported method StringNode.Type should have comment or be unexported (golint)
    • Line 157: warning: exported method StructNode.Type should have comment or be unexported (golint)
    • Line 235: warning: exported method SliceNode.Compress should have comment or be unexported (golint)
    • Line 242: warning: exported method MapNode.Compress should have comment or be unexported (golint)
    • Line 245: warning: exported method BoolNode.Compress should have comment or be unexported (golint)
    • Line 248: warning: exported method IntNode.Compress should have comment or be unexported (golint)
    • Line 251: warning: exported method Int64Node.Compress should have comment or be unexported (golint)
    • Line 254: warning: exported method FloatNode.Compress should have comment or be unexported (golint)
    • Line 257: warning: exported method StringNode.Compress should have comment or be unexported (golint)
    • erda/modules/orchestrator/events/publish_ws.go
    • Line 28: warning: exported type WsPublisher should have comment or be unexported (golint)
    • Line 33: warning: exported function NewWsPublisher should have comment or be unexported (golint)
    • Line 46: warning: exported method WsPublisher.OnEvent should have comment or be unexported (golint)
    • erda/modules/hepa/common/page_query.go
    • Line 20: warning: exported type PageQuery should have comment or be unexported (golint)
    • Line 25: warning: exported type NewPageQuery should have comment or be unexported (golint)
    • Line 30: warning: exported function NewPages should have comment or be unexported (golint)
    • Line 43: warning: exported method PageQuery.Convert should have comment or be unexported (golint)
    • erda/apistructs/cmp_autoscale.go
    • Line 19: warning: exported const AutoScaleUserID should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: comment on exported type BasicCloudConf should be of the form "BasicCloudConf ..." (with optional leading article) (golint)
    • Line 30: warning: exported type MnsReq should have comment or be unexported (golint)
    • Line 36: warning: exported type EssActivityMsg should have comment or be unexported (golint)
    • Line 45: warning: exported type EssActivityContent should have comment or be unexported (golint)
    • Line 53: warning: exported type ScaleInfo should have comment or be unexported (golint)
    • Line 58: warning: comment on exported type EcsInfoReq should be of the form "EcsInfoReq ..." (with optional leading article) (golint)
    • Line 65: warning: exported type SchedulerScaleReq should have comment or be unexported (golint)
    • erda/pkg/common/errors/data.go
    • Line 41: warning: exported method NotFoundError.HTTPStatus should have comment or be unexported (golint)
    • Line 42: warning: exported method NotFoundError.Translate should have comment or be unexported (golint)
    • Line 67: warning: exported method AlreadyExistsError.HTTPStatus should have comment or be unexported (golint)
    • Line 68: warning: exported method AlreadyExistsError.Translate should have comment or be unexported (golint)
    • erda/modules/scheduler/endpoints/endpoints.go
    • Line 42: warning: exported type HTTPEndpoints should have comment or be unexported (golint)
    • Line 57: warning: exported function NewHTTPEndpoints should have comment or be unexported (golint)
    • Line 83: warning: exported const ENABLE_SPECIFIED_K8S_NAMESPACE should have comment (or a comment on this block) or be unexported (golint)
    • Line 107: warning: exported method HTTPEndpoints.VolumeCreate should have comment or be unexported (golint)
    • Line 143: warning: exported method HTTPEndpoints.VolumeDelete should have comment or be unexported (golint)
    • Line 170: warning: exported method HTTPEndpoints.VolumeInfo should have comment or be unexported (golint)
    • Line 196: warning: exported method HTTPEndpoints.ServiceGroupCreate should have comment or be unexported (golint)
    • Line 227: warning: exported method HTTPEndpoints.ServiceGroupUpdate should have comment or be unexported (golint)
    • Line 256: warning: exported method HTTPEndpoints.ServiceGroupDelete should have comment or be unexported (golint)
    • Line 296: warning: exported method HTTPEndpoints.ServiceGroupInfo should have comment or be unexported (golint)
    • Line 326: warning: exported method HTTPEndpoints.ServiceGroupRestart should have comment or be unexported (golint)
    • Line 354: warning: exported method HTTPEndpoints.ServiceGroupCancel should have comment or be unexported (golint)
    • Line 383: warning: exported method HTTPEndpoints.ServiceGroupPrecheck should have comment or be unexported (golint)
    • Line 411: warning: exported method HTTPEndpoints.ServiceGroupKillPod should have comment or be unexported (golint)
    • Line 448: warning: exported method HTTPEndpoints.ServiceGroupConfigUpdate should have comment or be unexported (golint)
    • Line 484: warning: exported method HTTPEndpoints.ClusterHook should have comment or be unexported (golint)
    • Line 500: warning: exported method HTTPEndpoints.ClusterCreate should have comment or be unexported (golint)
    • Line 505: warning: exported method HTTPEndpoints.JobCreate should have comment or be unexported (golint)
    • Line 543: warning: exported method HTTPEndpoints.JobStart should have comment or be unexported (golint)
    • Line 578: warning: exported method HTTPEndpoints.JobVolumeCreate should have comment or be unexported (golint)
    • Line 605: warning: exported method HTTPEndpoints.JobStop should have comment or be unexported (golint)
    • Line 638: warning: exported method HTTPEndpoints.JobDelete should have comment or be unexported (golint)
    • Line 676: warning: comment on exported method HTTPEndpoints.DeleteJobs should be of the form "DeleteJobs ..." (golint)
    • Line 727: warning: exported method HTTPEndpoints.JobInspect should have comment or be unexported (golint)
    • Line 756: warning: exported method HTTPEndpoints.JobList should have comment or be unexported (golint)
    • Line 784: warning: exported method HTTPEndpoints.JobPipeline should have comment or be unexported (golint)
    • Line 828: warning: exported method HTTPEndpoints.JobConcurrent should have comment or be unexported (golint)
    • Line 876: warning: exported method HTTPEndpoints.LabelList should have comment or be unexported (golint)
    • Line 884: warning: comment on exported method HTTPEndpoints.SetNodeLabels should be of the form "SetNodeLabels ..." (golint)
    • Line 938: warning: exported method HTTPEndpoints.PodInfo should have comment or be unexported (golint)
    • Line 996: warning: exported method HTTPEndpoints.InstanceInfo should have comment or be unexported (golint)
    • Line 1060: warning: exported method HTTPEndpoints.ServiceInfo should have comment or be unexported (golint)
    • Line 1093: warning: exported method HTTPEndpoints.ComponentInfo should have comment or be unexported (golint)
    • Line 1137: warning: exported method HTTPEndpoints.ResourceInfo should have comment or be unexported (golint)
    • Line 1187: warning: exported method HTTPEndpoints.Terminal should have comment or be unexported (golint)
    • Line 1191: warning: exported method HTTPEndpoints.CapacityInfo should have comment or be unexported (golint)
    • Line 1201: warning: exported method HTTPEndpoints.ServiceScaling should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/auto-test-plan-detail/components/stages/stages.go
    • Line 20: warning: exported function RenderStage should have comment or be unexported (golint)
    • Line 48: warning: exported method ComponentStageForm.RenderListStageForm should have comment or be unexported (golint)
    • Line 86: warning: exported method ComponentStageForm.RenderCreateStagesForm should have comment or be unexported (golint)
    • Line 105: warning: exported method ComponentStageForm.RenderDeleteStagesForm should have comment or be unexported (golint)
    • Line 124: warning: exported method ComponentStageForm.RenderMoveStagesForm should have comment or be unexported (golint)
    • erda/modules/orchestrator/ws/types.go
    • Line 21: warning: exported const R_DEPLOY_STATUS_UPDATE should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: exported type DeployStatusUpdatePayload should have comment or be unexported (golint)
    • Line 37: warning: exported type RuntimeStatusChangedPayload should have comment or be unexported (golint)
    • Line 43: warning: exported type RuntimeServiceStatusChangedPayload should have comment or be unexported (golint)
    • Line 50: warning: exported type RuntimeDeletingPayload should have comment or be unexported (golint)
    • Line 54: warning: exported type RuntimeDeletedPayload should have comment or be unexported (golint)
    • erda/providers/metrics/report/collector.go
    • Line 28: warning: exported type ReportClient should have comment or be unexported (golint)
    • Line 33: warning: exported type MetricReport should have comment or be unexported (golint)
    • Line 39: warning: exported type NamedMetrics should have comment or be unexported (golint)
    • Line 44: warning: exported type Metrics should have comment or be unexported (golint)
    • Line 46: warning: exported method ReportClient.SetCFG should have comment or be unexported (golint)
    • Line 50: warning: exported method ReportClient.CreateReportClient should have comment or be unexported (golint)
    • Line 64: warning: exported method ReportClient.Send should have comment or be unexported (golint)
    • erda/modules/orchestrator/endpoints/addon.go
    • Line 38: warning: exported method Endpoints.CreateAddonDirectly should have comment or be unexported (golint)
    • Line 80: warning: exported method Endpoints.CreateAddonTenant should have comment or be unexported (golint)
    • Line 797: warning: exported method Endpoints.SyncAddonReferenceNum should have comment or be unexported (golint)
    • Line 848: warning: exported method Endpoints.AddonYmlExport should have comment or be unexported (golint)
    • Line 854: warning: don't use underscores in Go names; var yml_str should be ymlStr (golint)
    • Line 861: warning: exported method Endpoints.AddonYmlImport should have comment or be unexported (golint)
    • Line 867: warning: don't use underscores in Go names; var project_int should be projectInt (golint)
    • Line 881: warning: exported method Endpoints.SyncAddonResources should have comment or be unexported (golint)
    • erda/bundle/user.go
    • Line 25: warning: exported method Bundle.GetCurrentUser should have comment or be unexported (golint)
    • Line 46: warning: exported method Bundle.ListUsers should have comment or be unexported (golint)
    • erda/modules/hepa/gateway/service/gateway_runtime_service_service.go
    • Line 28: warning: should not use dot imports (golint)
    • Line 36: warning: exported type GatewayRuntimeServiceServiceImpl should have comment or be unexported (golint)
    • Line 45: warning: exported function NewGatewayRuntimeServiceServiceImpl should have comment or be unexported (golint)
    • Line 107: warning: exported method GatewayRuntimeServiceServiceImpl.TouchRuntimeComplete should have comment or be unexported (golint)
    • Line 184: warning: exported method GatewayRuntimeServiceServiceImpl.TouchRuntime should have comment or be unexported (golint)
    • Line 462: warning: exported method GatewayRuntimeServiceServiceImpl.DeleteRuntime should have comment or be unexported (golint)
    • Line 488: warning: exported method GatewayRuntimeServiceServiceImpl.GetRegisterAppInfo should have comment or be unexported (golint)
    • Line 551: warning: exported method GatewayRuntimeServiceServiceImpl.GetServiceRuntimes should have comment or be unexported (golint)
    • Line 590: warning: comment on exported method GatewayRuntimeServiceServiceImpl.GetServiceApiPrefix should be of the form "GetServiceApiPrefix ..." (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/moreProject/render.go
    • Line 14: warning: don't use MixedCaps in package name; moreProject should be moreproject (golint)
    • Line 29: warning: exported function RenderCreator should have comment or be unexported (golint)
    • Line 33: warning: exported type MoreProject should have comment or be unexported (golint)
    • Line 40: warning: exported type Props should have comment or be unexported (golint)
    • Line 46: warning: exported type Value should have comment or be unexported (golint)
    • Line 50: warning: exported type State should have comment or be unexported (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 76: warning: exported method MoreProject.SetCtxBundle should have comment or be unexported (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 94: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 116: warning: exported method MoreProject.Render should have comment or be unexported (golint)
    • Line 116: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • erda/pkg/persist_stat/backend/etcd.go
    • Line 37: warning: exported type EtcdStat should have comment or be unexported (golint)
    • Line 51: warning: exported function NewEtcd should have comment or be unexported (golint)
    • Line 65: warning: exported method EtcdStat.SetPolicy should have comment or be unexported (golint)
    • Line 80: warning: exported method EtcdStat.Emit should have comment or be unexported (golint)
    • Line 140: warning: exported method EtcdStat.Clear should have comment or be unexported (golint)
    • Line 145: warning: exported method EtcdStat.Last5Min should have comment or be unexported (golint)
    • Line 150: warning: exported method EtcdStat.Last20Min should have comment or be unexported (golint)
    • Line 155: warning: exported method EtcdStat.Last1Hour should have comment or be unexported (golint)
    • Line 160: warning: exported method EtcdStat.Last6Hour should have comment or be unexported (golint)
    • Line 165: warning: exported method EtcdStat.Last1Day should have comment or be unexported (golint)
    • Line 170: warning: exported method EtcdStat.Stat should have comment or be unexported (golint)
    • Line 199: warning: exported method EtcdStat.Metrics should have comment or be unexported (golint)
    • erda/bundle/app.go
    • Line 47: warning: exported method Bundle.GetMyApps should have comment or be unexported (golint)
    • Line 97: warning: comment on exported method Bundle.GetAppsByProjectAndAppName should be of the form "GetAppsByProjectAndAppName ..." (golint)
    • Line 153: warning: comment on exported type AbilityAppReq should be of the form "AbilityAppReq ..." (with optional leading article) (golint)
    • Line 213: warning: exported method Bundle.RemoveAppPublishItemRelations should have comment or be unexported (golint)
    • Line 235: warning: comment on exported method Bundle.GetAllMyApps should be of the form "GetAllMyApps ..." (golint)
    • erda/apistructs/certificate.go
    • Line 18: warning: exported type CertificateType should have comment or be unexported (golint)
    • Line 21: warning: exported const AndroidCertificateType should have comment (or a comment on this block) or be unexported (golint)
    • erda/pkg/jsonstore/store.go
    • Line 28: warning: error var NotFoundErr should have name of the form ErrFoo (golint)
    • Line 28: warning: exported var NotFoundErr should have comment or be unexported (golint)
    • Line 31: warning: exported type JsonStore should have comment or be unexported (golint)
    • Line 46: warning: exported type JSONStoreWithWatch should have comment or be unexported (golint)
    • Line 51: warning: exported type JSONStoreWithSTM should have comment or be unexported (golint)
    • Line 56: warning: exported type JsonStoreImpl should have comment or be unexported (golint)
    • Line 60: warning: exported type JSONStoreWithWatchImpl should have comment or be unexported (golint)
    • Line 65: warning: exported type JSONStoreWithSTMImpl should have comment or be unexported (golint)
    • Line 70: warning: exported function New should have comment or be unexported (golint)
    • Line 85: warning: exported method JsonStoreImpl.Put should have comment or be unexported (golint)
    • Line 96: warning: exported method JsonStoreImpl.PutWithOption should have comment or be unexported (golint)
    • Line 108: warning: exported method JsonStoreImpl.Get should have comment or be unexported (golint)
    • Line 122: warning: exported method JsonStoreImpl.Remove should have comment or be unexported (golint)
    • Line 139: warning: exported method JsonStoreImpl.PrefixRemove should have comment or be unexported (golint)
    • Line 147: warning: exported method JsonStoreImpl.ForEach should have comment or be unexported (golint)
    • Line 169: warning: exported method JsonStoreImpl.ForEachRaw should have comment or be unexported (golint)
    • Line 183: warning: exported method JsonStoreImpl.ListKeys should have comment or be unexported (golint)
    • Line 195: warning: exported method JsonStoreImpl.Notfound should have comment or be unexported (golint)
    • Line 206: warning: exported method JsonStoreImpl.IncludeSTM should have comment or be unexported (golint)
    • Line 214: warning: exported method JsonStoreImpl.IncludeWatch should have comment or be unexported (golint)
    • Line 222: warning: comment on exported method JSONStoreWithWatchImpl.Watch should be of the form "Watch ..." (golint)
    • Line 261: warning: exported method JSONStoreWithSTMImpl.NewSTM should have comment or be unexported (golint)
    • erda/modules/dop/dao/issue.go
    • Line 56: warning: exported method Issue.TableName should have comment or be unexported (golint)
    • Line 316: warning: comment on exported method DBClient.GetIssueWithOutDelete should be of the form "GetIssueWithOutDelete ..." (golint)
    • Line 323: warning: exported method DBClient.ListIssueByIDs should have comment or be unexported (golint)
    • Line 484: warning: comment on exported method DBClient.GetIssueBugByRange should be of the form "GetIssueBugByRange ..." (golint)
    • erda/modules/dop/dao/testplan_v2_step.go
    • Line 54: warning: exported method DBClient.GetTestPlanV2StepByPreID should have comment or be unexported (golint)
    • Line 62: warning: exported method DBClient.GetTestPlanV2Step should have comment or be unexported (golint)
    • Line 124: warning: comment on exported method DBClient.MoveTestPlanV2Step should be of the form "MoveTestPlanV2Step ..." (golint)
    • Line 167: warning: exported method DBClient.UpdateTestPlanV2Step should have comment or be unexported (golint)
    • Line 189: warning: exported method DBClient.CheckRelatedSceneSet should have comment or be unexported (golint)
    • erda/pkg/database/sqllint/linters/column_name_linter.go
    • Line 29: warning: exported type ColumnNameLinter should have comment or be unexported (golint)
    • Line 33: warning: exported function NewColumnNameLinter should have comment or be unexported (golint)
    • Line 37: warning: exported method ColumnNameLinter.Enter should have comment or be unexported (golint)
    • Line 105: warning: exported method ColumnNameLinter.Leave should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-content/components/emptyOrgTip/render.go
    • Line 14: warning: don't use MixedCaps in package name; emptyOrgTip should be emptyorgtip (golint)
    • Line 26: warning: exported type EmptyOrgTip should have comment or be unexported (golint)
    • Line 32: warning: exported type Props should have comment or be unexported (golint)
    • Line 39: warning: exported method EmptyOrgTip.SetCtxBundle should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: exported method EmptyOrgTip.Render should have comment or be unexported (golint)
    • Line 63: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/pkg/kms/kmstypes/api_key_rotate.go
    • Line 18: warning: exported type RotateKeyVersionRequest should have comment or be unexported (golint)
    • Line 22: warning: exported method RotateKeyVersionRequest.ValidateRequest should have comment or be unexported (golint)
    • Line 29: warning: exported type RotateKeyVersionResponse should have comment or be unexported (golint)
    • erda/modules/orchestrator/services/addon/addon_handler_test.go
    • Line 91: warning: don't use underscores in Go names; var addon_result should be addonResult (golint)
    • Line 93: warning: don't use underscores in Go names; var addon_item should be addonItem (golint)
    • Line 159: warning: don't use underscores in Go names; var v_struct should be vStruct (golint)
    • Line 160: warning: don't use underscores in Go names; var v_struct_ptr should be vStructPtr (golint)
    • Line 191: warning: don't use underscores in Go names; var v_struct should be vStruct (golint)
    • Line 192: warning: don't use underscores in Go names; var v_struct_ptr should be vStructPtr (golint)
    • erda/modules/monitor/apm/topology/routes.go
    • Line 46: warning: exported type ServicesVo should have comment or be unexported (golint)
    • Line 53: warning: exported type GlobalParams should have comment or be unexported (golint)
    • Line 60: warning: exported type ProcessParams should have comment or be unexported (golint)
    • Line 65: warning: exported type ServiceParams should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/operation.go
    • Line 29: warning: comment on exported method Endpoints.SearchOperations should be of the form "SearchOperations ..." (golint)
    • Line 61: warning: comment on exported method Endpoints.GetOperation should be of the form "GetOperation ..." (golint)
    • erda/modules/scheduler/executor/plugins/k8s/addon/redis/unify.go
    • Line 23: warning: exported type UnifiedRedisOperator should have comment or be unexported (golint)
    • Line 29: warning: exported function New should have comment or be unexported (golint)
    • Line 44: warning: exported method UnifiedRedisOperator.IsSupported should have comment or be unexported (golint)
    • Line 56: warning: exported method UnifiedRedisOperator.Validate should have comment or be unexported (golint)
    • Line 62: warning: exported method UnifiedRedisOperator.Convert should have comment or be unexported (golint)
    • Line 68: warning: exported method UnifiedRedisOperator.Create should have comment or be unexported (golint)
    • Line 75: warning: exported method UnifiedRedisOperator.Inspect should have comment or be unexported (golint)
    • Line 81: warning: exported method UnifiedRedisOperator.Remove should have comment or be unexported (golint)
    • Line 91: warning: exported method UnifiedRedisOperator.Update should have comment or be unexported (golint)
    • erda/modules/dop/dao/sonar_metric_rules.go
    • Line 25: warning: exported type QASonarMetricRules should have comment or be unexported (golint)
    • Line 37: warning: exported method QASonarMetricRules.ToApi should have comment or be unexported (golint)
    • Line 66: warning: comment on exported method DBClient.PagingSonarMetricRules should be of the form "PagingSonarMetricRules ..." (golint)
    • Line 87: warning: exported method DBClient.UpdateSonarMetricRules should have comment or be unexported (golint)
    • Line 96: warning: exported method DBClient.GetSonarMetricRules should have comment or be unexported (golint)
    • Line 104: warning: exported method DBClient.BatchInsertSonarMetricRules should have comment or be unexported (golint)
    • Line 116: warning: exported method DBClient.BatchDeleteSonarMetricRules should have comment or be unexported (golint)
    • Line 131: warning: exported method DBClient.ListSonarMetricRules should have comment or be unexported (golint)
    • erda/modules/dicehub/dbclient/publish_item.go
    • Line 56: warning: exported method PublishItem.ToApiData should have comment or be unexported (golint)
    • Line 82: warning: exported method DBClient.GetPublishItem should have comment or be unexported (golint)
    • Line 91: warning: exported method DBClient.CreatePublishItem should have comment or be unexported (golint)
    • Line 95: warning: exported method DBClient.UpdatePublishItem should have comment or be unexported (golint)
    • Line 99: warning: exported method DBClient.UpdatePublishItemUpdateTime should have comment or be unexported (golint)
    • Line 103: warning: exported method DBClient.DeletePublishItem should have comment or be unexported (golint)
    • Line 107: warning: exported method DBClient.QueryPublishItem should have comment or be unexported (golint)
    • Line 166: warning: exported method DBClient.GetPublishItemCountByPublisher should have comment or be unexported (golint)
    • Line 190: warning: exported method DBClient.GetALLItem should have comment or be unexported (golint)
    • erda/modules/monitor/alert/alert-apis/adapt/customize.go
    • Line 47: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 53: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 82: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 88: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 116: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • erda/pkg/qaparser/testngxml/parser.go
    • Line 26: warning: exported type NgParser should have comment or be unexported (golint)
    • Line 34: warning: exported method NgParser.Register should have comment or be unexported (golint)
    • Line 38: warning: comment on exported method NgParser.Parse should be of the form "Parse ..." (golint)
    • erda/modules/gittar/pkg/gitmodule/repo_tree.go
    • Line 15: warning: comment on exported method Repository.GetTree should be of the form "GetTree ..." (golint)
    • Line 36: warning: comment on exported method Repository.GetTreeEntryByPath should be of the form "GetTreeEntryByPath ..." (golint)
    • Line 51: warning: exported method Repository.FillTreeEntriesCommitInfo should have comment or be unexported (golint)
    • erda/modules/hepa/common/page.go
    • Line 18: warning: exported var DEFAULT_PAGE_SIZE should have comment or be unexported (golint)
    • Line 22: warning: exported type Page should have comment or be unexported (golint)
    • Line 31: warning: exported function NewPage should have comment or be unexported (golint)
    • Line 35: warning: exported function NewPage2 should have comment or be unexported (golint)
    • Line 39: warning: exported function NewPage3 should have comment or be unexported (golint)
    • Line 43: warning: comment on exported method Page.GetTotalPageNum should be of the form "GetTotalPageNum ..." (golint)
    • Line 57: warning: comment on exported method Page.SetPageSize should be of the form "SetPageSize ..." (golint)
    • Line 65: warning: comment on exported method Page.GetPageSize should be of the form "GetPageSize ..." (golint)
    • Line 72: warning: comment on exported method Page.GetCurPage should be of the form "GetCurPage ..." (golint)
    • Line 79: warning: comment on exported method Page.SetCurPage should be of the form "SetCurPage ..." (golint)
    • Line 87: warning: comment on exported method Page.GetTotalNum should be of the form "GetTotalNum ..." (golint)
    • Line 94: warning: comment on exported method Page.SetTotalNum should be of the form "SetTotalNum ..." (golint)
    • Line 117: warning: exported method Page.GetStartIndex should have comment or be unexported (golint)
    • Line 121: warning: exported method Page.GetEndIndex should have comment or be unexported (golint)
    • erda/modules/dop/endpoints/monitor.go
    • Line 24: warning: exported method Endpoints.RunIssueHistory should have comment or be unexported (golint)
    • Line 29: warning: exported method Endpoints.RunIssueAddOrRepairHistory should have comment or be unexported (golint)
    • erda/modules/openapi/component-protocol/scenarios/home-page-sidebar/components/myApplicationList/render.go
    • Line 14: warning: don't use MixedCaps in package name; myApplicationList should be myapplicationlist (golint)
    • Line 29: warning: exported const DefaultPageNo should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type MyApplicationList should have comment or be unexported (golint)
    • Line 42: warning: exported type AppItem should have comment or be unexported (golint)
    • Line 51: warning: exported type OperationData should have comment or be unexported (golint)
    • Line 56: warning: exported type Meta should have comment or be unexported (golint)
    • Line 60: warning: exported type PageNo should have comment or be unexported (golint)
    • Line 64: warning: exported type Command should have comment or be unexported (golint)
    • Line 70: warning: exported type Operation should have comment or be unexported (golint)
    • Line 77: warning: exported type Data should have comment or be unexported (golint)
    • Line 93: warning: exported type Props should have comment or be unexported (golint)
    • Line 101: warning: exported type State should have comment or be unexported (golint)
    • Line 113: warning: exported method MyApplicationList.SetCtxBundle should have comment or be unexported (golint)
    • Line 113: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 124: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 143: warning: exported function RenItem should have comment or be unexported (golint)
    • Line 175: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 236: warning: exported method MyApplicationList.Render should have comment or be unexported (golint)
    • Line 236: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 327: warning: exported function RenderCreator should have comment or be unexported (golint)
    • erda/modules/dicehub/dbclient/dbclient.go
    • Line 18: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 23: warning: exported type DBClient should have comment or be unexported (golint)
    • Line 27: warning: exported function Open should have comment or be unexported (golint)
    • Line 36: warning: exported method DBClient.Close should have comment or be unexported (golint)
    • erda/apistructs/bigdata.go
    • Line 18: warning: exported type FlinkKind should have comment or be unexported (golint)
    • Line 21: warning: exported const FlinkJob should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported type BigdataResource should have comment or be unexported (golint)
    • Line 31: warning: exported type BigdataMetadata should have comment or be unexported (golint)
    • Line 36: warning: exported type BigdataSpec should have comment or be unexported (golint)
    • Line 47: warning: exported type BigdataConf should have comment or be unexported (golint)
    • Line 52: warning: exported type FlinkConf should have comment or be unexported (golint)
    • Line 59: warning: exported type SparkConf should have comment or be unexported (golint)
    • erda/pkg/semver/semver.go
    • Line 21: warning: comment on exported var SemverRegexp should be of the form "SemverRegexp ..." (golint)
    • Line 26: warning: exported function Valid should have comment or be unexported (golint)
    • Line 30: warning: exported function New should have comment or be unexported (golint)
    • erda/pkg/parser/pipelineyml/visitor_timeout.go
    • Line 21: warning: exported const TimeoutDuration4Forever should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type TimeoutVisitor should have comment or be unexported (golint)
    • Line 26: warning: exported function NewTimeoutVisitor should have comment or be unexported (golint)
    • Line 30: warning: exported method TimeoutVisitor.Visit should have comment or be unexported (golint)
    • erda/modules/cmdb/conf/conf.go
    • Line 125: warning: comment on exported var OrgWhiteList should be of the form "OrgWhiteList ..." (golint)
    • Line 127: warning: comment on exported var RedirectPathList should be of the form "RedirectPathList ..." (golint)
    • Line 315: warning: comment on exported function RootDomainList should be of the form "RootDomainList ..." (golint)
    • Line 330: warning: comment on exported function LegacyUIDomain should be of the form "LegacyUIDomain ..." (golint)
    • Line 495: warning: exported function QAAddr should have comment or be unexported (golint)
    • Line 499: warning: exported function OryEnabled should have comment or be unexported (golint)
    • Line 503: warning: exported function OryKratosAddr should have comment or be unexported (golint)
    • Line 507: warning: exported function OryKratosPrivateAddr should have comment or be unexported (golint)
    • Line 511: warning: exported function OryCompatibleClientID should have comment or be unexported (golint)
    • Line 515: warning: exported function OryCompatibleClientSecret should have comment or be unexported (golint)
    • Line 519: warning: exported function MetricsIssueCron should have comment or be unexported (golint)
    • Line 523: warning: exported function CreateOrgEnabled should have comment or be unexported (golint)
    • erda/modules/pipeline/spec/pipeline_stage.go
    • Line 22: warning: exported type PipelineStage should have comment or be unexported (golint)
    • Line 37: warning: exported type PipelineStageExtra should have comment or be unexported (golint)
    • Line 42: warning: exported type PreStageSimple should have comment or be unexported (golint)
    • Line 47: warning: exported method PipelineStage.TableName should have comment or be unexported (golint)
    • Line 51: warning: exported method PipelineStage.Convert2DTO should have comment or be unexported (golint)
    • erda/pkg/http/httpclientutil/urlwrap.go
    • Line 27: warning: exported function WrapHttp should have comment or be unexported (golint)
    • Line 37: warning: exported function WrapHttps should have comment or be unexported (golint)
    • Line 47: warning: exported function WrapProto should have comment or be unexported (golint)
    • Line 56: warning: exported function RmProto should have comment or be unexported (golint)
    • Line 66: warning: exported function GetHost should have comment or be unexported (golint)
    • Line 71: warning: exported function GetPath should have comment or be unexported (golint)
    • Line 76: warning: exported function GetPort should have comment or be unexported (golint)
    • Line 86: warning: exported function CombineHostAndPath should have comment or be unexported (golint)
    • Line 94: warning: exported function HasSchema should have comment or be unexported (golint)
    • erda/apistructs/file.go
    • Line 27: warning: exported type FileType should have comment or be unexported (golint)
    • Line 30: warning: exported var FileTypePicture should have comment or be unexported (golint)
    • Line 44: warning: comment on exported type File should be of the form "File ..." (with optional leading article) (golint)
    • Line 94: warning: comment on exported type RepoFiles should be of the form "RepoFiles ..." (with optional leading article) (golint)
    • erda/modules/orchestrator/dbclient/runtime.go
    • Line 34: warning: comment on exported type Runtime should be of the form "Runtime ..." (with optional leading article) (golint)
    • Line 66: warning: exported const LegacyStatusDeleting should have comment (or a comment on this block) or be unexported (golint)
    • Line 69: warning: exported method Runtime.TableName should have comment or be unexported (golint)
    • Line 73: warning: exported type ScheduleName should have comment or be unexported (golint)
    • Line 78: warning: exported method Runtime.InitScheduleName should have comment or be unexported (golint)
    • Line 107: warning: exported method ScheduleName.Value should have comment or be unexported (golint)
    • Line 114: warning: exported method ScheduleName.Scan should have comment or be unexported (golint)
    • Line 139: warning: exported method ScheduleName.Args should have comment or be unexported (golint)
    • Line 143: warning: exported type RuntimeService should have comment or be unexported (golint)
    • Line 161: warning: exported type RuntimeInstance should have comment or be unexported (golint)
    • Line 191: warning: exported method RuntimeDomain.TableName should have comment or be unexported (golint)
    • Line 195: warning: exported method DBClient.CreateRuntime should have comment or be unexported (golint)
    • Line 199: warning: comment on exported method DBClient.GetRuntime should be of the form "GetRuntime ..." (golint)
    • Line 210: warning: exported method DBClient.GetRuntimeAllowNil should have comment or be unexported (golint)
    • Line 224: warning: comment on exported method DBClient.GetRuntimeByScheduleName should be of the form "GetRuntimeByScheduleName ..." (golint)
    • Line 234: warning: comment on exported method DBClient.FindRuntime should be of the form "FindRuntime ..." (golint)
    • Line 250: warning: exported method DBClient.FindRuntimesByIds should have comment or be unexported (golint)
    • Line 263: warning: exported method DBClient.FindRuntimesByAppId should have comment or be unexported (golint)
    • Line 276: warning: exported method DBClient.FindRuntimeOrCreate should have comment or be unexported (golint)
    • Line 318: warning: exported method DBClient.FindDeletingRuntimes should have comment or be unexported (golint)
    • Line 328: warning: comment on exported method DBClient.FindRuntimesNewerThan should be of the form "FindRuntimesNewerThan ..." (golint)
    • Line 340: warning: exported method DBClient.UpdateRuntime should have comment or be unexported (golint)
    • Line 347: warning: exported method DBClient.DeleteRuntime should have comment or be unexported (golint)
    • Line 366: warning: exported method DBClient.CreateOrUpdateRuntimeService should have comment or be unexported (golint)
    • Line 379: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 395: warning: exported method DBClient.ClearRuntimeServiceErrors should have comment or be unexported (golint)
    • Line 404: warning: exported method DBClient.SetRuntimeServiceErrors should have comment or be unexported (golint)
    • Line 419: warning: exported method DBClient.GetInstanceCountByServiceId should have comment or be unexported (golint)
    • Line 429: warning: exported method DBClient.DeleteOldest should have comment or be unexported (golint)
    • Line 436: warning: exported method DBClient.GetRunningInstancesByServiceId should have comment or be unexported (golint)
    • Line 450: warning: exported method DBClient.CreateInstance should have comment or be unexported (golint)
    • Line 457: warning: exported method DBClient.UpdateInstance should have comment or be unexported (golint)
    • Line 464: warning: exported method DBClient.GetInstanceByTaskId should have comment or be unexported (golint)
    • Line 476: warning: exported method DBClient.FindRuntimeServices should have comment or be unexported (golint)
    • Line 495: warning: comment on exported function ConvertRuntimeDTO should be of the form "ConvertRuntimeDTO ..." (golint)
    • erda/modules/actionagent/filewatch/watch.go
    • Line 38: warning: exported type TailHandlerWithIO should have comment or be unexported (golint)
    • Line 43: warning: exported type Watcher should have comment or be unexported (golint)
    • Line 54: warning: exported function New should have comment or be unexported (golint)
    • Line 107: warning: exported method Watcher.Close should have comment or be unexported (golint)
    • Line 124: warning: exported method Watcher.RegisterFullHandler should have comment or be unexported (golint)
    • Line 141: warning: exported method Watcher.RegisterTailHandler should have comment or be unexported (golint)
    • erda/apistructs/issue_property_value.go
    • Line 16: warning: comment on exported type IssuePropertyValueCreateRequest should be of the form "IssuePropertyValueCreateRequest ..." (with optional leading article) (golint)
    • Line 23: warning: comment on exported type IssuePropertyValueUpdateRequest should be of the form "IssuePropertyValueUpdateRequest ..." (with optional leading article) (golint)
    • Line 31: warning: comment on exported type IssuePropertyValueDeleteRequest should be of the form "IssuePropertyValueDeleteRequest ..." (with optional leading article) (golint)
    • Line 37: warning: comment on exported type IssuePropertyValueGetRequest should be of the form "IssuePropertyValueGetRequest ..." (with optional leading article) (golint)
    • erda/apistructs/member_extra.go
    • Line 16: warning: exported type MemeberLabelName should have comment or be unexported (golint)
    • Line 25: warning: comment on exported type ExtraResourceKey should be of the form "ExtraResourceKey ..." (with optional leading article) (golint)

gocyclo92%

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.

    • erda/pkg/swagger/openapi/validate.go
    • Line 405: warning: cyclomatic complexity 46 of function ValidateParameter() is high (> 15) (gocyclo)
    • Line 294: warning: cyclomatic complexity 44 of function ValidateSchema() is high (> 15) (gocyclo)
    • Line 527: warning: cyclomatic complexity 21 of function ValidateSecurityScheme() is high (> 15) (gocyclo)
    • Line 80: warning: cyclomatic complexity 19 of function ValidateComponents() is high (> 15) (gocyclo)
    • Line 174: warning: cyclomatic complexity 16 of function ValidatePaths() is high (> 15) (gocyclo)
    • erda/modules/dicehub/service/publish_item/item_version.go
    • Line 174: warning: cyclomatic complexity 27 of function (*PublishItem).CreateOffLineVersion() is high (> 15) (gocyclo)
    • Line 473: warning: cyclomatic complexity 25 of function (*PublishItem).GetPublicPublishItemLaststVersion() is high (> 15) (gocyclo)
    • Line 39: warning: cyclomatic complexity 18 of function (*PublishItem).PublishItemVersion() is high (> 15) (gocyclo)
    • erda/modules/hepa/gateway/service/gateway_api_policy_service.go
    • Line 635: warning: cyclomatic complexity 41 of function (GatewayApiPolicyServiceImpl).SetPackageDefaultPolicyConfig() is high (> 15) (gocyclo)
    • Line 827: warning: cyclomatic complexity 34 of function (GatewayApiPolicyServiceImpl).SetPolicyConfig() is high (> 15) (gocyclo)
    • Line 394: warning: cyclomatic complexity 22 of function (GatewayApiPolicyServiceImpl).executePolicyEngine() is high (> 15) (gocyclo)
    • Line 488: warning: cyclomatic complexity 16 of function (GatewayApiPolicyServiceImpl).SetZonePolicyConfig() is high (> 15) (gocyclo)
    • erda/modules/monitor/core/metrics/metricq/es-tsql/influxql/parse.go
    • Line 594: warning: cyclomatic complexity 43 of function (*Parser).parseQueryDimensions() is high (> 15) (gocyclo)
    • Line 114: warning: cyclomatic complexity 33 of function (*Parser).parseSelectStatement() is high (> 15) (gocyclo)
    • Line 935: warning: cyclomatic complexity 32 of function getScriptExpression() is high (> 15) (gocyclo)
    • Line 812: warning: cyclomatic complexity 19 of function getLiteralValue() is high (> 15) (gocyclo)
    • Line 344: warning: cyclomatic complexity 19 of function (*Parser).parseQueryCondition() is high (> 15) (gocyclo)
    • erda/modules/hepa/gateway/service/gateway_openapi_service.go
    • Line 2018: warning: cyclomatic complexity 55 of function (GatewayOpenapiServiceImpl).UpdatePackageApi() is high (> 15) (gocyclo)
    • Line 573: warning: cyclomatic complexity 47 of function (GatewayOpenapiServiceImpl).UpdatePackage() is high (> 15) (gocyclo)
    • Line 1490: warning: cyclomatic complexity 44 of function (GatewayOpenapiServiceImpl).SessionCreatePackageApi() is high (> 15) (gocyclo)
    • Line 2253: warning: cyclomatic complexity 33 of function (*GatewayOpenapiServiceImpl).DeletePackageApi() is high (> 15) (gocyclo)
    • Line 231: warning: cyclomatic complexity 26 of function (GatewayOpenapiServiceImpl).CreatePackage() is high (> 15) (gocyclo)
    • Line 1706: warning: cyclomatic complexity 22 of function (GatewayOpenapiServiceImpl).TouchPackageApiZone() is high (> 15) (gocyclo)
    • Line 830: warning: cyclomatic complexity 21 of function (*GatewayOpenapiServiceImpl).deletePackage() is high (> 15) (gocyclo)
    • Line 1317: warning: cyclomatic complexity 19 of function (GatewayOpenapiServiceImpl).makeCloudapiModifyApiRequest() is high (> 15) (gocyclo)
    • Line 2448: warning: cyclomatic complexity 18 of function (GatewayOpenapiServiceImpl).RefreshRuntimePackage() is high (> 15) (gocyclo)
    • Line 3157: warning: cyclomatic complexity 17 of function (GatewayOpenapiServiceImpl).SetRuntimeEndpoint() is high (> 15) (gocyclo)
    • Line 2581: warning: cyclomatic complexity 16 of function (GatewayOpenapiServiceImpl).CreateTenantPackage() is high (> 15) (gocyclo)
    • Line 1412: warning: cyclomatic complexity 16 of function (GatewayOpenapiServiceImpl).touchCloudapiApi() is high (> 15) (gocyclo)
    • erda/modules/orchestrator/services/deployment/deployment_context.go
    • Line 395: warning: cyclomatic complexity 28 of function (*DeployFSMContext).continueMigration() is high (> 15) (gocyclo)
    • Line 758: warning: cyclomatic complexity 26 of function (*DeployFSMContext).deployService() is high (> 15) (gocyclo)
    • Line 1290: warning: cyclomatic complexity 20 of function (*DeployFSMContext).convertService() is high (> 15) (gocyclo)
    • Line 916: warning: cyclomatic complexity 19 of function (*DeployFSMContext).generateDeployServiceRequest() is high (> 15) (gocyclo)
    • Line 1219: warning: cyclomatic complexity 19 of function (*DeployFSMContext).evalTemplate() is high (> 15) (gocyclo)
    • Line 1515: warning: cyclomatic complexity 18 of function (*DeployFSMContext).PutHepaService() is high (> 15) (gocyclo)
    • Line 1122: warning: cyclomatic complexity 17 of function (*DeployFSMContext).buildAddonVars() is high (> 15) (gocyclo)
    • erda/modules/monitor/core/metrics/index/manager.go
    • Line 335: warning: cyclomatic complexity 26 of function (*IndexManager).reloadIndices() is high (> 15) (gocyclo)
    • Line 234: warning: cyclomatic complexity 19 of function (*IndexManager).Start() is high (> 15) (gocyclo)
    • Line 528: warning: cyclomatic complexity 18 of function (*IndexManager).setupTimeRange() is high (> 15) (gocyclo)
    • erda/pkg/aliyunclient/client.go
    • Line 631: warning: cyclomatic complexity 28 of function (*Client).DoActionWithSigner() is high (> 15) (gocyclo)
    • Line 315: warning: cyclomatic complexity 27 of function (*Client).GetActionResponse() is high (> 15) (gocyclo)
    • Line 456: warning: cyclomatic complexity 19 of function (*Client).buildRequestWithSigner() is high (> 15) (gocyclo)
    • erda/pkg/swagger/oasconv/yamlconv.go
    • Line 169: warning: cyclomatic complexity 42 of function convertToJSONableObject() is high (> 15) (gocyclo)
    • Line 458: warning: cyclomatic complexity 21 of function typeFields() is high (> 15) (gocyclo)
    • Line 350: warning: cyclomatic complexity 20 of function indirect() is high (> 15) (gocyclo)
    • erda/modules/core-services/services/member/member.go
    • Line 592: warning: cyclomatic complexity 33 of function (*Member).CheckPermission() is high (> 15) (gocyclo)
    • Line 433: warning: cyclomatic complexity 23 of function (*Member).syncReqExtra2DB() is high (> 15) (gocyclo)
    • Line 79: warning: cyclomatic complexity 20 of function (*Member).CreateOrUpdate() is high (> 15) (gocyclo)
    • Line 812: warning: cyclomatic complexity 19 of function (*Member).GetAllOrganizational() is high (> 15) (gocyclo)
    • erda/modules/scheduler/executor/plugins/edas/edas.go
    • Line 2181: warning: cyclomatic complexity 23 of function (*EDAS).Scale() is high (> 15) (gocyclo)
    • Line 1252: warning: cyclomatic complexity 18 of function (*EDAS).queryAppStatus() is high (> 15) (gocyclo)
    • Line 1562: warning: cyclomatic complexity 18 of function (*EDAS).fillServiceSpec() is high (> 15) (gocyclo)
    • Line 678: warning: cyclomatic complexity 17 of function (*EDAS).cyclicUpdateService() is high (> 15) (gocyclo)
    • Line 1465: warning: cyclomatic complexity 16 of function (*EDAS).generateServiceEnvs() is high (> 15) (gocyclo)
    • erda/modules/orchestrator/services/runtime/runtime.go
    • Line 519: warning: cyclomatic complexity 34 of function (*Runtime).doDeployRuntime() is high (> 15) (gocyclo)
    • Line 1208: warning: cyclomatic complexity 32 of function (*Runtime).List() is high (> 15) (gocyclo)
    • Line 878: warning: cyclomatic complexity 29 of function (*Runtime).Rollback() is high (> 15) (gocyclo)
    • Line 1340: warning: cyclomatic complexity 25 of function (*Runtime).Get() is high (> 15) (gocyclo)
    • Line 1634: warning: cyclomatic complexity 21 of function checkRuntimeCreateReq() is high (> 15) (gocyclo)
    • erda/modules/dop/services/issue/issue.go
    • Line 214: warning: cyclomatic complexity 47 of function (*Issue).Paging() is high (> 15) (gocyclo)
    • Line 816: warning: cyclomatic complexity 37 of function (*Issue).CreateStream() is high (> 15) (gocyclo)
    • Line 480: warning: cyclomatic complexity 31 of function (*Issue).UpdateIssue() is high (> 15) (gocyclo)
    • Line 367: warning: cyclomatic complexity 21 of function (*Issue).PagingForWorkbench() is high (> 15) (gocyclo)
    • Line 96: warning: cyclomatic complexity 19 of function (*Issue).Create() is high (> 15) (gocyclo)
    • erda/modules/dop/endpoints/issue.go
    • Line 316: warning: cyclomatic complexity 28 of function (*Endpoints).UpdateIssue() is high (> 15) (gocyclo)
    • Line 37: warning: cyclomatic complexity 17 of function (*Endpoints).CreateIssue() is high (> 15) (gocyclo)
    • erda/tools/cli/cmd/build.go
    • Line 209: warning: cyclomatic complexity 31 of function PrintWorkFlow() is high (> 15) (gocyclo)
    • Line 113: warning: cyclomatic complexity 21 of function BuildCheckLoop() is high (> 15) (gocyclo)
    • erda/pkg/swagger/oas3/validate.go
    • Line 506: warning: cyclomatic complexity 46 of function ValidateParameter() is high (> 15) (gocyclo)
    • Line 404: warning: cyclomatic complexity 39 of function ValidateSchema() is high (> 15) (gocyclo)
    • Line 641: warning: cyclomatic complexity 21 of function ValidateSecurityScheme() is high (> 15) (gocyclo)
    • Line 111: warning: cyclomatic complexity 19 of function ValidateComponents() is high (> 15) (gocyclo)
    • Line 222: warning: cyclomatic complexity 16 of function ValidatePaths() is high (> 15) (gocyclo)
    • erda/modules/orchestrator/services/addon/addon_handler.go
    • Line 721: warning: cyclomatic complexity 23 of function (*Addon).getShareInstance() is high (> 15) (gocyclo)
    • Line 554: warning: cyclomatic complexity 23 of function (*Addon).strategyAddon() is high (> 15) (gocyclo)
    • Line 438: warning: cyclomatic complexity 19 of function (*Addon).existAttachAddon() is high (> 15) (gocyclo)
    • Line 50: warning: cyclomatic complexity 16 of function (*Addon).GetAddonExtention() is high (> 15) (gocyclo)
    • erda/modules/dop/services/assetsvc/get.go
    • Line 247: warning: cyclomatic complexity 30 of function (*Service).DownloadSpecText() is high (> 15) (gocyclo)
    • Line 35: warning: cyclomatic complexity 17 of function (*Service).GetAsset() is high (> 15) (gocyclo)
    • Line 118: warning: cyclomatic complexity 16 of function (*Service).GetAssetVersion() is high (> 15) (gocyclo)
    • erda/pkg/apitestsv2/apitest.go
    • Line 110: warning: cyclomatic complexity 26 of function (*APITest).Invoke() is high (> 15) (gocyclo)
    • Line 235: warning: cyclomatic complexity 20 of function (*APITest).renderAtOnce() is high (> 15) (gocyclo)
    • erda/pkg/assert/assert.go
    • Line 30: warning: cyclomatic complexity 22 of function DoAssert() is high (> 15) (gocyclo)
    • Line 194: warning: cyclomatic complexity 19 of function dealInterval() is high (> 15) (gocyclo)
    • Line 130: warning: cyclomatic complexity 17 of function dealDataSets() is high (> 15) (gocyclo)
    • erda/modules/hepa/gateway/service/gateway_openapi_consumer_service.go
    • Line 609: warning: cyclomatic complexity 34 of function (GatewayOpenapiConsumerServiceImpl).UpdateConsumerCredentials() is high (> 15) (gocyclo)
    • Line 953: warning: cyclomatic complexity 21 of function (GatewayOpenapiConsumerServiceImpl).UpdatePackageApiAcls() is high (> 15) (gocyclo)
    • Line 1528: warning: cyclomatic complexity 20 of function (GatewayOpenapiConsumerServiceImpl).UpdateConsumerAcls() is high (> 15) (gocyclo)
    • Line 213: warning: cyclomatic complexity 20 of function (GatewayOpenapiConsumerServiceImpl).CreateConsumer() is high (> 15) (gocyclo)
    • Line 1265: warning: cyclomatic complexity 18 of function (GatewayOpenapiConsumerServiceImpl).UpdatePackageAcls() is high (> 15) (gocyclo)
    • erda/modules/monitor/alert/alert-apis/org-custom-apis.go
    • Line 260: warning: cyclomatic complexity 22 of function (*provider).checkMetricMeta() is high (> 15) (gocyclo)
    • Line 347: warning: cyclomatic complexity 17 of function (*provider).formatOperatorValue() is high (> 15) (gocyclo)
    • Line 190: warning: cyclomatic complexity 16 of function (*provider).updateOrgCustomizeAlert() is high (> 15) (gocyclo)
    • erda/modules/dop/services/assetsvc/update.go
    • Line 742: warning: cyclomatic complexity 35 of function (*Service).UpdateSLA() is high (> 15) (gocyclo)
    • Line 583: warning: cyclomatic complexity 27 of function (*Service).UpdateAccess() is high (> 15) (gocyclo)
    • Line 276: warning: cyclomatic complexity 24 of function (*Service).UpdateContract() is high (> 15) (gocyclo)
    • Line 35: warning: cyclomatic complexity 20 of function (*Service).UpdateAPIAsset() is high (> 15) (gocyclo)
    • Line 140: warning: cyclomatic complexity 17 of function (*Service).UpdateInstantiation() is high (> 15) (gocyclo)
    • erda/modules/hepa/gateway/service/gateway_api_service.go
    • Line 1611: warning: cyclomatic complexity 51 of function (GatewayApiServiceImpl).updatePolicy() is high (> 15) (gocyclo)
    • Line 540: warning: cyclomatic complexity 45 of function (GatewayApiServiceImpl).CreateRuntimeApi() is high (> 15) (gocyclo)
    • Line 803: warning: cyclomatic complexity 39 of function (GatewayApiServiceImpl).createApi() is high (> 15) (gocyclo)
    • Line 1832: warning: cyclomatic complexity 29 of function (GatewayApiServiceImpl).updateRuntimeApi() is high (> 15) (gocyclo)
    • Line 1374: warning: cyclomatic complexity 27 of function (GatewayApiServiceImpl).deleteApi() is high (> 15) (gocyclo)
    • Line 1990: warning: cyclomatic complexity 25 of function (GatewayApiServiceImpl).updateApi() is high (> 15) (gocyclo)
    • Line 438: warning: cyclomatic complexity 18 of function (GatewayApiServiceImpl).pathAdjust() is high (> 15) (gocyclo)
    • Line 1194: warning: cyclomatic complexity 17 of function (GatewayApiServiceImpl).genSelectOptions() is high (> 15) (gocyclo)
    • erda/modules/scheduler/impl/instanceinfo/query.go
    • Line 243: warning: cyclomatic complexity 27 of function (*InstanceInfoImpl).QueryInstance() is high (> 15) (gocyclo)
    • Line 149: warning: cyclomatic complexity 20 of function (*InstanceInfoImpl).QueryPod() is high (> 15) (gocyclo)
    • Line 105: warning: cyclomatic complexity 17 of function (*QueryInstanceConditions).IsEmpty() is high (> 15) (gocyclo)
    • erda/modules/dop/services/assetsvc/create.go
    • Line 191: warning: cyclomatic complexity 28 of function (*Service).CreateAPIAssetVersion() is high (> 15) (gocyclo)
    • Line 943: warning: cyclomatic complexity 27 of function (*Service).CreateAccess() is high (> 15) (gocyclo)
    • Line 61: warning: cyclomatic complexity 24 of function (*Service).CreateAPIAsset() is high (> 15) (gocyclo)
    • Line 689: warning: cyclomatic complexity 22 of function (*Service).createContractIfExists() is high (> 15) (gocyclo)
    • Line 814: warning: cyclomatic complexity 21 of function (*Service).createContractFirstTime() is high (> 15) (gocyclo)
    • Line 1102: warning: cyclomatic complexity 19 of function (*Service).CreateSLA() is high (> 15) (gocyclo)
    • Line 1352: warning: cyclomatic complexity 16 of function parseSpec() is high (> 15) (gocyclo)
    • Line 408: warning: cyclomatic complexity 16 of function (*Service).CreateInstantiation() is high (> 15) (gocyclo)
    • erda/modules/hepa/gateway/service/gateway_domain_service.go
    • Line 403: warning: cyclomatic complexity 55 of function (GatewayDomainServiceImpl).TouchRuntimeDomain() is high (> 15) (gocyclo)
    • Line 818: warning: cyclomatic complexity 24 of function (GatewayDomainServiceImpl).TouchPackageDomain() is high (> 15) (gocyclo)
    • Line 1143: warning: cyclomatic complexity 24 of function (GatewayDomainServiceImpl).UpdateRuntimeServiceDomain() is high (> 15) (gocyclo)
    • Line 1257: warning: cyclomatic complexity 23 of function (GatewayDomainServiceImpl).CreateOrUpdateComponentIngress() is high (> 15) (gocyclo)
    • Line 1389: warning: cyclomatic complexity 21 of function (GatewayDomainServiceImpl).GetOrgDomainInfo() is high (> 15) (gocyclo)
    • Line 1037: warning: cyclomatic complexity 18 of function (GatewayDomainServiceImpl).GetRuntimeDomains() is high (> 15) (gocyclo)
    • erda/modules/scheduler/executor/plugins/marathon/marathon.go
    • Line 849: warning: cyclomatic complexity 36 of function (*Marathon).buildMarathonGroup() is high (> 15) (gocyclo)
    • Line 76: warning: cyclomatic complexity 32 of function init() is high (> 15) (gocyclo)
    • Line 1674: warning: cyclomatic complexity 19 of function constructConstrains() is high (> 15) (gocyclo)
    • Line 421: warning: cyclomatic complexity 16 of function (*Marathon).Inspect() is high (> 15) (gocyclo)
    • erda/modules/orchestrator/services/addon/addon.go
    • Line 1381: warning: cyclomatic complexity 55 of function (*Addon).Delete() is high (> 15) (gocyclo)
    • Line 150: warning: cyclomatic complexity 49 of function (*Addon).BatchCreate() is high (> 15) (gocyclo)
    • Line 1936: warning: cyclomatic complexity 40 of function (*Addon).ListByRuntime() is high (> 15) (gocyclo)
    • Line 2919: warning: cyclomatic complexity 33 of function (*Addon).GetDeployAndRemoveAddons() is high (> 15) (gocyclo)
    • Line 606: warning: cyclomatic complexity 32 of function (*Addon).CreateCustom() is high (> 15) (gocyclo)
    • Line 1139: warning: cyclomatic complexity 31 of function (*Addon).GetTenant() is high (> 15) (gocyclo)
    • Line 1241: warning: cyclomatic complexity 30 of function (*Addon).Get() is high (> 15) (gocyclo)
    • Line 2687: warning: cyclomatic complexity 28 of function (*Addon).PrepareCheckProjectLastResource() is high (> 15) (gocyclo)
    • Line 1029: warning: cyclomatic complexity 27 of function (*Addon).UpdateCustom() is high (> 15) (gocyclo)
    • Line 2296: warning: cyclomatic complexity 27 of function (*Addon).ListReferencesByRoutingInstanceID() is high (> 15) (gocyclo)
    • Line 869: warning: cyclomatic complexity 25 of function (*Addon).GetRuntimeAddonConfig() is high (> 15) (gocyclo)
    • Line 1856: warning: cyclomatic complexity 24 of function (*Addon).ListByDiceymlEnvs() is high (> 15) (gocyclo)
    • Line 2816: warning: cyclomatic complexity 24 of function (*Addon).StructToMap() is high (> 15) (gocyclo)
    • Line 3170: warning: cyclomatic complexity 23 of function (*Addon).convert() is high (> 15) (gocyclo)
    • Line 2444: warning: cyclomatic complexity 21 of function (*Addon).deleteByRuntimeIDAndInstanceID() is high (> 15) (gocyclo)
    • Line 1747: warning: cyclomatic complexity 18 of function (*Addon).ListByProject() is high (> 15) (gocyclo)
    • Line 444: warning: cyclomatic complexity 18 of function (*Addon).AddonProvisionCallback() is high (> 15) (gocyclo)
    • Line 345: warning: cyclomatic complexity 18 of function (*Addon).RuntimeAddonStatus() is high (> 15) (gocyclo)
    • Line 2608: warning: cyclomatic complexity 17 of function (*Addon).deployAddons() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!