Preparing report...

Report for github.com/douyu/juno

A+    Excellent!    Found 251 issues across 359 files

Tweet

gofmt100%

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

No problems detected. Good job!


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!


gocyclo97%

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.


golint30%

Golint is a linter for Go source code.

    • juno/pkg/model/db/pprof.go
    • Line 3: warning: comment on exported type PProf should be of the form "PProf ..." (with optional leading article) (golint)
    • Line 22: warning: exported type PprofInfo should have comment or be unexported (golint)
    • Line 33: warning: exported type PProfViewModel should have comment or be unexported (golint)
    • Line 38: warning: exported type PProfFileInfo should have comment or be unexported (golint)
    • Line 43: warning: exported type PProfOssFile should have comment or be unexported (golint)
    • Line 50: warning: exported type ReqCheck should have comment or be unexported (golint)
    • Line 54: warning: exported type ReqSysConfig should have comment or be unexported (golint)
    • juno/pkg/model/view/user.go
    • Line 10: warning: exported type User should have comment or be unexported (golint)
    • Line 49: warning: exported type ReqGetAppConfig should have comment or be unexported (golint)
    • Line 53: warning: exported type ReqPostAppConfig should have comment or be unexported (golint)
    • Line 58: warning: exported type ReqPostUserVisit should have comment or be unexported (golint)
    • Line 67: warning: exported method ReqPostUserVisit.Check should have comment or be unexported (golint)
    • Line 83: warning: comment on exported type ReqGetTabVisit should be of the form "ReqGetTabVisit ..." (with optional leading article) (golint)
    • Line 89: warning: exported method ReqGetTabVisit.Check should have comment or be unexported (golint)
    • Line 104: warning: exported type UserTabVisit should have comment or be unexported (golint)
    • Line 112: warning: exported type TabVisit should have comment or be unexported (golint)
    • Line 118: warning: exported type AppTabVisit should have comment or be unexported (golint)
    • Line 124: warning: exported type VisitStat should have comment or be unexported (golint)
    • Line 134: warning: exported var TabNameMap should have comment or be unexported (golint)
    • juno/pkg/model/view/respGovern/restyStats.go
    • Line 1: warning: don't use MixedCaps in package name; respGovern should be respgovern (golint)
    • Line 3: warning: comment on exported type RestyStats should be of the form "RestyStats ..." (with optional leading article) (golint)
    • Line 9: warning: exported type OneResty should have comment or be unexported (golint)
    • juno/internal/pkg/service/confgo/tpl.go
    • Line 18: warning: receiver name r should be consistent with previous receiver name c for confu (golint)
    • Line 33: warning: receiver name r should be consistent with previous receiver name c for confu (golint)
    • Line 38: warning: receiver name r should be consistent with previous receiver name c for confu (golint)
    • Line 55: warning: receiver name r should be consistent with previous receiver name c for confu (golint)
    • juno/pkg/util/util.go
    • Line 39: warning: exported function StringInArray should have comment or be unexported (golint)
    • Line 50: warning: comment on exported function StringPkg should be of the form "StringPkg ..." (golint)
    • Line 70: warning: exported function Timestamp2String64 should have comment or be unexported (golint)
    • Line 96: warning: comment on exported function StringToInt64 should be of the form "StringToInt64 ..." (golint)
    • Line 109: warning: don't use underscores in Go names; var a_len should be aLen (golint)
    • Line 119: warning: comment on exported function Md5 should be of the form "Md5 ..." (golint)
    • Line 276: warning: exported function GetVal should have comment or be unexported (golint)
    • Line 332: warning: exported function GetTyp should have comment or be unexported (golint)
    • Line 352: warning: exported function Md5Str should have comment or be unexported (golint)
    • Line 361: warning: comment on exported function Substr should be of the form "Substr ..." (golint)
    • Line 391: warning: comment on exported function ShortHash should be of the form "ShortHash ..." (golint)
    • Line 405: warning: don't use underscores in Go names; var short_url should be shortURL (golint)
    • Line 409: warning: don't use underscores in Go names; var urlhash_piece should be urlhashPiece (golint)
    • Line 429: warning: comment on exported function IsExist should be of the form "IsExist ..." (golint)
    • Line 435: warning: exported function CreatePath should have comment or be unexported (golint)
    • juno/pkg/model/view/resource.go
    • Line 6: warning: exported type ReqAppListWithEnv should have comment or be unexported (golint)
    • Line 12: warning: exported type RespAppListWithEnv should have comment or be unexported (golint)
    • Line 17: warning: exported type AppListWithEnvItem should have comment or be unexported (golint)
    • Line 22: warning: exported type ReqGetFrameVersion should have comment or be unexported (golint)
    • Line 26: warning: exported type RespGetFrameVersion should have comment or be unexported (golint)
    • juno/internal/pkg/service/clientproxy/etcdclient.go
    • Line 11: warning: exported type EtcdClient should have comment or be unexported (golint)
    • Line 17: warning: exported type EtcdClientOption should have comment or be unexported (golint)
    • Line 31: warning: exported method EtcdClient.Conn should have comment or be unexported (golint)
    • Line 35: warning: exported method EtcdClient.Put should have comment or be unexported (golint)
    • Line 44: warning: exported method EtcdClient.Get should have comment or be unexported (golint)
    • Line 55: warning: exported function WithUniqueZone should have comment or be unexported (golint)
    • juno/internal/pkg/packages/xtest/globalstore.go
    • Line 8: warning: exported function NewGlobalStore should have comment or be unexported (golint)
    • Line 14: warning: exported method GlobalStore.Set should have comment or be unexported (golint)
    • Line 18: warning: exported method GlobalStore.Get should have comment or be unexported (golint)
    • juno/internal/pkg/service/wsevent/wsevent.go
    • Line 10: warning: exported type WSEvent should have comment or be unexported (golint)
    • Line 17: warning: exported type Option should have comment or be unexported (golint)
    • Line 20: warning: exported type SubscribeHandler should have comment or be unexported (golint)
    • Line 27: warning: exported function Init should have comment or be unexported (golint)
    • Line 35: warning: exported function Instance should have comment or be unexported (golint)
    • Line 43: warning: exported method WSEvent.Pub should have comment or be unexported (golint)
    • Line 55: warning: exported method WSEvent.RemoveEvent should have comment or be unexported (golint)
    • Line 61: warning: exported method WSEvent.Sub should have comment or be unexported (golint)
    • juno/pkg/model/view/respGovern/gustyStats.go
    • Line 1: warning: don't use MixedCaps in package name; respGovern should be respgovern (golint)
    • Line 7: warning: comment on exported type GustyStats should be of the form "GustyStats ..." (with optional leading article) (golint)
    • Line 13: warning: exported type OneGusty should have comment or be unexported (golint)
    • juno/internal/pkg/service/user/userSession.go
    • Line 14: warning: exported const DefaultKey should have comment or be unexported (golint)
    • Line 20: warning: exported function InitUserSession should have comment or be unexported (golint)
    • Line 71: warning: exported function NewSessionStore should have comment or be unexported (golint)
    • juno/pkg/model/db/config_resource.go
    • Line 8: warning: exported type ConfigResource should have comment or be unexported (golint)
    • Line 24: warning: exported type ConfigResourceValue should have comment or be unexported (golint)
    • Line 40: warning: exported method ConfigResource.TableName should have comment or be unexported (golint)
    • Line 44: warning: exported method ConfigResourceValue.TableName should have comment or be unexported (golint)
    • Line 48: warning: exported method ConfigResourceTag.TableName should have comment or be unexported (golint)
    • juno/pkg/model/regv2_configurators.go
    • Line 5: warning: exported type ConfigInfo should have comment or be unexported (golint)
    • Line 10: warning: comment on exported type ConfiguratorsEtcdInfo should be of the form "ConfiguratorsEtcdInfo ..." (with optional leading article) (golint)
    • Line 27: warning: exported method ConfigInfo.ParseValue should have comment or be unexported (golint)
    • Line 50: warning: exported method ConfigInfo.Enable should have comment or be unexported (golint)
    • Line 54: warning: exported method ConfigInfo.Group should have comment or be unexported (golint)
    • Line 58: warning: exported method ConfigInfo.Weight should have comment or be unexported (golint)
    • Line 61: warning: exported method ConfigInfo.Value should have comment or be unexported (golint)
    • juno/internal/pkg/service/testtask/testtask.go
    • Line 13: warning: exported type Option should have comment or be unexported (golint)
    • Line 17: warning: exported type TestTask should have comment or be unexported (golint)
    • Line 27: warning: exported function Init should have comment or be unexported (golint)
    • Line 34: warning: exported function Instance should have comment or be unexported (golint)
    • Line 42: warning: exported method TestTask.C should have comment or be unexported (golint)
    • Line 46: warning: exported method TestTask.Push should have comment or be unexported (golint)
    • juno/pkg/auth/social/gitlab_oauth.go
    • Line 13: warning: exported type SocialGitlab should have comment or be unexported (golint)
    • Line 19: warning: exported method SocialGitlab.Type should have comment or be unexported (golint)
    • Line 23: warning: exported method SocialGitlab.IsGroupMember should have comment or be unexported (golint)
    • Line 39: warning: exported method SocialGitlab.GetGroups should have comment or be unexported (golint)
    • Line 91: warning: exported method SocialGitlab.UserInfo should have comment or be unexported (golint)
    • juno/internal/pkg/service/grpctest/usecase.go
    • Line 16: warning: exported function UseCases should have comment or be unexported (golint)
    • Line 51: warning: exported function CreateUseCase should have comment or be unexported (golint)
    • Line 92: warning: exported function UpdateUseCase should have comment or be unexported (golint)
    • Line 129: warning: exported function UseCaseDetail should have comment or be unexported (golint)
    • Line 158: warning: exported function DeleteUseCase should have comment or be unexported (golint)
    • Line 172: warning: exported function SendRequestCallGRPC should have comment or be unexported (golint)
    • juno/api/apiv1/resource/zone.go
    • Line 11: warning: comment on exported function ZoneInfo should be of the form "ZoneInfo ..." (golint)
    • Line 79: warning: comment on exported function ZoneCreate should be of the form "ZoneCreate ..." (golint)
    • Line 96: warning: comment on exported function ZoneUpdate should be of the form "ZoneUpdate ..." (golint)
    • Line 113: warning: comment on exported function ZoneDelete should be of the form "ZoneDelete ..." (golint)
    • Line 130: warning: comment on exported function ZoneEnv should be of the form "ZoneEnv ..." (golint)
    • juno/pkg/model/db/httptest.go
    • Line 11: warning: exported type HttpTestCollection should have comment or be unexported (golint)
    • Line 20: warning: exported type HttpTestCase should have comment or be unexported (golint)
    • Line 35: warning: exported type HttpTestLog should have comment or be unexported (golint)
    • Line 63: warning: exported type HttpTestParam should have comment or be unexported (golint)
    • Line 65: warning: exported type HttpTestParamItem should have comment or be unexported (golint)
    • Line 72: warning: exported method HttpTestParam.Scan should have comment or be unexported (golint)
    • Line 76: warning: exported method HttpTestParam.Value should have comment or be unexported (golint)
    • Line 85: warning: exported method HttpTestCollection.TableName should have comment or be unexported (golint)
    • Line 89: warning: exported method HttpTestCase.TableName should have comment or be unexported (golint)
    • Line 93: warning: exported method HttpTestLog.TableName should have comment or be unexported (golint)
    • juno/pkg/model/view/respIDC.go
    • Line 5: warning: exported type RespIDCList should have comment or be unexported (golint)
    • Line 11: warning: exported type RespIDCStructure should have comment or be unexported (golint)
    • Line 17: warning: exported type GovernIdcStatus should have comment or be unexported (golint)
    • juno/pkg/model/db/casbin_policy_group.go
    • Line 6: warning: exported type CasbinGroupType should have comment or be unexported (golint)
    • Line 8: warning: exported type CasbinPolicyGroup should have comment or be unexported (golint)
    • Line 22: warning: exported var CasbinGroupTypeUser should have comment or be unexported (golint)
    • Line 27: warning: exported method CasbinPolicyGroup.TableName should have comment or be unexported (golint)
    • juno/internal/pkg/service/parse/parse_yaml.go
    • Line 15: warning: exported type YamlParse should have comment or be unexported (golint)
    • Line 18: warning: exported type Item should have comment or be unexported (golint)
    • Line 28: warning: exported function NewYanmlParse should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method YamlParse.FusionWithTpl should be of the form "FusionWithTpl ..." (golint)
    • juno/internal/pkg/packages/roundtrip/roundtrip.go
    • Line 11: warning: exported type RoundTripperFactory should have comment or be unexported (golint)
    • Line 15: warning: exported function GetRoundTripper should have comment or be unexported (golint)
    • Line 19: warning: exported function NewProxyRoundTripper should have comment or be unexported (golint)
    • juno/pkg/model/db/app_reg_info_log.go
    • Line 5: warning: exported type RegInfoOutPut should have comment or be unexported (golint)
    • Line 16: warning: exported type NodeStatus should have comment or be unexported (golint)
    • Line 24: warning: exported type AppNodeInfoLog should have comment or be unexported (golint)
    • Line 40: warning: exported method AppNodeInfoLog.TableName should have comment or be unexported (golint)
    • Line 44: warning: comment on exported type AppRegInfoLog should be of the form "AppRegInfoLog ..." (with optional leading article) (golint)
    • Line 60: warning: exported method AppRegInfoLog.TableName should have comment or be unexported (golint)
    • Line 64: warning: exported type RegAllData should have comment or be unexported (golint)
    • Line 69: warning: exported type ServerRegData should have comment or be unexported (golint)
    • Line 74: warning: exported type ServerConfigData should have comment or be unexported (golint)
    • Line 79: warning: exported type GovernRegData should have comment or be unexported (golint)
    • Line 86: warning: exported type GovernConfigData should have comment or be unexported (golint)
    • Line 94: warning: exported method GovernConfigData.JsonString should have comment or be unexported (golint)
    • juno/internal/pkg/service/httptest/request.go
    • Line 17: warning: exported type Request should have comment or be unexported (golint)
    • Line 23: warning: exported type HttpResponse should have comment or be unexported (golint)
    • Line 31: warning: exported function SendRequest should have comment or be unexported (golint)
    • Line 133: warning: exported function RequestHistory should have comment or be unexported (golint)
    • Line 189: warning: exported function RequestHistoryDetail should have comment or be unexported (golint)
    • Line 217: warning: exported function NewRequest should have comment or be unexported (golint)
    • Line 254: warning: exported method Request.Send should have comment or be unexported (golint)
    • juno/pkg/model/db/node.go
    • Line 3: warning: comment on exported type Node should be of the form "Node ..." (with optional leading article) (golint)
    • Line 26: warning: exported method Node.TableName should have comment or be unexported (golint)
    • Line 30: warning: exported type NodeCnt should have comment or be unexported (golint)
    • juno/api/apiv1/proxy/proxy.go
    • Line 19: warning: exported function ProxyPost should have comment or be unexported (golint)
    • Line 79: warning: exported function WorkerHeartbeat should have comment or be unexported (golint)
    • juno/pkg/model/go_dep.go
    • Line 3: warning: exported type GoDepProject should have comment or be unexported (golint)
    • Line 11: warning: exported type PkgDep should have comment or be unexported (golint)
    • Line 15: warning: exported type GomodProject should have comment or be unexported (golint)
    • juno/pkg/util/encrypt.go
    • Line 11: warning: exported function AESCBCEncrypt should have comment or be unexported (golint)
    • Line 29: warning: exported function AESCBCDecrypt should have comment or be unexported (golint)
    • Line 46: warning: comment on exported function PKCS7Padding should be of the form "PKCS7Padding ..." (golint)
    • Line 54: warning: comment on exported function PKCS7UnPadding should be of the form "PKCS7UnPadding ..." (golint)
    • juno/pkg/util/net.go
    • Line 8: warning: exported function ExternalIPString should have comment or be unexported (golint)
    • Line 17: warning: exported function ExternalIP should have comment or be unexported (golint)
    • juno/pkg/model/db/casbin_policy_auth.go
    • Line 11: warning: exported type CasbinPolicyObject should have comment or be unexported (golint)
    • Line 17: warning: exported type CasbinPolicyType should have comment or be unexported (golint)
    • Line 19: warning: exported type CasbinPolicyAuth should have comment or be unexported (golint)
    • Line 29: warning: exported var CasbinPolicyTypeMenu should have comment or be unexported (golint)
    • Line 34: warning: comment on exported var MonitorPermWrite should be of the form "MonitorPermWrite ..." (golint)
    • Line 46: warning: exported method CasbinPolicyAuth.TableName should have comment or be unexported (golint)
    • Line 50: warning: exported method CasbinPolicyObject.Scan should have comment or be unexported (golint)
    • Line 54: warning: exported method CasbinPolicyObject.Value should have comment or be unexported (golint)
    • juno/pkg/model/view/respApp.go
    • Line 17: warning: exported type ResourceList should have comment or be unexported (golint)
    • Line 40: warning: exported type RespAppPkgAllList should have comment or be unexported (golint)
    • Line 48: warning: exported type RespAppPkgLinkList should have comment or be unexported (golint)
    • Line 53: warning: exported type RespAppProjectList should have comment or be unexported (golint)
    • Line 59: warning: exported type RespDroneStatus should have comment or be unexported (golint)
    • Line 66: warning: exported type RespAppCommit should have comment or be unexported (golint)
    • Line 72: warning: exported type RespAppStatistics should have comment or be unexported (golint)
    • juno/api/apiv1/openauth/accesstoken.go
    • Line 10: warning: exported function CreateAccessToken should have comment or be unexported (golint)
    • Line 25: warning: exported function DeleteAccessToken should have comment or be unexported (golint)
    • Line 40: warning: exported function ListAccessToken should have comment or be unexported (golint)
    • juno/pkg/auth/social/google_oauth.go
    • Line 11: warning: exported type SocialGoogle should have comment or be unexported (golint)
    • Line 17: warning: exported method SocialGoogle.Type should have comment or be unexported (golint)
    • Line 21: warning: exported method SocialGoogle.UserInfo should have comment or be unexported (golint)
    • juno/api/apiv1/resource/view.go
    • Line 5: warning: comment on exported type ReqAppInfo should be of the form "ReqAppInfo ..." (with optional leading article) (golint)
    • Line 11: warning: exported type ReqAppList should have comment or be unexported (golint)
    • Line 20: warning: exported type ReqAppPut should have comment or be unexported (golint)
    • Line 24: warning: exported type ReqAppCreate should have comment or be unexported (golint)
    • Line 28: warning: exported type ReqAppUpdate should have comment or be unexported (golint)
    • Line 32: warning: exported type ReqAppDelete should have comment or be unexported (golint)
    • Line 36: warning: comment on exported type ReqZoneInfo should be of the form "ReqZoneInfo ..." (with optional leading article) (golint)
    • Line 42: warning: exported type ReqZoneList should have comment or be unexported (golint)
    • Line 52: warning: exported type ReqZonePut should have comment or be unexported (golint)
    • Line 56: warning: exported type ReqZoneCreate should have comment or be unexported (golint)
    • Line 60: warning: exported type ReqZoneUpdate should have comment or be unexported (golint)
    • Line 64: warning: exported type ReqZoneDelete should have comment or be unexported (golint)
    • Line 68: warning: comment on exported type ReqNodeInfo should be of the form "ReqNodeInfo ..." (with optional leading article) (golint)
    • Line 74: warning: exported type ReqNodeList should have comment or be unexported (golint)
    • Line 82: warning: exported type ReqNodePut should have comment or be unexported (golint)
    • Line 86: warning: exported type ReqNodeCreate should have comment or be unexported (golint)
    • Line 90: warning: exported type ReqNodeUpdate should have comment or be unexported (golint)
    • Line 94: warning: exported type ReqNodeDelete should have comment or be unexported (golint)
    • Line 98: warning: exported type ReqNodeHeartBeat should have comment or be unexported (golint)
    • Line 110: warning: exported type ReqNodeTransferList should have comment or be unexported (golint)
    • Line 115: warning: exported type ReqNodeTransferPut should have comment or be unexported (golint)
    • Line 120: warning: exported type ReqAppNodeTransferList should have comment or be unexported (golint)
    • Line 124: warning: exported type ReqAppNodeTransferPut should have comment or be unexported (golint)
    • Line 129: warning: comment on exported type ReqAppNodeInfo should be of the form "ReqAppNodeInfo ..." (with optional leading article) (golint)
    • Line 134: warning: exported type ReqAppEnvNodeList should have comment or be unexported (golint)
    • Line 138: warning: exported type ReqAppNodeList should have comment or be unexported (golint)
    • Line 149: warning: exported type ReqAppNodePut should have comment or be unexported (golint)
    • Line 155: warning: exported type ReqAppNodeCreate should have comment or be unexported (golint)
    • Line 159: warning: exported type ReqAppNodeUpdate should have comment or be unexported (golint)
    • Line 163: warning: exported type ReqAppNodeDelete should have comment or be unexported (golint)
    • Line 167: warning: exported type QueryAppByAppName should have comment or be unexported (golint)
    • Line 171: warning: exported type RespAppGrpcAddrList should have comment or be unexported (golint)
    • Line 176: warning: exported type RespAppHTTPAddrList should have comment or be unexported (golint)
    • Line 181: warning: exported type AddrEnvItem should have comment or be unexported (golint)
    • Line 186: warning: exported type NodeStaticsInfo should have comment or be unexported (golint)
    • Line 191: warning: exported type RespNodeStatics should have comment or be unexported (golint)
    • Line 198: warning: exported type ReqCluterInfo should have comment or be unexported (golint)
    • juno/internal/app/middleware/casbin.go
    • Line 35: warning: comment on exported type AppEnvParser should be of the form "AppEnvParser ..." (with optional leading article) (golint)
    • Line 46: warning: comment on exported function CasbinMiddleware should be of the form "CasbinMiddleware ..." (golint)
    • Line 84: warning: comment on exported method CasbinConfig.CheckPermission should be of the form "CheckPermission ..." (golint)
    • Line 90: warning: exported function AllowPathPrefixSkipper should have comment or be unexported (golint)
    • Line 146: warning: exported function CasbinAppMW should have comment or be unexported (golint)
    • Line 188: warning: exported function GrafanaAuthMW should have comment or be unexported (golint)
    • Line 240: warning: exported function AuthFailedResp should have comment or be unexported (golint)
    • juno/internal/app/worker/testworker/linter.go
    • Line 19: warning: exported type Linter should have comment or be unexported (golint)
    • Line 31: warning: exported function NewLinter should have comment or be unexported (golint)
    • Line 38: warning: exported method Linter.Lint should have comment or be unexported (golint)
    • Line 56: warning: exported method Linter.Problems should have comment or be unexported (golint)
    • juno/internal/pkg/service/confgov2/lock.go
    • Line 13: warning: exported const ExpiredLockTime should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported function TryLock should have comment or be unexported (golint)
    • Line 44: warning: exported function Unlock should have comment or be unexported (golint)
    • juno/api/apiv1/test/platform/pipeline.go
    • Line 13: warning: exported function ListPipeline should have comment or be unexported (golint)
    • Line 28: warning: exported function CreatePipeline should have comment or be unexported (golint)
    • Line 45: warning: exported function UpdatePipeline should have comment or be unexported (golint)
    • Line 61: warning: exported function RunPipeline should have comment or be unexported (golint)
    • Line 75: warning: exported function DeletePipeline should have comment or be unexported (golint)
    • juno/pkg/model/view/respGovern/bigmapStats.go
    • Line 1: warning: don't use MixedCaps in package name; respGovern should be respgovern (golint)
    • Line 3: warning: comment on exported type BigmapStats should be of the form "BigmapStats ..." (with optional leading article) (golint)
    • Line 9: warning: exported type OneBigmap should have comment or be unexported (golint)
    • juno/internal/pkg/service/casbin/constx.go
    • Line 8: warning: exported const GroupTypeUser should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported function CasbinGroupKey should have comment or be unexported (golint)
    • Line 17: warning: exported function CasbinAppObjKey should have comment or be unexported (golint)
    • juno/pkg/model/view/taskplatform.go
    • Line 10: warning: comment on exported type CronJob should be of the form "CronJob ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported type CronJobListItem should be of the form "CronJobListItem ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported type CronJobTimer should be of the form "CronJobTimer ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported type CronTask should be of the form "CronTask ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported type CronTaskDetail should be of the form "CronTaskDetail ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported type JobRule should be of the form "JobRule ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported type ReqQueryJobs should be of the form "ReqQueryJobs ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported type ReqQueryTasks should be of the form "ReqQueryTasks ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported type TaskPlatformJob should be of the form "TaskPlatformJob ..." (with optional leading article) (golint)
    • juno/pkg/auth/social/grafana_com_oauth.go
    • Line 11: warning: exported type SocialGrafanaCom should have comment or be unexported (golint)
    • Line 17: warning: exported type OrgRecord should have comment or be unexported (golint)
    • Line 21: warning: exported method SocialGrafanaCom.Type should have comment or be unexported (golint)
    • Line 25: warning: exported method SocialGrafanaCom.IsEmailAllowed should have comment or be unexported (golint)
    • Line 29: warning: exported method SocialGrafanaCom.IsOrganizationMember should have comment or be unexported (golint)
    • Line 45: warning: exported method SocialGrafanaCom.UserInfo should have comment or be unexported (golint)
    • juno/pkg/model/view/configresource.go
    • Line 6: warning: exported type ReqListConfigResource should have comment or be unexported (golint)
    • Line 15: warning: exported type RespListConfigResource should have comment or be unexported (golint)
    • Line 20: warning: exported type RespListConfigResourceItem should have comment or be unexported (golint)
    • Line 36: warning: exported type ReqCreateConfigResource should have comment or be unexported (golint)
    • Line 47: warning: exported type ReqDetailConfigResource should have comment or be unexported (golint)
    • Line 51: warning: exported type RespDetailConfigResource should have comment or be unexported (golint)
    • Line 66: warning: exported type ReqGetConfigResourceByName should have comment or be unexported (golint)
    • Line 72: warning: exported type ConfigResourceVersion should have comment or be unexported (golint)
    • Line 77: warning: exported type ReqCreateConfigResourceVersion should have comment or be unexported (golint)
    • Line 84: warning: exported type ReqBatchCheckResourceVersion should have comment or be unexported (golint)
    • Line 91: warning: exported type RespBatchCheckResourceVersion should have comment or be unexported (golint)
    • Line 93: warning: exported type BatchCheckResourceVersionItem should have comment or be unexported (golint)
    • juno/internal/pkg/service/testplatform/testplatform.go
    • Line 32: warning: exported function ListPipeline should have comment or be unexported (golint)
    • Line 147: warning: exported function CreatePipeline should have comment or be unexported (golint)
    • Line 295: warning: exported function UpdatePipeline should have comment or be unexported (golint)
    • Line 320: warning: exported function DeletePipeline should have comment or be unexported (golint)
    • Line 329: warning: exported function DispatchTask should have comment or be unexported (golint)
    • Line 510: warning: exported function UpdateTaskStatus should have comment or be unexported (golint)
    • Line 696: warning: exported function ListTasks should have comment or be unexported (golint)
    • Line 748: warning: exported function TaskSteps should have comment or be unexported (golint)
    • Line 768: warning: exported function WorkerZones should have comment or be unexported (golint)
    • juno/pkg/model/view/respGovern/appInfo.go
    • Line 1: warning: don't use MixedCaps in package name; respGovern should be respgovern (golint)
    • Line 3: warning: comment on exported type AppInfo should be of the form "AppInfo ..." (with optional leading article) (golint)
    • juno/pkg/model/db/types.go
    • Line 9: warning: exported type MapStringArray should have comment or be unexported (golint)
    • Line 10: warning: exported type MapStringString should have comment or be unexported (golint)
    • Line 11: warning: exported type StringArray should have comment or be unexported (golint)
    • Line 14: warning: exported method MapStringArray.Scan should have comment or be unexported (golint)
    • Line 18: warning: exported method MapStringArray.Value should have comment or be unexported (golint)
    • Line 27: warning: exported method MapStringString.Scan should have comment or be unexported (golint)
    • Line 31: warning: exported method MapStringString.Value should have comment or be unexported (golint)
    • Line 39: warning: exported method StringArray.Scan should have comment or be unexported (golint)
    • Line 43: warning: exported method StringArray.Value should have comment or be unexported (golint)
    • juno/pkg/model/init.go
    • Line 9: warning: exported function InitDefault should have comment or be unexported (golint)
    • Line 13: warning: exported function Init should have comment or be unexported (golint)
    • juno/internal/app/adminengine/form_validator.go
    • Line 6: warning: exported type FormValidator should have comment or be unexported (golint)
    • Line 11: warning: exported function NewValidator should have comment or be unexported (golint)
    • Line 17: warning: exported method FormValidator.Validate should have comment or be unexported (golint)
    • juno/api/apiv1/cronjob/cronjob.go
    • Line 10: warning: exported function ListJob should have comment or be unexported (golint)
    • Line 28: warning: exported function CreateJob should have comment or be unexported (golint)
    • Line 44: warning: exported function UpdateJob should have comment or be unexported (golint)
    • Line 60: warning: exported function DeleteJob should have comment or be unexported (golint)
    • Line 74: warning: exported function Dispatch should have comment or be unexported (golint)
    • juno/internal/pkg/service/confgo/tpl_parse.go
    • Line 20: warning: exported var CmcIp should have comment or be unexported (golint)
    • Line 33: warning: exported const SEP_POINT should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported type CmcParse should have comment or be unexported (golint)
    • Line 41: warning: exported type CmcToml should have comment or be unexported (golint)
    • Line 47: warning: exported type CmcInfo should have comment or be unexported (golint)
    • Line 59: warning: exported function InitCmcToml should have comment or be unexported (golint)
    • Line 68: warning: exported function GetAllTpl should have comment or be unexported (golint)
    • Line 83: warning: comment on exported function ParseTpl should be of the form "ParseTpl ..." (golint)
    • Line 134: warning: exported method CmcToml.ParseConfig should have comment or be unexported (golint)
    • juno/pkg/notice/email.go
    • Line 14: warning: exported type Email should have comment or be unexported (golint)
    • Line 35: warning: exported type EmailOption should have comment or be unexported (golint)
    • Line 37: warning: exported function EmailBody should have comment or be unexported (golint)
    • Line 56: warning: comment on exported method Email.Send should be of the form "Send ..." (golint)
    • Line 61: warning: comment on exported function NewEmailNotice should be of the form "NewEmailNotice ..." (golint)
    • juno/api/apiv1/app/view.go
    • Line 3: warning: exported type ReqList should have comment or be unexported (golint)
    • Line 9: warning: exported type RespInfo should have comment or be unexported (golint)
    • Line 23: warning: exported type ReqLogger should have comment or be unexported (golint)
    • juno/pkg/model/const.go
    • Line 7: warning: exported const ConfigFormatToml should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported const ConfigLanguageGo should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported const ItemStatusPub should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported const ItemLogStatusNew should have comment (or a comment on this block) or be unexported (golint)
    • juno/pkg/model/regv2_provider.go
    • Line 8: warning: exported type ProviderInfo should have comment or be unexported (golint)
    • Line 33: warning: exported method ProviderInfo.ParseValue should have comment or be unexported (golint)
    • Line 54: warning: exported type ProviderMetaData should have comment or be unexported (golint)
    • Line 91: warning: exported method ProviderInfo.Region should have comment or be unexported (golint)
    • Line 95: warning: exported method ProviderInfo.Zone should have comment or be unexported (golint)
    • Line 99: warning: exported method ProviderInfo.Weight should have comment or be unexported (golint)
    • Line 103: warning: exported method ProviderInfo.Enable should have comment or be unexported (golint)
    • Line 107: warning: exported method ProviderInfo.Group should have comment or be unexported (golint)
    • Line 111: warning: exported method ProviderInfo.Value should have comment or be unexported (golint)
    • juno/api/apiv1/analysis/view.go
    • Line 5: warning: exported type ReqTopologyList should have comment or be unexported (golint)
    • Line 11: warning: exported type RespRelationship should have comment or be unexported (golint)
    • juno/pkg/model/view/respGovern/redixStats.go
    • Line 1: warning: don't use MixedCaps in package name; respGovern should be respgovern (golint)
    • Line 7: warning: comment on exported type RedixStats should be of the form "RedixStats ..." (with optional leading article) (golint)
    • Line 13: warning: exported type OneRedix should have comment or be unexported (golint)
    • juno/pkg/model/view/confgov2.go
    • Line 12: warning: comment on exported const ConfigFormatINI should be of the form "ConfigFormatINI ..." (golint)
    • Line 15: warning: comment on exported const ConfigureUsedTypeSupervisor should be of the form "ConfigureUsedTypeSupervisor ..." (golint)
    • Line 17: warning: exported const ConfigureUsedTypeSystemd should have comment (or a comment on this block) or be unexported (golint)
    • Line 147: warning: exported type DiffUrlList should have comment or be unexported (golint)
    • Line 157: warning: exported type ReqConfigInstanceList should have comment or be unexported (golint)
    • Line 163: warning: exported type ReqAppAction should have comment or be unexported (golint)
    • Line 172: warning: exported type RespAppAction should have comment or be unexported (golint)
    • Line 178: warning: exported type RespConfigInstanceList should have comment or be unexported (golint)
    • Line 217: warning: exported type ReqReadInstanceConfig should have comment or be unexported (golint)
    • Line 222: warning: exported type ReqLockConfig should have comment or be unexported (golint)
    • Line 226: warning: exported type RespReadInstanceConfigItem should have comment or be unexported (golint)
    • Line 286: warning: exported type AppAction should have comment or be unexported (golint)
    • juno/api/apiv1/test/grpc/usecase.go
    • Line 11: warning: exported function UseCases should have comment or be unexported (golint)
    • Line 33: warning: exported function CreateUseCase should have comment or be unexported (golint)
    • Line 50: warning: exported function UpdateUseCase should have comment or be unexported (golint)
    • Line 67: warning: exported function UseCaseDetail should have comment or be unexported (golint)
    • Line 82: warning: exported function DeleteUseCase should have comment or be unexported (golint)
    • Line 100: warning: exported function SendRequest should have comment or be unexported (golint)
    • Line 121: warning: exported function RequestHistory should have comment or be unexported (golint)
    • Line 137: warning: exported function RequestHistoryDetail should have comment or be unexported (golint)
    • juno/api/apiv1/provider/provider.go
    • Line 28: warning: exported function ConfiguratorsUpdate should have comment or be unexported (golint)
    • Line 147: warning: exported function AggregationList should have comment or be unexported (golint)
    • Line 274: warning: exported function GetGrpcConfig should have comment or be unexported (golint)
    • juno/pkg/model/view/httptest.go
    • Line 10: warning: exported type HttpTestCollection should have comment or be unexported (golint)
    • Line 18: warning: exported type RespListHttpTestCollection should have comment or be unexported (golint)
    • Line 23: warning: exported type HttpTestCase should have comment or be unexported (golint)
    • Line 35: warning: exported type HttpTestResponse should have comment or be unexported (golint)
    • Line 46: warning: exported type HttpTestLog should have comment or be unexported (golint)
    • Line 68: warning: comment on exported type HttTestLogListItem should be of the form "HttTestLogListItem ..." (with optional leading article) (golint)
    • Line 86: warning: exported type RespListHttpTestHistory should have comment or be unexported (golint)
    • juno/api/apiv1/user/login_oauth.go
    • Line 29: warning: exported var OauthStateCookieName should have comment or be unexported (golint)
    • Line 32: warning: exported function GenStateString should have comment or be unexported (golint)
    • Line 41: warning: exported function LoginOauth should have comment or be unexported (golint)
    • Line 81: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 167: 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)
    • juno/api/apiv1/resource/app_node.go
    • Line 12: warning: exported function AppNodeInfo should have comment or be unexported (golint)
    • Line 30: warning: exported function AppNodeList should have comment or be unexported (golint)
    • Line 57: warning: exported function AppNodePut should have comment or be unexported (golint)
    • Line 81: warning: exported function AppEnvZoneList should have comment or be unexported (golint)
    • Line 135: warning: exported function AppNodeTransferList should have comment or be unexported (golint)
    • Line 166: warning: exported function AppNodeTransferPut should have comment or be unexported (golint)
    • juno/internal/pkg/service/supervisor/auth.go
    • Line 10: warning: exported type Mac should have comment or be unexported (golint)
    • Line 15: warning: exported function NewMac should have comment or be unexported (golint)
    • Line 19: warning: exported method Mac.Sign should have comment or be unexported (golint)
    • Line 34: warning: exported method Mac.GenarateHeaderMap should have comment or be unexported (golint)
    • juno/internal/pkg/service/casbin/impl.go
    • Line 8: warning: exported type PolicyType should have comment or be unexported (golint)
    • Line 14: warning: exported function PolicyAuthList should have comment or be unexported (golint)
    • Line 19: warning: exported function PolicyGroupList should have comment or be unexported (golint)
    • juno/pkg/auth/social/github_oauth.go
    • Line 13: warning: exported type SocialGithub should have comment or be unexported (golint)
    • Line 20: warning: exported type GithubTeam should have comment or be unexported (golint)
    • Line 30: warning: exported var ErrMissingTeamMembership should have comment or be unexported (golint)
    • Line 34: warning: exported method SocialGithub.Type should have comment or be unexported (golint)
    • Line 38: warning: exported method SocialGithub.IsTeamMember should have comment or be unexported (golint)
    • Line 59: warning: exported method SocialGithub.IsOrganizationMember should have comment or be unexported (golint)
    • Line 80: warning: exported method SocialGithub.FetchPrivateEmail should have comment or be unexported (golint)
    • Line 109: warning: exported method SocialGithub.FetchTeamMemberships should have comment or be unexported (golint)
    • Line 136: warning: exported method SocialGithub.HasMoreRecords should have comment or be unexported (golint)
    • Line 156: warning: exported method SocialGithub.FetchOrganizations should have comment or be unexported (golint)
    • Line 181: warning: exported method SocialGithub.UserInfo should have comment or be unexported (golint)
    • Line 234: warning: exported method GithubTeam.GetShorthand should have comment or be unexported (golint)
    • juno/internal/pkg/service/supervisor/supervisor.go
    • Line 9: warning: exported type ActionType should have comment or be unexported (golint)
    • Line 13: warning: don't use underscores in Go names; const ActionType_StatusAction should be ActionTypeStatusAction (golint)
    • Line 14: warning: don't use underscores in Go names; const ActionType_StartAction should be ActionTypeStartAction (golint)
    • Line 15: warning: don't use underscores in Go names; const ActionType_StopAction should be ActionTypeStopAction (golint)
    • Line 16: warning: don't use underscores in Go names; const ActionType_RelaodAction should be ActionTypeRelaodAction (golint)
    • Line 19: warning: exported function NewSupervisor should have comment or be unexported (golint)
    • Line 23: warning: exported var ActionMap should have comment or be unexported (golint)
    • Line 30: warning: exported type Supervisor should have comment or be unexported (golint)
    • Line 32: warning: exported type ActionReq should have comment or be unexported (golint)
    • Line 40: warning: exported type ActionResp should have comment or be unexported (golint)
    • Line 46: warning: exported type ActionData should have comment or be unexported (golint)
    • Line 52: warning: exported type Req should have comment or be unexported (golint)
    • Line 61: warning: exported type Ret should have comment or be unexported (golint)
    • Line 66: warning: exported type RetExecInfo should have comment or be unexported (golint)
    • Line 76: warning: exported method Supervisor.DoCtrl should have comment or be unexported (golint)
    • juno/internal/pkg/service/casbin/casbin.go
    • Line 20: warning: exported type CasbinService should have comment or be unexported (golint)
    • Line 30: warning: exported type PermissionTree should have comment or be unexported (golint)
    • Line 32: warning: exported type AppPermissionList should have comment or be unexported (golint)
    • Line 34: warning: exported type MenuTreeItem should have comment or be unexported (golint)
    • Line 42: warning: exported type AppPermissionItem should have comment or be unexported (golint)
    • Line 47: warning: exported type APIItem should have comment or be unexported (golint)
    • Line 53: warning: exported type Object should have comment or be unexported (golint)
    • Line 58: warning: exported type APIListItem should have comment or be unexported (golint)
    • Line 64: warning: exported type Action should have comment or be unexported (golint)
    • Line 68: warning: exported var Casbin should have comment or be unexported (golint)
    • Line 128: warning: exported method CasbinService.CheckPermission should have comment or be unexported (golint)
    • Line 142: warning: exported method CasbinService.CheckUserPermission should have comment or be unexported (golint)
    • Line 152: warning: exported method CasbinService.GetMenu should have comment or be unexported (golint)
    • Line 186: warning: exported method CasbinService.LoadPolicy should have comment or be unexported (golint)
    • Line 227: warning: exported method CasbinService.GetAPIItem should have comment or be unexported (golint)
    • Line 239: warning: exported method CasbinService.UserMenu should have comment or be unexported (golint)
    • Line 248: warning: exported method CasbinService.APIList should have comment or be unexported (golint)
    • Line 261: warning: comment on exported method CasbinService.FullAPIList should be of the form "FullAPIList ..." (golint)
    • Line 292: warning: exported method CasbinService.CheckAppPermissionKeyValid should have comment or be unexported (golint)
    • Line 302: warning: exported method CasbinService.CheckAPIValid should have comment or be unexported (golint)
    • Line 312: warning: exported method CasbinService.AppPermissionList should have comment or be unexported (golint)
    • juno/api/apiv1/test/http/request.go
    • Line 11: warning: exported function SendRequest should have comment or be unexported (golint)
    • Line 27: warning: exported function RequestHistory should have comment or be unexported (golint)
    • Line 43: warning: exported function RequestDetail should have comment or be unexported (golint)
    • juno/pkg/auth/social/social.go
    • Line 16: warning: exported type BasicUserInfo should have comment or be unexported (golint)
    • Line 26: warning: exported type SocialConnector should have comment or be unexported (golint)
    • Line 38: warning: exported type SocialBase should have comment or be unexported (golint)
    • Line 45: warning: exported type Error should have comment or be unexported (golint)
    • Line 54: warning: exported var SocialBaseUrl should have comment or be unexported (golint)
    • Line 69: warning: exported function NewOAuthService should have comment or be unexported (golint)
    • juno/api/apiv1/test/grpc/proto.go
    • Line 10: warning: exported function Proto should have comment or be unexported (golint)
    • Line 19: warning: exported function MethodDetail should have comment or be unexported (golint)
    • Line 34: warning: exported function BindProtoToApp should have comment or be unexported (golint)
    • Line 54: warning: exported function AppServiceTree should have comment or be unexported (golint)
    • Line 63: warning: exported function Services should have comment or be unexported (golint)
    • juno/internal/pkg/service/notify/notify.go
    • Line 26: warning: exported var StreamStore should have comment or be unexported (golint)
    • Line 40: warning: exported function InitStreamStore should have comment or be unexported (golint)
    • Line 123: warning: don't use underscores in Go names; var reply_status should be replyStatus (golint)
    • juno/internal/app/worker/testworker/worker.go
    • Line 32: warning: exported type TestWorker should have comment or be unexported (golint)
    • Line 40: warning: exported type Option should have comment or be unexported (golint)
    • Line 48: warning: exported type RespConsumeJob should have comment or be unexported (golint)
    • Line 54: warning: exported type ProgressLog should have comment or be unexported (golint)
    • Line 61: warning: exported type JobHandler should have comment or be unexported (golint)
    • Line 77: warning: exported function Instance should have comment or be unexported (golint)
    • Line 95: warning: exported method TestWorker.Init should have comment or be unexported (golint)
    • Line 111: warning: exported method TestWorker.Start should have comment or be unexported (golint)
    • Line 116: warning: exported method TestWorker.Push should have comment or be unexported (golint)
    • juno/pkg/model/db/cronjob.go
    • Line 10: warning: exported type CronJob should have comment or be unexported (golint)
    • Line 30: warning: exported type CronJobTimer should have comment or be unexported (golint)
    • Line 38: warning: exported type CronTask should have comment or be unexported (golint)
    • Line 59: warning: exported type CronTaskStatus should have comment or be unexported (golint)
    • Line 60: warning: exported type CronJobType should have comment or be unexported (golint)
    • Line 64: warning: exported const CronTaskStatusWaiting should have comment (or a comment on this block) or be unexported (golint)
    • juno/pkg/auth/authconfig/config_oauth.go
    • Line 3: warning: exported type OAuthInfo should have comment or be unexported (golint)
    • Line 24: warning: exported type OAuther should have comment or be unexported (golint)
    • Line 28: warning: exported var OAuthService should have comment or be unexported (golint)
    • juno/internal/pkg/service/codeplatform/codeplatform.go
    • Line 15: warning: exported type Option should have comment or be unexported (golint)
    • Line 20: warning: exported type CodePlatform should have comment or be unexported (golint)
    • Line 25: warning: exported function New should have comment or be unexported (golint)
    • Line 37: warning: exported method CodePlatform.CloneOrPull should have comment or be unexported (golint)
    • juno/api/apiv1/resource/app.go
    • Line 154: warning: comment on exported function AppPut should be of the form "AppPut ..." (golint)
    • Line 174: warning: comment on exported function AppCreate should be of the form "AppCreate ..." (golint)
    • Line 192: warning: comment on exported function AppUpdate should be of the form "AppUpdate ..." (golint)
    • Line 210: warning: comment on exported function AppDelete should be of the form "AppDelete ..." (golint)
    • juno/pkg/model/event/types.go
    • Line 4: warning: exported const GitEventPushHook should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: comment on exported const EventPushHook should be of the form "EventPushHook ..." (golint)
    • Line 21: warning: comment on exported const EventConfgoFileCreate should be of the form "EventConfgoFileCreate ..." (golint)
    • Line 35: warning: comment on exported const EventCMDBUserCreate should be of the form "EventCMDBUserCreate ..." (golint)
    • Line 40: warning: comment on exported const EventPprofCreate should be of the form "EventPprofCreate ..." (golint)
    • Line 43: warning: comment on exported const EventDevopsUpdate should be of the form "EventDevopsUpdate ..." (golint)
    • Line 53: warning: comment on exported const EventCMDBAppCreate should be of the form "EventCMDBAppCreate ..." (golint)
    • Line 68: warning: comment on exported const EventGrafanaAlertNotification should be of the form "EventGrafanaAlertNotification ..." (golint)
    • Line 73: warning: exported const SourceConfgo should have comment (or a comment on this block) or be unexported (golint)
    • Line 80: warning: exported var OperationMap should have comment or be unexported (golint)
    • Line 111: warning: exported var SourceMap should have comment or be unexported (golint)
    • juno/internal/pkg/packages/roundtrip/juno.go
    • Line 7: warning: exported type ProxyRoundTripper should have comment or be unexported (golint)
    • Line 12: warning: exported function NewJunoRoundTripper should have comment or be unexported (golint)
    • Line 32: warning: exported type FactoryImpl should have comment or be unexported (golint)
    • Line 36: warning: exported method FactoryImpl.New should have comment or be unexported (golint)
    • juno/pkg/model/view/respGovern/mongoStats.go
    • Line 1: warning: don't use MixedCaps in package name; respGovern should be respgovern (golint)
    • Line 5: warning: comment on exported type MongoStats should be of the form "MongoStats ..." (with optional leading article) (golint)
    • Line 11: warning: exported type OneMongo should have comment or be unexported (golint)
    • juno/pkg/model/view/respGovern/stats.go
    • Line 1: warning: don't use MixedCaps in package name; respGovern should be respgovern (golint)
    • Line 3: warning: comment on exported type RuntimeStats should be of the form "RuntimeStats ..." (with optional leading article) (golint)
    • juno/pkg/model/view/respGovern/rocketmq.go
    • Line 1: warning: don't use MixedCaps in package name; respGovern should be respgovern (golint)
    • Line 7: warning: comment on exported type RocketmqStats should be of the form "RocketmqStats ..." (with optional leading article) (golint)
    • Line 13: warning: exported type OneRocketmq should have comment or be unexported (golint)
    • Line 17: warning: comment on exported type RMConfig should be of the form "RMConfig ..." (with optional leading article) (golint)
    • juno/pkg/auth/social/common.go
    • Line 17: warning: exported var ErrMissingGroupMembership should have comment or be unexported (golint)
    • Line 20: warning: exported type HttpGetResponse should have comment or be unexported (golint)
    • Line 25: warning: exported method SocialBase.IsEmailAllowed should have comment or be unexported (golint)
    • Line 29: warning: exported method SocialBase.IsSignupAllowed should have comment or be unexported (golint)
    • Line 47: warning: exported function HttpGet should have comment or be unexported (golint)
    • juno/api/apiv1/permission/appgroup.go
    • Line 10: warning: exported function ListAppGroup should have comment or be unexported (golint)
    • Line 19: warning: exported function UpdateAppGroup should have comment or be unexported (golint)
    • Line 30: warning: exported function ChangeAppGroup should have comment or be unexported (golint)
    • juno/internal/pkg/service/grpctest/proto.go
    • Line 12: warning: exported function Proto should have comment or be unexported (golint)
    • Line 32: warning: exported function MethodDetail should have comment or be unexported (golint)
    • Line 74: warning: exported function BindProtoToApp should have comment or be unexported (golint)
    • Line 101: warning: exported function AppServiceTree should have comment or be unexported (golint)
    • Line 139: warning: exported function Services should have comment or be unexported (golint)
    • Line 191: warning: exported function ProtoAbsPath should have comment or be unexported (golint)
    • juno/internal/pkg/packages/contrib/output/base.go
    • Line 16: warning: comment on exported type ProTableResult should be of the form "ProTableResult ..." (with optional leading article) (golint)
    • Line 23: warning: comment on exported type Pagination should be of the form "Pagination ..." (with optional leading article) (golint)
    • Line 43: warning: exported function WithData should have comment or be unexported (golint)
    • juno/api/apiv1/user/user.go
    • Line 133: warning: comment on exported function Login should be of the form "Login ..." (golint)
    • Line 147: warning: exported function Logout should have comment or be unexported (golint)
    • Line 152: warning: comment on exported function GetAppViewHistory should be of the form "GetAppViewHistory ..." (golint)
    • Line 166: warning: comment on exported function PostAppViewHistory should be of the form "PostAppViewHistory ..." (golint)
    • Line 196: warning: comment on exported function GetAppConfig should be of the form "GetAppConfig ..." (golint)
    • Line 220: warning: exported function PostAppConfig should have comment or be unexported (golint)
    • Line 249: warning: exported function PostTabVisit should have comment or be unexported (golint)
    • Line 291: warning: exported function GetTabVisit should have comment or be unexported (golint)
    • juno/pkg/model/view/provider.go
    • Line 5: warning: exported type ReqList should have comment or be unexported (golint)
    • Line 11: warning: exported type RespInfo should have comment or be unexported (golint)
    • Line 36: warning: exported type ReqConfiguratorsPut should have comment or be unexported (golint)
    • Line 46: warning: exported type ReqGovern should have comment or be unexported (golint)
    • juno/pkg/model/db/user_config.go
    • Line 3: warning: comment on exported type UserConfig should be of the form "UserConfig ..." (with optional leading article) (golint)
    • Line 18: warning: exported type UserConfigInfo should have comment or be unexported (golint)
    • juno/internal/pkg/service/openauth/accesstoken.go
    • Line 17: warning: exported const AppIdLen should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: comment on exported var ErrAppNotFound should be of the form "ErrAppNotFound ..." (golint)
    • Line 171: warning: exported function GetAccessToken should have comment or be unexported (golint)
    • juno/api/apiv1/test/http/collection.go
    • Line 11: warning: exported function CreateCollection should have comment or be unexported (golint)
    • Line 27: warning: exported function CollectionList should have comment or be unexported (golint)
    • Line 43: warning: exported function DeleteCollection should have comment or be unexported (golint)
    • juno/api/apiv1/proxy/testplatform.go
    • Line 16: warning: exported function DispatchTask should have comment or be unexported (golint)
    • Line 36: warning: exported function ConsumeTask should have comment or be unexported (golint)
    • Line 47: warning: exported function TaskStatusUpdate should have comment or be unexported (golint)
    • juno/pkg/model/view/reqhttptest.go
    • Line 6: warning: exported type CreateHttpTestCollection should have comment or be unexported (golint)
    • Line 11: warning: exported type ListHttpCollection should have comment or be unexported (golint)
    • Line 17: warning: exported type CreateHttpTestCase should have comment or be unexported (golint)
    • Line 28: warning: exported type UpdateHttpTestCase should have comment or be unexported (golint)
    • Line 39: warning: exported type QueryHttpTestCollection should have comment or be unexported (golint)
    • Line 43: warning: exported type QueryHttpTestUseCase should have comment or be unexported (golint)
    • Line 47: warning: exported type ReqSendHttpRequest should have comment or be unexported (golint)
    • Line 59: warning: exported type ReqListHttpTestHistory should have comment or be unexported (golint)
    • juno/internal/app/proxyengine/form_validator.go
    • Line 6: warning: exported type FormValidator should have comment or be unexported (golint)
    • Line 11: warning: exported function NewValidator should have comment or be unexported (golint)
    • Line 17: warning: exported method FormValidator.Validate should have comment or be unexported (golint)
    • juno/pkg/model/view/respGovern/bigcacheStats.go
    • Line 1: warning: don't use MixedCaps in package name; respGovern should be respgovern (golint)
    • Line 7: warning: comment on exported type BigcacheStats should be of the form "BigcacheStats ..." (with optional leading article) (golint)
    • Line 13: warning: exported type OneBigcache should have comment or be unexported (golint)
    • Line 32: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • juno/pkg/notice/view.go
    • Line 10: warning: comment on exported type DingText should be of the form "DingText ..." (with optional leading article) (golint)
    • Line 22: warning: exported type DingLink should have comment or be unexported (golint)
    • Line 32: warning: exported type DingMarkdown should have comment or be unexported (golint)
    • Line 44: warning: exported type DingActionCard should have comment or be unexported (golint)
    • juno/api/apiv1/test/http/usecase.go
    • Line 11: warning: exported function UseCaseDetail should have comment or be unexported (golint)
    • Line 27: warning: exported function CreateUseCase should have comment or be unexported (golint)
    • Line 43: warning: exported function DeleteUseCase should have comment or be unexported (golint)
    • Line 59: warning: exported function UpdateUseCase should have comment or be unexported (golint)
    • juno/pkg/model/view/respGovern/dyrpcStats.go
    • Line 1: warning: don't use MixedCaps in package name; respGovern should be respgovern (golint)
    • Line 3: warning: comment on exported type DyrpcStats should be of the form "DyrpcStats ..." (with optional leading article) (golint)
    • Line 9: warning: exported type OneDyrpc should have comment or be unexported (golint)
    • juno/pkg/model/provider.go
    • Line 9: warning: comment on exported const ProviderV1GrpcKeyName should be of the form "ProviderV1GrpcKeyName ..." (golint)
    • Line 11: warning: exported const ProviderV1HttpKeyName should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: comment on exported type ProviderEtcdInfo should be of the form "ProviderEtcdInfo ..." (with optional leading article) (golint)
    • Line 44: warning: comment on exported method ProviderEtcdInfo.ParseToProviderV1 should be of the form "ParseToProviderV1 ..." (golint)
    • juno/pkg/model/db/user.go
    • Line 10: warning: comment on exported type User should be of the form "User ..." (with optional leading article) (golint)
    • Line 37: warning: exported type UserList should have comment or be unexported (golint)
    • Line 39: warning: exported type OAuthToken should have comment or be unexported (golint)
    • Line 43: warning: exported method User.TransformUserInfo should have comment or be unexported (golint)
    • Line 63: warning: exported method User.IsLogin should have comment or be unexported (golint)
    • Line 118: warning: exported method OAuthToken.Value should have comment or be unexported (golint)
    • juno/internal/app/worker/form_validator.go
    • Line 6: warning: exported type FormValidator should have comment or be unexported (golint)
    • Line 11: warning: exported function NewValidator should have comment or be unexported (golint)
    • Line 17: warning: exported method FormValidator.Validate should have comment or be unexported (golint)
    • juno/api/apiv1/analysis/analysis.go
    • Line 90: warning: exported function TopologyRelationship should have comment or be unexported (golint)
    • Line 122: warning: exported type ReqList should have comment or be unexported (golint)
    • Line 129: warning: comment on exported function DependenceList should be of the form "DependenceList ..." (golint)
    • juno/pkg/util/queue/lockfree.go
    • Line 8: warning: exported type LKQueue should have comment or be unexported (golint)
    • Line 18: warning: exported function NewLKQueue should have comment or be unexported (golint)
    • Line 23: warning: exported method LKQueue.Enqueue should have comment or be unexported (golint)
    • Line 42: warning: exported method LKQueue.Dequeue should have comment or be unexported (golint)
    • juno/pkg/auth/social/models.go
    • Line 3: warning: exported type OAuthType should have comment or be unexported (golint)
    • Line 6: warning: exported const GITHUB should have comment (or a comment on this block) or be unexported (golint)
    • juno/api/apiv1/test/platform/task.go
    • Line 11: warning: exported function TaskStepStatusUpdate should have comment or be unexported (golint)
    • Line 26: warning: exported function TaskList should have comment or be unexported (golint)
    • Line 44: warning: exported function TaskSteps should have comment or be unexported (golint)
    • juno/api/apiv1/user/view.go
    • Line 5: warning: exported type ReqUserList should have comment or be unexported (golint)
    • Line 10: warning: exported type ReqUserCreate should have comment or be unexported (golint)
    • Line 14: warning: exported type ReqUserUpdate should have comment or be unexported (golint)
    • Line 18: warning: exported type ReqUserDelete should have comment or be unexported (golint)
    • juno/pkg/model/view/reqgrpctest.go
    • Line 6: warning: exported type ReqMethodDetail should have comment or be unexported (golint)
    • Line 10: warning: exported type ReqBindProtoToApp should have comment or be unexported (golint)
    • Line 15: warning: exported type ReqListGRPCUseCases should have comment or be unexported (golint)
    • Line 19: warning: exported type ReqCreateGRPCUseCase should have comment or be unexported (golint)
    • Line 26: warning: exported type ReqUpdateGRPCUseCase should have comment or be unexported (golint)
    • Line 35: warning: exported type ReqQueryGRPCUseCase should have comment or be unexported (golint)
    • Line 39: warning: exported type ReqQueryGrpcService should have comment or be unexported (golint)
    • Line 43: warning: exported type ReqGrpcHistoryList should have comment or be unexported (golint)
    • Line 49: warning: exported type ReqQueryHistoryItem should have comment or be unexported (golint)
    • Line 53: warning: exported type ReqSendGRPCRequest should have comment or be unexported (golint)
    • Line 59: warning: exported type ReqUseCaseDetail should have comment or be unexported (golint)
    • Line 63: warning: exported type MakeGrpcRequest should have comment or be unexported (golint)
    • juno/pkg/model/view/respgrpctest.go
    • Line 10: warning: exported type RespListGRPCProto should have comment or be unexported (golint)
    • Line 12: warning: exported type ListGrpcProtoItem should have comment or be unexported (golint)
    • Line 19: warning: exported type RespDetailGrpcMethod should have comment or be unexported (golint)
    • Line 37: warning: exported type RespGrpcAppServiceTreeItem should have comment or be unexported (golint)
    • Line 42: warning: exported type RespGrpcServiceItem should have comment or be unexported (golint)
    • Line 50: warning: exported type RespGrpcServiceMethodItem should have comment or be unexported (golint)
    • Line 59: warning: exported type RespListMethodUseCaseItem should have comment or be unexported (golint)
    • Line 64: warning: exported type GrpcMethodItem should have comment or be unexported (golint)
    • Line 70: warning: exported type GrpcUseCaseItem should have comment or be unexported (golint)
    • Line 77: warning: exported type GrpcUseCaseDetail should have comment or be unexported (golint)
    • Line 90: warning: exported type GrpcResponse should have comment or be unexported (golint)
    • Line 99: warning: exported type GrpcHistoryListItem should have comment or be unexported (golint)
    • Line 110: warning: exported type GrpcHistoryItem should have comment or be unexported (golint)
    • Line 127: warning: exported type RespGrpcHistoryList should have comment or be unexported (golint)
    • juno/internal/app/core/core.go
    • Line 22: warning: comment on exported type Pagination should be of the form "Pagination ..." (with optional leading article) (golint)
    • Line 28: warning: exported type HandlerFunc should have comment or be unexported (golint)
    • Line 30: warning: exported type JSONOption should have comment or be unexported (golint)
    • Line 32: warning: exported function Handle should have comment or be unexported (golint)
    • Line 41: warning: exported type Context should have comment or be unexported (golint)
    • Line 45: warning: exported method Context.Bind should have comment or be unexported (golint)
    • Line 83: warning: exported method Context.GetUser should have comment or be unexported (golint)
    • Line 87: warning: comment on exported method Context.OutputJSON should be of the form "OutputJSON ..." (golint)
    • Line 103: warning: exported method Context.Success should have comment or be unexported (golint)
    • juno/pkg/model/register_etcd.go
    • Line 11: warning: exported const TypeRecordProviders should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported type TypeRecord should have comment or be unexported (golint)
    • Line 23: warning: comment on exported type RegisterEtcdInfo should be of the form "RegisterEtcdInfo ..." (with optional leading article) (golint)
    • Line 29: warning: exported type RegisterRawMessageEtcdInfo should have comment or be unexported (golint)
    • Line 40: warning: comment on exported type RegisterKeyInterface should be of the form "RegisterKeyInterface ..." (with optional leading article) (golint)
    • Line 50: warning: comment on exported type RegisterKey should be of the form "RegisterKey ..." (with optional leading article) (golint)
    • Line 58: warning: exported function NewRegisterKey should have comment or be unexported (golint)
    • Line 102: warning: exported method RegisterKey.AppName should have comment or be unexported (golint)
    • Line 106: warning: exported method RegisterKey.Type should have comment or be unexported (golint)
    • Line 110: warning: exported method RegisterKey.Scheme should have comment or be unexported (golint)
    • Line 114: warning: exported method RegisterKey.Address should have comment or be unexported (golint)
    • Line 118: warning: exported method RegisterKey.IP should have comment or be unexported (golint)
    • Line 122: warning: exported method RegisterKey.Port should have comment or be unexported (golint)
    • juno/pkg/model/view/etcd.go
    • Line 3: warning: exported type EtcdInfo should have comment or be unexported (golint)
    • Line 11: warning: exported type ReqGetEtcdList should have comment or be unexported (golint)
    • Line 20: warning: exported type ReqAddEtcd should have comment or be unexported (golint)
    • Line 31: warning: exported type ReqSentinelRuleAdd should have comment or be unexported (golint)
    • Line 40: warning: exported type RespEtcdInfo should have comment or be unexported (golint)
    • Line 49: warning: exported type ReqEtcdServiceList should have comment or be unexported (golint)
    • Line 54: warning: exported type RespEtcdServiceList should have comment or be unexported (golint)
    • Line 59: warning: exported type GovernServerStats should have comment or be unexported (golint)
    • Line 68: warning: exported type RuntimeStats should have comment or be unexported (golint)
    • Line 75: warning: exported type ServerNode should have comment or be unexported (golint)
    • Line 83: warning: exported type Service should have comment or be unexported (golint)
    • juno/internal/pkg/service/httptest/usecase.go
    • Line 11: warning: exported function GetUseCase should have comment or be unexported (golint)
    • Line 34: warning: exported function CreateUseCase should have comment or be unexported (golint)
    • Line 74: warning: exported function DeleteUseCase should have comment or be unexported (golint)
    • Line 95: warning: exported function UpdateUseCase should have comment or be unexported (golint)
    • juno/internal/pkg/packages/xtest/js_interpreter.go
    • Line 13: warning: exported var ErrTimeout should have comment or be unexported (golint)
    • Line 18: warning: exported type JSInterpreter should have comment or be unexported (golint)
    • Line 25: warning: exported function NewJSInterpreter should have comment or be unexported (golint)
    • Line 72: warning: exported method JSInterpreter.Execute should have comment or be unexported (golint)
    • Line 122: warning: exported method JSInterpreter.RegisterFunc should have comment or be unexported (golint)
    • Line 127: warning: exported method JSInterpreter.Set should have comment or be unexported (golint)
    • juno/pkg/util/tea/tea.go
    • Line 11: warning: exported function TestTeaDemo should have comment or be unexported (golint)
    • Line 29: warning: exported function TestXteaDemo should have comment or be unexported (golint)
    • juno/api/apiv1/etcd/etcd.go
    • Line 1: warning: don't use MixedCaps in package name; etcdHandle should be etcdhandle (golint)
    • Line 43: warning: comment on exported function ProTableList should be of the form "ProTableList ..." (golint)
    • juno/internal/pkg/service/grpctest/grpcinvoker/protoCmd.go
    • Line 28: warning: exported type ProtoCmd should have comment or be unexported (golint)
    • Line 31: warning: exported function Instance should have comment or be unexported (golint)
    • Line 38: warning: comment on exported type ReqProtoConfig should be of the form "ReqProtoConfig ..." (with optional leading article) (golint)
    • Line 51: warning: exported function MakeRequest should have comment or be unexported (golint)
    • Line 113: warning: exported function GetMethodDescriptor should have comment or be unexported (golint)
    • juno/internal/pkg/service/app_topology.go
    • Line 20: warning: exported function ListRelationUnique should have comment or be unexported (golint)
    • Line 40: warning: exported function GetRelationApps should have comment or be unexported (golint)
    • Line 81: warning: comment on exported function ListRSByEnvAndType should be of the form "ListRSByEnvAndType ..." (golint)
    • juno/internal/pkg/packages/xtest/interpreter.go
    • Line 9: warning: exported type Interpreter should have comment or be unexported (golint)
    • Line 17: warning: comment on exported type APICallFunc should be of the form "APICallFunc ..." (with optional leading article) (golint)
    • Line 22: warning: comment on exported type TestScript should be of the form "TestScript ..." (with optional leading article) (golint)
    • Line 27: warning: comment on exported type Response should be of the form "Response ..." (with optional leading article) (golint)
    • Line 30: warning: exported type TestResult should have comment or be unexported (golint)
    • juno/internal/pkg/service/confgov2/config.go
    • Line 45: warning: exported const DiffDefaultScene should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported function List should have comment or be unexported (golint)
    • Line 83: warning: exported function Detail should have comment or be unexported (golint)
    • Line 1329: warning: exported function ReadInstanceConfig should have comment or be unexported (golint)
    • Line 1421: warning: exported function GetAllConfigText should have comment or be unexported (golint)
    • Line 1427: warning: exported function GetAllConfigByEnv should have comment or be unexported (golint)
    • juno/pkg/model/view/testplatform.go
    • Line 14: warning: exported type TestPipeline should have comment or be unexported (golint)
    • Line 28: warning: exported type TestPipelineUV should have comment or be unexported (golint)
    • Line 45: warning: exported type ReqUpdatePipeline should have comment or be unexported (golint)
    • Line 51: warning: exported type TestTask should have comment or be unexported (golint)
    • Line 64: warning: exported type TestTaskEvent should have comment or be unexported (golint)
    • Line 71: warning: exported type TestTaskStepUpdatePayload should have comment or be unexported (golint)
    • Line 77: warning: exported type TestTaskUpdateEventPayload should have comment or be unexported (golint)
    • Line 82: warning: exported type TestTaskEventType should have comment or be unexported (golint)
    • Line 84: warning: exported type ReqQueryTestTasks should have comment or be unexported (golint)
    • Line 90: warning: exported type ReqQueryTaskItem should have comment or be unexported (golint)
    • Line 94: warning: exported type TestTaskStepStatus should have comment or be unexported (golint)
    • Line 102: warning: exported type HttpCollectionTestLog should have comment or be unexported (golint)
    • Line 110: warning: exported type ReqListPipeline should have comment or be unexported (golint)
    • Line 116: warning: exported type WorkerZone should have comment or be unexported (golint)
    • Line 122: warning: exported type GrpcTestCase should have comment or be unexported (golint)
    • Line 129: warning: exported var TaskUpdateEvent should have comment or be unexported (golint)
    • juno/pkg/cfg/cfg_struct.go
    • Line 38: warning: exported type Register should have comment or be unexported (golint)
    • Line 48: warning: exported type ServerSchema should have comment or be unexported (golint)
    • Line 57: warning: exported type App should have comment or be unexported (golint)
    • Line 69: warning: exported type K8s should have comment or be unexported (golint)
    • Line 75: warning: exported type Cluster should have comment or be unexported (golint)
    • Line 81: warning: exported type ClientProxy should have comment or be unexported (golint)
    • Line 87: warning: exported type HttpRouter should have comment or be unexported (golint)
    • Line 120: warning: exported type GrafanaProxy should have comment or be unexported (golint)
    • Line 125: warning: exported type Gateway should have comment or be unexported (golint)
    • Line 130: warning: exported type Etcd should have comment or be unexported (golint)
    • Line 149: warning: exported type ProxyStream should have comment or be unexported (golint)
    • Line 155: warning: exported type HeartBeat should have comment or be unexported (golint)
    • Line 168: warning: exported type Pprof should have comment or be unexported (golint)
    • Line 177: warning: exported type Database should have comment or be unexported (golint)
    • Line 210: warning: exported type Agent should have comment or be unexported (golint)
    • Line 237: warning: exported type Logger should have comment or be unexported (golint)
    • Line 242: warning: exported type LoggerInfo should have comment or be unexported (golint)
    • Line 270: warning: exported type GrpcTest should have comment or be unexported (golint)
    • Line 309: warning: exported type ProxyAuth should have comment or be unexported (golint)
    • Line 313: warning: exported type CodePlatform should have comment or be unexported (golint)
    • Line 317: warning: exported type Notice should have comment or be unexported (golint)
    • Line 333: warning: exported type TestPlatform should have comment or be unexported (golint)
    • Line 341: warning: exported type JunoEvent should have comment or be unexported (golint)
    • Line 352: warning: exported type UserVisit should have comment or be unexported (golint)
    • juno/internal/pkg/service/supervisor/ops.go
    • Line 16: warning: exported type Client should have comment or be unexported (golint)
    • Line 21: warning: exported function NewOpsClient should have comment or be unexported (golint)
    • Line 28: warning: exported type BaseRet should have comment or be unexported (golint)
    • Line 33: warning: exported type CreateProjectReq should have comment or be unexported (golint)
    • Line 40: warning: exported type CreateProjectRet should have comment or be unexported (golint)
    • Line 45: warning: exported type CreateProjectDataRet should have comment or be unexported (golint)
    • Line 50: warning: exported method CreateProjectReq.ToString should have comment or be unexported (golint)
    • Line 58: warning: exported method CreateProjectRet.ToString should have comment or be unexported (golint)
    • Line 68: warning: exported method Client.CreateProject should have comment or be unexported (golint)
    • Line 85: warning: exported method Client.Supervisor should have comment or be unexported (golint)
    • Line 151: warning: exported type OpsSupervisorReq should have comment or be unexported (golint)
    • Line 158: warning: exported type OpsSupervisorRet should have comment or be unexported (golint)
    • Line 163: warning: exported type OpsSupervisorExecInfo should have comment or be unexported (golint)
    • juno/internal/pkg/service/testplatform/pipeline/pipeline.go
    • Line 11: warning: exported type StepOption should have comment or be unexported (golint)
    • Line 13: warning: exported type JobGitPullPayload should have comment or be unexported (golint)
    • Line 19: warning: exported type JobCodeCheckPayload should have comment or be unexported (golint)
    • Line 22: warning: exported type JobUnitTestPayload should have comment or be unexported (golint)
    • Line 26: warning: exported type JobHttpTestPayload should have comment or be unexported (golint)
    • Line 31: warning: exported type JobGrpcTestPayload should have comment or be unexported (golint)
    • Line 38: warning: exported const StepGitPullName should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported function New should have comment or be unexported (golint)
    • Line 55: warning: exported function StepSubPipeline should have comment or be unexported (golint)
    • Line 65: warning: exported function Parallel should have comment or be unexported (golint)
    • Line 71: warning: exported function StepJob should have comment or be unexported (golint)
    • Line 82: warning: exported function StepGitPull should have comment or be unexported (golint)
    • Line 89: warning: exported function StepCodeCheck should have comment or be unexported (golint)
    • Line 96: warning: exported function StepUnitTest should have comment or be unexported (golint)
    • Line 103: warning: exported function StepGrpcTest should have comment or be unexported (golint)
    • Line 126: warning: exported function JobGitPull should have comment or be unexported (golint)
    • Line 138: warning: exported function JobCodeCheck should have comment or be unexported (golint)
    • Line 146: warning: exported function JobUnitTest should have comment or be unexported (golint)
    • Line 156: warning: exported function JobGrpcTest should have comment or be unexported (golint)
    • juno/internal/pkg/service/testplatform/workerpool/workerpool.go
    • Line 15: warning: exported type WorkerPool should have comment or be unexported (golint)
    • Line 21: warning: exported type Option should have comment or be unexported (golint)
    • Line 31: warning: exported var ErrNodesEmpty should have comment or be unexported (golint)
    • Line 34: warning: exported function Instance should have comment or be unexported (golint)
    • Line 44: warning: exported method WorkerPool.Init should have comment or be unexported (golint)
    • Line 95: warning: exported method WorkerPool.Heartbeat should have comment or be unexported (golint)
    • Line 148: warning: exported method WorkerPool.Select should have comment or be unexported (golint)
    • juno/api/apiv1/system/option.go
    • Line 11: warning: comment on exported function OptionInfo should be of the form "OptionInfo ..." (golint)
    • Line 32: warning: comment on exported function OptionList should be of the form "OptionList ..." (golint)
    • Line 53: warning: comment on exported function OptionCreate should be of the form "OptionCreate ..." (golint)
    • Line 70: warning: comment on exported function OptionUpdate should be of the form "OptionUpdate ..." (golint)
    • Line 87: warning: comment on exported function OptionDelete should be of the form "OptionDelete ..." (golint)
    • juno/internal/pkg/install/base.go
    • Line 15: warning: exported function MockData should have comment or be unexported (golint)
    • Line 42: warning: exported function MustMockSysTemSetData should have comment or be unexported (golint)
    • Line 51: warning: exported function MustMockData should have comment or be unexported (golint)
    • Line 61: warning: exported function PostForm should have comment or be unexported (golint)
    • Line 81: warning: exported function Get should have comment or be unexported (golint)
    • juno/pkg/model/view/zone.go
    • Line 5: warning: exported type SelectData should have comment or be unexported (golint)
    • Line 11: warning: exported type RespEnvZone should have comment or be unexported (golint)
    • Line 13: warning: exported type RespEnvZoneItem should have comment or be unexported (golint)
    • Line 19: warning: exported type UniqZone should have comment or be unexported (golint)
    • juno/internal/pkg/service/grpctest/request.go
    • Line 21: warning: exported function UserMakeRequest should have comment or be unexported (golint)
    • Line 92: warning: exported function SendSingleRequest should have comment or be unexported (golint)
    • Line 150: warning: exported function RequestHistoryList should have comment or be unexported (golint)
    • Line 216: warning: exported function RequestHistoryItem should have comment or be unexported (golint)
    • juno/internal/pkg/service/proxy/server.go
    • Line 10: warning: exported type HttpWorker should have comment or be unexported (golint)
    • Line 14: warning: exported function NewProxyHttpWorker should have comment or be unexported (golint)
    • Line 47: warning: exported method GrpcEtcdRegisterWorker.Run should have comment or be unexported (golint)
    • Line 52: warning: exported method GrpcEtcdRegisterWorker.Stop should have comment or be unexported (golint)
    • Line 70: warning: exported method GrpcEtcdConfigWorker.Run should have comment or be unexported (golint)
    • Line 75: warning: exported method GrpcEtcdConfigWorker.Stop should have comment or be unexported (golint)
    • juno/pkg/model/view/respGovern/health.go
    • Line 1: warning: don't use MixedCaps in package name; respGovern should be respgovern (golint)
    • Line 3: warning: comment on exported type HealthStats should be of the form "HealthStats ..." (with optional leading article) (golint)
    • juno/pkg/model/db/system_config.go
    • Line 5: warning: exported type SystemConfig should have comment or be unexported (golint)
    • Line 12: warning: exported method SystemConfig.TableName should have comment or be unexported (golint)
    • Line 16: warning: exported method SystemConfig.BeforeCreate should have comment or be unexported (golint)
    • Line 21: warning: exported method SystemConfig.BeforeUpdate should have comment or be unexported (golint)
    • juno/pkg/model/view/respRegister.go
    • Line 3: warning: exported type RespRegisterInfo should have comment or be unexported (golint)
    • Line 12: warning: comment on exported type RespRegistryItem should be of the form "RespRegistryItem ..." (with optional leading article) (golint)
    • Line 33: warning: comment on exported type RespRegistryQuery should be of the form "RespRegistryQuery ..." (with optional leading article) (golint)
    • juno/pkg/model/view/relation.go
    • Line 3: warning: exported type RelationApps should have comment or be unexported (golint)
    • Line 12: warning: exported type RespRelationApps should have comment or be unexported (golint)
    • Line 20: warning: exported type ReqRelationApps should have comment or be unexported (golint)
    • juno/internal/pkg/packages/xtest/xtest.go
    • Line 6: warning: exported const InterpreterTypeJS should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported type XTest should have comment or be unexported (golint)
    • Line 17: warning: exported type InterpreterType should have comment or be unexported (golint)
    • Line 19: warning: exported type Option should have comment or be unexported (golint)
    • Line 22: warning: exported function New should have comment or be unexported (golint)
    • Line 35: warning: exported method XTest.Run should have comment or be unexported (golint)
    • Line 53: warning: exported method XTest.Interpreter should have comment or be unexported (golint)
    • Line 57: warning: exported function WithGlobalStore should have comment or be unexported (golint)
    • Line 63: warning: exported function WithInterpreter should have comment or be unexported (golint)
    • juno/internal/app/middleware/login.go
    • Line 12: warning: exported type Auth should have comment or be unexported (golint)
    • Line 17: warning: exported method Auth.Func should have comment or be unexported (golint)
    • Line 28: warning: exported type RedirectType should have comment or be unexported (golint)
    • Line 31: warning: exported const RedirectTypeHttp should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported var RedirectParam should have comment or be unexported (golint)
    • Line 37: warning: exported function LoginAuth should have comment or be unexported (golint)
    • Line 46: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • juno/api/apiv1/app/app.go
    • Line 12: warning: comment on exported function FilterList should be of the form "FilterList ..." (golint)
    • Line 28: warning: comment on exported function Info should be of the form "Info ..." (golint)
    • Line 59: warning: comment on exported function Env should be of the form "Env ..." (golint)
    • juno/internal/pkg/service/grpctest/grpctester/grpctester.go
    • Line 14: warning: exported type Response should have comment or be unexported (golint)
    • Line 15: warning: exported type RequestInput should have comment or be unexported (golint)
    • Line 16: warning: exported type Metadata should have comment or be unexported (golint)
    • Line 18: warning: exported type RequestPayload should have comment or be unexported (golint)
    • Line 34: warning: exported type GrpcTester should have comment or be unexported (golint)
    • Line 39: warning: exported function New should have comment or be unexported (golint)
    • Line 70: warning: exported method GrpcTester.Run should have comment or be unexported (golint)
    • juno/api/apiv1/confgov2/config.go
    • Line 199: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 296: warning: exported function Lock should have comment or be unexported (golint)
    • Line 312: warning: exported function Unlock should have comment or be unexported (golint)
    • juno/pkg/model/db/grpctest.go
    • Line 11: warning: exported type GrpcProto should have comment or be unexported (golint)
    • Line 21: warning: exported type GrpcProtoService should have comment or be unexported (golint)
    • Line 31: warning: comment on exported type GrpcServiceMethod should be of the form "GrpcServiceMethod ..." (with optional leading article) (golint)
    • Line 47: warning: comment on exported type GrpcTestCase should be of the form "GrpcTestCase ..." (with optional leading article) (golint)
    • Line 60: warning: comment on exported type GrpcTestLog should be of the form "GrpcTestLog ..." (with optional leading article) (golint)
    • Line 82: warning: comment on exported type ProtoFields should be of the form "ProtoFields ..." (with optional leading article) (golint)
    • Line 85: warning: exported type ProtoField should have comment or be unexported (golint)
    • Line 95: warning: exported type ProtoMetadata should have comment or be unexported (golint)
    • Line 102: warning: exported method ProtoFields.Value should have comment or be unexported (golint)
    • Line 107: warning: exported method ProtoFields.Scan should have comment or be unexported (golint)
    • Line 111: warning: exported method ProtoMetadata.Value should have comment or be unexported (golint)
    • Line 116: warning: exported method ProtoMetadata.Scan should have comment or be unexported (golint)
    • Line 120: warning: exported method GrpcProto.TableName should have comment or be unexported (golint)
    • Line 124: warning: exported method GrpcProtoService.TableName should have comment or be unexported (golint)
    • Line 128: warning: exported method GrpcServiceMethod.TableName should have comment or be unexported (golint)
    • Line 132: warning: exported method GrpcTestLog.TableName should have comment or be unexported (golint)
    • Line 136: warning: exported method GrpcTestCase.TableName should have comment or be unexported (golint)
    • juno/api/apiv1/permission/usergroup.go
    • Line 11: warning: exported function ListUserGroup should have comment or be unexported (golint)
    • Line 20: warning: exported function UpdateUserGroup should have comment or be unexported (golint)
    • Line 36: warning: exported function ChangeUserGroup should have comment or be unexported (golint)
    • Line 52: warning: exported function SetAPIPerm should have comment or be unexported (golint)
    • Line 67: warning: exported function SetMenuPerm should have comment or be unexported (golint)
    • Line 82: warning: exported function GetMenuPerm should have comment or be unexported (golint)
    • Line 97: warning: exported function GetAPIPerm should have comment or be unexported (golint)
    • Line 112: warning: exported function SetAppPerm should have comment or be unexported (golint)
    • Line 128: warning: exported function GetAppPerm should have comment or be unexported (golint)
    • Line 133: warning: exported function AppPermissionList should have comment or be unexported (golint)
    • juno/pkg/auth/social/generic_oauth.go
    • Line 17: warning: exported type SocialGenericOAuth should have comment or be unexported (golint)
    • Line 27: warning: exported method SocialGenericOAuth.Type should have comment or be unexported (golint)
    • Line 31: warning: exported method SocialGenericOAuth.IsTeamMember should have comment or be unexported (golint)
    • Line 52: warning: exported method SocialGenericOAuth.IsOrganizationMember should have comment or be unexported (golint)
    • Line 73: warning: exported type UserInfoJson should have comment or be unexported (golint)
    • Line 90: warning: exported method SocialGenericOAuth.UserInfo should have comment or be unexported (golint)
    • Line 265: warning: exported method SocialGenericOAuth.FetchPrivateEmail should have comment or be unexported (golint)
    • Line 312: warning: exported method SocialGenericOAuth.FetchTeamMemberships should have comment or be unexported (golint)
    • Line 341: warning: exported method SocialGenericOAuth.FetchOrganizations should have comment or be unexported (golint)
    • juno/pkg/model/view/respGovern/leveldbStats.go
    • Line 1: warning: don't use MixedCaps in package name; respGovern should be respgovern (golint)
    • Line 5: warning: comment on exported type LeveldbStats should be of the form "LeveldbStats ..." (with optional leading article) (golint)
    • Line 11: warning: exported type OneLeveldb should have comment or be unexported (golint)
    • juno/pkg/model/view/accesstoken.go
    • Line 4: warning: exported type ReqCreateAccessToken should have comment or be unexported (golint)
    • Line 8: warning: exported type ReqDeleteAccessToken should have comment or be unexported (golint)
    • Line 12: warning: exported type ReqListAccessToken should have comment or be unexported (golint)
    • Line 17: warning: exported type RespListAccessToken should have comment or be unexported (golint)
    • Line 22: warning: exported type AccessTokenItem should have comment or be unexported (golint)
    • juno/api/apiv1/resource/node.go
    • Line 16: warning: exported function NodeInfo should have comment or be unexported (golint)
    • Line 41: warning: exported function NodeList should have comment or be unexported (golint)
    • Line 59: warning: exported function NodePut should have comment or be unexported (golint)
    • Line 77: warning: comment on exported function NodeCreate should be of the form "NodeCreate ..." (golint)
    • Line 94: warning: exported function NodeUpdate should have comment or be unexported (golint)
    • Line 110: warning: comment on exported function NodeDelete should be of the form "NodeDelete ..." (golint)
    • Line 127: warning: comment on exported function NodeHeartBeat should be of the form "NodeHeartBeat ..." (golint)
    • Line 217: warning: comment on exported function NodeStatics should be of the form "NodeStatics ..." (golint)
    • Line 348: warning: comment on exported function NodeEnvZone should be of the form "NodeEnvZone ..." (golint)
    • juno/internal/pkg/service/configresource/configresource.go
    • Line 21: warning: exported const ResourceNameRegex should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported function Init should have comment or be unexported (golint)
    • Line 28: warning: exported function List should have comment or be unexported (golint)
    • Line 107: warning: exported function Create should have comment or be unexported (golint)
    • Line 171: warning: exported function Detail should have comment or be unexported (golint)
    • Line 228: warning: exported function GetByName should have comment or be unexported (golint)
    • Line 285: warning: exported function CreateVersion should have comment or be unexported (golint)
    • Line 362: warning: exported function BatchCheckVersion should have comment or be unexported (golint)
    • Line 404: warning: exported function GetVersionByResourceValue should have comment or be unexported (golint)
    • juno/pkg/model/db/testpipeline.go
    • Line 12: warning: exported type TestPipeline should have comment or be unexported (golint)
    • Line 56: warning: exported type StepType should have comment or be unexported (golint)
    • Line 58: warning: exported type TestPipelineDesc should have comment or be unexported (golint)
    • Line 63: warning: exported type TestPipelineStep should have comment or be unexported (golint)
    • Line 70: warning: exported type TestJobPayload should have comment or be unexported (golint)
    • Line 75: warning: exported type PipelineGrpcTestCases should have comment or be unexported (golint)
    • Line 81: warning: exported type TestJobType should have comment or be unexported (golint)
    • Line 82: warning: exported type TestTaskStatus should have comment or be unexported (golint)
    • Line 83: warning: exported type TestStepStatus should have comment or be unexported (golint)
    • Line 87: warning: exported const StepTypeSubPipeline should have comment (or a comment on this block) or be unexported (golint)
    • Line 107: warning: exported method TestPipeline.TableName should have comment or be unexported (golint)
    • Line 111: warning: exported method TestPipelineTask.TableName should have comment or be unexported (golint)
    • Line 115: warning: exported method TestPipelineStepStatus.TableName should have comment or be unexported (golint)
    • Line 119: warning: exported method TestPipelineDesc.Value should have comment or be unexported (golint)
    • Line 123: warning: exported method TestPipelineDesc.Scan should have comment or be unexported (golint)
    • Line 127: warning: exported method PipelineGrpcTestCases.Value should have comment or be unexported (golint)
    • Line 131: warning: exported method PipelineGrpcTestCases.Scan should have comment or be unexported (golint)
    • Line 170: warning: exported method TestPipelineDesc.JobCount should have comment or be unexported (golint)
    • juno/pkg/notice/ding.go
    • Line 16: warning: exported const TextMsgType should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported type DingNotice should have comment or be unexported (golint)
    • Line 24: warning: exported method DingNotice.Send should have comment or be unexported (golint)
    • Line 41: warning: comment on exported function NewtDingNotice should be of the form "NewtDingNotice ..." (golint)
    • juno/pkg/model/view/permission.go
    • Line 4: warning: exported type RespListUserGroup should have comment or be unexported (golint)
    • Line 6: warning: exported type ReqUpdateGroup should have comment or be unexported (golint)
    • Line 11: warning: exported type ReqChangeUserGroup should have comment or be unexported (golint)
    • Line 16: warning: exported type ReqSetGroupAppPerm should have comment or be unexported (golint)
    • Line 23: warning: exported type ReqSetGroupAPIPerm should have comment or be unexported (golint)
    • Line 28: warning: exported type ReqSetGroupMenuPerm should have comment or be unexported (golint)
    • Line 33: warning: exported type RespListAppGroup should have comment or be unexported (golint)
    • Line 35: warning: exported type ReqGetGroupMenuPerm should have comment or be unexported (golint)
    • Line 39: warning: exported type ReqGetGroupAPIPerm should have comment or be unexported (golint)
    • Line 43: warning: exported type RespGetGroupAPIPerm should have comment or be unexported (golint)
    • Line 45: warning: exported type RespGetMenuPerm should have comment or be unexported (golint)
    • Line 47: warning: exported type ReqChangeAppGroup should have comment or be unexported (golint)
    • Line 53: warning: exported type ReqGetAppPerm should have comment or be unexported (golint)
    • Line 60: warning: exported type RespGetAppPerm should have comment or be unexported (golint)
    • Line 65: warning: exported type AppPermItem should have comment or be unexported (golint)
    • Line 72: warning: exported type ReqListUser should have comment or be unexported (golint)
    • Line 79: warning: exported type RespListUser should have comment or be unexported (golint)
    • Line 84: warning: exported type ListUserItem should have comment or be unexported (golint)
    • Line 92: warning: exported type APIListItem should have comment or be unexported (golint)
    • Line 97: warning: exported type ListGroupItem should have comment or be unexported (golint)
    • Line 101: warning: exported type APIPermItem should have comment or be unexported (golint)
    • Line 106: warning: exported type MenuTree should have comment or be unexported (golint)
    • Line 108: warning: exported type MenuTreeItem should have comment or be unexported (golint)
    • juno/pkg/model/db/governEvent.go
    • Line 5: warning: exported type RegisterType should have comment or be unexported (golint)
    • Line 7: warning: exported type ListProviderEventsReq should have comment or be unexported (golint)
    • Line 13: warning: exported type ProviderRegisterEvent should have comment or be unexported (golint)
    • Line 24: warning: exported type ListProviderEvents should have comment or be unexported (golint)
    • Line 29: warning: exported type ListProviderEventsResp should have comment or be unexported (golint)
    • juno/internal/pkg/service/appDep/app_dep.go
    • Line 1: warning: don't use MixedCaps in package name; appDep should be appdep (golint)
    • Line 22: warning: don't use underscores in Go names; const Url_Gitlab should be URLGitlab (golint)
    • Line 22: warning: exported const Url_Gitlab should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported type FileContent should have comment or be unexported (golint)
    • juno/pkg/model/view/logStatistics.go
    • Line 3: warning: comment on exported type ReqReportList should be of the form "ReqReportList ..." (with optional leading article) (golint)
    • Line 12: warning: exported type ReqReportRangeList should have comment or be unexported (golint)
    • Line 18: warning: exported type ReportInfo should have comment or be unexported (golint)
    • Line 32: warning: exported type RespReportList should have comment or be unexported (golint)
    • juno/pkg/model/view/pagination.go
    • Line 3: warning: comment on exported type Pagination should be of the form "Pagination ..." (with optional leading article) (golint)
    • Line 10: warning: exported function NewPagination should have comment or be unexported (golint)
    • juno/pkg/model/view/system.go
    • Line 13: warning: exported const VersionSettingName should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: comment on exported var SettingFieldConfigs should be of the form "SettingFieldConfigs ..." (golint)
    • Line 123: warning: comment on exported type SettingName should be of the form "SettingName ..." (with optional leading article) (golint)
    • Line 126: warning: comment on exported type SettingFieldConfig should be of the form "SettingFieldConfig ..." (with optional leading article) (golint)
    • Line 132: warning: comment on exported type ReqOptionInfo should be of the form "ReqOptionInfo ..." (with optional leading article) (golint)
    • Line 138: warning: exported type ReqOptionList should have comment or be unexported (golint)
    • Line 143: warning: exported type ReqOptionCreate should have comment or be unexported (golint)
    • Line 147: warning: exported type ReqOptionUpdate should have comment or be unexported (golint)
    • Line 151: warning: exported type ReqOptionDelete should have comment or be unexported (golint)
    • Line 155: warning: comment on exported type ReqUpdateSettings should be of the form "ReqUpdateSettings ..." (with optional leading article) (golint)
    • Line 161: warning: exported type SettingGrafana should have comment or be unexported (golint)
    • Line 167: warning: exported type SettingGrafanaDashboard should have comment or be unexported (golint)
    • Line 172: warning: exported type SettingConfigDep should have comment or be unexported (golint)
    • Line 176: warning: exported type SettingGateway should have comment or be unexported (golint)
    • Line 178: warning: exported type SettingGatewayItem should have comment or be unexported (golint)
    • Line 190: warning: exported type SettingK8SCluster should have comment or be unexported (golint)
    • Line 201: warning: exported type SettingTestPlatform should have comment or be unexported (golint)
    • Line 206: warning: exported function CheckSettingNameValid should have comment or be unexported (golint)
    • Line 211: warning: exported function GetSettingFieldConfig should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell99%

Misspell Finds commonly misspelled English words