Preparing report...

Report for github.com/Cepave/open-falcon-backend

A+    Excellent!    Found 680 issues across 987 files

Tweet

gofmt99%

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


go_vet100%

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

No problems detected. Good job!


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.

    • open-falcon-backend/modules/query/http/api.go
    • Line 1837: warning: cyclomatic complexity 51 of function getPlatformBandwidthsByISP() is high (> 15) (gocyclo)
    • Line 2244: warning: cyclomatic complexity 22 of function getBandwidthsSum() is high (> 15) (gocyclo)
    • Line 1387: warning: cyclomatic complexity 21 of function getApolloCharts() is high (> 15) (gocyclo)
    • Line 2427: warning: cyclomatic complexity 16 of function getIDCsHosts() is high (> 15) (gocyclo)
    • open-falcon-backend/modules/query/http/cron.go
    • Line 418: warning: cyclomatic complexity 21 of function getPlatformsDailyTrafficData() is high (> 15) (gocyclo)
    • Line 1210: warning: cyclomatic complexity 20 of function updateHostsTable() is high (> 15) (gocyclo)
    • Line 854: warning: cyclomatic complexity 19 of function syncHostsTable() is high (> 15) (gocyclo)
    • Line 631: warning: cyclomatic complexity 18 of function syncDeviationsTable() is high (> 15) (gocyclo)
    • Line 782: warning: cyclomatic complexity 18 of function syncNetTable() is high (> 15) (gocyclo)
    • Line 318: warning: cyclomatic complexity 17 of function getPlatformsType() is high (> 15) (gocyclo)

golint32%

Golint is a linter for Go source code.

    • open-falcon-backend/modules/query/database/init.go
    • Line 16: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 19: warning: exported var PortalDbFacade should have comment or be unexported (golint)
    • Line 26: warning: exported function DBConn should have comment or be unexported (golint)
    • Line 30: warning: exported function Init should have comment or be unexported (golint)
    • Line 56: warning: exported var QueryObjectService should have comment or be unexported (golint)
    • Line 59: warning: exported function InitMySqlApi should have comment or be unexported (golint)
    • open-falcon-backend/modules/sender/proc/proc.go
    • Line 9: warning: exported function GetSmsCount should have comment or be unexported (golint)
    • Line 13: warning: exported function GetMailCount should have comment or be unexported (golint)
    • Line 17: warning: exported function GetQQCount should have comment or be unexported (golint)
    • Line 21: warning: exported function GetServerchanCount should have comment or be unexported (golint)
    • Line 25: warning: exported function IncreSmsCount should have comment or be unexported (golint)
    • Line 29: warning: exported function IncreMailCount should have comment or be unexported (golint)
    • Line 33: warning: exported function IncreQQCount should have comment or be unexported (golint)
    • Line 37: warning: exported function IncreServerchanCount should have comment or be unexported (golint)
    • open-falcon-backend/common/model/nqm/pingtask.go
    • Line 13: warning: exported type AgentPingtask should have comment or be unexported (golint)
    • Line 18: warning: exported type PingtaskFilter should have comment or be unexported (golint)
    • Line 26: warning: exported type PingtaskModifyFilter should have comment or be unexported (golint)
    • Line 34: warning: exported type PingtaskView should have comment or be unexported (golint)
    • Line 60: warning: exported method PingtaskView.TableName should have comment or be unexported (golint)
    • Line 64: warning: exported method PingtaskView.AfterLoad should have comment or be unexported (golint)
    • Line 160: warning: exported type PingtaskModify should have comment or be unexported (golint)
    • Line 168: warning: exported method PingtaskModify.Bind should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/dashboard_screen/dashboard_screen_controller.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 14: warning: exported type APIScreenCreateInput should have comment or be unexported (golint)
    • Line 19: warning: exported function ScreenCreate should have comment or be unexported (golint)
    • Line 61: warning: exported function ScreenGet should have comment or be unexported (golint)
    • Line 89: warning: exported function ScreenGetsByPid should have comment or be unexported (golint)
    • Line 108: warning: exported function GetScreenListSimple should have comment or be unexported (golint)
    • Line 135: warning: exported type APIScreenGetsAllInputs should have comment or be unexported (golint)
    • Line 142: warning: exported type APIScreenCreateOutput should have comment or be unexported (golint)
    • Line 147: warning: exported function ScreenGetsAll should have comment or be unexported (golint)
    • Line 170: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 186: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 203: warning: exported function ScreenDelete should have comment or be unexported (golint)
    • Line 236: warning: exported type APIScreenUpdateInputs should have comment or be unexported (golint)
    • Line 241: warning: comment on exported function ScreenUpdate should be of the form "ScreenUpdate ..." (golint)
    • Line 271: warning: comment on exported type APIScreenCloneInputs should be of the form "APIScreenCloneInputs ..." (with optional leading article) (golint)
    • Line 277: warning: exported function ScreenClone should have comment or be unexported (golint)
    • open-falcon-backend/modules/aggregator/g/items.go
    • Line 9: warning: exported type Cluster should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: comment on exported type SafeClusterMonitorItems should be of the form "SafeClusterMonitorItems ..." (with optional leading article) (golint)
    • Line 44: warning: exported function NewClusterMonitorItems should have comment or be unexported (golint)
    • Line 48: warning: exported method SafeClusterMonitorItems.Init should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method SafeClusterMonitorItems.Get should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/model/owl/name_tag.go
    • Line 3: warning: exported type NameTag should have comment or be unexported (golint)
    • Line 8: warning: exported method NameTag.TableName should have comment or be unexported (golint)
    • Line 12: warning: exported type NameTagOfPingtaskView should have comment or be unexported (golint)
    • Line 17: warning: exported method NameTagOfPingtaskView.TableName should have comment or be unexported (golint)
    • open-falcon-backend/common/db/nqm/nqm_test.go
    • Line 368: warning: receiver name s should be consistent with previous receiver name suite for TestDbNqmSuite (golint)
    • Line 664: warning: receiver name s should be consistent with previous receiver name suite for TestDbNqmSuite (golint)
    • Line 727: warning: receiver name s should be consistent with previous receiver name suite for TestDbNqmSuite (golint)
    • Line 730: warning: receiver name s should be consistent with previous receiver name suite for TestDbNqmSuite (golint)
    • open-falcon-backend/modules/hbs/rpc/agent.go
    • Line 14: warning: exported var AgentHeartbeatService should have comment or be unexported (golint)
    • Line 16: warning: exported method Agent.MinePlugins should have comment or be unexported (golint)
    • Line 39: warning: exported method Agent.ReportStatus should have comment or be unexported (golint)
    • Line 53: warning: comment on exported method Agent.BuiltinMetrics should be of the form "BuiltinMetrics ..." (golint)
    • open-falcon-backend/modules/query/model/endpoint.go
    • Line 13: warning: exported type Endpoint should have comment or be unexported (golint)
    • Line 22: warning: exported type EndpointCounter should have comment or be unexported (golint)
    • Line 33: warning: exported function EndpointQuery should have comment or be unexported (golint)
    • Line 56: warning: exported function EndpointIdQuery should have comment or be unexported (golint)
    • Line 78: warning: exported function FindMatchedCounters should have comment or be unexported (golint)
    • open-falcon-backend/modules/query/dsl/nqm_parser/query_params.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 9: warning: comment on exported type QueryParams should be of the form "QueryParams ..." (with optional leading article) (golint)
    • Line 22: warning: comment on exported type NodeFilter should be of the form "NodeFilter ..." (with optional leading article) (golint)
    • Line 29: warning: comment on exported type NodeFilterById should be of the form "NodeFilterById ..." (with optional leading article) (golint)
    • Line 37: warning: comment on exported function NewQueryParams should be of the form "NewQueryParams ..." (golint)
    • Line 48: warning: comment on exported method QueryParams.SetUpParams should be of the form "SetUpParams ..." (golint)
    • Line 55: warning: comment on exported method QueryParams.CheckRationalOfParameters should be of the form "CheckRationalOfParameters ..." (golint)
    • Line 70: warning: comment on exported const FORMAT_ERROR_LOCATION_FILTER should be of the form "FORMAT_ERROR_LOCATION_FILTER ..." (golint)
    • open-falcon-backend/modules/query/model/nqm/query_detail.go
    • Line 10: warning: exported type TimeFilterDetail should have comment or be unexported (golint)
    • Line 12: warning: exported method TimeFilterDetail.MarshalJSON should have comment or be unexported (golint)
    • Line 29: warning: exported type CompoundQueryDetail should have comment or be unexported (golint)
    • Line 37: warning: exported type AgentOfQueryDetail should have comment or be unexported (golint)
    • Line 50: warning: exported type TargetOfQueryDetail should have comment or be unexported (golint)
    • Line 62: warning: exported type OutputDetail should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/model/falcon_portal/action.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 3: warning: comment on exported type Action should be of the form "Action ..." (with optional leading article) (golint)
    • Line 24: warning: exported method Action.TableName should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/app/model/uic/team.go
    • Line 10: warning: exported type Team should have comment or be unexported (golint)
    • Line 17: warning: exported method Team.TableName should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 21: warning: exported method Team.Members should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: exported method Team.GetCreatorName should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 71: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/template/template_controller.go
    • Line 14: warning: exported type APIGetTemplatesOutput should have comment or be unexported (golint)
    • Line 18: warning: exported type CTemplate should have comment or be unexported (golint)
    • Line 23: warning: exported function GetTemplates should have comment or be unexported (golint)
    • Line 68: warning: exported type APIGetTemplatesSimpleInputs should have comment or be unexported (golint)
    • Line 73: warning: exported function GetTemplatesSimple should have comment or be unexported (golint)
    • Line 94: warning: exported function GetATemplate should have comment or be unexported (golint)
    • Line 133: warning: exported type APICreateTemplateInput should have comment or be unexported (golint)
    • Line 139: warning: exported function CreateTemplate should have comment or be unexported (golint)
    • Line 173: warning: exported type APIUpdateTemplateInput should have comment or be unexported (golint)
    • Line 179: warning: exported function UpdateTemplate should have comment or be unexported (golint)
    • Line 213: warning: exported function DeleteTemplate should have comment or be unexported (golint)
    • Line 265: warning: exported type APICreateActionToTmplateInput should have comment or be unexported (golint)
    • Line 276: warning: exported function CreateActionToTmplate should have comment or be unexported (golint)
    • Line 327: warning: exported type APIUpdateActionToTmplateInput should have comment or be unexported (golint)
    • Line 338: warning: exported function UpdateActionToTmplate should have comment or be unexported (golint)
    • Line 381: warning: exported type APICloneTemplateInput should have comment or be unexported (golint)
    • Line 386: warning: exported function CloneTemplate should have comment or be unexported (golint)
    • open-falcon-backend/modules/graph/g/db.go
    • Line 5: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 16: warning: exported var DB should have comment or be unexported (golint)
    • Line 18: warning: exported function InitDB should have comment or be unexported (golint)
    • Line 29: warning: exported function GetDbConn should have comment or be unexported (golint)
    • open-falcon-backend/common/testing/ginkgo/builder/builder.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported function NewGinkgoBuilder should have comment or be unexported (golint)
    • Line 28: warning: comment on exported type GinkgoBuilder should be of the form "GinkgoBuilder ..." (with optional leading article) (golint)
    • Line 43: warning: exported method GinkgoBuilder.BeforeEach should have comment or be unexported (golint)
    • Line 47: warning: exported method GinkgoBuilder.JustBeforeEach should have comment or be unexported (golint)
    • Line 51: warning: exported method GinkgoBuilder.AfterEach should have comment or be unexported (golint)
    • Line 55: warning: exported method GinkgoBuilder.BeforeFirst should have comment or be unexported (golint)
    • Line 59: warning: exported method GinkgoBuilder.AfterLast should have comment or be unexported (golint)
    • Line 63: warning: exported method GinkgoBuilder.It should have comment or be unexported (golint)
    • Line 69: warning: exported method GinkgoBuilder.FIt should have comment or be unexported (golint)
    • Line 75: warning: exported method GinkgoBuilder.PIt should have comment or be unexported (golint)
    • Line 81: warning: exported method GinkgoBuilder.XIt should have comment or be unexported (golint)
    • Line 87: warning: exported method GinkgoBuilder.Measure should have comment or be unexported (golint)
    • Line 93: warning: exported method GinkgoBuilder.FMeasure should have comment or be unexported (golint)
    • Line 99: warning: exported method GinkgoBuilder.PMeasure should have comment or be unexported (golint)
    • Line 105: warning: exported method GinkgoBuilder.XMeasure should have comment or be unexported (golint)
    • Line 111: warning: exported method GinkgoBuilder.Specify should have comment or be unexported (golint)
    • Line 117: warning: exported method GinkgoBuilder.FSpecify should have comment or be unexported (golint)
    • Line 123: warning: exported method GinkgoBuilder.PSpecify should have comment or be unexported (golint)
    • Line 129: warning: exported method GinkgoBuilder.XSpecify should have comment or be unexported (golint)
    • Line 135: warning: exported method GinkgoBuilder.Table should have comment or be unexported (golint)
    • Line 139: warning: exported method GinkgoBuilder.ToFunc should have comment or be unexported (golint)
    • Line 145: warning: comment on exported method GinkgoBuilder.Expose should be of the form "Expose ..." (golint)
    • Line 206: warning: exported method GinkgoBuilder.ToDescribe should have comment or be unexported (golint)
    • Line 209: warning: exported method GinkgoBuilder.ToFDescribe should have comment or be unexported (golint)
    • Line 212: warning: exported method GinkgoBuilder.ToPDescribe should have comment or be unexported (golint)
    • Line 215: warning: exported method GinkgoBuilder.ToXDescribe should have comment or be unexported (golint)
    • Line 218: warning: exported method GinkgoBuilder.ToContext should have comment or be unexported (golint)
    • Line 221: warning: exported method GinkgoBuilder.ToFContext should have comment or be unexported (golint)
    • Line 224: warning: exported method GinkgoBuilder.ToPContext should have comment or be unexported (golint)
    • Line 227: warning: exported method GinkgoBuilder.ToXContext should have comment or be unexported (golint)
    • Line 243: warning: exported function NewGinkgoTable should have comment or be unexported (golint)
    • Line 256: warning: don't use underscores in Go names; const tt_it should be ttIt (golint)
    • Line 257: warning: don't use underscores in Go names; const tt_fit should be ttFit (golint)
    • Line 258: warning: don't use underscores in Go names; const tt_pit should be ttPit (golint)
    • Line 259: warning: don't use underscores in Go names; const tt_xit should be ttXit (golint)
    • Line 260: warning: don't use underscores in Go names; const tt_specify should be ttSpecify (golint)
    • Line 261: warning: don't use underscores in Go names; const tt_fspecify should be ttFspecify (golint)
    • Line 262: warning: don't use underscores in Go names; const tt_pspecify should be ttPspecify (golint)
    • Line 263: warning: don't use underscores in Go names; const tt_xspecify should be ttXspecify (golint)
    • Line 327: warning: comment on exported type GinkgoTable should be of the form "GinkgoTable ..." (with optional leading article) (golint)
    • Line 337: warning: exported method GinkgoTable.Exec should have comment or be unexported (golint)
    • Line 348: warning: exported method GinkgoTable.Case should have comment or be unexported (golint)
    • Line 368: warning: exported method GinkgoTable.AsIt should have comment or be unexported (golint)
    • Line 372: warning: exported method GinkgoTable.AsFIt should have comment or be unexported (golint)
    • Line 376: warning: exported method GinkgoTable.AsPIt should have comment or be unexported (golint)
    • Line 380: warning: exported method GinkgoTable.AsXIt should have comment or be unexported (golint)
    • Line 384: warning: exported method GinkgoTable.AsSpecify should have comment or be unexported (golint)
    • Line 388: warning: exported method GinkgoTable.AsFSpecify should have comment or be unexported (golint)
    • Line 392: warning: exported method GinkgoTable.AsPSpecify should have comment or be unexported (golint)
    • Line 396: warning: exported method GinkgoTable.AsXSpecify should have comment or be unexported (golint)
    • Line 400: warning: exported method GinkgoTable.GetTotalNumberOfFuncs should have comment or be unexported (golint)
    • Line 403: warning: exported method GinkgoTable.ToFunc should have comment or be unexported (golint)
    • Line 407: warning: comment on exported method GinkgoTable.Expose should be of the form "Expose ..." (golint)
    • open-falcon-backend/modules/fe/http/uic/auth_api_controller.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 14: warning: exported type AuthApiController should have comment or be unexported (golint)
    • Line 18: warning: exported method AuthApiController.AuthSession should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: exported method AuthApiController.Logout should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 62: warning: exported method AuthApiController.Login should have comment or be unexported (golint)
    • Line 62: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 108: warning: exported method AuthApiController.Register should have comment or be unexported (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 148: warning: exported method AuthApiController.GetUser should have comment or be unexported (golint)
    • Line 148: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 172: warning: exported method AuthApiController.UpdateUser should have comment or be unexported (golint)
    • Line 172: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 179: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 193: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 207: warning: exported method AuthApiController.CountNumOfTeam should have comment or be unexported (golint)
    • Line 207: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 214: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 226: warning: exported method AuthApiController.CreateSession should have comment or be unexported (golint)
    • Line 226: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/alarm/api/uic.go
    • Line 14: warning: exported type User should have comment or be unexported (golint)
    • Line 21: warning: exported type UsersWrap should have comment or be unexported (golint)
    • Line 26: warning: exported type UsersCache should have comment or be unexported (golint)
    • Line 31: warning: exported var Users should have comment or be unexported (golint)
    • Line 33: warning: exported method UsersCache.Get should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported method UsersCache.Set should have comment or be unexported (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: exported function UsersOf should have comment or be unexported (golint)
    • Line 62: warning: exported function GetUsers should have comment or be unexported (golint)
    • Line 82: warning: comment on exported function ParseTeams should be of the form "ParseTeams ..." (golint)
    • Line 98: warning: exported function CurlUic should have comment or be unexported (golint)
    • open-falcon-backend/common/utils/array.go
    • Line 1: warning: package comment should be of the form "Package utils ..." (golint)
    • Line 15: warning: exported var TrimStringMapper should have comment or be unexported (golint)
    • Line 24: warning: comment on exported type FilterFunc should be of the form "FilterFunc ..." (with optional leading article) (golint)
    • Line 27: warning: comment on exported type MapperFunc should be of the form "MapperFunc ..." (with optional leading article) (golint)
    • Line 30: warning: exported function IdentityMapper should have comment or be unexported (golint)
    • Line 34: warning: exported function AppendToAny should have comment or be unexported (golint)
    • Line 53: warning: comment on exported function FlattenToSlice should be of the form "FlattenToSlice ..." (golint)
    • Line 76: warning: comment on exported function TypedFuncToFilter should be of the form "TypedFuncToFilter ..." (golint)
    • Line 96: warning: comment on exported function NewUniqueFilter should be of the form "NewUniqueFilter ..." (golint)
    • Line 127: warning: comment on exported function NewDomainFilter should be of the form "NewDomainFilter ..." (golint)
    • Line 139: warning: comment on exported function TypedFuncToMapper should be of the form "TypedFuncToMapper ..." (golint)
    • Line 152: warning: comment on exported type AbstractArray should be of the form "AbstractArray ..." (with optional leading article) (golint)
    • Line 158: warning: comment on exported function MakeAbstractArray should be of the form "MakeAbstractArray ..." (golint)
    • Line 171: warning: comment on exported method AbstractArray.GetArray should be of the form "GetArray ..." (golint)
    • Line 176: warning: comment on exported method AbstractArray.GetArrayAsType should be of the form "GetArrayAsType ..." (golint)
    • Line 210: warning: exported method AbstractArray.GetArrayAsTargetType should have comment or be unexported (golint)
    • Line 214: warning: exported method AbstractArray.GetArrayOfAny should have comment or be unexported (golint)
    • Line 225: warning: comment on exported method AbstractArray.FilterWith should be of the form "FilterWith ..." (golint)
    • Line 244: warning: comment on exported method AbstractArray.MapTo should be of the form "MapTo ..." (golint)
    • Line 266: warning: comment on exported method AbstractArray.BatchProcess should be of the form "BatchProcess ..." (golint)
    • open-falcon-backend/common/db/util.go
    • Line 14: warning: comment on exported function IsPartialIpV4 should be of the form "IsPartialIpV4 ..." (golint)
    • Line 23: warning: comment on exported function IpV4ToBytesForLike should be of the form "IpV4ToBytesForLike ..." (golint)
    • Line 62: warning: comment on exported function GroupedStringToIntArray should be of the form "GroupedStringToIntArray ..." (golint)
    • Line 74: warning: comment on exported function GroupedStringToUintArray should be of the form "GroupedStringToUintArray ..." (golint)
    • Line 86: warning: comment on exported function GroupedStringToStringArray should be of the form "GroupedStringToStringArray ..." (golint)
    • open-falcon-backend/common/digest/md5.go
    • Line 7: warning: exported type Md5DigestValue should have comment or be unexported (golint)
    • Line 9: warning: comment on exported function SumAllToMd5 should be of the form "SumAllToMd5 ..." (golint)
    • Line 22: warning: exported type StringMd5Digestor should have comment or be unexported (golint)
    • Line 24: warning: exported method StringMd5Digestor.GetDigest should have comment or be unexported (golint)
    • Line 28: warning: exported type BytesMd5Digestor should have comment or be unexported (golint)
    • Line 30: warning: exported method BytesMd5Digestor.GetDigest should have comment or be unexported (golint)
    • Line 34: warning: exported function Md5SumFunc should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/uic/team_controller.go
    • Line 18: warning: exported type CTeam should have comment or be unexported (golint)
    • Line 24: warning: exported type APITeamInputs should have comment or be unexported (golint)
    • Line 31: warning: comment on exported function Teams should be of the form "Teams ..." (golint)
    • Line 91: warning: exported type APICreateTeamInput should have comment or be unexported (golint)
    • Line 97: warning: exported function CreateTeam should have comment or be unexported (golint)
    • Line 145: warning: exported type APIUpdateTeamInput should have comment or be unexported (golint)
    • Line 152: warning: exported function UpdateTeam should have comment or be unexported (golint)
    • Line 255: warning: exported type APIDeleteTeamInput should have comment or be unexported (golint)
    • Line 259: warning: exported function DeleteTeam should have comment or be unexported (golint)
    • Line 302: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 309: warning: exported type APIGetTeamOutput should have comment or be unexported (golint)
    • Line 314: warning: exported function GetTeam should have comment or be unexported (golint)
    • Line 315: warning: don't use underscores in Go names; var team_id_str should be teamIDStr (golint)
    • Line 316: warning: don't use underscores in Go names; var team_id should be teamID (golint)
    • Line 346: warning: exported function GetTeamByName should have comment or be unexported (golint)
    • open-falcon-backend/common/model/rpc.go
    • Line 7: warning: comment on exported type SimpleRpcResponse should be of the form "SimpleRpcResponse ..." (with optional leading article) (golint)
    • Line 13: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 17: warning: exported type NullRpcRequest should have comment or be unexported (golint)
    • open-falcon-backend/common/model/owl/query.go
    • Line 12: warning: comment on exported type Query should be of the form "Query ..." (with optional leading article) (golint)
    • Line 24: warning: comment on exported method Query.NewUuid should be of the form "NewUuid ..." (golint)
    • Line 37: warning: exported method Query.ToJson should have comment or be unexported (golint)
    • Line 48: warning: exported method Query.ToJsonOfQueryId should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/model/falcon_portal/cluster.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 23: warning: exported type Cluster should have comment or be unexported (golint)
    • Line 36: warning: exported method Cluster.TableName should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method Cluster.HostGroupName should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/app/model/falcon_portal/tpl.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 9: warning: exported type Template should have comment or be unexported (golint)
    • Line 17: warning: exported method Template.TableName should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 21: warning: exported method Template.FindUserName should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 34: warning: exported method Template.FindParentName should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/dashboard_graph/dashboard_structs.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 10: warning: exported type GraphObj should have comment or be unexported (golint)
    • Line 25: warning: exported method GraphObj.CustomCheck should have comment or be unexported (golint)
    • Line 78: warning: comment on exported type APIGraphCreateReqDataWithNewScreenInputs should be of the form "APIGraphCreateReqDataWithNewScreenInputs ..." (with optional leading article) (golint)
    • Line 95: warning: exported method APIGraphCreateReqDataWithNewScreenInputs.Check should have comment or be unexported (golint)
    • Line 115: warning: comment on exported type APIGraphCreateReqData should be of the form "APIGraphCreateReqData ..." (with optional leading article) (golint)
    • Line 132: warning: exported method APIGraphCreateReqData.Check should have comment or be unexported (golint)
    • Line 152: warning: comment on exported type APIGraphUpdateReqData should be of the form "APIGraphUpdateReqData ..." (with optional leading article) (golint)
    • Line 170: warning: exported method APIGraphUpdateReqData.Check should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/model/dashboard/host_group.go
    • Line 12: warning: exported function QueryHostGroupByNameRegx should have comment or be unexported (golint)
    • Line 21: warning: exported function GetHostsByHostGroupName should have comment or be unexported (golint)
    • Line 27: warning: don't use underscores in Go names; var host_tmp should be hostTmp (golint)
    • Line 67: warning: don't use underscores in Go names; func result host_ids should be hostIds (golint)
    • Line 95: warning: exported function CountNumOfHostGroup should have comment or be unexported (golint)
    • open-falcon-backend/modules/alarm/cron/model.go
    • Line 3: warning: exported type MailDto should have comment or be unexported (golint)
    • Line 12: warning: exported type SmsDto should have comment or be unexported (golint)
    • Line 20: warning: exported type QQDto should have comment or be unexported (golint)
    • Line 29: warning: exported type ServerchanDto should have comment or be unexported (golint)
    • open-falcon-backend/common/pool/pool.go
    • Line 16: warning: exported type RpcClient should have comment or be unexported (golint)
    • Line 20: warning: exported method RpcClient.Close should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 28: warning: exported method RpcClient.Call should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 32: warning: exported type SafeRpcConnPools should have comment or be unexported (golint)
    • Line 42: warning: exported function CreateSafeRpcConnPools should have comment or be unexported (golint)
    • Line 53: warning: comment on exported method SafeRpcConnPools.Call should be of the form "Call ..." (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: exported method SafeRpcConnPools.Exists should have comment or be unexported (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 94: warning: exported method SafeRpcConnPools.Get should have comment or be unexported (golint)
    • Line 94: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: exported method SafeRpcConnPools.Keys should have comment or be unexported (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 114: warning: exported method SafeRpcConnPools.Put should have comment or be unexported (golint)
    • Line 114: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 120: warning: exported method SafeRpcConnPools.Destroy should have comment or be unexported (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 134: warning: exported method SafeRpcConnPools.Delete should have comment or be unexported (golint)
    • Line 134: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 147: warning: exported method SafeRpcConnPools.Init should have comment or be unexported (golint)
    • Line 147: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/utils/errors.go
    • Line 1: warning: package comment should be of the form "Package utils ..." (golint)
    • Line 79: warning: comment on exported type ErrorConverter should be of the form "ErrorConverter ..." (with optional leading article) (golint)
    • Line 82: warning: comment on exported type PanicHandler should be of the form "PanicHandler ..." (with optional leading article) (golint)
    • Line 85: warning: comment on exported function PanicToError should be of the form "PanicToError ..." (golint)
    • Line 100: warning: comment on exported function PanicToSimpleError should be of the form "PanicToSimpleError ..." (golint)
    • Line 105: warning: comment on exported function SimpleErrorConverter should be of the form "SimpleErrorConverter ..." (golint)
    • Line 116: warning: comment on exported function PanicToErrorWrapper should be of the form "PanicToErrorWrapper ..." (golint)
    • Line 125: warning: comment on exported function PanicToSimpleErrorWrapper should be of the form "PanicToSimpleErrorWrapper ..." (golint)
    • Line 130: warning: comment on exported function BuildPanicCapture should be of the form "BuildPanicCapture ..." (golint)
    • Line 144: warning: comment on exported function BuildPanicToError should be of the form "BuildPanicToError ..." (golint)
    • Line 158: warning: exported type StackError should have comment or be unexported (golint)
    • Line 167: warning: exported function DeferCatchPanicWithCaller should have comment or be unexported (golint)
    • Line 182: warning: exported function BuildErrorWithCaller should have comment or be unexported (golint)
    • Line 189: warning: exported function BuildErrorWithCallerDepth should have comment or be unexported (golint)
    • Line 200: warning: comment on exported function BuildErrorWithCallerInfo should be of the form "BuildErrorWithCallerInfo ..." (golint)
    • open-falcon-backend/common/conform/comform.go
    • Line 20: warning: exported type ConformService should have comment or be unexported (golint)
    • Line 27: warning: exported function NewConformService should have comment or be unexported (golint)
    • Line 36: warning: exported method ConformService.RegisterStringTransformer should have comment or be unexported (golint)
    • Line 39: warning: exported method ConformService.GetTransformer should have comment or be unexported (golint)
    • Line 50: warning: exported method ConformService.Conform should have comment or be unexported (golint)
    • Line 53: warning: exported method ConformService.MustConform should have comment or be unexported (golint)
    • Line 171: warning: exported type StringTransformer should have comment or be unexported (golint)
    • Line 173: warning: comment on exported type Conformer should be of the form "Conformer ..." (with optional leading article) (golint)
    • Line 178: warning: don't use underscores in Go names; var _t_Conformer should be _tConformer (golint)
    • Line 182: warning: comment on exported function MustConform should be of the form "MustConform ..." (golint)
    • open-falcon-backend/common/db/nqm/target_test.go
    • Line 287: warning: receiver name s should be consistent with previous receiver name suite for TestTargetSuite (golint)
    • Line 360: warning: receiver name s should be consistent with previous receiver name suite for TestTargetSuite (golint)
    • Line 404: warning: receiver name s should be consistent with previous receiver name suite for TestTargetSuite (golint)
    • Line 408: warning: receiver name s should be consistent with previous receiver name suite for TestTargetSuite (golint)
    • open-falcon-backend/modules/judge/g/var.go
    • Line 14: warning: exported type SafeStrategyMap should have comment or be unexported (golint)
    • Line 20: warning: exported type SafeExpressionMap should have comment or be unexported (golint)
    • Line 27: warning: exported type SafeEventMap should have comment or be unexported (golint)
    • Line 33: warning: exported var HbsClient should have comment or be unexported (golint)
    • Line 39: warning: exported function InitHbsClient should have comment or be unexported (golint)
    • Line 46: warning: exported function InitLastEvents should have comment or be unexported (golint)
    • Line 78: warning: exported method SafeStrategyMap.ReInit should have comment or be unexported (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 84: warning: exported method SafeStrategyMap.Get should have comment or be unexported (golint)
    • Line 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 90: warning: exported method SafeExpressionMap.ReInit should have comment or be unexported (golint)
    • Line 90: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: exported method SafeExpressionMap.Get should have comment or be unexported (golint)
    • Line 96: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 102: warning: exported method SafeEventMap.GetAll should have comment or be unexported (golint)
    • Line 102: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 108: warning: exported method SafeEventMap.Get should have comment or be unexported (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 115: warning: exported method SafeEventMap.Set should have comment or be unexported (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 121: warning: exported method SafeEventMap.Delete should have comment or be unexported (golint)
    • Line 121: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/app/model/boss/boss_model.go
    • Line 7: warning: exported type BossHost should have comment or be unexported (golint)
    • Line 16: warning: exported method BossHost.TableName should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 20: warning: exported function GetBossObjs should have comment or be unexported (golint)
    • open-falcon-backend/common/logruslog/logruslog.go
    • Line 13: warning: exported const RootLoggerName should have comment or be unexported (golint)
    • Line 14: warning: exported const DefaultLoggerLevel should have comment or be unexported (golint)
    • Line 16: warning: comment on exported type LoggerLevelMapping should be of the form "LoggerLevelMapping ..." (with optional leading article) (golint)
    • Line 19: warning: exported type LoggerFactory should have comment or be unexported (golint)
    • Line 23: warning: comment on exported method LoggerFactory.GetLogger should be of the form "GetLogger ..." (golint)
    • Line 38: warning: comment on exported function NewDefaultLogger should be of the form "NewDefaultLogger ..." (golint)
    • Line 47: warning: comment on exported function SetLogLevelByString should be of the form "SetLogLevelByString ..." (golint)
    • Line 130: warning: exported function Init should have comment or be unexported (golint)
    • open-falcon-backend/common/model/graph.go
    • Line 10: warning: comment on exported type GraphItem should be of the form "GraphItem ..." (with optional leading article) (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: exported method GraphItem.PrimaryKey should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method GraphItem.Checksum should have comment or be unexported (golint)
    • Line 49: warning: exported method GraphItem.UUID should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported type GraphDeleteParam should have comment or be unexported (golint)
    • Line 61: warning: exported type GraphDeleteResp should have comment or be unexported (golint)
    • Line 64: warning: comment on exported type GraphQueryParam should be of the form "GraphQueryParam ..." (with optional leading article) (golint)
    • Line 74: warning: exported type GraphQueryResponse should have comment or be unexported (golint)
    • Line 82: warning: comment on exported type GraphAccurateQueryParam should be of the form "GraphAccurateQueryParam ..." (with optional leading article) (golint)
    • Line 92: warning: exported type GraphAccurateQueryResponse should have comment or be unexported (golint)
    • Line 96: warning: exported type JsonFloat should have comment or be unexported (golint)
    • Line 98: warning: exported method JsonFloat.MarshalJSON should have comment or be unexported (golint)
    • Line 102: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 107: warning: exported type RRDData should have comment or be unexported (golint)
    • Line 112: warning: exported function NewRRDData should have comment or be unexported (golint)
    • Line 116: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 125: warning: exported type GraphInfoParam should have comment or be unexported (golint)
    • Line 130: warning: exported type GraphInfoResp should have comment or be unexported (golint)
    • Line 136: warning: exported type GraphFullyInfo should have comment or be unexported (golint)
    • Line 145: warning: exported type GraphLastParam should have comment or be unexported (golint)
    • Line 150: warning: exported type GraphLastResp should have comment or be unexported (golint)
    • Line 156: warning: exported type GraphLastRespList should have comment or be unexported (golint)
    • Line 160: warning: exported type GraphQueryResponseList should have comment or be unexported (golint)
    • open-falcon-backend/modules/judge/store/history.go
    • Line 9: warning: exported type JudgeItemMap should have comment or be unexported (golint)
    • Line 14: warning: exported function NewJudgeItemMap should have comment or be unexported (golint)
    • Line 18: warning: exported method JudgeItemMap.Get should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: exported method JudgeItemMap.Set should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method JudgeItemMap.Len should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method JudgeItemMap.Delete should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method JudgeItemMap.BatchDelete should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method JudgeItemMap.CleanStale should have comment or be unexported (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 75: warning: exported method JudgeItemMap.PushFrontAndMaintain should have comment or be unexported (golint)
    • Line 75: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 90: warning: comment on exported var HistoryBigMap should be of the form "HistoryBigMap ..." (golint)
    • Line 93: warning: exported function InitHistoryBigMap should have comment or be unexported (golint)
    • open-falcon-backend/modules/judge/store/linkedlist.go
    • Line 9: warning: exported type SafeLinkedList should have comment or be unexported (golint)
    • Line 14: warning: exported method SafeLinkedList.ToSlice should have comment or be unexported (golint)
    • Line 14: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: comment on exported method SafeLinkedList.HistoryData should be of the form "HistoryData ..." (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 95: warning: exported method SafeLinkedList.PushFront should have comment or be unexported (golint)
    • Line 95: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: comment on exported method SafeLinkedList.PushFrontAndMaintain should be of the form "PushFrontAndMaintain ..." (golint)
    • Line 102: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 129: warning: exported method SafeLinkedList.Front should have comment or be unexported (golint)
    • Line 129: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 135: warning: exported method SafeLinkedList.Len should have comment or be unexported (golint)
    • Line 135: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/test_utils/help_context.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 11: warning: comment on exported function NewTestContext should be of the form "NewTestContext ..." (golint)
    • Line 25: warning: exported function NewTestContextWithDefaultSession should have comment or be unexported (golint)
    • Line 36: warning: exported function SetDefaultAdminSession should have comment or be unexported (golint)
    • Line 40: warning: exported function SetSessionWith should have comment or be unexported (golint)
    • Line 45: warning: exported function CleanSession should have comment or be unexported (golint)
    • open-falcon-backend/modules/judge/g/cfg.go
    • Line 14: warning: exported type HttpConfig should have comment or be unexported (golint)
    • Line 19: warning: exported type RpcConfig should have comment or be unexported (golint)
    • Line 24: warning: exported type HbsConfig should have comment or be unexported (golint)
    • Line 30: warning: exported type RedisConfig should have comment or be unexported (golint)
    • Line 38: warning: exported type AlarmConfig should have comment or be unexported (golint)
    • Line 48: warning: exported type GlobalConfig should have comment or be unexported (golint)
    • Line 60: warning: exported var ConfigFile should have comment or be unexported (golint)
    • Line 65: warning: exported function Config should have comment or be unexported (golint)
    • Line 71: warning: exported function ParseConfig should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/alarm/alarm_notes_controller.go
    • Line 14: warning: exported type APIGetNotesOfAlarmInputs should have comment or be unexported (golint)
    • Line 35: warning: receiver name s should be consistent with previous receiver name input for APIGetNotesOfAlarmInputs (golint)
    • Line 56: warning: exported type APIGetNotesOfAlarmOuput should have comment or be unexported (golint)
    • Line 65: warning: exported function GetNotesOfAlarm should have comment or be unexported (golint)
    • Line 104: warning: exported type APIAddNotesToAlarmInputs should have comment or be unexported (golint)
    • Line 111: warning: exported method APIAddNotesToAlarmInputs.CheckingFormating should have comment or be unexported (golint)
    • Line 128: warning: exported function AddNotesToAlarm should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/http/base/controller.go
    • Line 9: warning: exported type BaseController should have comment or be unexported (golint)
    • Line 13: warning: exported method BaseController.ServeErrJson should have comment or be unexported (golint)
    • Line 13: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 20: warning: exported method BaseController.SetPaginator should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: exported method BaseController.ServeOKJson should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 33: warning: exported method BaseController.AutoServeError should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: exported method BaseController.ServeDataJson should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: exported method BaseController.NotFound should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method BaseController.SessionExpired should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 59: warning: exported method BaseController.MustGetInt should have comment or be unexported (golint)
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: exported method BaseController.MustGetInt64 should have comment or be unexported (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 77: warning: exported method BaseController.MustGetString should have comment or be unexported (golint)
    • Line 77: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: exported method BaseController.MustGetBool should have comment or be unexported (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/lambda_extends/gin_http/grafana/grafanaController.go
    • Line 18: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 22: warning: exported type GrafanaResp should have comment or be unexported (golint)
    • Line 27: warning: exported function ResultGen should have comment or be unexported (golint)
    • Line 56: warning: exported type APIGrafanaMainInputs should have comment or be unexported (golint)
    • Line 60: warning: exported function GrafanaMain should have comment or be unexported (golint)
    • Line 156: warning: exported type GrafanaPostPrams should have comment or be unexported (golint)
    • Line 164: warning: exported function GetQueryTargets should have comment or be unexported (golint)
    • Line 230: warning: exported type LambdaQueryPrams should have comment or be unexported (golint)
    • Line 238: warning: exported function LambdaQueryQ should have comment or be unexported (golint)
    • Line 265: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • open-falcon-backend/common/json/strings.go
    • Line 9: warning: comment on exported type JsonString should be of the form "JsonString ..." (with optional leading article) (golint)
    • Line 12: warning: exported method JsonString.MarshalJSON should have comment or be unexported (golint)
    • Line 20: warning: comment on exported type RawJsonForm should be of the form "RawJsonForm ..." (with optional leading article) (golint)
    • Line 23: warning: exported method RawJsonForm.MarshalJSON should have comment or be unexported (golint)
    • open-falcon-backend/modules/hbs/service/agent_heartbeat.go
    • Line 17: warning: exported type AgentHeartbeatService should have comment or be unexported (golint)
    • Line 28: warning: exported function NewAgentHeartbeatService should have comment or be unexported (golint)
    • Line 37: warning: exported method AgentHeartbeatService.Start should have comment or be unexported (golint)
    • Line 79: warning: exported method AgentHeartbeatService.Stop should have comment or be unexported (golint)
    • Line 94: warning: exported method AgentHeartbeatService.Put should have comment or be unexported (golint)
    • Line 106: warning: exported method AgentHeartbeatService.CurrentSize should have comment or be unexported (golint)
    • Line 110: warning: exported method AgentHeartbeatService.CumulativeAgentsDropped should have comment or be unexported (golint)
    • Line 114: warning: exported method AgentHeartbeatService.CumulativeAgentsPut should have comment or be unexported (golint)
    • Line 118: warning: exported method AgentHeartbeatService.CumulativeRowsAffected should have comment or be unexported (golint)
    • open-falcon-backend/modules/nodata/http/http.go
    • Line 7: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 12: warning: exported type Dto should have comment or be unexported (golint)
    • Line 17: warning: exported function Start should have comment or be unexported (golint)
    • Line 48: warning: exported function RenderJson should have comment or be unexported (golint)
    • Line 58: warning: exported function RenderDataJson should have comment or be unexported (golint)
    • Line 62: warning: exported function RenderMsgJson should have comment or be unexported (golint)
    • Line 66: warning: exported function AutoRender should have comment or be unexported (golint)
    • open-falcon-backend/modules/agent/funcs/diskstats.go
    • Line 17: warning: exported function UpdateDiskStats should have comment or be unexported (golint)
    • Line 32: warning: exported function IOReadRequests should have comment or be unexported (golint)
    • Line 36: warning: exported function IOReadMerged should have comment or be unexported (golint)
    • Line 40: warning: exported function IOReadSectors should have comment or be unexported (golint)
    • Line 44: warning: exported function IOMsecRead should have comment or be unexported (golint)
    • Line 48: warning: exported function IOWriteRequests should have comment or be unexported (golint)
    • Line 52: warning: exported function IOWriteMerged should have comment or be unexported (golint)
    • Line 56: warning: exported function IOWriteSectors should have comment or be unexported (golint)
    • Line 60: warning: exported function IOMsecWrite should have comment or be unexported (golint)
    • Line 64: warning: exported function IOMsecTotal should have comment or be unexported (golint)
    • Line 68: warning: exported function IOMsecWeightedTotal should have comment or be unexported (golint)
    • Line 72: warning: exported function TS should have comment or be unexported (golint)
    • Line 76: warning: exported function IODelta should have comment or be unexported (golint)
    • Line 88: warning: exported function DiskIOMetrics should have comment or be unexported (golint)
    • Line 118: warning: exported function IOStatsMetrics should have comment or be unexported (golint)
    • Line 131: warning: don't use underscores in Go names; var delta_rsec should be deltaRsec (golint)
    • Line 132: warning: don't use underscores in Go names; var delta_wsec should be deltaWsec (golint)
    • Line 136: warning: don't use underscores in Go names; var n_io should be nIo (golint)
    • Line 137: warning: don't use underscores in Go names; var avgrq_sz should be avgrqSz (golint)
    • Line 168: warning: exported function IOStatsForPage should have comment or be unexported (golint)
    • Line 180: warning: don't use underscores in Go names; var delta_rsec should be deltaRsec (golint)
    • Line 181: warning: don't use underscores in Go names; var delta_wsec should be deltaWsec (golint)
    • Line 186: warning: don't use underscores in Go names; var n_io should be nIo (golint)
    • Line 187: warning: don't use underscores in Go names; var avgrq_sz should be avgrqSz (golint)
    • Line 216: warning: exported function ShouldHandleDevice should have comment or be unexported (golint)
    • open-falcon-backend/modules/aggregator/g/cfg.go
    • Line 10: warning: exported type HttpConfig should have comment or be unexported (golint)
    • Line 15: warning: exported type DatabaseConfig should have comment or be unexported (golint)
    • Line 22: warning: exported type ApiConfig should have comment or be unexported (golint)
    • Line 28: warning: exported type GlobalConfig should have comment or be unexported (golint)
    • Line 36: warning: exported var ConfigFile should have comment or be unexported (golint)
    • Line 41: warning: exported function Config should have comment or be unexported (golint)
    • Line 47: warning: exported function ParseConfig should have comment or be unexported (golint)
    • open-falcon-backend/common/db/owl/name_tag.go
    • Line 22: warning: comment on exported function ListNameTags should be of the form "ListNameTags ..." (golint)
    • Line 67: warning: exported function BuildAndGetNameTagId should have comment or be unexported (golint)
    • Line 99: warning: exported function GetNameTagById should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/http/portal/portal_controller.go
    • Line 9: warning: exported type PortalController should have comment or be unexported (golint)
    • Line 13: warning: exported method PortalController.GetEventCases should have comment or be unexported (golint)
    • Line 13: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: exported method PortalController.GetEventCasesV2 should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: exported method PortalController.GetEvent should have comment or be unexported (golint)
    • Line 79: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: comment on exported method PortalController.ColseCase should be of the form "ColseCase ..." (golint)
    • Line 102: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 129: warning: exported method PortalController.AddNote should have comment or be unexported (golint)
    • Line 129: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 167: warning: exported method PortalController.BatchUpdateNote should have comment or be unexported (golint)
    • Line 167: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 199: warning: exported method PortalController.GetNotes should have comment or be unexported (golint)
    • Line 199: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 225: warning: exported method PortalController.GetNote should have comment or be unexported (golint)
    • Line 225: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 247: warning: exported method PortalController.CountNumOfTlp should have comment or be unexported (golint)
    • Line 247: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 254: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • open-falcon-backend/modules/fe/model/falcon_portal/models.go
    • Line 1: warning: don't use MixedCaps in package name; falconPortal should be falconportal (golint)
    • Line 5: warning: exported type EventCases should have comment or be unexported (golint)
    • Line 35: warning: exported type AlarmType should have comment or be unexported (golint)
    • Line 44: warning: exported method EventCases.AlarmType should have comment or be unexported (golint)
    • Line 48: warning: exported type Events should have comment or be unexported (golint)
    • Line 57: warning: exported type EventsRsp should have comment or be unexported (golint)
    • Line 69: warning: exported type Tpl should have comment or be unexported (golint)
    • Line 78: warning: exported type Action should have comment or be unexported (golint)
    • Line 89: warning: exported type EventNote should have comment or be unexported (golint)
    • Line 100: warning: exported type Host should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/restful/target_it_test.go
    • Line 195: warning: receiver name s should be consistent with previous receiver name suite for TestTargetItSuite (golint)
    • Line 199: warning: receiver name s should be consistent with previous receiver name suite for TestTargetItSuite (golint)
    • Line 203: warning: receiver name s should be consistent with previous receiver name suite for TestTargetItSuite (golint)
    • Line 269: warning: receiver name s should be consistent with previous receiver name suite for TestTargetItSuite (golint)
    • open-falcon-backend/modules/agent/g/rpc.go
    • Line 12: warning: exported type SingleConnRpcClient should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method SingleConnRpcClient.Call should have comment or be unexported (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/agent/plugins/update.go
    • Line 19: warning: exported function GetCurrPluginVersion should have comment or be unexported (golint)
    • Line 49: warning: exported function GetCurrGitRepo should have comment or be unexported (golint)
    • Line 83: warning: exported function UpdatePlugin should have comment or be unexported (golint)
    • Line 177: warning: exported function GitLsRemote should have comment or be unexported (golint)
    • Line 181: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 189: warning: exported function SetCurrGitRepo should have comment or be unexported (golint)
    • open-falcon-backend/modules/nodata/config/config.go
    • Line 20: warning: exported function Start should have comment or be unexported (golint)
    • Line 31: warning: comment on exported function SetNdConfigMap should be of the form "SetNdConfigMap ..." (golint)
    • Line 39: warning: exported function Keys should have comment or be unexported (golint)
    • Line 45: warning: exported function Size should have comment or be unexported (golint)
    • Line 51: warning: exported function GetNdConfig should have comment or be unexported (golint)
    • open-falcon-backend/modules/transfer/sender/conn_pool/influxdb_conn_pool_manager.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 16: warning: comment on exported type InfluxdbClient should be of the form "InfluxdbClient ..." (with optional leading article) (golint)
    • Line 23: warning: exported type InfluxdbConnection should have comment or be unexported (golint)
    • Line 31: warning: exported method InfluxdbClient.Name should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 35: warning: exported method InfluxdbClient.Closed should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method InfluxdbClient.Close should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method InfluxdbClient.Call should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 113: warning: comment on exported type InfluxdbConnPools should be of the form "InfluxdbConnPools ..." (with optional leading article) (golint)
    • Line 123: warning: exported function CreateInfluxdbConnPools should have comment or be unexported (golint)
    • Line 139: warning: exported method InfluxdbConnPools.Proc should have comment or be unexported (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 147: warning: comment on exported method InfluxdbConnPools.Call should be of the form "Call ..." (golint)
    • Line 148: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 182: warning: exported method InfluxdbConnPools.Get should have comment or be unexported (golint)
    • Line 182: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 189: warning: exported method InfluxdbConnPools.Destroy should have comment or be unexported (golint)
    • Line 189: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 238: warning: exported method InfluxdbConnection.GetURL should have comment or be unexported (golint)
    • Line 238: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/imdb/imdb_tag_controller.go
    • Line 13: warning: exported function GetTagType should have comment or be unexported (golint)
    • Line 22: warning: exported type GetTagListsInput should have comment or be unexported (golint)
    • Line 28: warning: exported function TagLists should have comment or be unexported (golint)
    • Line 55: warning: exported type GetTagInput should have comment or be unexported (golint)
    • Line 59: warning: exported function GetTag should have comment or be unexported (golint)
    • Line 73: warning: exported type CreateTagInput should have comment or be unexported (golint)
    • Line 79: warning: exported function CreateTag should have comment or be unexported (golint)
    • Line 99: warning: exported type UpdateTagInput should have comment or be unexported (golint)
    • Line 104: warning: exported function UpdateTag should have comment or be unexported (golint)
    • Line 133: warning: exported function DeleteTag should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/restful/owl/query_object.go
    • Line 20: warning: exported function SaveQueryObject should have comment or be unexported (golint)
    • Line 28: warning: exported function GetQueryObjectByUuid should have comment or be unexported (golint)
    • Line 52: warning: exported function VacuumOldQueryObjects should have comment or be unexported (golint)
    • Line 69: warning: exported type QueryObject should have comment or be unexported (golint)
    • Line 76: warning: exported method QueryObject.Bind should have comment or be unexported (golint)
    • open-falcon-backend/modules/query/gin_http/computeFunc/computeFuncController.go
    • Line 1: warning: don't use MixedCaps in package name; computeFunc should be computefunc (golint)
    • Line 9: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 12: warning: exported function GetTestData should have comment or be unexported (golint)
    • Line 18: warning: exported function GetAvaibleFun should have comment or be unexported (golint)
    • Line 37: warning: exported function Compute should have comment or be unexported (golint)
    • open-falcon-backend/common/db/uuid.go
    • Line 9: warning: comment on exported type DbUuid should be of the form "DbUuid ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported method DbUuid.Scan should be of the form "Scan ..." (golint)
    • Line 18: warning: comment on exported method DbUuid.Value should be of the form "Value ..." (golint)
    • Line 30: warning: exported method DbUuid.IsNil should have comment or be unexported (golint)
    • Line 34: warning: exported method DbUuid.ToUuid should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/restful/package.go
    • Line 17: warning: exported var GinConfig should have comment or be unexported (golint)
    • Line 19: warning: exported function InitGin should have comment or be unexported (golint)
    • Line 35: warning: exported type CacheConfig should have comment or be unexported (golint)
    • Line 42: warning: exported function InitCache should have comment or be unexported (golint)
    • open-falcon-backend/modules/sender/http/http.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Dto should have comment or be unexported (golint)
    • Line 21: warning: exported function RenderJson should have comment or be unexported (golint)
    • Line 31: warning: exported function RenderDataJson should have comment or be unexported (golint)
    • Line 35: warning: exported function RenderMsgJson should have comment or be unexported (golint)
    • Line 39: warning: exported function AutoRender should have comment or be unexported (golint)
    • Line 47: warning: exported function Start should have comment or be unexported (golint)
    • open-falcon-backend/common/reflect/reflect.go
    • Line 8: warning: exported var TypeOfReflectType should have comment or be unexported (golint)
    • Line 10: warning: exported function TypeOfValue should have comment or be unexported (golint)
    • Line 18: warning: comment on exported function TypeOfInterface should be of the form "TypeOfInterface ..." (golint)
    • Line 25: warning: comment on exported function IsReflectType should be of the form "IsReflectType ..." (golint)
    • Line 30: warning: exported function NewPointerValue should have comment or be unexported (golint)
    • Line 36: warning: comment on exported function FinalPointedType should be of the form "FinalPointedType ..." (golint)
    • Line 45: warning: comment on exported function FinalPointedValue should be of the form "FinalPointedValue ..." (golint)
    • Line 55: warning: comment on exported function NewFinalValue should be of the form "NewFinalValue ..." (golint)
    • Line 66: warning: exported function NewFinalValueFrom should have comment or be unexported (golint)
    • Line 77: warning: comment on exported function GetAllTypesForFunction should be of the form "GetAllTypesForFunction ..." (golint)
    • Line 98: warning: comment on exported function GetValueOfField should be of the form "GetValueOfField ..." (golint)
    • Line 106: warning: comment on exported function SetValueOfField should be of the form "SetValueOfField ..." (golint)
    • Line 112: warning: comment on exported function GetValueOfFieldByReflect should be of the form "GetValueOfFieldByReflect ..." (golint)
    • Line 129: warning: comment on exported function SetValueOfFieldByReflect should be of the form "SetValueOfFieldByReflect ..." (golint)
    • open-falcon-backend/cmd/start.go
    • Line 14: warning: exported var Start should have comment or be unexported (golint)
    • Line 27: warning: exported var PreqOrderFlag should have comment or be unexported (golint)
    • Line 28: warning: exported var ConsoleOutputFlag should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/model/uic/session.go
    • Line 13: warning: exported function SelectSessionBySig should have comment or be unexported (golint)
    • Line 31: warning: exported function ReadSessionBySig should have comment or be unexported (golint)
    • Line 49: warning: exported method Session.Save should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported function SaveSessionAttrs should have comment or be unexported (golint)
    • Line 58: warning: exported function ReadSessionByName should have comment or be unexported (golint)
    • Line 64: warning: exported function ReadSessionByUid should have comment or be unexported (golint)
    • Line 74: warning: exported function RemoveSessionByUid should have comment or be unexported (golint)
    • Line 94: warning: exported function ReadSessionById should have comment or be unexported (golint)
    • Line 105: warning: exported function DeleteSessionById should have comment or be unexported (golint)
    • Line 117: warning: exported function Sessions should have comment or be unexported (golint)
    • open-falcon-backend/common/testing/http/gock/mock_server.go
    • Line 1: warning: package comment should be of the form "Package gock ..." (golint)
    • Line 70: warning: comment on exported var GockConfigBuilder should be of the form "GockConfigBuilder ..." (golint)
    • Line 105: warning: comment on exported type GentlemanT should be of the form "GentlemanT ..." (with optional leading article) (golint)
    • Line 115: warning: comment on exported type GockConfig should be of the form "GockConfig ..." (with optional leading article) (golint)
    • Line 131: warning: comment on exported method GockConfig.NewHttpConfig should be of the form "NewHttpConfig ..." (golint)
    • Line 138: warning: comment on exported method GockConfig.NewRestfulClientConfig should be of the form "NewRestfulClientConfig ..." (golint)
    • Line 148: warning: comment on exported method GockConfig.GetUrl should be of the form "GetUrl ..." (golint)
    • Line 153: warning: comment on exported method GockConfig.New should be of the form "New ..." (golint)
    • Line 159: warning: comment on exported method GockConfig.Off should be of the form "Off ..." (golint)
    • Line 165: warning: comment on exported method GockConfig.StartRealNetwork should be of the form "StartRealNetwork ..." (golint)
    • Line 171: warning: comment on exported method GockConfig.StopRealNetwork should be of the form "StopRealNetwork ..." (golint)
    • Line 199: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 204: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 207: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/model/strategy.go
    • Line 10: warning: exported type Strategy should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported type HostStrategy should have comment or be unexported (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: exported type StrategiesResponse should have comment or be unexported (golint)
    • Line 56: warning: exported type NewStrategy should have comment or be unexported (golint)
    • Line 70: warning: exported method NewStrategy.AfterLoad should have comment or be unexported (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 103: warning: exported type NewHostStrategy should have comment or be unexported (golint)
    • open-falcon-backend/common/utils/sort.go
    • Line 11: warning: exported const DefaultDirection should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: comment on exported const Ascending should be of the form "Ascending ..." (golint)
    • Line 14: warning: comment on exported const Descending should be of the form "Descending ..." (golint)
    • Line 17: warning: comment on exported const SeqHigher should be of the form "SeqHigher ..." (golint)
    • Line 19: warning: comment on exported const SeqEqual should be of the form "SeqEqual ..." (golint)
    • Line 21: warning: comment on exported const SeqLower should be of the form "SeqLower ..." (golint)
    • Line 25: warning: comment on exported function CompareAny should be of the form "CompareAny ..." (golint)
    • Line 75: warning: comment on exported function CompareIpAddress should be of the form "CompareIpAddress ..." (golint)
    • Line 94: warning: comment on exported function CompareNil should be of the form "CompareNil ..." (golint)
    • Line 120: warning: exported function CompareString should have comment or be unexported (golint)
    • Line 125: warning: exported function CompareInt should have comment or be unexported (golint)
    • Line 137: warning: exported function CompareUint should have comment or be unexported (golint)
    • Line 149: warning: exported function CompareFloat should have comment or be unexported (golint)
    • Line 162: warning: exported function ReverseIfDescending should have comment or be unexported (golint)
    • open-falcon-backend/modules/graph/store/store.go
    • Line 15: warning: exported var GraphItems should have comment or be unexported (golint)
    • Line 17: warning: exported type GraphItemMap should have comment or be unexported (golint)
    • Line 23: warning: exported method GraphItemMap.Get should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method GraphItemMap.Getitems should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method GraphItemMap.Set should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method GraphItemMap.Len should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method GraphItemMap.First should have comment or be unexported (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: exported method GraphItemMap.PushAll should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 85: warning: exported method GraphItemMap.GetFlag should have comment or be unexported (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: exported method GraphItemMap.SetFlag should have comment or be unexported (golint)
    • Line 96: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 108: warning: exported method GraphItemMap.PopAll should have comment or be unexported (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: exported method GraphItemMap.FetchAll should have comment or be unexported (golint)
    • Line 119: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 145: warning: exported method GraphItemMap.PushFront should have comment or be unexported (golint)
    • Line 145: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 162: warning: exported method GraphItemMap.KeysByIndex should have comment or be unexported (golint)
    • Line 162: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/judge/rpc/receiver.go
    • Line 10: warning: exported type Judge should have comment or be unexported (golint)
    • Line 12: warning: exported method Judge.Ping should have comment or be unexported (golint)
    • Line 12: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 16: warning: exported method Judge.Send should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/mysqlapi/service/nqmagent.go
    • Line 25: warning: exported var NqmQueue should have comment or be unexported (golint)
    • Line 27: warning: exported function InitNqmHeartbeat should have comment or be unexported (golint)
    • Line 33: warning: exported function CloseNqmHeartbeat should have comment or be unexported (golint)
    • Line 159: warning: exported var NqmCachedTargetList should have comment or be unexported (golint)
    • Line 161: warning: exported function InitCachedTargetList should have comment or be unexported (golint)
    • Line 167: warning: exported function CloseCachedTargetList should have comment or be unexported (golint)
    • Line 173: warning: exported type NqmCachedTargetListConfig should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/model/uic/user.go
    • Line 8: warning: exported type User should have comment or be unexported (golint)
    • Line 25: warning: exported method User.IsAdmin should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 32: warning: exported method User.IsSuperAdmin should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method User.IsThirdPartyUser should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method User.FindUser should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 57: warning: exported method User.UserNameExist should have comment or be unexported (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: exported method User.TableName should have comment or be unexported (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/fe/model/falcon_portal/alarm_adjust.go
    • Line 1: warning: don't use MixedCaps in package name; falconPortal should be falconportal (golint)
    • Line 21: warning: exported function UpdateCloseNote should have comment or be unexported (golint)
    • Line 36: warning: error should be the last type when returning multiple items (golint)
    • Line 36: warning: exported function WhenStrategyUpdated should have comment or be unexported (golint)
    • Line 51: warning: error should be the last type when returning multiple items (golint)
    • Line 51: warning: exported function WhenStrategyDeleted should have comment or be unexported (golint)
    • Line 66: warning: error should be the last type when returning multiple items (golint)
    • Line 66: warning: exported function WhenTempleteDeleted should have comment or be unexported (golint)
    • Line 81: warning: error should be the last type when returning multiple items (golint)
    • Line 81: warning: exported function WhenTempleteUnbind should have comment or be unexported (golint)
    • Line 109: warning: error should be the last type when returning multiple items (golint)
    • Line 109: warning: exported function WhenEndpointUnbind should have comment or be unexported (golint)
    • Line 156: warning: error should be the last type when returning multiple items (golint)
    • Line 156: warning: exported function WhenEndpointOnMaintain should have comment or be unexported (golint)
    • open-falcon-backend/modules/graph/index/index_update_all_task.go
    • Line 19: warning: exported const DefaultUpdateStepInSec should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: comment on exported function UpdateIndexOne should be of the form "UpdateIndexOne ..." (golint)
    • Line 60: warning: comment on exported function GetConcurrentOfUpdateIndexAll should be of the form "GetConcurrentOfUpdateIndexAll ..." (golint)
    • Line 65: warning: comment on exported function UpdateIndexAllByDefaultStep should be of the form "UpdateIndexAllByDefaultStep ..." (golint)
    • Line 69: warning: exported function UpdateIndexAll should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/lambda_extends/conf/confRead.go
    • Line 17: warning: exported type Gconfig should have comment or be unexported (golint)
    • Line 21: warning: exported type FunConfig should have comment or be unexported (golint)
    • Line 33: warning: exported var FunctionMap should have comment or be unexported (golint)
    • Line 36: warning: exported function Config should have comment or be unexported (golint)
    • Line 69: warning: exported function ReadConf should have comment or be unexported (golint)
    • Line 102: warning: exported function Reload should have comment or be unexported (golint)
    • Line 108: warning: exported function GetFunc should have comment or be unexported (golint)
    • Line 112: warning: exported function GetAvaibleFun should have comment or be unexported (golint)
    • open-falcon-backend/common/model/owl/cmdb.go
    • Line 10: warning: exported type UnableToLockCmdbSyncJob should have comment or be unexported (golint)
    • Line 18: warning: exported type SyncCmdbJobInfo should have comment or be unexported (golint)
    • Line 25: warning: exported method SyncCmdbJobInfo.IsTimeout should have comment or be unexported (golint)
    • open-falcon-backend/modules/graph/g/utils.go
    • Line 11: warning: comment on exported function RrdFileName should be of the form "RrdFileName ..." (golint)
    • Line 17: warning: comment on exported function IsRrdFileExist should be of the form "IsRrdFileExist ..." (golint)
    • Line 22: warning: comment on exported function FormRrdCacheKey should be of the form "FormRrdCacheKey ..." (golint)
    • Line 26: warning: exported function SplitRrdCacheKey should have comment or be unexported (golint)
    • Line 27: warning: don't use underscores in Go names; var ckey_slice should be ckeySlice (golint)
    • open-falcon-backend/modules/alarm/model/event/event.go
    • Line 15: warning: exported type EventCases should have comment or be unexported (golint)
    • Line 46: warning: exported type Events should have comment or be unexported (golint)
    • Line 55: warning: exported type AlarmType should have comment or be unexported (golint)
    • Line 63: warning: exported type ExternalEvent should have comment or be unexported (golint)
    • Line 79: warning: exported method ExternalEvent.CheckFormating should have comment or be unexported (golint)
    • Line 107: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 117: warning: exported method ExternalEvent.Id should have comment or be unexported (golint)
    • Line 127: warning: exported method ExternalEvent.StatusStr should have comment or be unexported (golint)
    • Line 138: warning: comment on exported method ExternalEvent.MaxStep should be of the form "MaxStep ..." (golint)
    • Line 143: warning: exported method ExternalEvent.GetKey should have comment or be unexported (golint)
    • Line 146: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 151: warning: exported method ExternalEvent.ExpressionId should have comment or be unexported (golint)
    • Line 155: warning: exported method ExternalEvent.StrategyId should have comment or be unexported (golint)
    • Line 159: warning: exported method ExternalEvent.TplId should have comment or be unexported (golint)
    • Line 163: warning: exported method ExternalEvent.ExtendedBlobStr should have comment or be unexported (golint)
    • Line 172: warning: exported method ExternalEvent.ForceFixStepWhenStatusOk should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/nqmDemo/nqm_demo_controller.go
    • Line 1: warning: don't use MixedCaps in package name; nqmDemo should be nqmdemo (golint)
    • Line 10: warning: comment on exported function Agents should be of the form "Agents ..." (golint)
    • Line 17: warning: exported function Isps should have comment or be unexported (golint)
    • Line 23: warning: exported function Provinces should have comment or be unexported (golint)
    • Line 29: warning: exported function Targets should have comment or be unexported (golint)
    • Line 35: warning: exported function PingTasks should have comment or be unexported (golint)
    • Line 41: warning: exported function Cities should have comment or be unexported (golint)
    • Line 47: warning: exported function NameTags should have comment or be unexported (golint)
    • Line 53: warning: exported function GroupTags should have comment or be unexported (golint)
    • open-falcon-backend/common/utils/map.go
    • Line 8: warning: comment on exported function KeysOfMap should be of the form "KeysOfMap ..." (golint)
    • Line 20: warning: exported type AbstractMap should have comment or be unexported (golint)
    • Line 24: warning: exported function MakeAbstractMap should have comment or be unexported (golint)
    • Line 34: warning: comment on exported method AbstractMap.ToType should be of the form "ToType ..." (golint)
    • Line 52: warning: exported method AbstractMap.ToTypeOfTarget should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/model/dashboard/models.go
    • Line 5: warning: comment on exported type Endpoint should be of the form "Endpoint ..." (with optional leading article) (golint)
    • Line 15: warning: exported type EndpointCounter should have comment or be unexported (golint)
    • Line 26: warning: comment on exported type HostGroup should be of the form "HostGroup ..." (with optional leading article) (golint)
    • Line 35: warning: exported type Hosts should have comment or be unexported (golint)
    • Line 46: warning: exported type HostGroupMapping should have comment or be unexported (golint)
    • Line 51: warning: exported type GitInfo should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/service/hbscache/templates.go
    • Line 10: warning: comment on exported type SafeGroupTemplates should be of the form "SafeGroupTemplates ..." (with optional leading article) (golint)
    • Line 16: warning: exported var GroupTemplates should have comment or be unexported (golint)
    • Line 18: warning: exported method SafeGroupTemplates.GetTemplateIds should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: exported method SafeGroupTemplates.Init should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported type SafeTemplateCache should have comment or be unexported (golint)
    • Line 41: warning: exported var TemplateCache should have comment or be unexported (golint)
    • Line 43: warning: exported method SafeTemplateCache.GetMap should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: exported method SafeTemplateCache.Init should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 60: warning: exported type SafeHostTemplateIds should have comment or be unexported (golint)
    • Line 65: warning: exported var HostTemplateIds should have comment or be unexported (golint)
    • Line 67: warning: exported method SafeHostTemplateIds.GetMap should have comment or be unexported (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: exported method SafeHostTemplateIds.Init should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/service/nqm/target_test.go
    • Line 102: warning: receiver name s should be consistent with previous receiver name suite for TestTargetSuite (golint)
    • Line 124: warning: receiver name s should be consistent with previous receiver name suite for TestTargetSuite (golint)
    • Line 139: warning: receiver name s should be consistent with previous receiver name suite for TestTargetSuite (golint)
    • Line 143: warning: receiver name s should be consistent with previous receiver name suite for TestTargetSuite (golint)
    • open-falcon-backend/common/db/nqm/nqm.go
    • Line 14: warning: comment on exported function RefreshAgentInfo should be of the form "RefreshAgentInfo ..." (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 83: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 116: warning: comment on exported function GetPingListFromCache should be of the form "GetPingListFromCache ..." (golint)
    • Line 308: warning: comment on exported function BuildCacheOfPingList should be of the form "BuildCacheOfPingList ..." (golint)
    • open-falcon-backend/modules/query/nqm/nqm_test.go
    • Line 25: warning: receiver name suite should be consistent with previous receiver name s for TestNqmSuite (golint)
    • Line 68: warning: receiver name suite should be consistent with previous receiver name s for TestNqmSuite (golint)
    • Line 180: warning: receiver name suite should be consistent with previous receiver name s for TestNqmSuite (golint)
    • Line 204: warning: receiver name suite should be consistent with previous receiver name s for TestNqmSuite (golint)
    • Line 261: warning: receiver name suite should be consistent with previous receiver name s for TestNqmSuite (golint)
    • open-falcon-backend/modules/alarm/g/eventdto.go
    • Line 11: warning: exported type EventDto should have comment or be unexported (golint)
    • Line 38: warning: exported type SafeEvents should have comment or be unexported (golint)
    • Line 43: warning: exported type OrderedEvents should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: exported var Events should have comment or be unexported (golint)
    • Line 57: warning: exported method SafeEvents.Delete should have comment or be unexported (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 63: warning: exported method SafeEvents.Len should have comment or be unexported (golint)
    • Line 63: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: exported method SafeEvents.Clone should have comment or be unexported (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: exported method SafeEvents.CloneToOrderedEvents should have comment or be unexported (golint)
    • Line 79: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 97: warning: exported method SafeEvents.Put should have comment or be unexported (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 132: warning: exported function Link should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/dashboard_graph/dashboard_graph_tmp_controller.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 14: warning: exported type APITmpGraphCreateReqData should have comment or be unexported (golint)
    • Line 19: warning: exported function DashboardTmpGraphCreate should have comment or be unexported (golint)
    • Line 31: warning: don't use underscores in Go names; var es_string should be esString (golint)
    • Line 32: warning: don't use underscores in Go names; var cs_string should be csString (golint)
    • Line 41: warning: don't use underscores in Go names; var tmp_graph should be tmpGraph (golint)
    • Line 51: warning: exported function DashboardTmpGraphQuery should have comment or be unexported (golint)
    • Line 54: warning: don't use underscores in Go names; var tmp_graph should be tmpGraph (golint)
    • open-falcon-backend/common/db/db.go
    • Line 3: warning: comment on exported type GraphEndpoint should be of the form "GraphEndpoint ..." (with optional leading article) (golint)
    • Line 9: warning: comment on exported type GraphTagEndpoint should be of the form "GraphTagEndpoint ..." (with optional leading article) (golint)
    • Line 16: warning: comment on exported type GraphEndpointCounter should be of the form "GraphEndpointCounter ..." (with optional leading article) (golint)
    • open-falcon-backend/modules/fe/http/portal/onTimeUpdate_controller.go
    • Line 15: warning: exported type UpdatedEvents should have comment or be unexported (golint)
    • Line 19: warning: exported type UpdatedObjMutex should have comment or be unexported (golint)
    • Line 28: warning: exported method PortalController.OnTimeFeeding should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: exported function CronForQuery should have comment or be unexported (golint)
    • Line 108: warning: exported function CronReciveUpdate should have comment or be unexported (golint)
    • Line 126: warning: exported function CornDaemonStart should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/model/boss/model.go
    • Line 5: warning: exported type PlatformList should have comment or be unexported (golint)
    • Line 11: warning: exported type Platform should have comment or be unexported (golint)
    • Line 16: warning: exported type IPInfo should have comment or be unexported (golint)
    • Line 24: warning: exported type Contactor should have comment or be unexported (golint)
    • Line 30: warning: comment on exported type IDC should be of the form "IDC ..." (with optional leading article) (golint)
    • Line 42: warning: comment on exported type Hosts should be of the form "Hosts ..." (with optional leading article) (golint)
    • Line 58: warning: comment on exported type Platforms should be of the form "Platforms ..." (with optional leading article) (golint)
    • Line 67: warning: comment on exported type Contacts should be of the form "Contacts ..." (with optional leading article) (golint)
    • open-falcon-backend/modules/query/cache/cache.go
    • Line 10: warning: comment on exported type CacheWorker should be of the form "CacheWorker ..." (with optional leading article) (golint)
    • Line 22: warning: comment on exported type CachePool should be of the form "CachePool ..." (with optional leading article) (golint)
    • Line 28: warning: comment on exported method CachePool.Get should be of the form "Get ..." (golint)
    • open-falcon-backend/common/http/client/gentleman.go
    • Line 15: warning: comment on exported function ToGentlemanResp should be of the form "ToGentlemanResp ..." (golint)
    • Line 20: warning: comment on exported type GentlemanResponse should be of the form "GentlemanResponse ..." (with optional leading article) (golint)
    • Line 23: warning: comment on exported method GentlemanResponse.GetJson should be of the form "GetJson ..." (golint)
    • Line 36: warning: comment on exported method GentlemanResponse.MustGetJson should be of the form "MustGetJson ..." (golint)
    • Line 48: warning: comment on exported method GentlemanResponse.BindJson should be of the form "BindJson ..." (golint)
    • Line 62: warning: comment on exported method GentlemanResponse.MustBindJson should be of the form "MustBindJson ..." (golint)
    • Line 73: warning: comment on exported method GentlemanResponse.ToDetailString should be of the form "ToDetailString ..." (golint)
    • Line 107: warning: comment on exported function ToGentlemanReq should be of the form "ToGentlemanReq ..." (golint)
    • Line 112: warning: comment on exported type RespMatcher should be of the form "RespMatcher ..." (with optional leading article) (golint)
    • Line 116: warning: comment on exported function StatusMatcher should be of the form "StatusMatcher ..." (golint)
    • Line 131: warning: comment on exported type GentlemanRequest should be of the form "GentlemanRequest ..." (with optional leading article) (golint)
    • Line 134: warning: comment on exported method GentlemanRequest.SendAndStatusMatch should be of the form "SendAndStatusMatch ..." (golint)
    • Line 141: warning: comment on exported method GentlemanRequest.SendAndStatusMustMatch should be of the form "SendAndStatusMustMatch ..." (golint)
    • Line 148: warning: comment on exported method GentlemanRequest.SendAndMatch should be of the form "SendAndMatch ..." (golint)
    • Line 176: warning: comment on exported method GentlemanRequest.SendAndMustMatch should be of the form "SendAndMustMatch ..." (golint)
    • Line 188: warning: comment on exported type GentlemanConfig should be of the form "GentlemanConfig ..." (with optional leading article) (golint)
    • Line 193: warning: comment on exported var CommonGentleman should be of the form "CommonGentleman ..." (golint)
    • open-falcon-backend/modules/fe/model/uic/user.go
    • Line 12: warning: exported function SelectUserById should have comment or be unexported (golint)
    • Line 28: warning: exported function ReadUserById should have comment or be unexported (golint)
    • Line 46: warning: exported function SelectUserIdByName should have comment or be unexported (golint)
    • Line 64: warning: exported function ReadUserIdByName should have comment or be unexported (golint)
    • Line 81: warning: exported function ReadUserByName should have comment or be unexported (golint)
    • Line 85: warning: exported method User.Save should have comment or be unexported (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 93: warning: exported function InsertRegisterUser should have comment or be unexported (golint)
    • Line 102: warning: exported method User.Update should have comment or be unexported (golint)
    • Line 102: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 112: warning: exported method User.CanWrite should have comment or be unexported (golint)
    • Line 112: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 125: warning: exported function Users should have comment or be unexported (golint)
    • Line 129: warning: exported function QueryUsers should have comment or be unexported (golint)
    • Line 139: warning: exported method User.Remove should have comment or be unexported (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 160: warning: exported function DeleteUserById should have comment or be unexported (golint)
    • open-falcon-backend/modules/graph/g/g.go
    • Line 24: warning: exported const VERSION should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported const GRAPH_F_MISS should have comment (or a comment on this block) or be unexported (golint)
    • open-falcon-backend/modules/sender/g/cfg.go
    • Line 10: warning: exported type HttpConfig should have comment or be unexported (golint)
    • Line 15: warning: exported type RedisConfig should have comment or be unexported (golint)
    • Line 20: warning: exported type QueueConfig should have comment or be unexported (golint)
    • Line 27: warning: exported type WorkerConfig should have comment or be unexported (golint)
    • Line 34: warning: exported type ApiConfig should have comment or be unexported (golint)
    • Line 41: warning: exported type GlobalConfig should have comment or be unexported (golint)
    • Line 51: warning: exported var ConfigFile should have comment or be unexported (golint)
    • Line 56: warning: exported function Config should have comment or be unexported (golint)
    • Line 62: warning: exported function ParseConfig should have comment or be unexported (golint)
    • open-falcon-backend/common/model/paging.go
    • Line 8: warning: comment on exported type Paging should be of the form "Paging ..." (with optional leading article) (golint)
    • Line 17: warning: comment on exported function NewUndefinedPaging should be of the form "NewUndefinedPaging ..." (golint)
    • Line 32: warning: comment on exported method Paging.GetOffset should be of the form "GetOffset ..." (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: comment on exported method Paging.SetTotalCount should be of the form "SetTotalCount ..." (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: comment on exported function ExtractPage should be of the form "ExtractPage ..." (golint)
    • open-falcon-backend/modules/task/g/cfg.go
    • Line 11: warning: exported type HttpConfig should have comment or be unexported (golint)
    • Line 16: warning: exported type IndexConfig should have comment or be unexported (golint)
    • Line 23: warning: exported type CollectorConfig should have comment or be unexported (golint)
    • Line 30: warning: exported type PluginConfig should have comment or be unexported (golint)
    • Line 38: warning: exported type CleanerConfig should have comment or be unexported (golint)
    • Line 42: warning: exported type AgentConfig should have comment or be unexported (golint)
    • Line 50: warning: exported type GlobalConfig should have comment or be unexported (golint)
    • Line 59: warning: exported var ConfigFile should have comment or be unexported (golint)
    • Line 64: warning: exported function Config should have comment or be unexported (golint)
    • Line 70: warning: exported function ParseConfig should have comment or be unexported (golint)
    • open-falcon-backend/common/testing/http/server.go
    • Line 1: warning: package comment should be of the form "Package http ..." (golint)
    • Line 34: warning: comment on exported type HttpTest should be of the form "HttpTest ..." (with optional leading article) (golint)
    • Line 40: warning: comment on exported type FakeServerConfig should be of the form "FakeServerConfig ..." (with optional leading article) (golint)
    • Line 46: warning: comment on exported method FakeServerConfig.GetListener should be of the form "GetListener ..." (golint)
    • Line 59: warning: comment on exported method FakeServerConfig.GetUrl should be of the form "GetUrl ..." (golint)
    • Line 72: warning: comment on exported method FakeServerConfig.GetUrlString should be of the form "GetUrlString ..." (golint)
    • Line 77: warning: comment on exported var WebTestServer should be of the form "WebTestServer ..." (golint)
    • Line 104: warning: comment on exported var GinTestServer should be of the form "GinTestServer ..." (golint)
    • Line 123: warning: comment on exported type GinEngineConfigFunc should be of the form "GinEngineConfigFunc ..." (with optional leading article) (golint)
    • open-falcon-backend/common/digest/time.go
    • Line 7: warning: comment on exported type DigestableTime should be of the form "DigestableTime ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported method DigestableTime.GetDigest should be of the form "GetDigest ..." (golint)
    • open-falcon-backend/modules/graph/index/index.go
    • Line 11: warning: comment on exported function Start should be of the form "Start ..." (golint)
    • Line 18: warning: comment on exported function ReceiveItem should be of the form "ReceiveItem ..." (golint)
    • Line 50: warning: comment on exported function GetIndexedItemCache should be of the form "GetIndexedItemCache ..." (golint)
    • open-falcon-backend/modules/query/logger/logger.go
    • Line 12: warning: exported var Locker should have comment or be unexported (golint)
    • Line 15: warning: exported function Logger should have comment or be unexported (golint)
    • Line 21: warning: exported function SetFields should have comment or be unexported (golint)
    • Line 27: warning: exported function InitLogger should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/lambda_extends/gin_http/openFalcon/openFalconController.go
    • Line 1: warning: don't use MixedCaps in package name; openFalcon should be openfalcon (golint)
    • Line 20: warning: exported function GetEndpoints should have comment or be unexported (golint)
    • Line 30: warning: exported function BatchQuery should have comment or be unexported (golint)
    • Line 56: warning: exported function QueryOnce should have comment or be unexported (golint)
    • Line 81: warning: exported function QDataGet should have comment or be unexported (golint)
    • Line 111: warning: exported function QueryData should have comment or be unexported (golint)
    • Line 120: warning: don't use underscores in Go names; var root_dir should be rootDir (golint)
    • open-falcon-backend/common/db/owl/group_tag.go
    • Line 17: warning: exported type ProcessGroupTagFunc should have comment or be unexported (golint)
    • Line 25: warning: exported function ListGroupTags should have comment or be unexported (golint)
    • Line 65: warning: exported function BuildGroupTags should have comment or be unexported (golint)
    • Line 86: warning: exported function GetGroupTagById should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/model/cmdb.go
    • Line 9: warning: exported type SyncHost should have comment or be unexported (golint)
    • Line 15: warning: exported type SyncHostGroup should have comment or be unexported (golint)
    • Line 20: warning: exported type SyncForAdding should have comment or be unexported (golint)
    • Line 26: warning: exported method SyncForAdding.Bind should have comment or be unexported (golint)
    • open-falcon-backend/modules/query/graph/graph.go
    • Line 30: warning: exported function Start should have comment or be unexported (golint)
    • Line 43: warning: exported function QueryOne should have comment or be unexported (golint)
    • Line 83: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 110: warning: exported function Info should have comment or be unexported (golint)
    • Line 148: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 163: warning: exported function Last should have comment or be unexported (golint)
    • Line 201: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 208: warning: exported function LastRaw should have comment or be unexported (golint)
    • Line 246: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • open-falcon-backend/common/service/nqm/target.go
    • Line 10: warning: exported type TargetService should have comment or be unexported (golint)
    • Line 15: warning: exported function NewTargetService should have comment or be unexported (golint)
    • Line 22: warning: exported method TargetService.GetSimpleTarget1ById should have comment or be unexported (golint)
    • Line 38: warning: comment on exported method TargetService.GetSimpleTarget1sByFilter should be of the form "GetSimpleTarget1sByFilter ..." (golint)
    • open-falcon-backend/common/db/rdb.go
    • Line 11: warning: exported type TxFinale should have comment or be unexported (golint)
    • Line 14: warning: exported const TxCommit should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: comment on exported type DbConfig should be of the form "DbConfig ..." (with optional leading article) (golint)
    • Line 34: warning: comment on exported type DbController should be of the form "DbController ..." (with optional leading article) (golint)
    • Line 40: warning: comment on exported type DbCallback should be of the form "DbCallback ..." (with optional leading article) (golint)
    • Line 45: warning: comment on exported type DbCallbackFunc should be of the form "DbCallbackFunc ..." (with optional leading article) (golint)
    • Line 48: warning: exported method DbCallbackFunc.OnDb should have comment or be unexported (golint)
    • Line 52: warning: comment on exported type RowsCallback should be of the form "RowsCallback ..." (with optional leading article) (golint)
    • Line 57: warning: comment on exported type RowsCallbackFunc should be of the form "RowsCallbackFunc ..." (with optional leading article) (golint)
    • Line 60: warning: exported method RowsCallbackFunc.NextRow should have comment or be unexported (golint)
    • Line 64: warning: comment on exported type RowCallback should be of the form "RowCallback ..." (with optional leading article) (golint)
    • Line 69: warning: comment on exported type RowCallbackFunc should be of the form "RowCallbackFunc ..." (with optional leading article) (golint)
    • Line 72: warning: exported method RowCallbackFunc.ResultRow should have comment or be unexported (golint)
    • Line 76: warning: comment on exported type TxCallback should be of the form "TxCallback ..." (with optional leading article) (golint)
    • Line 81: warning: comment on exported type TxCallbackFunc should be of the form "TxCallbackFunc ..." (with optional leading article) (golint)
    • Line 84: warning: exported method TxCallbackFunc.InTx should have comment or be unexported (golint)
    • Line 101: warning: comment on exported type ExecuteIfByTx should be of the form "ExecuteIfByTx ..." (with optional leading article) (golint)
    • Line 109: warning: comment on exported type RowsExt should be of the form "RowsExt ..." (with optional leading article) (golint)
    • Line 112: warning: comment on exported function ToRowsExt should be of the form "ToRowsExt ..." (golint)
    • Line 117: warning: comment on exported method RowsExt.Columns should be of the form "Columns ..." (golint)
    • Line 125: warning: comment on exported method RowsExt.Scan should be of the form "Scan ..." (golint)
    • Line 131: warning: comment on exported type RowExt should be of the form "RowExt ..." (with optional leading article) (golint)
    • Line 134: warning: comment on exported function ToRowExt should be of the form "ToRowExt ..." (golint)
    • Line 139: warning: comment on exported method RowExt.Scan should be of the form "Scan ..." (golint)
    • Line 145: warning: comment on exported type StmtExt should be of the form "StmtExt ..." (with optional leading article) (golint)
    • Line 148: warning: comment on exported function ToStmtExt should be of the form "ToStmtExt ..." (golint)
    • Line 169: warning: comment on exported type TxExt should be of the form "TxExt ..." (with optional leading article) (golint)
    • Line 172: warning: comment on exported function ToTxExt should be of the form "ToTxExt ..." (golint)
    • Line 183: warning: comment on exported method TxExt.Exec should be of the form "Exec ..." (golint)
    • Line 213: warning: comment on exported type ResultExt should be of the form "ResultExt ..." (with optional leading article) (golint)
    • Line 218: warning: comment on exported function ToResultExt should be of the form "ToResultExt ..." (golint)
    • Line 223: warning: comment on exported method ResultExt.LastInsertId should be of the form "LastInsertId ..." (golint)
    • Line 231: warning: comment on exported method ResultExt.RowsAffected should be of the form "RowsAffected ..." (golint)
    • Line 239: warning: comment on exported type IterateControl should be of the form "IterateControl ..." (with optional leading article) (golint)
    • Line 243: warning: exported const IterateContinue should have comment (or a comment on this block) or be unexported (golint)
    • Line 247: warning: comment on exported function NewDbController should be of the form "NewDbController ..." (golint)
    • Line 264: warning: comment on exported method DbController.RegisterPanicHandler should be of the form "RegisterPanicHandler ..." (golint)
    • Line 271: warning: comment on exported method DbController.OperateOnDb should be of the form "OperateOnDb ..." (golint)
    • Line 280: warning: comment on exported method DbController.Exec should be of the form "Exec ..." (golint)
    • Line 296: warning: comment on exported method DbController.QueryForRows should be of the form "QueryForRows ..." (golint)
    • Line 331: warning: comment on exported method DbController.QueryForRow should be of the form "QueryForRow ..." (golint)
    • Line 349: warning: comment on exported method DbController.InTx should be of the form "InTx ..." (golint)
    • Line 402: warning: comment on exported method DbController.InTxForIf should be of the form "InTxForIf ..." (golint)
    • Line 417: warning: comment on exported method DbController.ExecQueriesInTx should be of the form "ExecQueriesInTx ..." (golint)
    • Line 423: warning: comment on exported method DbController.Release should be of the form "Release ..." (golint)
    • open-falcon-backend/common/utils/func.go
    • Line 7: warning: exported function PK should have comment or be unexported (golint)
    • Line 14: warning: exported function PK2 should have comment or be unexported (golint)
    • Line 18: warning: exported function UUID should have comment or be unexported (golint)
    • Line 25: warning: exported function Checksum should have comment or be unexported (golint)
    • Line 30: warning: exported function ChecksumOfUUID should have comment or be unexported (golint)
    • open-falcon-backend/modules/hbs/service/package.go
    • Line 22: warning: exported var MysqlApiService should have comment or be unexported (golint)
    • Line 26: warning: exported function InitPackage should have comment or be unexported (golint)
    • Line 38: warning: exported function InitMysqlApiService should have comment or be unexported (golint)
    • Line 46: warning: exported function ToMysqlApiConfig should have comment or be unexported (golint)
    • Line 65: warning: exported function SetMysqlApiUrl should have comment or be unexported (golint)
    • Line 70: warning: exported function GetMysqlApiUrl should have comment or be unexported (golint)
    • Line 77: warning: exported function NewSlingBase should have comment or be unexported (golint)
    • Line 81: warning: exported function NewMysqlApiCli should have comment or be unexported (golint)
    • open-falcon-backend/modules/query/model/nqm/metric_filter.go
    • Line 8: warning: comment on exported type MetricFilter should be of the form "MetricFilter ..." (with optional leading article) (golint)
    • Line 14: warning: comment on exported type Metrics should be of the form "Metrics ..." (with optional leading article) (golint)
    • Line 31: warning: exported method Metrics.UnmarshalSimpleJson should have comment or be unexported (golint)
    • open-falcon-backend/common/service/graph/index.go
    • Line 16: warning: comment on exported type GraphServiceConfig should be of the form "GraphServiceConfig ..." (with optional leading article) (golint)
    • Line 21: warning: exported type VacuumIndexConfig should have comment or be unexported (golint)
    • Line 25: warning: exported type ResultOfVacuumIndex should have comment or be unexported (golint)
    • Line 34: warning: exported method ResultOfVacuumIndex.GetBeforeTime should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: comment on exported type GraphService should be of the form "GraphService ..." (with optional leading article) (golint)
    • Line 53: warning: exported function NewGraphService should have comment or be unexported (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/alarm/api/portal.go
    • Line 12: warning: exported type Action should have comment or be unexported (golint)
    • Line 23: warning: exported type ActionWrap should have comment or be unexported (golint)
    • Line 28: warning: exported type ActionCache should have comment or be unexported (golint)
    • Line 33: warning: exported var Actions should have comment or be unexported (golint)
    • Line 35: warning: exported method ActionCache.Get should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method ActionCache.Set should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: exported function GetAction should have comment or be unexported (golint)
    • Line 64: warning: exported function CurlAction should have comment or be unexported (golint)
    • open-falcon-backend/common/model/nqm/agent.go
    • Line 16: warning: exported type AgentForAdding should have comment or be unexported (golint)
    • Line 36: warning: exported function NewAgentForAdding should have comment or be unexported (golint)
    • Line 48: warning: exported method AgentForAdding.AreGroupTagsSame should have comment or be unexported (golint)
    • Line 54: warning: exported method AgentForAdding.UniqueGroupTags should have comment or be unexported (golint)
    • Line 58: warning: exported method AgentForAdding.GetIpAddressAsBytes should have comment or be unexported (golint)
    • Line 62: warning: exported method AgentForAdding.GetIpAddressAsString should have comment or be unexported (golint)
    • Line 66: warning: exported type Agent should have comment or be unexported (golint)
    • Line 96: warning: exported method Agent.TableName should have comment or be unexported (golint)
    • Line 100: warning: exported method Agent.ToSimpleJson should have comment or be unexported (golint)
    • Line 140: warning: exported method Agent.ToAgentForAdding should have comment or be unexported (golint)
    • Line 168: warning: exported method Agent.MarshalJSON should have comment or be unexported (golint)
    • Line 172: warning: exported method Agent.AfterLoad should have comment or be unexported (golint)
    • Line 179: warning: receiver name agent should be consistent with previous receiver name agentView for Agent (golint)
    • Line 186: warning: exported type AgentWithPingTask should have comment or be unexported (golint)
    • Line 191: warning: exported method AgentWithPingTask.MarshalJSON should have comment or be unexported (golint)
    • Line 198: warning: exported type SimpleAgent1 should have comment or be unexported (golint)
    • Line 210: warning: exported type SimpleAgent1s should have comment or be unexported (golint)
    • Line 212: warning: exported method SimpleAgent1s.GetInt32s should have comment or be unexported (golint)
    • Line 222: warning: exported type SimpleAgent1InCity should have comment or be unexported (golint)
    • Line 227: warning: exported type PingListLog should have comment or be unexported (golint)
    • Line 233: warning: exported type CacheAgentPingListLog should have comment or be unexported (golint)
    • Line 238: warning: exported method CacheAgentPingListLog.TableName should have comment or be unexported (golint)
    • Line 242: warning: exported type AgentPingListTarget should have comment or be unexported (golint)
    • Line 248: warning: exported method AgentPingListTarget.MarshalJSON should have comment or be unexported (golint)
    • Line 287: warning: exported type TargetsOfAgent should have comment or be unexported (golint)
    • Line 293: warning: exported type ClearCacheView should have comment or be unexported (golint)
    • Line 297: warning: exported method PingListLog.GetDurationOfLastAccess should have comment or be unexported (golint)
    • Line 301: warning: exported type HeartbeatRequest should have comment or be unexported (golint)
    • Line 312: warning: exported method HeartbeatRequest.Bind should have comment or be unexported (golint)
    • Line 323: warning: exported type AgentView should have comment or be unexported (golint)
    • Line 348: warning: exported type ISP should have comment or be unexported (golint)
    • Line 353: warning: exported type Province should have comment or be unexported (golint)
    • Line 358: warning: exported type City should have comment or be unexported (golint)
    • Line 363: warning: exported type NameTag should have comment or be unexported (golint)
    • open-falcon-backend/common/db/facade/facade.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 13: warning: comment on exported type DbFacade should be of the form "DbFacade ..." (with optional leading article) (golint)
    • Line 72: warning: comment on exported method DbFacade.GetDbConfig should be of the form "GetDbConfig ..." (golint)
    • Line 80: warning: comment on exported method DbFacade.SetReleaseCallback should be of the form "SetReleaseCallback ..." (golint)
    • Line 85: warning: comment on exported method DbFacade.Release should be of the form "Release ..." (golint)
    • Line 109: warning: comment on exported method DbFacade.NewDbCtrl should be of the form "NewDbCtrl ..." (golint)
    • Line 114: warning: comment on exported method DbFacade.NewSqlxDbCtrl should be of the form "NewSqlxDbCtrl ..." (golint)
    • open-falcon-backend/modules/task/index/index_db.go
    • Line 5: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported var DB should have comment or be unexported (golint)
    • Line 13: warning: exported function InitDB should have comment or be unexported (golint)
    • Line 23: warning: exported function GetDbConn should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/utils/ldap.go
    • Line 8: warning: exported function LdapBind should have comment or be unexported (golint)
    • Line 54: warning: exported function Ldapsearch should have comment or be unexported (golint)
    • Line 93: warning: don't use underscores in Go names; var User_Attributes should be UserAttributes (golint)
    • open-falcon-backend/modules/mysqlapi/restful/pingtask_test.go
    • Line 67: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskItSuite (golint)
    • Line 94: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskItSuite (golint)
    • Line 126: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskItSuite (golint)
    • Line 138: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskItSuite (golint)
    • Line 180: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskItSuite (golint)
    • Line 205: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskItSuite (golint)
    • Line 237: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskItSuite (golint)
    • Line 262: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskItSuite (golint)
    • open-falcon-backend/modules/alarm/g/cfg.go
    • Line 12: warning: exported type HttpConfig should have comment or be unexported (golint)
    • Line 20: warning: exported type QueueConfig should have comment or be unexported (golint)
    • Line 27: warning: exported type FalconPortalConfig should have comment or be unexported (golint)
    • Line 33: warning: exported type BossConfig should have comment or be unexported (golint)
    • Line 39: warning: exported type RedisConfig should have comment or be unexported (golint)
    • Line 52: warning: exported type ExternalQueueSt should have comment or be unexported (golint)
    • Line 57: warning: exported type ErrorQueueSt should have comment or be unexported (golint)
    • Line 62: warning: exported type ApiConfig should have comment or be unexported (golint)
    • Line 68: warning: exported type UicConfig should have comment or be unexported (golint)
    • Line 74: warning: exported type ShortcutConfig should have comment or be unexported (golint)
    • Line 81: warning: exported type GlobalConfig should have comment or be unexported (golint)
    • Line 96: warning: exported var ConfigFile should have comment or be unexported (golint)
    • Line 101: warning: exported function Config should have comment or be unexported (golint)
    • Line 107: warning: exported function ParseConfig should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/model/uic/session.go
    • Line 11: warning: exported type Session should have comment or be unexported (golint)
    • Line 18: warning: exported method Session.ExpiredUnixGen should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 23: warning: exported method Session.UUIDGen should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: exported method Session.DeleteSessionByUid should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: comment on exported method Session.FindVaildSession should be of the form "FindVaildSession ..." (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported method Session.TableName should have comment or be unexported (golint)
    • Line 53: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/uic/user_controller.go
    • Line 18: warning: exported type APIUserInput should have comment or be unexported (golint)
    • Line 28: warning: exported function CreateUser should have comment or be unexported (golint)
    • Line 98: warning: exported type APIUserUpdateInput should have comment or be unexported (golint)
    • Line 106: warning: exported function UpdateUser should have comment or be unexported (golint)
    • Line 145: warning: exported type APICgPassedInput should have comment or be unexported (golint)
    • Line 150: warning: exported function ChangePassword should have comment or be unexported (golint)
    • Line 188: warning: exported function UserInfo should have comment or be unexported (golint)
    • Line 198: warning: comment on exported function GetUser should be of the form "GetUser ..." (golint)
    • Line 228: warning: exported type APIAdminUserDeleteInput should have comment or be unexported (golint)
    • Line 232: warning: comment on exported function AdminUserDelete should be of the form "AdminUserDelete ..." (golint)
    • Line 261: warning: exported type APIAdminChangePassword should have comment or be unexported (golint)
    • Line 266: warning: comment on exported function AdminChangePassword should be of the form "AdminChangePassword ..." (golint)
    • Line 301: warning: exported function UserList should have comment or be unexported (golint)
    • Line 331: warning: comment on exported type APIRoleUpdate should be of the form "APIRoleUpdate ..." (with optional leading article) (golint)
    • Line 337: warning: exported function ChangeRuleOfUser should have comment or be unexported (golint)
    • open-falcon-backend/common/service/owl/name_tag.go
    • Line 10: warning: exported type NameTagService should have comment or be unexported (golint)
    • Line 15: warning: exported function NewNameTagService should have comment or be unexported (golint)
    • Line 22: warning: exported method NameTagService.GetNameTagById should have comment or be unexported (golint)
    • Line 38: warning: exported method NameTagService.GetNameTagsByIds should have comment or be unexported (golint)
    • open-falcon-backend/modules/agent/g/cfg.go
    • Line 14: warning: exported type PluginConfig should have comment or be unexported (golint)
    • Line 23: warning: exported type HeartbeatConfig should have comment or be unexported (golint)
    • Line 30: warning: exported type TransferConfig should have comment or be unexported (golint)
    • Line 37: warning: exported type HttpConfig should have comment or be unexported (golint)
    • Line 43: warning: exported type CollectorConfig should have comment or be unexported (golint)
    • Line 48: warning: exported type GlobalConfig should have comment or be unexported (golint)
    • Line 61: warning: exported var ConfigFile should have comment or be unexported (golint)
    • Line 66: warning: exported function Config should have comment or be unexported (golint)
    • Line 72: warning: exported function Hostname should have comment or be unexported (golint)
    • Line 89: warning: exported function IP should have comment or be unexported (golint)
    • Line 103: warning: exported function ParseConfig should have comment or be unexported (golint)
    • open-falcon-backend/common/gin/gin_util.go
    • Line 20: warning: comment on exported type BindJsonError should be of the form "BindJsonError ..." (with optional leading article) (golint)
    • Line 30: warning: comment on exported function BindJson should be of the form "BindJson ..." (golint)
    • Line 94: warning: exported function ParseOrderBy should have comment or be unexported (golint)
    • open-falcon-backend/modules/graph/rrdtool/rrdtool.go
    • Line 19: warning: don't use underscores in Go names; var disk_counter should be diskCounter (golint)
    • Line 20: warning: don't use underscores in Go names; var net_counter should be netCounter (golint)
    • Line 23: warning: don't use underscores in Go names; type fetch_t should be fetchT (golint)
    • Line 32: warning: don't use underscores in Go names; type flushfile_t should be flushfileT (golint)
    • Line 37: warning: don't use underscores in Go names; type readfile_t should be readfileT (golint)
    • Line 42: warning: exported function Start should have comment or be unexported (golint)
    • Line 145: warning: exported function ReadFile should have comment or be unexported (golint)
    • Line 158: warning: exported function FlushFile should have comment or be unexported (golint)
    • Line 172: warning: exported function Fetch should have comment or be unexported (golint)
    • Line 191: warning: don't use underscores in Go names; var start_t should be startT (golint)
    • Line 192: warning: don't use underscores in Go names; var end_t should be endT (golint)
    • Line 193: warning: don't use underscores in Go names; var step_t should be stepT (golint)
    • Line 206: warning: don't use underscores in Go names; var start_ts should be startTs (golint)
    • Line 207: warning: don't use underscores in Go names; var step_s should be stepS (golint)
    • Line 221: warning: exported function FlushAll should have comment or be unexported (golint)
    • Line 233: warning: exported function CommitByKey should have comment or be unexported (golint)
    • Line 248: warning: exported function PullByKey should have comment or be unexported (golint)
    • Line 277: warning: exported function FlushRRD should have comment or be unexported (golint)
    • open-falcon-backend/g/g.go
    • Line 5: warning: exported var Modules should have comment or be unexported (golint)
    • Line 6: warning: exported var BinOf should have comment or be unexported (golint)
    • Line 8: warning: exported var ModuleApps should have comment or be unexported (golint)
    • Line 10: warning: exported var PidOf should have comment or be unexported (golint)
    • Line 11: warning: exported var AllModulesInOrder should have comment or be unexported (golint)
    • Line 139: warning: exported function Bin should have comment or be unexported (golint)
    • Line 144: warning: exported function Cfg should have comment or be unexported (golint)
    • Line 149: warning: exported function LogPath should have comment or be unexported (golint)
    • Line 154: warning: exported function LogDir should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/g/cfg.go
    • Line 12: warning: exported type HttpConfig should have comment or be unexported (golint)
    • Line 20: warning: exported type TimeoutConfig should have comment or be unexported (golint)
    • Line 26: warning: exported type CacheConfig should have comment or be unexported (golint)
    • Line 34: warning: exported type UicConfig should have comment or be unexported (golint)
    • Line 40: warning: exported type GraphDBConfig should have comment or be unexported (golint)
    • Line 48: warning: exported type FalconPortalConfig should have comment or be unexported (golint)
    • Line 55: warning: exported type BossConfig should have comment or be unexported (golint)
    • Line 62: warning: exported type ShortcutConfig should have comment or be unexported (golint)
    • Line 69: warning: exported type LdapConfig should have comment or be unexported (golint)
    • Line 79: warning: exported type ApiConfig should have comment or be unexported (golint)
    • Line 92: warning: exported type GraphConfig should have comment or be unexported (golint)
    • Line 101: warning: exported type GrpcConfig should have comment or be unexported (golint)
    • Line 106: warning: exported type MqConfig should have comment or be unexported (golint)
    • Line 112: warning: exported type GlobalConfig should have comment or be unexported (golint)
    • Line 132: warning: exported var ConfigFile should have comment or be unexported (golint)
    • Line 137: warning: exported function Config should have comment or be unexported (golint)
    • Line 143: warning: exported function ParseConfig should have comment or be unexported (golint)
    • open-falcon-backend/modules/query/nqm/compound_report_test.go
    • Line 716: warning: receiver name s should be consistent with previous receiver name suite for TestCompoundReportSuiteOnDb (golint)
    • Line 748: warning: receiver name s should be consistent with previous receiver name suite for TestCompoundReportSuiteOnDb (golint)
    • Line 766: warning: receiver name s should be consistent with previous receiver name suite for TestCompoundReportSuiteOnDb (golint)
    • Line 769: warning: receiver name s should be consistent with previous receiver name suite for TestCompoundReportSuiteOnDb (golint)
    • open-falcon-backend/common/json/time.go
    • Line 10: warning: comment on exported type JsonTime should be of the form "JsonTime ..." (with optional leading article) (golint)
    • Line 36: warning: exported method JsonTime.Value should have comment or be unexported (golint)
    • open-falcon-backend/common/service/owl/name_tag_test.go
    • Line 46: warning: receiver name s should be consistent with previous receiver name suite for TestNameTagSuite (golint)
    • Line 59: warning: receiver name s should be consistent with previous receiver name suite for TestNameTagSuite (golint)
    • Line 72: warning: receiver name s should be consistent with previous receiver name suite for TestNameTagSuite (golint)
    • Line 75: warning: receiver name s should be consistent with previous receiver name suite for TestNameTagSuite (golint)
    • open-falcon-backend/common/db/nqm/target.go
    • Line 19: warning: exported type ErrDuplicatedNqmTarget should have comment or be unexported (golint)
    • Line 27: warning: comment on exported function AddTarget should be of the form "AddTarget ..." (golint)
    • Line 59: warning: comment on exported function UpdateTarget should be of the form "UpdateTarget ..." (golint)
    • Line 80: warning: exported function GetTargetById should have comment or be unexported (golint)
    • Line 125: warning: exported function ListTargets should have comment or be unexported (golint)
    • Line 202: warning: comment on exported function GetSimpleTarget1ById should be of the form "GetSimpleTarget1ById ..." (golint)
    • Line 222: warning: comment on exported function LoadSimpleTarget1sByFilter should be of the form "LoadSimpleTarget1sByFilter ..." (golint)
    • open-falcon-backend/modules/mysqlapi/model/schedule.go
    • Line 14: warning: exported type Schedule should have comment or be unexported (golint)
    • Line 24: warning: exported function NewSchedule should have comment or be unexported (golint)
    • Line 31: warning: exported type OwlSchedule should have comment or be unexported (golint)
    • Line 38: warning: exported method OwlSchedule.IsLocked should have comment or be unexported (golint)
    • Line 42: warning: exported type OwlScheduleLog should have comment or be unexported (golint)
    • Line 52: warning: exported method OwlScheduleLog.IsTimeout should have comment or be unexported (golint)
    • Line 55: warning: exported method OwlScheduleLog.GetUuidString should have comment or be unexported (golint)
    • Line 59: warning: exported type UnableToLockSchedule should have comment or be unexported (golint)
    • Line 75: warning: exported type LockStatus should have comment or be unexported (golint)
    • Line 77: warning: exported method LockStatus.Scan should have comment or be unexported (golint)
    • Line 81: warning: exported method LockStatus.Value should have comment or be unexported (golint)
    • Line 86: warning: exported const FREE should have comment (or a comment on this block) or be unexported (golint)
    • Line 90: warning: exported type TaskStatus should have comment or be unexported (golint)
    • Line 92: warning: exported method TaskStatus.Scan should have comment or be unexported (golint)
    • Line 96: warning: exported method TaskStatus.Value should have comment or be unexported (golint)
    • Line 99: warning: exported method TaskStatus.ToJobStatus should have comment or be unexported (golint)
    • open-falcon-backend/modules/alarm/http/http.go
    • Line 4: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 7: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 25: warning: exported function Duration should have comment or be unexported (golint)
    • Line 60: warning: exported function Start should have comment or be unexported (golint)
    • open-falcon-backend/common/gorm/env.go
    • Line 9: warning: comment on exported var DefaultGormErrorConverter should be of the form "DefaultGormErrorConverter ..." (golint)
    • Line 20: warning: comment on exported function ToDefaultGormDbExt should be of the form "ToDefaultGormDbExt ..." (golint)
    • open-falcon-backend/common/testing/db/gocheck.go
    • Line 12: warning: comment on exported function SetupByViableDbConfig should be of the form "SetupByViableDbConfig ..." (golint)
    • Line 28: warning: comment on exported function InitDbFacade should be of the form "InitDbFacade ..." (golint)
    • Line 49: warning: comment on exported function ReleaseDbFacade should be of the form "ReleaseDbFacade ..." (golint)
    • open-falcon-backend/common/db/rdb_test.go
    • Line 224: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 227: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/fe/http/uic/user_controller.go
    • Line 6: warning: should not use dot imports (golint)
    • Line 14: warning: exported type UserController should have comment or be unexported (golint)
    • Line 18: warning: exported method UserController.CreateRoot should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: comment on exported method UserController.Info should be of the form "Info ..." (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: comment on exported method UserController.ProfileGet should be of the form "ProfileGet ..." (golint)
    • Line 47: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: comment on exported method UserController.ProfilePost should be of the form "ProfilePost ..." (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 97: warning: comment on exported method UserController.Role should be of the form "Role ..." (golint)
    • Line 98: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 128: warning: exported method UserController.ChangePassword should have comment or be unexported (golint)
    • Line 128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 161: warning: exported method UserController.Users should have comment or be unexported (golint)
    • Line 161: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 196: warning: exported method UserController.CreateUserGet should have comment or be unexported (golint)
    • Line 196: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 201: warning: exported method UserController.CreateUserPost should have comment or be unexported (golint)
    • Line 201: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 271: warning: exported method UserController.DeleteUser should have comment or be unexported (golint)
    • Line 271: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 289: warning: exported method UserController.EditGet should have comment or be unexported (golint)
    • Line 289: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 301: warning: exported method UserController.EditPost should have comment or be unexported (golint)
    • Line 301: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 354: warning: exported method UserController.ResetPassword should have comment or be unexported (golint)
    • Line 354: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 377: warning: exported method UserController.Query should have comment or be unexported (golint)
    • Line 377: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 392: warning: exported method UserController.In should have comment or be unexported (golint)
    • Line 392: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 421: warning: exported method UserController.About should have comment or be unexported (golint)
    • Line 421: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 434: warning: exported method UserController.QrCode should have comment or be unexported (golint)
    • Line 434: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/mysqlapi/restful/ping_task_it_test.go
    • Line 44: warning: receiver name s should be consistent with previous receiver name suite for TestPintTaskItSuite (golint)
    • Line 48: warning: receiver name s should be consistent with previous receiver name suite for TestPintTaskItSuite (golint)
    • Line 52: warning: receiver name s should be consistent with previous receiver name suite for TestPintTaskItSuite (golint)
    • Line 79: warning: receiver name s should be consistent with previous receiver name suite for TestPintTaskItSuite (golint)
    • open-falcon-backend/modules/agent/g/var.go
    • Line 15: warning: exported var Root should have comment or be unexported (golint)
    • Line 17: warning: exported function InitRootDir should have comment or be unexported (golint)
    • Line 25: warning: exported var LocalIps should have comment or be unexported (golint)
    • Line 27: warning: exported function InitLocalIps should have comment or be unexported (golint)
    • Line 35: warning: exported var PublicIps should have comment or be unexported (golint)
    • Line 37: warning: exported function InitPublicIps should have comment or be unexported (golint)
    • Line 46: warning: exported var HbsClient should have comment or be unexported (golint)
    • Line 49: warning: exported function InitRpcClients should have comment or be unexported (golint)
    • Line 58: warning: exported function SendToTransfer should have comment or be unexported (golint)
    • Line 82: warning: exported function ReportUrls should have comment or be unexported (golint)
    • Line 88: warning: exported function SetReportUrls should have comment or be unexported (golint)
    • Line 99: warning: exported function ReportPorts should have comment or be unexported (golint)
    • Line 105: warning: exported function SetReportPorts should have comment or be unexported (golint)
    • Line 116: warning: exported function DuPaths should have comment or be unexported (golint)
    • Line 122: warning: exported function SetDuPaths should have comment or be unexported (golint)
    • Line 136: warning: exported function ReportProcs should have comment or be unexported (golint)
    • Line 142: warning: exported function SetReportProcs should have comment or be unexported (golint)
    • Line 153: warning: exported function TrustableIps should have comment or be unexported (golint)
    • Line 159: warning: exported function SetTrustableIps should have comment or be unexported (golint)
    • Line 166: warning: exported function IsTrustable should have comment or be unexported (golint)
    • open-falcon-backend/common/digest/digestor.go
    • Line 3: warning: comment on exported type Digestor should be of the form "Digestor ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type DigestorFunc should be of the form "DigestorFunc ..." (with optional leading article) (golint)
    • Line 11: warning: exported method DigestorFunc.GetDigest should have comment or be unexported (golint)
    • Line 15: warning: exported type SumFunc should have comment or be unexported (golint)
    • Line 17: warning: comment on exported function SumAll should be of the form "SumAll ..." (golint)
    • open-falcon-backend/modules/graph/g/cfg.go
    • Line 12: warning: exported type File should have comment or be unexported (golint)
    • Line 17: warning: exported type HttpConfig should have comment or be unexported (golint)
    • Line 22: warning: exported type RpcConfig should have comment or be unexported (golint)
    • Line 27: warning: exported type RRDConfig should have comment or be unexported (golint)
    • Line 31: warning: exported type DBConfig should have comment or be unexported (golint)
    • Line 36: warning: exported type GlobalConfig should have comment or be unexported (golint)
    • Line 53: warning: exported var ConfigFile should have comment or be unexported (golint)
    • Line 57: warning: exported function Config should have comment or be unexported (golint)
    • Line 61: warning: exported function ParseConfig should have comment or be unexported (golint)
    • open-falcon-backend/scripts/mysql/dbpatch/go/sql/sql.go
    • Line 1: warning: package comment should be of the form "Package sql ..." (golint)
    • Line 11: warning: comment on exported type DatabaseConfig should be of the form "DatabaseConfig ..." (with optional leading article) (golint)
    • Line 21: warning: comment on exported function NewDatabaseConfig should be of the form "NewDatabaseConfig ..." (golint)
    • Line 70: warning: exported method DatabaseConfig.GetDatabaseName should have comment or be unexported (golint)
    • Line 70: warning: receiver name c should be consistent with previous receiver name databaseConfig for DatabaseConfig (golint)
    • open-falcon-backend/common/model/nodata.go
    • Line 10: warning: exported type NodataItem should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 22: warning: exported type NodataConfig should have comment or be unexported (golint)
    • Line 34: warning: exported function NewNodataConfig should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/json/simplejson.go
    • Line 13: warning: exported type SimpleJsonMarshaler should have comment or be unexported (golint)
    • Line 16: warning: exported type SimpleJsonUnmarshaler should have comment or be unexported (golint)
    • Line 20: warning: exported type JsonExt should have comment or be unexported (golint)
    • Line 24: warning: exported function UnmarshalToJson should have comment or be unexported (golint)
    • Line 73: warning: exported function UnmarshalToJsonExt should have comment or be unexported (golint)
    • Line 82: warning: exported function ToJsonExt should have comment or be unexported (golint)
    • Line 86: warning: exported method JsonExt.MustInt8 should have comment or be unexported (golint)
    • Line 89: warning: exported method JsonExt.MustInt16 should have comment or be unexported (golint)
    • Line 92: warning: exported method JsonExt.MustInt32 should have comment or be unexported (golint)
    • Line 96: warning: exported method JsonExt.MustUint8 should have comment or be unexported (golint)
    • Line 99: warning: exported method JsonExt.MustUint16 should have comment or be unexported (golint)
    • Line 102: warning: exported method JsonExt.MustUint32 should have comment or be unexported (golint)
    • Line 106: warning: exported method JsonExt.IsNil should have comment or be unexported (golint)
    • Line 110: warning: exported method JsonExt.MustStringPtr should have comment or be unexported (golint)
    • Line 119: warning: exported method JsonExt.GetExt should have comment or be unexported (golint)
    • Line 122: warning: exported method JsonExt.GetIndexExt should have comment or be unexported (golint)
    • Line 125: warning: exported method JsonExt.GetPathExt should have comment or be unexported (golint)
    • Line 128: warning: exported method JsonExt.CheckGetExt should have comment or be unexported (golint)
    • Line 133: warning: comment on exported function MarshalJSON should be of the form "MarshalJSON ..." (golint)
    • Line 146: warning: comment on exported function MarshalPrettyJSON should be of the form "MarshalPrettyJSON ..." (golint)
    • open-falcon-backend/common/proc/proc.go
    • Line 9: warning: exported const DefaultOtherMaxSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: comment on exported type SCounterBase should be of the form "SCounterBase ..." (with optional leading article) (golint)
    • Line 24: warning: exported function NewSCounterBase should have comment or be unexported (golint)
    • Line 30: warning: exported method SCounterBase.Get should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: comment on exported method SCounterBase.Set should be of the form "Set ..." (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method SCounterBase.SetCnt should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: exported method SCounterBase.PutOther should have comment or be unexported (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: comment on exported type SCounterQps should be of the form "SCounterQps ..." (with optional leading article) (golint)
    • Line 93: warning: exported function NewSCounterQps should have comment or be unexported (golint)
    • Line 100: warning: exported method SCounterQps.Get should have comment or be unexported (golint)
    • Line 100: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 108: warning: exported method SCounterQps.Incr should have comment or be unexported (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 112: warning: exported method SCounterQps.IncrBy should have comment or be unexported (golint)
    • Line 112: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: exported method SCounterQps.PutOther should have comment or be unexported (golint)
    • Line 119: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/query/gin_http/web.go
    • Line 1: warning: don't use MixedCaps in package name; ginHttp should be ginhttp (golint)
    • Line 15: warning: exported type QueryInput should have comment or be unexported (golint)
    • Line 35: warning: comment on exported function CORSMiddleware should be of the form "CORSMiddleware ..." (golint)
    • Line 52: warning: exported function StartWeb should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/alarm/alarm_events_controller.go
    • Line 14: warning: exported type APIGetAlarmListsInputs should have comment or be unexported (golint)
    • Line 38: warning: receiver name s should be consistent with previous receiver name input for APIGetAlarmListsInputs (golint)
    • Line 88: warning: exported function AlarmLists should have comment or be unexported (golint)
    • Line 120: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 142: warning: exported type APIEventsGetInputs should have comment or be unexported (golint)
    • Line 176: warning: exported function EventsGet should have comment or be unexported (golint)
    • open-falcon-backend/common/model/expression.go
    • Line 9: warning: exported type Config should have comment or be unexported (golint)
    • Line 14: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 22: warning: exported type Expression should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 51: warning: exported type ExpressionResponse should have comment or be unexported (golint)
    • Line 55: warning: exported type NewExpression should have comment or be unexported (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/nqm-agent/rpc.go
    • Line 15: warning: exported const ConnTimeout should have comment or be unexported (golint)
    • Line 17: warning: exported var HbsRespTime should have comment or be unexported (golint)
    • Line 57: warning: exported function RPCCall should have comment or be unexported (golint)
    • Line 74: warning: exported function InitRPC should have comment or be unexported (golint)
    • open-falcon-backend/modules/task/cron/cron.go
    • Line 27: warning: exported type TaskCronConfig should have comment or be unexported (golint)
    • Line 34: warning: exported function NewCronServices should have comment or be unexported (golint)
    • Line 49: warning: exported type TaskCronService should have comment or be unexported (golint)
    • Line 54: warning: exported method TaskCronService.Start should have comment or be unexported (golint)
    • Line 60: warning: exported method TaskCronService.Stop should have comment or be unexported (golint)
    • open-falcon-backend/common/runtime/stack.go
    • Line 1: warning: package comment should be of the form "Package runtime ..." (golint)
    • Line 39: warning: comment on exported type CallerInfo should be of the form "CallerInfo ..." (with optional leading article) (golint)
    • Line 47: warning: exported type CallerStack should have comment or be unexported (golint)
    • Line 49: warning: exported method CallerStack.AsStringStack should have comment or be unexported (golint)
    • Line 57: warning: exported method CallerStack.ConcatStringStack should have comment or be unexported (golint)
    • Line 61: warning: comment on exported method CallerInfo.GetFile should be of the form "GetFile ..." (golint)
    • Line 76: warning: comment on exported function GetCallerInfoStack should be of the form "GetCallerInfoStack ..." (golint)
    • Line 91: warning: comment on exported function GetCallerInfo should be of the form "GetCallerInfo ..." (golint)
    • Line 96: warning: comment on exported function GetCallerInfoWithDepth should be of the form "GetCallerInfoWithDepth ..." (golint)
    • open-falcon-backend/common/textbuilder/worker.go
    • Line 8: warning: exported function BuildPrefix should have comment or be unexported (golint)
    • Line 14: warning: exported function BuildSuffix should have comment or be unexported (golint)
    • Line 20: warning: exported function BuildSurrounding should have comment or be unexported (golint)
    • Line 26: warning: exported function BuildSameSurrounding should have comment or be unexported (golint)
    • Line 30: warning: exported function BuildRepeat should have comment or be unexported (golint)
    • Line 36: warning: exported function BuildRepeatByLen should have comment or be unexported (golint)
    • Line 42: warning: exported function BuildJoin should have comment or be unexported (golint)
    • open-falcon-backend/common/types/convert.go
    • Line 1: warning: package comment should be of the form "Package types ..." (golint)
    • Line 39: warning: should not use dot imports (golint)
    • Line 42: warning: comment on exported type ConversionService should be of the form "ConversionService ..." (with optional leading article) (golint)
    • Line 50: warning: comment on exported type ConverterRegistry should be of the form "ConverterRegistry ..." (with optional leading article) (golint)
    • Line 56: warning: comment on exported type Converter should be of the form "Converter ..." (with optional leading article) (golint)
    • Line 59: warning: comment on exported function NewDefaultConversionService should be of the form "NewDefaultConversionService ..." (golint)
    • Line 68: warning: comment on exported type DefaultConversionService should be of the form "DefaultConversionService ..." (with optional leading article) (golint)
    • Line 143: warning: comment on exported method DefaultConversionService.AddConverter should be of the form "AddConverter ..." (golint)
    • Line 161: warning: comment on exported method DefaultConversionService.CanConvert should be of the form "CanConvert ..." (golint)
    • Line 172: warning: comment on exported method DefaultConversionService.ConvertTo should be of the form "ConvertTo ..." (golint)
    • open-falcon-backend/modules/agent/plugins/plugins.go
    • Line 3: warning: exported type Plugin should have comment or be unexported (golint)
    • Line 10: warning: exported var Plugins should have comment or be unexported (golint)
    • Line 14: warning: exported function DelNoUsePlugins should have comment or be unexported (golint)
    • Line 23: warning: exported function AddNewPlugins should have comment or be unexported (golint)
    • Line 36: warning: exported function ClearAllPlugins should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/model/falcon_portal/event_orm_help.go
    • Line 1: warning: don't use MixedCaps in package name; falconPortal should be falconportal (golint)
    • Line 16: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 21: warning: comment on exported function GetTeamIdsFromUser should be of the form "GetTeamIdsFromUser ..." (golint)
    • Line 40: warning: comment on exported function GetTeamNameFromTeamIds should be of the form "GetTeamNameFromTeamIds ..." (golint)
    • Line 56: warning: comment on exported function GetActionIdsFromTeamNames should be of the form "GetActionIdsFromTeamNames ..." (golint)
    • Line 75: warning: exported function GetTplIdFromActionId should have comment or be unexported (golint)
    • Line 94: warning: exported function GetCasePermission should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/test/portal_test/common.go
    • Line 1: warning: don't use MixedCaps in package name; PortalTest should be portaltest (golint)
    • Line 19: warning: exported type Resps should have comment or be unexported (golint)
    • Line 25: warning: exported function DoPost should have comment or be unexported (golint)
    • Line 38: warning: exported function GetAuthSessoion should have comment or be unexported (golint)
    • open-falcon-backend/modules/sender/redis/pop.go
    • Line 10: warning: exported function PopAllSms should have comment or be unexported (golint)
    • Line 42: warning: exported function PopAllMail should have comment or be unexported (golint)
    • Line 74: warning: exported function PopAllQQ should have comment or be unexported (golint)
    • Line 105: warning: exported function PopAllServerchan should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/mockcfg/mockcfg_io_helper.go
    • Line 5: warning: exported type APICreateNoDataInputs should have comment or be unexported (golint)
    • Line 17: warning: exported method APICreateNoDataInputs.CheckFormat should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: exported type APIUpdateNoDataInputs should have comment or be unexported (golint)
    • Line 37: warning: exported method APIUpdateNoDataInputs.CheckFormat should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/model/nqm/nqm.go
    • Line 10: warning: comment on exported type NqmAgent should be of the form "NqmAgent ..." (with optional leading article) (golint)
    • Line 18: warning: comment on exported function NewNqmAgent should be of the form "NewNqmAgent ..." (golint)
    • Line 34: warning: comment on exported method NqmAgent.ConnectionId should be of the form "ConnectionId ..." (golint)
    • Line 39: warning: comment on exported method NqmAgent.Hostname should be of the form "Hostname ..." (golint)
    • open-falcon-backend/common/utils/tags.go
    • Line 9: warning: exported function SortedTags should have comment or be unexported (golint)
    • Line 43: warning: exported function DictedTagstring should have comment or be unexported (golint)
    • Line 49: warning: don't use underscores in Go names; var tag_dict should be tagDict (golint)
    • Line 52: warning: don't use underscores in Go names; var tag_pair should be tagPair (golint)
    • Line 60: warning: error should be the last type when returning multiple items (golint)
    • Line 60: warning: exported function SplitTagsString should have comment or be unexported (golint)
    • Line 71: warning: don't use underscores in Go names; var tag_pair should be tagPair (golint)
    • open-falcon-backend/common/textbuilder/sql/sql.go
    • Line 7: warning: comment on exported function Where should be of the form "Where ..." (golint)
    • Line 12: warning: exported function And should have comment or be unexported (golint)
    • Line 16: warning: exported function Or should have comment or be unexported (golint)
    • Line 20: warning: exported function In should have comment or be unexported (golint)
    • Line 24: warning: exported function InByLen should have comment or be unexported (golint)
    • open-falcon-backend/common/testing/check/number.go
    • Line 10: warning: comment on exported var LargerThan should be of the form "LargerThan ..." (golint)
    • Line 13: warning: comment on exported var LargerThanOrEqualTo should be of the form "LargerThanOrEqualTo ..." (golint)
    • Line 16: warning: comment on exported var SmallerThan should be of the form "SmallerThan ..." (golint)
    • Line 19: warning: comment on exported var SmallerThanOrEqualTo should be of the form "SmallerThanOrEqualTo ..." (golint)
    • open-falcon-backend/modules/graph/rrdtool/migrate.go
    • Line 23: warning: exported const NET_TASK_M_SEND should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: don't use underscores in Go names; type Net_task_t should be NetTaskT (golint)
    • Line 28: warning: exported type Net_task_t should have comment or be unexported (golint)
    • Line 37: warning: exported const FETCH_S_SUCCESS should have comment (or a comment on this block) or be unexported (golint)
    • Line 50: warning: exported var Consistent should have comment or be unexported (golint)
    • Line 51: warning: don't use underscores in Go names; var Net_task_ch should be NetTaskCh (golint)
    • Line 53: warning: don't use underscores in Go names; var flushrrd_timeout should be flushrrdTimeout (golint)
    • Line 54: warning: don't use underscores in Go names; var stat_cnt should be statCnt (golint)
    • Line 63: warning: exported function GetCounter should have comment or be unexported (golint)
    • Line 91: warning: don't use underscores in Go names; func migrate_start should be migrateStart (golint)
    • Line 112: warning: don't use underscores in Go names; func net_task_worker should be netTaskWorker (golint)
    • Line 193: warning: don't use underscores in Go names; func query_data should be queryData (golint)
    • Line 214: warning: don't use underscores in Go names; func send_data should be sendData (golint)
    • Line 231: warning: don't use underscores in Go names; var items_size should be itemsSize (golint)
    • Line 258: warning: don't use underscores in Go names; func fetch_rrd should be fetchRrd (golint)
    • Line 313: warning: don't use underscores in Go names; func rpc_call should be rpcCall (golint)
    • Line 323: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • open-falcon-backend/modules/transfer/sender/conn_pool/staging_conn_pool_manager.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 31: warning: exported type StagingConnPoolHelper should have comment or be unexported (golint)
    • Line 40: warning: exported function NewStagingConnPoolHelper should have comment or be unexported (golint)
    • Line 51: warning: comment on exported method StagingConnPoolHelper.Call should be of the form "Call ..." (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: exported method StagingConnPoolHelper.Destroy should have comment or be unexported (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/db/rdb_error.go
    • Line 7: warning: comment on exported type DbError should be of the form "DbError ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported function PanicIfError should be of the form "PanicIfError ..." (golint)
    • Line 21: warning: comment on exported function NewDatabaseError should be of the form "NewDatabaseError ..." (golint)
    • open-falcon-backend/modules/fe/model/falcon_portal/alerts.go
    • Line 1: warning: don't use MixedCaps in package name; falconPortal should be falconportal (golint)
    • Line 12: warning: exported function AlertsConvert should have comment or be unexported (golint)
    • Line 69: warning: exported function GetAlertInfo should have comment or be unexported (golint)
    • Line 135: warning: exported function GetAlertsNotes should have comment or be unexported (golint)
    • Line 144: warning: exported function GetAlertInfoFromDB should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/model/falcon_portal/event_query_action.go
    • Line 1: warning: don't use MixedCaps in package name; falconPortal should be falconportal (golint)
    • Line 35: warning: exported const SkipFilter should have comment or be unexported (golint)
    • Line 37: warning: exported function GetEventCases should have comment or be unexported (golint)
    • Line 104: warning: exported function GetEvents should have comment or be unexported (golint)
    • Line 148: warning: exported function GetAlarmTypeById should have comment or be unexported (golint)
    • Line 156: warning: exported function CountNumOfTlp should have comment or be unexported (golint)
    • Line 165: warning: exported function GetNotes should have comment or be unexported (golint)
    • Line 218: warning: exported function GetNote should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/http/dashboard/dashboard_controller.go
    • Line 17: warning: exported type DashBoardController should have comment or be unexported (golint)
    • Line 21: warning: exported method DashBoardController.EndpRegxqury should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method DashBoardController.CounterRegxQuery should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 87: warning: exported method DashBoardController.LatestPlugin should have comment or be unexported (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: don't use underscores in Go names; var q_err should be qErr (golint)
    • Line 93: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 95: warning: don't use underscores in Go names; var glr_err should be glrErr (golint)
    • Line 98: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 106: warning: comment on exported method DashBoardController.CounterQuery should be of the form "CounterQuery ..." (golint)
    • Line 107: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 138: warning: comment on exported method DashBoardController.EndpointsQuery should be of the form "EndpointsQuery ..." (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 171: warning: exported method DashBoardController.HostGroupQuery should have comment or be unexported (golint)
    • Line 171: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 198: warning: exported method DashBoardController.HostsQueryByHostGroups should have comment or be unexported (golint)
    • Line 198: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 214: warning: don't use underscores in Go names; var hosts_resp should be hostsResp (golint)
    • Line 225: warning: exported method DashBoardController.CounterQueryByHostGroup should have comment or be unexported (golint)
    • Line 225: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 268: warning: exported method DashBoardController.CountNumOfHostGroup should have comment or be unexported (golint)
    • Line 268: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 275: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 287: warning: exported method DashBoardController.EndpRunningPlugin should have comment or be unexported (golint)
    • Line 287: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 313: warning: exported method DashBoardController.EndpRegxquryForPlugin should have comment or be unexported (golint)
    • Line 313: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/mysqlapi/service/hbscache/plugins.go
    • Line 10: warning: comment on exported type SafeGroupPlugins should be of the form "SafeGroupPlugins ..." (with optional leading article) (golint)
    • Line 16: warning: exported var GroupPlugins should have comment or be unexported (golint)
    • Line 18: warning: exported method SafeGroupPlugins.GetPlugins should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: exported method SafeGroupPlugins.Init should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: comment on exported function GetPlugins should be of the form "GetPlugins ..." (golint)
    • open-falcon-backend/modules/query/model/nqm/query.go
    • Line 23: warning: comment on exported type PropRelation should be of the form "PropRelation ..." (with optional leading article) (golint)
    • Line 27: warning: comment on exported const RelationSame should be of the form "RelationSame ..." (golint)
    • Line 31: warning: exported const RelationNotSame should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: comment on exported const NoCondition should be of the form "NoCondition ..." (golint)
    • Line 36: warning: comment on exported const SameValue should be of the form "SameValue ..." (golint)
    • Line 38: warning: comment on exported const NotSameValue should be of the form "NotSameValue ..." (golint)
    • Line 43: warning: exported const MetricMax should have comment (or a comment on this block) or be unexported (golint)
    • Line 78: warning: exported type MetricsFilterParseError should have comment or be unexported (golint)
    • Line 82: warning: comment on exported type TimeRange should be of the form "TimeRange ..." (with optional leading article) (golint)
    • Line 130: warning: comment on exported type CompoundQuery should be of the form "CompoundQuery ..." (with optional leading article) (golint)
    • Line 143: warning: exported function NewCompoundQuery should have comment or be unexported (golint)
    • Line 155: warning: exported type CompoundQueryFilter should have comment or be unexported (golint)
    • Line 162: warning: exported type TimeFilter should have comment or be unexported (golint)
    • Line 173: warning: exported function NewTimeFilter should have comment or be unexported (golint)
    • Line 179: warning: exported type TimeWithUnit should have comment or be unexported (golint)
    • Line 187: warning: exported type QueryOutput should have comment or be unexported (golint)
    • Line 191: warning: exported type QueryGrouping should have comment or be unexported (golint)
    • Line 196: warning: exported method CompoundQuery.GetDigestValue should have comment or be unexported (golint)
    • Line 199: warning: exported method CompoundQuery.SetMetricFilter should have comment or be unexported (golint)
    • Line 203: warning: exported method CompoundQuery.GetIspRelation should have comment or be unexported (golint)
    • Line 207: warning: exported method CompoundQuery.GetProvinceRelation should have comment or be unexported (golint)
    • Line 211: warning: exported method CompoundQuery.GetCityRelation should have comment or be unexported (golint)
    • Line 215: warning: exported method CompoundQuery.GetNameTagRelation should have comment or be unexported (golint)
    • Line 220: warning: comment on exported method CompoundQuery.GetCompressedQuery should be of the form "GetCompressedQuery ..." (golint)
    • Line 227: warning: exported method CompoundQuery.UnmarshalFromCompressedQuery should have comment or be unexported (golint)
    • Line 232: warning: comment on exported method CompoundQuery.UnmarshalJSON should be of the form "UnmarshalJSON ..." (golint)
    • Line 233: warning: receiver name query should be consistent with previous receiver name q for CompoundQuery (golint)
    • Line 272: warning: exported method CompoundQuery.SetupDefault should have comment or be unexported (golint)
    • Line 272: warning: receiver name query should be consistent with previous receiver name q for CompoundQuery (golint)
    • Line 296: warning: exported method CompoundQueryFilter.UnmarshalSimpleJSON should have comment or be unexported (golint)
    • Line 369: warning: comment on exported method TimeFilter.GetDigest should be of the form "GetDigest ..." (golint)
    • Line 386: warning: exported method TimeFilter.GetMultipleTimeRanges should have comment or be unexported (golint)
    • Line 440: warning: exported method TimeFilter.IsMultipleTimeRanges should have comment or be unexported (golint)
    • Line 446: warning: comment on exported method TimeFilter.GetNetTimeRange should be of the form "GetNetTimeRange ..." (golint)
    • Line 460: warning: exported method TimeFilter.ToJsonOfRelativeTimeRange should have comment or be unexported (golint)
    • Line 520: warning: exported method TimeFilter.UnmarshalSimpleJSON should have comment or be unexported (golint)
    • Line 577: warning: exported method QueryOutput.UnmarshalSimpleJSON should have comment or be unexported (golint)
    • Line 585: warning: exported method QueryOutput.HasMetric should have comment or be unexported (golint)
    • Line 595: warning: exported method TimeWithUnit.DurationFromMidnightOfStartTime should have comment or be unexported (golint)
    • Line 598: warning: exported method TimeWithUnit.DurationFromMidnightOfEndTime should have comment or be unexported (golint)
    • Line 640: warning: exported method QueryGrouping.UnmarshalSimpleJSON should have comment or be unexported (golint)
    • Line 653: warning: exported method QueryGrouping.IsForEachAgent should have comment or be unexported (golint)
    • Line 662: warning: exported method QueryGrouping.IsForEachTarget should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/imdb/imdb_object_tag_controller.go
    • Line 15: warning: exported type ObjectTagsInput should have comment or be unexported (golint)
    • Line 20: warning: exported function ObjectTagList should have comment or be unexported (golint)
    • Line 45: warning: exported function GetObjectTag should have comment or be unexported (golint)
    • Line 69: warning: exported type CreateObjectTagInput should have comment or be unexported (golint)
    • Line 75: warning: exported type CreateObjectTagBase should have comment or be unexported (golint)
    • Line 80: warning: exported method CreateObjectTagInput.Check should have comment or be unexported (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 94: warning: exported type CreateObjectChildHelp should have comment or be unexported (golint)
    • Line 100: warning: exported function CreateObjectTag should have comment or be unexported (golint)
    • Line 227: warning: exported type UpdateObjectTagInput should have comment or be unexported (golint)
    • Line 232: warning: exported method UpdateObjectTagInput.Check should have comment or be unexported (golint)
    • Line 232: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 246: warning: exported function UpdateObjectTag should have comment or be unexported (golint)
    • Line 360: warning: exported type DeleteObjctTagInput should have comment or be unexported (golint)
    • Line 365: warning: exported function DeleteObjctTag should have comment or be unexported (golint)
    • open-falcon-backend/common/utils/set.go
    • Line 10: warning: comment on exported function UniqueElements should be of the form "UniqueElements ..." (golint)
    • Line 24: warning: comment on exported function UniqueArrayOfStrings should be of the form "UniqueArrayOfStrings ..." (golint)
    • open-falcon-backend/common/db/nqm/agent.go
    • Line 27: warning: exported type ErrDuplicatedNqmAgent should have comment or be unexported (golint)
    • Line 35: warning: comment on exported function AddAgent should be of the form "AddAgent ..." (golint)
    • Line 67: warning: exported function UpdateAgent should have comment or be unexported (golint)
    • Line 87: warning: exported function GetAgentById should have comment or be unexported (golint)
    • Line 140: warning: exported function GetSimpleAgent1ById should have comment or be unexported (golint)
    • Line 159: warning: exported function LoadSimpleAgent1sByFilter should have comment or be unexported (golint)
    • Line 257: warning: exported function LoadEffectiveAgentsInProvince should have comment or be unexported (golint)
    • Line 361: warning: comment on exported function ListTargetsOfAgentById should be of the form "ListTargetsOfAgentById ..." (golint)
    • Line 488: warning: comment on exported function DeleteCachedTargetsOfAgentById should be of the form "DeleteCachedTargetsOfAgentById ..." (golint)
    • Line 514: warning: comment on exported function ListAgentsWithPingTask should be of the form "ListAgentsWithPingTask ..." (golint)
    • Line 565: warning: comment on exported function ListAgents should be of the form "ListAgents ..." (golint)
    • open-falcon-backend/modules/alarm/redis/sender.go
    • Line 11: warning: exported function LPUSH should have comment or be unexported (golint)
    • Line 20: warning: exported function WriteSmsModel should have comment or be unexported (golint)
    • Line 34: warning: exported function WriteMailModel should have comment or be unexported (golint)
    • Line 48: warning: exported function WriteQQModel should have comment or be unexported (golint)
    • Line 62: warning: exported function WriteServerchanModel should have comment or be unexported (golint)
    • Line 76: warning: exported function WriteSms should have comment or be unexported (golint)
    • Line 87: warning: exported function WriteMail should have comment or be unexported (golint)
    • Line 96: warning: exported function WriteQQ should have comment or be unexported (golint)
    • Line 105: warning: exported function WriteServerchan should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/helper/filter/boss_filter.go
    • Line 9: warning: exported function PlatformFilter should have comment or be unexported (golint)
    • Line 25: warning: exported function IspFilter should have comment or be unexported (golint)
    • Line 40: warning: exported function IdcFilter should have comment or be unexported (golint)
    • Line 55: warning: exported function IpFilter should have comment or be unexported (golint)
    • Line 70: warning: exported function ProvinceFilter should have comment or be unexported (golint)
    • Line 85: warning: exported function HostNameFilter should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/config/redis.go
    • Line 10: warning: exported type RedisConn should have comment or be unexported (golint)
    • Line 19: warning: exported function GetRedisConn should have comment or be unexported (golint)
    • Line 23: warning: exported function SetBucketKey should have comment or be unexported (golint)
    • Line 27: warning: exported function StartRedis should have comment or be unexported (golint)
    • Line 42: warning: exported function PutAlarmToRedis should have comment or be unexported (golint)
    • Line 54: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • open-falcon-backend/common/model/nqm/target.go
    • Line 14: warning: exported type TargetForAdding should have comment or be unexported (golint)
    • Line 31: warning: exported method TargetForAdding.AreGroupTagsSame should have comment or be unexported (golint)
    • Line 36: warning: exported method TargetForAdding.UniqueGroupTags should have comment or be unexported (golint)
    • Line 40: warning: exported function NewTargetForAdding should have comment or be unexported (golint)
    • Line 51: warning: exported type Target should have comment or be unexported (golint)
    • Line 78: warning: exported method Target.TableName should have comment or be unexported (golint)
    • Line 81: warning: exported method Target.AfterLoad should have comment or be unexported (golint)
    • Line 87: warning: exported method Target.MarshalJSON should have comment or be unexported (golint)
    • Line 131: warning: exported method Target.ToTargetForAdding should have comment or be unexported (golint)
    • Line 149: warning: exported type SimpleTarget1 should have comment or be unexported (golint)
    • Line 160: warning: exported type SimpleTarget1s should have comment or be unexported (golint)
    • Line 162: warning: exported method SimpleTarget1s.GetInt32s should have comment or be unexported (golint)
    • Line 193: warning: exported method HeartbeatTarget.TableName should have comment or be unexported (golint)
    • Line 197: warning: exported method HeartbeatTarget.AfterLoad should have comment or be unexported (golint)
    • open-falcon-backend/common/gin/error_handler.go
    • Line 11: warning: comment on exported type DataConflictError should be of the form "DataConflictError ..." (with optional leading article) (golint)
    • Line 52: warning: comment on exported method DataConflictError.MarshalJSON should be of the form "MarshalJSON ..." (golint)
    • Line 69: warning: comment on exported type PanicProcessor should be of the form "PanicProcessor ..." (with optional leading article) (golint)
    • Line 72: warning: comment on exported function BuildJsonPanicProcessor should be of the form "BuildJsonPanicProcessor ..." (golint)
    • Line 88: warning: comment on exported function DefaultPanicProcessor should be of the form "DefaultPanicProcessor ..." (golint)
    • Line 144: warning: comment on exported function JsonConflictHandler should be of the form "JsonConflictHandler ..." (golint)
    • Line 152: warning: comment on exported function JsonNoMethodHandler should be of the form "JsonNoMethodHandler ..." (golint)
    • Line 172: warning: comment on exported function JsonNoRouteHandler should be of the form "JsonNoRouteHandler ..." (golint)
    • open-falcon-backend/common/service/owl/isp.go
    • Line 10: warning: exported type IspService should have comment or be unexported (golint)
    • Line 15: warning: exported function NewIspService should have comment or be unexported (golint)
    • Line 22: warning: comment on exported method IspService.GetIspById should be of the form "GetIspById ..." (golint)
    • Line 41: warning: comment on exported method IspService.GetIspsByName should be of the form "GetIspsByName ..." (golint)
    • Line 73: warning: exported method IspService.GetIspsByIds should have comment or be unexported (golint)
    • open-falcon-backend/modules/nodata/config/service/db.go
    • Line 5: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 21: warning: exported function InitDB should have comment or be unexported (golint)
    • Line 31: warning: exported function GetBaseConn should have comment or be unexported (golint)
    • Line 35: warning: exported function GetDbConn should have comment or be unexported (golint)
    • open-falcon-backend/modules/nqm-agent/measure.go
    • Line 13: warning: exported type Utility should have comment or be unexported (golint)
    • Line 20: warning: exported type Fping should have comment or be unexported (golint)
    • Line 24: warning: exported method Fping.MarshalJSONParamsToGraph should have comment or be unexported (golint)
    • Line 34: warning: exported method Fping.ProbingCommand should have comment or be unexported (golint)
    • Line 39: warning: exported method Fping.UtilName should have comment or be unexported (golint)
    • Line 43: warning: exported method Fping.CalcStats should have comment or be unexported (golint)
    • Line 74: warning: exported type Tcpping should have comment or be unexported (golint)
    • Line 78: warning: exported method Tcpping.MarshalJSONParamsToGraph should have comment or be unexported (golint)
    • Line 82: warning: exported method Tcpping.ProbingCommand should have comment or be unexported (golint)
    • Line 87: warning: exported method Tcpping.UtilName should have comment or be unexported (golint)
    • Line 91: warning: exported method Tcpping.CalcStats should have comment or be unexported (golint)
    • Line 95: warning: exported type Tcpconn should have comment or be unexported (golint)
    • Line 99: warning: exported method Tcpconn.MarshalJSONParamsToGraph should have comment or be unexported (golint)
    • Line 105: warning: exported method Tcpconn.ProbingCommand should have comment or be unexported (golint)
    • Line 110: warning: exported method Tcpconn.UtilName should have comment or be unexported (golint)
    • Line 114: warning: exported method Tcpconn.CalcStats should have comment or be unexported (golint)
    • Line 152: warning: exported function Measure should have comment or be unexported (golint)
    • open-falcon-backend/modules/task/index/index_update_all_task.go
    • Line 27: warning: comment on exported function StartIndexUpdateAllTask should be of the form "StartIndexUpdateAllTask ..." (golint)
    • Line 37: warning: comment on exported function UpdateAllIndex should be of the form "UpdateAllIndex ..." (golint)
    • Line 44: warning: exported function UpdateIndexOfOneGraph should have comment or be unexported (golint)
    • Line 99: warning: exported type Dto should have comment or be unexported (golint)
    • open-falcon-backend/common/model/owl/group_tag.go
    • Line 11: warning: exported type GroupTag should have comment or be unexported (golint)
    • Line 16: warning: exported method GroupTag.TableName should have comment or be unexported (golint)
    • Line 24: warning: exported method GroupTag.ToJson should have comment or be unexported (golint)
    • Line 32: warning: exported type GroupTags should have comment or be unexported (golint)
    • Line 34: warning: exported method GroupTags.ToJson should have comment or be unexported (golint)
    • Line 43: warning: exported method GroupTags.ToNames should have comment or be unexported (golint)
    • Line 52: warning: comment on exported function SplitToArrayOfGroupTags should be of the form "SplitToArrayOfGroupTags ..." (golint)
    • Line 79: warning: exported type GroupTagOfPingtaskView should have comment or be unexported (golint)
    • Line 84: warning: exported method GroupTagOfPingtaskView.TableName should have comment or be unexported (golint)
    • open-falcon-backend/common/queue/queue.go
    • Line 13: warning: exported type Config should have comment or be unexported (golint)
    • Line 18: warning: exported type Queue should have comment or be unexported (golint)
    • Line 23: warning: exported function New should have comment or be unexported (golint)
    • Line 30: warning: exported method Queue.Enqueue should have comment or be unexported (golint)
    • Line 35: warning: exported method Queue.DrainNWithDuration should have comment or be unexported (golint)
    • Line 68: warning: exported method Queue.DrainNWithDurationByType should have comment or be unexported (golint)
    • Line 71: warning: exported method Queue.DrainNWithDurationByReflectType should have comment or be unexported (golint)
    • Line 82: warning: exported method Queue.Len should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/model/uic/team.go
    • Line 14: warning: exported function QueryMineTeams should have comment or be unexported (golint)
    • Line 41: warning: exported function CountNumOfTeam should have comment or be unexported (golint)
    • Line 47: warning: exported function QueryAllTeams should have comment or be unexported (golint)
    • Line 55: warning: exported function Tids should have comment or be unexported (golint)
    • Line 75: warning: exported function Uids should have comment or be unexported (golint)
    • Line 95: warning: exported function SelectTeamById should have comment or be unexported (golint)
    • Line 111: warning: exported function ReadTeamById should have comment or be unexported (golint)
    • Line 129: warning: exported function SelectTeamIdByName should have comment or be unexported (golint)
    • Line 147: warning: exported function ReadTeamIdByName should have comment or be unexported (golint)
    • Line 164: warning: exported function ReadTeamByName should have comment or be unexported (golint)
    • Line 168: warning: exported method Team.Save should have comment or be unexported (golint)
    • Line 168: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 172: warning: exported function SaveTeamAttrs should have comment or be unexported (golint)
    • Line 177: warning: exported function PutUsersInTeam should have comment or be unexported (golint)
    • Line 203: warning: exported method Team.UpdateUsers should have comment or be unexported (golint)
    • Line 203: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 213: warning: exported function UserIds should have comment or be unexported (golint)
    • Line 225: warning: exported function MembersByTeamName should have comment or be unexported (golint)
    • Line 234: warning: exported function MembersByTeamId should have comment or be unexported (golint)
    • Line 258: warning: exported method Team.Remove should have comment or be unexported (golint)
    • Line 258: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 273: warning: exported function UnlinkByTeamId should have comment or be unexported (golint)
    • Line 278: warning: exported function UnlinkByUserId should have comment or be unexported (golint)
    • Line 283: warning: exported function DeleteTeamById should have comment or be unexported (golint)
    • Line 292: warning: exported method Team.UserIds should have comment or be unexported (golint)
    • Line 292: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 307: warning: exported method Team.Update should have comment or be unexported (golint)
    • Line 307: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/mysqlapi/rdb/owl/query_object.go
    • Line 13: warning: exported function RemoveOldQueryObject should have comment or be unexported (golint)
    • Line 27: warning: comment on exported function AddOrRefreshQuery should be of the form "AddOrRefreshQuery ..." (golint)
    • Line 32: warning: comment on exported function UpdateAccessTimeOrAddNewOne should be of the form "UpdateAccessTimeOrAddNewOne ..." (golint)
    • Line 44: warning: comment on exported function LoadQueryByUuidAndUpdateAccessTime should be of the form "LoadQueryByUuidAndUpdateAccessTime ..." (golint)
    • open-falcon-backend/modules/query/http/zabbix.go
    • Line 23: warning: exported type Host should have comment or be unexported (golint)
    • Line 27: warning: don't use underscores in Go names; struct field Agent_version should be AgentVersion (golint)
    • Line 28: warning: don't use underscores in Go names; struct field Plugin_version should be PluginVersion (golint)
    • Line 29: warning: don't use underscores in Go names; struct field Maintain_begin should be MaintainBegin (golint)
    • Line 30: warning: don't use underscores in Go names; struct field Maintain_end should be MaintainEnd (golint)
    • Line 31: warning: don't use underscores in Go names; struct field Update_at should be UpdateAt (golint)
    • Line 34: warning: exported type Grp should have comment or be unexported (golint)
    • Line 36: warning: don't use underscores in Go names; struct field Grp_name should be GrpName (golint)
    • Line 37: warning: don't use underscores in Go names; struct field Create_user should be CreateUser (golint)
    • Line 38: warning: don't use underscores in Go names; struct field Create_at should be CreateAt (golint)
    • Line 39: warning: don't use underscores in Go names; struct field Come_from should be ComeFrom (golint)
    • Line 42: warning: exported type Tpl should have comment or be unexported (golint)
    • Line 44: warning: don't use underscores in Go names; struct field Tpl_name should be TplName (golint)
    • Line 45: warning: don't use underscores in Go names; struct field Parent_id should be ParentID (golint)
    • Line 46: warning: don't use underscores in Go names; struct field Action_id should be ActionID (golint)
    • Line 47: warning: don't use underscores in Go names; struct field Create_user should be CreateUser (golint)
    • Line 48: warning: don't use underscores in Go names; struct field Create_at should be CreateAt (golint)
    • Line 51: warning: don't use underscores in Go names; type Grp_tpl should be GrpTpl (golint)
    • Line 51: warning: exported type Grp_tpl should have comment or be unexported (golint)
    • Line 53: warning: don't use underscores in Go names; struct field Grp_id should be GrpID (golint)
    • Line 54: warning: don't use underscores in Go names; struct field Tpl_id should be TplID (golint)
    • Line 55: warning: don't use underscores in Go names; struct field Bind_user should be BindUser (golint)
    • Line 58: warning: don't use underscores in Go names; type Grp_host should be GrpHost (golint)
    • Line 58: warning: exported type Grp_host should have comment or be unexported (golint)
    • Line 60: warning: don't use underscores in Go names; struct field Grp_id should be GrpID (golint)
    • Line 61: warning: don't use underscores in Go names; struct field Host_id should be HostID (golint)
    • Line 64: warning: don't use underscores in Go names; type Plugin_dir should be PluginDir (golint)
    • Line 64: warning: exported type Plugin_dir should have comment or be unexported (golint)
    • Line 66: warning: don't use underscores in Go names; struct field Grp_id should be GrpID (golint)
    • Line 68: warning: don't use underscores in Go names; struct field Create_user should be CreateUser (golint)
    • Line 199: warning: don't use underscores in Go names; var grp_host should be grpHost (golint)
    • Line 204: warning: don't use underscores in Go names; var grp_id should be grpID (golint)
    • Line 210: warning: don't use underscores in Go names; var grp_host should be grpHost (golint)
    • Line 246: warning: don't use underscores in Go names; var grp_id should be grpID (golint)
    • Line 247: warning: don't use underscores in Go names; var grp_tpl should be grpTpl (golint)
    • Line 251: warning: don't use underscores in Go names; var tpl_id should be tplID (golint)
    • Line 257: warning: don't use underscores in Go names; var grp_tpl should be grpTpl (golint)
    • Line 503: warning: don't use underscores in Go names; var grp_ids should be grpIds (golint)
    • Line 505: warning: don't use underscores in Go names; range var grp_id should be grpID (golint)
    • Line 779: warning: don't use underscores in Go names; var tpl_ids should be tplIds (golint)
    • Line 787: warning: don't use underscores in Go names; range var tpl_id should be tplID (golint)
    • Line 909: warning: don't use underscores in Go names; var plugin_dir should be pluginDir (golint)
    • Line 914: warning: don't use underscores in Go names; var plugin_dir should be pluginDir (golint)
    • Line 1060: warning: don't use underscores in Go names; var grp_tpl should be grpTpl (golint)
    • Line 1222: warning: don't use underscores in Go names; var grp_tpl should be grpTpl (golint)
    • Line 1228: warning: don't use underscores in Go names; var grp_tpl should be grpTpl (golint)
    • Line 1352: warning: don't use underscores in Go names; var trigger_id should be triggerID (golint)
    • Line 1361: warning: don't use underscores in Go names; var tpl_id should be tplID (golint)
    • Line 1363: warning: don't use underscores in Go names; var zabbix_status should be zabbixStatus (golint)
    • Line 1365: warning: don't use underscores in Go names; var zabbix_level should be zabbixLevel (golint)
    • open-falcon-backend/common/types/binding.go
    • Line 9: warning: comment on exported type Binding should be of the form "Binding ..." (with optional leading article) (golint)
    • Line 15: warning: comment on exported function DoBinding should be of the form "DoBinding ..." (golint)
    • Line 30: warning: comment on exported function HasBinding should be of the form "HasBinding ..." (golint)
    • Line 36: warning: comment on exported function BindingToConverter should be of the form "BindingToConverter ..." (golint)
    • Line 47: warning: don't use underscores in Go names; var _t_Binding should be _tBinding (golint)
    • open-falcon-backend/common/db/nqm/pingtask_test.go
    • Line 105: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskSuite (golint)
    • Line 135: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskSuite (golint)
    • Line 179: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskSuite (golint)
    • Line 200: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskSuite (golint)
    • Line 232: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskSuite (golint)
    • Line 276: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskSuite (golint)
    • Line 353: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskSuite (golint)
    • Line 412: warning: receiver name suite should be consistent with previous receiver name s for TestPingtaskSuite (golint)
    • open-falcon-backend/modules/query/dsl/nqm_parser/nqm_parser.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 957: warning: don't use underscores in Go names; method onISO_86011 should be onISO86011 (golint)
    • Line 961: warning: don't use underscores in Go names; method callonISO_86011 should be callonISO86011 (golint)
    • Line 967: warning: don't use underscores in Go names; method onUNIX_TIME1 should be onUNIXTIME1 (golint)
    • Line 971: warning: don't use underscores in Go names; method callonUNIX_TIME1 should be callonUNIXTIME1 (golint)
    • open-falcon-backend/modules/query/g/cfg.go
    • Line 14: warning: exported type HttpConfig should have comment or be unexported (golint)
    • Line 19: warning: exported type ContactsConfig should have comment or be unexported (golint)
    • Line 24: warning: exported type HostsConfig should have comment or be unexported (golint)
    • Line 29: warning: exported type NetConfig should have comment or be unexported (golint)
    • Line 34: warning: exported type GinHttpConfig should have comment or be unexported (golint)
    • Line 39: warning: exported type GraphConfig should have comment or be unexported (golint)
    • Line 48: warning: exported type ApiConfig should have comment or be unexported (golint)
    • Line 62: warning: exported type DbConfig should have comment or be unexported (golint)
    • Line 68: warning: exported type NqmLogConfig should have comment or be unexported (golint)
    • Line 72: warning: exported type NqmConfig should have comment or be unexported (golint)
    • Line 78: warning: exported type GrpcConfig should have comment or be unexported (golint)
    • Line 82: warning: exported type GraphDB should have comment or be unexported (golint)
    • Line 89: warning: exported type GlobalConfig should have comment or be unexported (golint)
    • Line 113: warning: exported var ConfigFile should have comment or be unexported (golint)
    • Line 118: warning: comment on exported function Config should be of the form "Config ..." (golint)
    • Line 125: warning: comment on exported function SetConfig should be of the form "SetConfig ..." (golint)
    • Line 132: warning: exported function ParseConfig should have comment or be unexported (golint)
    • open-falcon-backend/common/gin/validate.go
    • Line 9: warning: comment on exported type ValidationError should be of the form "ValidationError ..." (with optional leading article) (golint)
    • Line 19: warning: comment on exported function ConformAndValidateStruct should be of the form "ConformAndValidateStruct ..." (golint)
    • open-falcon-backend/common/utils/types.go
    • Line 11: warning: exported var TypeOfInt should have comment or be unexported (golint)
    • Line 57: warning: comment on exported function PointerOfCloneString should be of the form "PointerOfCloneString ..." (golint)
    • Line 66: warning: comment on exported function ConvertTo should be of the form "ConvertTo ..." (golint)
    • Line 77: warning: exported function ConvertToTargetType should have comment or be unexported (golint)
    • Line 80: warning: exported function ConvertToByReflect should have comment or be unexported (golint)
    • Line 105: warning: exported function IsViable should have comment or be unexported (golint)
    • Line 109: warning: comment on exported type ValueExt should be of the form "ValueExt ..." (with optional leading article) (golint)
    • Line 112: warning: comment on exported method ValueExt.IsArray should be of the form "IsArray ..." (golint)
    • Line 122: warning: comment on exported method ValueExt.IsPointer should be of the form "IsPointer ..." (golint)
    • Line 132: warning: comment on exported method ValueExt.IsViable should be of the form "IsViable ..." (golint)
    • open-falcon-backend/modules/alarm/http/controller.go
    • Line 6: warning: should not use dot imports (golint)
    • Line 15: warning: exported type MainController should have comment or be unexported (golint)
    • Line 19: warning: exported method MainController.Version should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 23: warning: exported method MainController.Health should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 27: warning: exported method MainController.Workdir should have comment or be unexported (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method MainController.ConfigReload should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: exported function SelectSessionBySig should have comment or be unexported (golint)
    • Line 58: warning: exported function DeleteSessionById should have comment or be unexported (golint)
    • Line 66: warning: exported function SelectUserById should have comment or be unexported (golint)
    • Line 82: warning: comment on exported function CheckLoginStatusByCookie should be of the form "CheckLoginStatusByCookie ..." (golint)
    • Line 119: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 124: warning: exported method MainController.Index should have comment or be unexported (golint)
    • Line 124: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 141: warning: exported method MainController.Event should have comment or be unexported (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 149: warning: exported method MainController.Solve should have comment or be unexported (golint)
    • Line 149: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/fe/http/uic/auth_controller.go
    • Line 15: warning: should not use dot imports (golint)
    • Line 21: warning: exported type AuthController should have comment or be unexported (golint)
    • Line 25: warning: exported method AuthController.Logout should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported method AuthController.LoginGet should have comment or be unexported (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 76: warning: exported method AuthController.LoginPost should have comment or be unexported (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 106: warning: don't use underscores in Go names; var user_attributes should be userAttributes (golint)
    • Line 177: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 194: warning: exported method AuthController.RegisterGet should have comment or be unexported (golint)
    • Line 194: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 200: warning: exported method AuthController.RegisterPost should have comment or be unexported (golint)
    • Line 200: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 237: warning: exported method AuthController.CreateSession should have comment or be unexported (golint)
    • Line 237: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 249: warning: comment on exported method AuthController.LoginThirdParty should be of the form "LoginThirdParty ..." (golint)
    • Line 261: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 293: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 308: warning: don't use underscores in Go names; var access_key should be accessKey (golint)
    • Line 319: warning: don't use underscores in Go names; func parameter access_key should be accessKey (golint)
    • Line 342: warning: comment on exported method AuthController.LoginWithToken should be of the form "LoginWithToken ..." (golint)
    • Line 354: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 378: warning: don't use underscores in Go names; var access_key should be accessKey (golint)
    • open-falcon-backend/modules/mysqlapi/rdb/agent_test.go
    • Line 305: warning: receiver name s should be consistent with previous receiver name suite for TestNqmAgentHeartbeatTargetListSuite (golint)
    • Line 588: warning: receiver name s should be consistent with previous receiver name suite for TestNqmAgentHeartbeatTargetListSuite (golint)
    • Line 646: warning: receiver name s should be consistent with previous receiver name suite for TestNqmAgentHeartbeatTargetListSuite (golint)
    • Line 649: warning: receiver name s should be consistent with previous receiver name suite for TestNqmAgentHeartbeatTargetListSuite (golint)
    • open-falcon-backend/modules/query/http/http.go
    • Line 6: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 13: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 17: warning: exported type Dto should have comment or be unexported (golint)
    • Line 22: warning: exported function InitDatabase should have comment or be unexported (golint)
    • Line 61: warning: exported function Start should have comment or be unexported (golint)
    • Line 96: warning: exported function RenderJson should have comment or be unexported (golint)
    • Line 106: warning: exported function RenderDataJson should have comment or be unexported (golint)
    • Line 110: warning: exported function RenderMsgJson should have comment or be unexported (golint)
    • Line 114: warning: exported function AutoRender should have comment or be unexported (golint)
    • Line 122: warning: exported function StdRender should have comment or be unexported (golint)
    • open-falcon-backend/common/textbuilder/base.go
    • Line 1: warning: package comment should be of the form "Package textbuilder ..." (golint)
    • Line 50: warning: comment on exported const EmptyGetter should be of the form "EmptyGetter ..." (golint)
    • Line 53: warning: comment on exported type TextGetter should be of the form "TextGetter ..." (with optional leading article) (golint)
    • Line 60: warning: comment on exported type Transformer should be of the form "Transformer ..." (with optional leading article) (golint)
    • Line 63: warning: comment on exported type Breeder should be of the form "Breeder ..." (with optional leading article) (golint)
    • Line 66: warning: comment on exported type Distiller should be of the form "Distiller ..." (with optional leading article) (golint)
    • Line 69: warning: comment on exported type Post should be of the form "Post ..." (with optional leading article) (golint)
    • Line 75: warning: comment on exported type PostProcessor should be of the form "PostProcessor ..." (with optional leading article) (golint)
    • Line 88: warning: comment on exported function NewPost should be of the form "NewPost ..." (golint)
    • Line 93: warning: comment on exported type DefaultPost should be of the form "DefaultPost ..." (with optional leading article) (golint)
    • Line 98: warning: exported method DefaultPost.Transform should have comment or be unexported (golint)
    • Line 102: warning: exported method DefaultPost.Breed should have comment or be unexported (golint)
    • Line 105: warning: exported method DefaultPost.Prefix should have comment or be unexported (golint)
    • Line 109: warning: exported method DefaultPost.Suffix should have comment or be unexported (golint)
    • Line 113: warning: exported method DefaultPost.Surrounding should have comment or be unexported (golint)
    • Line 117: warning: exported method DefaultPost.Repeat should have comment or be unexported (golint)
    • Line 120: warning: exported method DefaultPost.RepeatByLen should have comment or be unexported (golint)
    • Line 123: warning: exported method DefaultPost.Viable should have comment or be unexported (golint)
    • Line 129: warning: exported method DefaultPost.Post should have comment or be unexported (golint)
    • Line 136: warning: comment on exported type StringGetter should be of the form "StringGetter ..." (with optional leading article) (golint)
    • Line 142: warning: exported method StringGetter.Post should have comment or be unexported (golint)
    • Line 146: warning: comment on exported function NewStringerGetter should be of the form "NewStringerGetter ..." (golint)
    • Line 151: warning: exported type StringerGetter should have comment or be unexported (golint)
    • Line 158: warning: exported method StringerGetter.Post should have comment or be unexported (golint)
    • Line 162: warning: comment on exported type ObjectLen should be of the form "ObjectLen ..." (with optional leading article) (golint)
    • Line 169: warning: exported type TextList should have comment or be unexported (golint)
    • Line 175: warning: comment on exported type ListPost should be of the form "ListPost ..." (with optional leading article) (golint)
    • Line 180: warning: comment on exported type ListPostProcessor should be of the form "ListPostProcessor ..." (with optional leading article) (golint)
    • Line 186: warning: comment on exported function NewListPost should be of the form "NewListPost ..." (golint)
    • Line 191: warning: comment on exported type DefaultListPost should be of the form "DefaultListPost ..." (with optional leading article) (golint)
    • Line 196: warning: exported method DefaultListPost.Join should have comment or be unexported (golint)
    • Line 199: warning: exported method DefaultListPost.Distill should have comment or be unexported (golint)
    • Line 203: warning: exported type TextGetters should have comment or be unexported (golint)
    • Line 205: warning: exported function Getters should have comment or be unexported (golint)
    • Line 208: warning: exported method TextGetters.Get should have comment or be unexported (golint)
    • Line 211: warning: exported method TextGetters.Len should have comment or be unexported (golint)
    • Line 214: warning: exported method TextGetters.Post should have comment or be unexported (golint)
    • Line 218: warning: comment on exported function ToTextGetter should be of the form "ToTextGetter ..." (golint)
    • Line 240: warning: comment on exported function ToTextList should be of the form "ToTextList ..." (golint)
    • Line 251: warning: exported function TextGetterPrintf should have comment or be unexported (golint)
    • Line 255: warning: comment on exported function IsViable should be of the form "IsViable ..." (golint)
    • Line 284: warning: comment on exported function Prefix should be of the form "Prefix ..." (golint)
    • Line 289: warning: comment on exported function Suffix should be of the form "Suffix ..." (golint)
    • Line 299: warning: comment on exported function SurroundingSame should be of the form "SurroundingSame ..." (golint)
    • Line 304: warning: comment on exported function Join should be of the form "Join ..." (golint)
    • Line 309: warning: comment on exported function JoinTextList should be of the form "JoinTextList ..." (golint)
    • Line 314: warning: comment on exported function Repeat should be of the form "Repeat ..." (golint)
    • Line 325: warning: comment on exported function RepeatByLen should be of the form "RepeatByLen ..." (golint)
    • Line 351: warning: exported function RepeatAndJoin should have comment or be unexported (golint)
    • Line 354: warning: exported function RepeatAndJoinByLen should have comment or be unexported (golint)
    • open-falcon-backend/common/testing/flag/flag.go
    • Line 1: warning: package comment should be of the form "Package flag ..." (golint)
    • Line 95: warning: comment on exported const DEFAULT_SEPARATOR should be of the form "DEFAULT_SEPARATOR ..." (golint)
    • Line 108: warning: don't use underscores in Go names; const F_HttpClient should be FHTTPClient (golint)
    • Line 110: warning: don't use underscores in Go names; const F_JsonRpcClient should be FJSONRPCClient (golint)
    • Line 112: warning: don't use underscores in Go names; const F_MySql should be FMySQL (golint)
    • Line 114: warning: don't use underscores in Go names; const F_ItWeb should be FItWeb (golint)
    • Line 118: warning: exported const ENV_OWL_TEST_PROPS should have comment (or a comment on this block) or be unexported (golint)
    • Line 124: warning: exported const OWL_DB_PORTAL should have comment (or a comment on this block) or be unexported (golint)
    • Line 151: warning: comment on exported function NewTestFlags should be of the form "NewTestFlags ..." (golint)
    • Line 174: warning: comment on exported type TestFlags should be of the form "TestFlags ..." (with optional leading article) (golint)
    • Line 181: warning: exported method TestFlags.GetViper should have comment or be unexported (golint)
    • Line 185: warning: comment on exported method TestFlags.GetMySql should be of the form "GetMySql ..." (golint)
    • Line 196: warning: exported method TestFlags.GetMysqlOfOwlDb should have comment or be unexported (golint)
    • Line 205: warning: comment on exported method TestFlags.GetHttpClient should be of the form "GetHttpClient ..." (golint)
    • Line 219: warning: comment on exported method TestFlags.GetJsonRpcClient should be of the form "GetJsonRpcClient ..." (golint)
    • Line 228: warning: comment on exported method TestFlags.HasJsonRpcClient should be of the form "HasJsonRpcClient ..." (golint)
    • Line 242: warning: comment on exported method TestFlags.HasHttpClient should be of the form "HasHttpClient ..." (golint)
    • Line 256: warning: comment on exported method TestFlags.HasMySql should be of the form "HasMySql ..." (golint)
    • Line 268: warning: comment on exported method TestFlags.HasMySqlOfOwlDb should be of the form "HasMySqlOfOwlDb ..." (golint)
    • Line 276: warning: comment on exported method TestFlags.HasItWeb should be of the form "HasItWeb ..." (golint)
    • open-falcon-backend/common/utils/grouping.go
    • Line 8: warning: exported type KeyGetter should have comment or be unexported (golint)
    • Line 12: warning: exported type GroupingProcessor should have comment or be unexported (golint)
    • Line 19: warning: exported function NewGroupingProcessor should have comment or be unexported (golint)
    • Line 26: warning: exported function NewGroupingProcessorOfTargetType should have comment or be unexported (golint)
    • Line 30: warning: exported method GroupingProcessor.Put should have comment or be unexported (golint)
    • Line 56: warning: exported method GroupingProcessor.Keys should have comment or be unexported (golint)
    • Line 67: warning: exported method GroupingProcessor.KeyObject should have comment or be unexported (golint)
    • Line 75: warning: exported method GroupingProcessor.Children should have comment or be unexported (golint)
    • open-falcon-backend/modules/agent/http/http.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Dto should have comment or be unexported (golint)
    • Line 32: warning: exported function RenderJson should have comment or be unexported (golint)
    • Line 43: warning: exported function RenderDataJson should have comment or be unexported (golint)
    • Line 47: warning: exported function RenderMsgJson should have comment or be unexported (golint)
    • Line 51: warning: exported function AutoRender should have comment or be unexported (golint)
    • Line 60: warning: exported function Start should have comment or be unexported (golint)
    • open-falcon-backend/modules/hbs/g/cfg.go
    • Line 12: warning: exported type HttpConfig should have comment or be unexported (golint)
    • Line 17: warning: exported type MysqlApiConfig should have comment or be unexported (golint)
    • Line 22: warning: exported type GlobalConfig should have comment or be unexported (golint)
    • Line 32: warning: exported type RpcView should have comment or be unexported (golint)
    • Line 36: warning: exported type FalconAgentView should have comment or be unexported (golint)
    • Line 40: warning: comment on exported type HeartbeatView should be of the form "HeartbeatView ..." (with optional leading article) (golint)
    • Line 48: warning: comment on exported type HealthView should be of the form "HealthView ..." (with optional leading article) (golint)
    • Line 59: warning: exported var ConfigFile should have comment or be unexported (golint)
    • Line 64: warning: exported function Config should have comment or be unexported (golint)
    • Line 70: warning: exported function ParseConfig should have comment or be unexported (golint)
    • Line 97: warning: exported function SetConfig should have comment or be unexported (golint)
    • open-falcon-backend/modules/query/nqm/model.go
    • Line 8: warning: comment on exported type EpochTime should be of the form "EpochTime ..." (with optional leading article) (golint)
    • Line 20: warning: comment on exported const UNKNOWN_ID_FOR_QUERY should be of the form "UNKNOWN_ID_FOR_QUERY ..." (golint)
    • Line 23: warning: exported const UNKNOWN_NAME_FOR_QUERY should have comment or be unexported (golint)
    • Line 25: warning: exported type TimeRangeOfDsl should have comment or be unexported (golint)
    • Line 30: warning: comment on exported type NqmDsl should be of the form "NqmDsl ..." (with optional leading article) (golint)
    • Line 59: warning: comment on exported type ProvinceMetric should be of the form "ProvinceMetric ..." (with optional leading article) (golint)
    • Line 65: warning: comment on exported type CityMetric should be of the form "CityMetric ..." (with optional leading article) (golint)
    • Line 72: warning: comment on exported type TargetMetric should be of the form "TargetMetric ..." (with optional leading article) (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/host/host_controller.go
    • Line 15: warning: exported function GetHostBindToWhichHostGroup should have comment or be unexported (golint)
    • Line 42: warning: exported function GetHostGroupWithTemplate should have comment or be unexported (golint)
    • Line 79: warning: exported function GetGrpsRelatedHost should have comment or be unexported (golint)
    • Line 102: warning: exported function GetTplsRelatedHost should have comment or be unexported (golint)
    • Line 124: warning: exported type APIHostsSetToMaintainInputs should have comment or be unexported (golint)
    • Line 130: warning: exported method APIHostsSetToMaintainInputs.Check should have comment or be unexported (golint)
    • Line 141: warning: exported function HostsSetToMaintain should have comment or be unexported (golint)
    • open-falcon-backend/common/vipercfg/vipercfg.go
    • Line 10: warning: comment on exported type PflagDefiner should be of the form "PflagDefiner ..." (with optional leading article) (golint)
    • Line 13: warning: comment on exported function OwlDefaultPflagDefiner should be of the form "OwlDefaultPflagDefiner ..." (golint)
    • Line 22: warning: comment on exported type ConfigLoader should be of the form "ConfigLoader ..." (with optional leading article) (golint)
    • Line 40: warning: exported function NewOwlConfigLoader should have comment or be unexported (golint)
    • Line 49: warning: comment on exported method ConfigLoader.MustParseCmd should be of the form "MustParseCmd ..." (golint)
    • Line 59: warning: comment on exported method ConfigLoader.ParseCmd should be of the form "ParseCmd ..." (golint)
    • Line 96: warning: comment on exported method ConfigLoader.MustLoadConfigFile should be of the form "MustLoadConfigFile ..." (golint)
    • Line 107: warning: comment on exported method ConfigLoader.ProcessTrueValueCallbacks should be of the form "ProcessTrueValueCallbacks ..." (golint)
    • Line 118: warning: comment on exported method ConfigLoader.LoadConfigFile should be of the form "LoadConfigFile ..." (golint)
    • Line 153: warning: comment on exported method ConfigLoader.BuildFacadeConfig should be of the form "BuildFacadeConfig ..." (golint)
    • Line 190: warning: comment on exported function Load should be of the form "Load ..." (golint)
    • Line 195: warning: comment on exported function Parse should be of the form "Parse ..." (golint)
    • Line 200: warning: comment on exported function Bind should be of the form "Bind ..." (golint)
    • Line 205: warning: comment on exported function Config should be of the form "Config ..." (golint)
    • open-falcon-backend/common/types/uuid.go
    • Line 8: warning: exported type Uuid should have comment or be unexported (golint)
    • Line 10: warning: exported method Uuid.MustFromString should have comment or be unexported (golint)
    • Line 10: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 20: warning: exported method Uuid.MustFromBytes should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/fe/mq/mq.go
    • Line 15: warning: exported var RetriedLimit should have comment or be unexported (golint)
    • Line 16: warning: exported var SleepTimePeriod should have comment or be unexported (golint)
    • Line 17: warning: exported var ExitStringPrefix should have comment or be unexported (golint)
    • Line 18: warning: exported var LogStringFormat should have comment or be unexported (golint)
    • Line 20: warning: exported type Message should have comment or be unexported (golint)
    • Line 43: warning: exported function Start should have comment or be unexported (golint)
    • open-falcon-backend/modules/query/test/rdb.go
    • Line 18: warning: exported var DbForTest should have comment or be unexported (golint)
    • Line 20: warning: exported function InitDb should have comment or be unexported (golint)
    • Line 28: warning: exported function ReleaseDb should have comment or be unexported (golint)
    • Line 36: warning: comment on exported function QueryForRows should be of the form "QueryForRows ..." (golint)
    • Line 56: warning: comment on exported function QueryForRow should be of the form "QueryForRow ..." (golint)
    • Line 69: warning: comment on exported function ExecuteInTx should be of the form "ExecuteInTx ..." (golint)
    • Line 82: warning: comment on exported function ExecuteOrFail should be of the form "ExecuteOrFail ..." (golint)
    • Line 93: warning: comment on exported function ExecuteQueriesOrFailInTx should be of the form "ExecuteQueriesOrFailInTx ..." (golint)
    • Line 106: warning: exported type RpcTestEnv should have comment or be unexported (golint)
    • Line 114: warning: exported function DefaultListenAndExecute should have comment or be unexported (golint)
    • Line 127: warning: exported method RpcTestEnv.ListenAndExecute should have comment or be unexported (golint)
    • open-falcon-backend/modules/transfer/sender/conn_pool/conn_pool_manager.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 11: warning: comment on exported type RpcClient should be of the form "RpcClient ..." (with optional leading article) (golint)
    • Line 17: warning: exported method RpcClient.Name should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 21: warning: exported method RpcClient.Closed should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: exported method RpcClient.Close should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 34: warning: exported method RpcClient.Call should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: comment on exported type SafeRpcConnPools should be of the form "SafeRpcConnPools ..." (with optional leading article) (golint)
    • Line 48: warning: exported function CreateSafeRpcConnPools should have comment or be unexported (golint)
    • Line 63: warning: exported method SafeRpcConnPools.Proc should have comment or be unexported (golint)
    • Line 63: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 71: warning: comment on exported method SafeRpcConnPools.Call should be of the form "Call ..." (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 106: warning: exported method SafeRpcConnPools.Get should have comment or be unexported (golint)
    • Line 106: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 113: warning: exported method SafeRpcConnPools.Destroy should have comment or be unexported (golint)
    • Line 113: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 148: warning: comment on exported type TsdbClient should be of the form "TsdbClient ..." (with optional leading article) (golint)
    • Line 154: warning: exported method TsdbClient.Name should have comment or be unexported (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 158: warning: exported method TsdbClient.Closed should have comment or be unexported (golint)
    • Line 158: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 162: warning: exported method TsdbClient.Close should have comment or be unexported (golint)
    • Line 162: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 191: warning: exported type TsdbConnPoolHelper should have comment or be unexported (golint)
    • Line 200: warning: exported function NewTsdbConnPoolHelper should have comment or be unexported (golint)
    • Line 211: warning: exported method TsdbConnPoolHelper.Send should have comment or be unexported (golint)
    • Line 211: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 242: warning: exported method TsdbConnPoolHelper.Destroy should have comment or be unexported (golint)
    • Line 242: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/reflect/types/types.go
    • Line 8: warning: comment on exported var TypeOfInt should be of the form "TypeOfInt ..." (golint)
    • Line 12: warning: exported var TypeOfInt64 should have comment or be unexported (golint)
    • Line 33: warning: comment on exported var PTypeOfInt should be of the form "PTypeOfInt ..." (golint)
    • Line 58: warning: comment on exported var STypeOfInt should be of the form "STypeOfInt ..." (golint)
    • open-falcon-backend/common/db/time.go
    • Line 8: warning: comment on exported type DbTime should be of the form "DbTime ..." (with optional leading article) (golint)
    • Line 15: warning: comment on exported method DbTime.Scan should be of the form "Scan ..." (golint)
    • Line 26: warning: exported method DbTime.Value should have comment or be unexported (golint)
    • Line 33: warning: exported method DbTime.ToTime should have comment or be unexported (golint)
    • Line 36: warning: exported method DbTime.IsNil should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/http/portal/alarm_adjust_controller.go
    • Line 5: warning: exported method PortalController.WhenStrategyUpdated should have comment or be unexported (golint)
    • Line 5: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 22: warning: exported method PortalController.WhenStrategyDeleted should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method PortalController.WhenTempleteDeleted should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method PortalController.WhenTempleteUnbind should have comment or be unexported (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method PortalController.WhenEndpointUnbind should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported method PortalController.WhenEndpointOnMaintain should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/uic/session_controller.go
    • Line 13: warning: exported type APILoginInput should have comment or be unexported (golint)
    • Line 18: warning: exported function Login should have comment or be unexported (golint)
    • Line 52: warning: exported function Logout should have comment or be unexported (golint)
    • Line 66: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 76: warning: exported function AuthSession should have comment or be unexported (golint)
    • Line 85: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 91: warning: exported function CreateRoot should have comment or be unexported (golint)
    • open-falcon-backend/common/model/tsdb.go
    • Line 8: warning: exported type TsdbItem should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: exported method TsdbItem.TsdbString should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/testing/http/client.go
    • Line 1: warning: package comment should be of the form "Package http ..." (golint)
    • Line 26: warning: comment on exported function NewHttpClientConfigByFlag should be of the form "NewHttpClientConfigByFlag ..." (golint)
    • Line 49: warning: comment on exported type HttpClientConfig should be of the form "HttpClientConfig ..." (with optional leading article) (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: comment on exported type GentlemanClientConf should be of the form "GentlemanClientConf ..." (with optional leading article) (golint)
    • Line 84: warning: comment on exported method GentlemanClientConf.NewClient should be of the form "NewClient ..." (golint)
    • Line 106: warning: comment on exported method GentlemanClientConf.NewRequest should be of the form "NewRequest ..." (golint)
    • Line 118: warning: comment on exported type SlingClientConf should be of the form "SlingClientConf ..." (with optional leading article) (golint)
    • Line 125: warning: exported method SlingClientConf.NewClient should have comment or be unexported (golint)
    • Line 136: warning: comment on exported function NewResponseResultBySling should be of the form "NewResponseResultBySling ..." (golint)
    • Line 150: warning: comment on exported function NewResponseResultByRequest should be of the form "NewResponseResultByRequest ..." (golint)
    • Line 165: warning: exported function NewResponseResultByResponse should have comment or be unexported (golint)
    • Line 182: warning: exported function NewResponseResultByGentlemanResp should have comment or be unexported (golint)
    • Line 191: warning: exported type ResponseResult should have comment or be unexported (golint)
    • Line 196: warning: exported method ResponseResult.GetBodyAsString should have comment or be unexported (golint)
    • Line 199: warning: exported method ResponseResult.GetBodyAsJson should have comment or be unexported (golint)
    • Line 208: warning: comment on exported type CheckSlint should be of the form "CheckSlint ..." (with optional leading article) (golint)
    • Line 216: warning: comment on exported function NewCheckSlint should be of the form "NewCheckSlint ..." (golint)
    • Line 224: warning: comment on exported method CheckSlint.Request should be of the form "Request ..." (golint)
    • Line 225: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 232: warning: comment on exported method CheckSlint.GetResponse should be of the form "GetResponse ..." (golint)
    • Line 233: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 248: warning: comment on exported method CheckSlint.AssertHasPaging should be of the form "AssertHasPaging ..." (golint)
    • Line 249: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 258: warning: comment on exported method CheckSlint.GetStringBody should be of the form "GetStringBody ..." (golint)
    • Line 261: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 265: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 285: warning: comment on exported method CheckSlint.GetJsonBody should be of the form "GetJsonBody ..." (golint)
    • Line 288: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/gin/mvc/binding.go
    • Line 1: warning: package comment should be of the form "Package mvc ..." (golint)
    • Line 189: warning: comment on exported type MvcHandler should be of the form "MvcHandler ..." (with optional leading article) (golint)
    • Line 192: warning: comment on exported type ContextBinder should be of the form "ContextBinder ..." (with optional leading article) (golint)
    • Line 197: warning: comment on exported type ContextBinderFunc should be of the form "ContextBinderFunc ..." (with optional leading article) (golint)
    • Line 200: warning: exported method ContextBinderFunc.Bind should have comment or be unexported (golint)
    • Line 204: warning: don't use underscores in Go names; var _t_ContextBinder should be _tContextBinder (golint)
    • Line 206: warning: comment on exported type OutputBody should be of the form "OutputBody ..." (with optional leading article) (golint)
    • Line 211: warning: comment on exported type OutputBodyFunc should be of the form "OutputBodyFunc ..." (with optional leading article) (golint)
    • Line 214: warning: comment on exported method OutputBodyFunc.Output should be of the form "Output ..." (golint)
    • Line 219: warning: comment on exported function JsonOutputBody should be of the form "JsonOutputBody ..." (golint)
    • Line 224: warning: comment on exported function JsonOutputBody2 should be of the form "JsonOutputBody2 ..." (golint)
    • Line 231: warning: comment on exported function JsonOutputOrNotFound should be of the form "JsonOutputOrNotFound ..." (golint)
    • Line 240: warning: comment on exported function TextOutputBody should be of the form "TextOutputBody ..." (golint)
    • Line 245: warning: comment on exported function TextOutputBody2 should be of the form "TextOutputBody2 ..." (golint)
    • Line 252: warning: comment on exported function TextOutputOrNotFound should be of the form "TextOutputOrNotFound ..." (golint)
    • Line 261: warning: comment on exported function HtmlOutputBody should be of the form "HtmlOutputBody ..." (golint)
    • Line 266: warning: comment on exported function HtmlOutputBody2 should be of the form "HtmlOutputBody2 ..." (golint)
    • Line 273: warning: comment on exported function HtmlOutputOrNotFound should be of the form "HtmlOutputOrNotFound ..." (golint)
    • Line 282: warning: comment on exported function XmlOutputBody should be of the form "XmlOutputBody ..." (golint)
    • Line 287: warning: comment on exported function XmlOutputBody2 should be of the form "XmlOutputBody2 ..." (golint)
    • Line 294: warning: comment on exported function XmlOutputOrNotFound should be of the form "XmlOutputOrNotFound ..." (golint)
    • Line 303: warning: comment on exported function YamlOutputBody should be of the form "YamlOutputBody ..." (golint)
    • Line 308: warning: comment on exported function YamlOutputBody2 should be of the form "YamlOutputBody2 ..." (golint)
    • Line 315: warning: comment on exported function YamlOutputOrNotFound should be of the form "YamlOutputOrNotFound ..." (golint)
    • open-falcon-backend/modules/mysqlapi/service/boss/boss2cmdb.go
    • Line 9: warning: exported const DEFAULT_GRP should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported function Boss2cmdb should have comment or be unexported (golint)
    • Line 30: warning: don't use underscores in Go names; var owl_default_grp_hosts should be owlDefaultGrpHosts (golint)
    • Line 65: warning: don't use underscores in Go names; var grps_dict should be grpsDict (golint)
    • Line 66: warning: don't use underscores in Go names; range var grp_name should be grpName (golint)
    • Line 66: warning: don't use underscores in Go names; range var tuple_list should be tupleList (golint)
    • open-falcon-backend/modules/judge/g/rpc.go
    • Line 12: warning: exported type SingleConnRpcClient should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 58: warning: exported method SingleConnRpcClient.Call should have comment or be unexported (golint)
    • Line 58: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/graph/grafana_controller.go
    • Line 17: warning: exported type APIGrafanaMainQueryInputs should have comment or be unexported (golint)
    • Line 22: warning: exported type APIGrafanaMainQueryOutputs should have comment or be unexported (golint)
    • Line 194: warning: exported function GrafanaMainQuery should have comment or be unexported (golint)
    • Line 215: warning: exported type APIGrafanaRenderInput should have comment or be unexported (golint)
    • Line 225: warning: exported function GrafanaRender should have comment or be unexported (golint)
    • open-falcon-backend/common/db/nqm/agent_test.go
    • Line 100: warning: don't use underscores in Go names; var defaultAgent_1 should be defaultAgent1 (golint)
    • Line 105: warning: don't use underscores in Go names; var defaultAgent_2 should be defaultAgent2 (golint)
    • Line 120: warning: don't use underscores in Go names; var defaultAgent_3 should be defaultAgent3 (golint)
    • Line 623: warning: receiver name s should be consistent with previous receiver name suite for TestAgentSuite (golint)
    • Line 777: warning: receiver name s should be consistent with previous receiver name suite for TestAgentSuite (golint)
    • Line 868: warning: receiver name s should be consistent with previous receiver name suite for TestAgentSuite (golint)
    • Line 872: warning: receiver name s should be consistent with previous receiver name suite for TestAgentSuite (golint)
    • open-falcon-backend/modules/task/cron/jobs.go
    • Line 10: warning: comment on exported type VacuumQueryObjectsConf should be of the form "VacuumQueryObjectsConf ..." (with optional leading article) (golint)
    • Line 30: warning: comment on exported type VacuumGraphIndexConf should be of the form "VacuumGraphIndexConf ..." (with optional leading article) (golint)
    • Line 50: warning: comment on exported type ClearTaskLogEntriesConf should be of the form "ClearTaskLogEntriesConf ..." (with optional leading article) (golint)
    • Line 70: warning: comment on exported type SyncCmdbFromBossConf should be of the form "SyncCmdbFromBossConf ..." (with optional leading article) (golint)
    • open-falcon-backend/modules/nodata/sender/sender.go
    • Line 22: warning: exported var MockMap should have comment or be unexported (golint)
    • Line 26: warning: exported function Start should have comment or be unexported (golint)
    • Line 35: warning: exported function AddMock should have comment or be unexported (golint)
    • Line 40: warning: exported function SendMockOnceAsync should have comment or be unexported (golint)
    • Line 44: warning: exported function SendMockOnce should have comment or be unexported (golint)
    • open-falcon-backend/modules/query/nqm/nqm.go
    • Line 18: warning: comment on exported type ServiceController should be of the form "ServiceController ..." (with optional leading article) (golint)
    • Line 30: warning: exported function GetDefaultServiceController should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method ServiceController.Init should be of the form "Init ..." (golint)
    • Line 95: warning: comment on exported method ServiceController.ListByProvinces should be of the form "ListByProvinces ..." (golint)
    • Line 132: warning: comment on exported method ServiceController.ListTargetsWithCityDetail should be of the form "ListTargetsWithCityDetail ..." (golint)
    • open-falcon-backend/modules/graph/api/graph.go
    • Line 17: warning: exported type Graph should have comment or be unexported (golint)
    • Line 19: warning: exported method Graph.GetRrd should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 22: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 35: warning: exported method Graph.Ping should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method Graph.Send should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: comment on exported function HandleItems should be of the form "HandleItems ..." (golint)
    • Line 89: warning: exported method Graph.BatchQuery should have comment or be unexported (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 103: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 108: warning: exported method Graph.Query should have comment or be unexported (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 111: warning: don't use underscores in Go names; var datas_size should be datasSize (golint)
    • Line 134: warning: don't use underscores in Go names; var start_ts should be startTs (golint)
    • Line 135: warning: don't use underscores in Go names; var end_ts should be endTs (golint)
    • Line 146: warning: don't use underscores in Go names; var items_size should be itemsSize (golint)
    • Line 228: warning: don't use underscores in Go names; var cache_size should be cacheSize (golint)
    • Line 274: warning: don't use underscores in Go names; var ret_size should be retSize (golint)
    • Line 296: warning: exported method Graph.Info should have comment or be unexported (golint)
    • Line 296: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 315: warning: exported method Graph.Last should have comment or be unexported (golint)
    • Line 315: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 326: warning: exported method Graph.LastBatch should have comment or be unexported (golint)
    • Line 326: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 343: warning: exported method Graph.LastRaw should have comment or be unexported (golint)
    • Line 343: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 354: warning: comment on exported function GetLast should be of the form "GetLast ..." (golint)
    • Line 374: warning: don't use underscores in Go names; var delta_ts should be deltaTs (golint)
    • Line 375: warning: don't use underscores in Go names; var delta_v should be deltaV (golint)
    • Line 390: warning: comment on exported function GetLastRaw should be of the form "GetLastRaw ..." (golint)
    • open-falcon-backend/modules/f2e-api/app/model/imdb/object_tag.go
    • Line 7: warning: exported type ObjectTag should have comment or be unexported (golint)
    • Line 17: warning: exported method ObjectTag.TableName should have comment or be unexported (golint)
    • Line 21: warning: exported method ObjectTag.Value should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/transfer/sender/node_rings.go
    • Line 15: warning: comment on exported function KeysOfMap should be of the form "KeysOfMap ..." (golint)
    • Line 27: warning: comment on exported type ConsistentHashNodeRing should be of the form "ConsistentHashNodeRing ..." (with optional leading article) (golint)
    • Line 39: warning: comment on exported method ConsistentHashNodeRing.GetNode should be of the form "GetNode ..." (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported method ConsistentHashNodeRing.SetNodes should have comment or be unexported (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: exported method ConsistentHashNodeRing.SetNumberOfReplicas should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/testing/db/ginkgo.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 11: warning: comment on exported function NewDbConfigByDsn should be of the form "NewDbConfigByDsn ..." (golint)
    • Line 27: warning: comment on exported function NewDbConfigByFlag should be of the form "NewDbConfigByFlag ..." (golint)
    • Line 36: warning: comment on exported type GinkgoDb should be of the form "GinkgoDb ..." (with optional leading article) (golint)
    • Line 39: warning: comment on exported method GinkgoDb.InitDbFacade should be of the form "InitDbFacade ..." (golint)
    • Line 48: warning: comment on exported method GinkgoDb.InitDbFacadeByFlag should be of the form "InitDbFacadeByFlag ..." (golint)
    • Line 57: warning: comment on exported method GinkgoDb.InitDbFacadeByDbConfig should be of the form "InitDbFacadeByDbConfig ..." (golint)
    • Line 72: warning: comment on exported method GinkgoDb.GetDbConfig should be of the form "GetDbConfig ..." (golint)
    • Line 93: warning: comment on exported method GinkgoDb.ReleaseDbFacade should be of the form "ReleaseDbFacade ..." (golint)
    • open-falcon-backend/common/testing/jsonrpc/ginkgo.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported type GinkgoJsonRpc should have comment or be unexported (golint)
    • Line 14: warning: exported method GinkgoJsonRpc.OpenClient should have comment or be unexported (golint)
    • Line 22: warning: comment on exported method GinkgoJsonRpc.NeedJsonRpc should be of the form "NeedJsonRpc ..." (golint)
    • open-falcon-backend/scripts/mysql/dbpatch/go/changelog/changelog.go
    • Line 1: warning: package comment should be of the form "Package changelog ..." (golint)
    • Line 15: warning: comment on exported type PatchConfig should be of the form "PatchConfig ..." (with optional leading article) (golint)
    • Line 25: warning: comment on exported function LoadChangeLog should be of the form "LoadChangeLog ..." (golint)
    • Line 40: warning: comment on exported function LoadChangeLogFromReader should be of the form "LoadChangeLogFromReader ..." (golint)
    • Line 51: warning: comment on exported function LoadChangeLogFromFile should be of the form "LoadChangeLogFromFile ..." (golint)
    • Line 69: warning: exported const ESCAPED_DELIMITER should have comment or be unexported (golint)
    • open-falcon-backend/modules/query/nqm/icmp.go
    • Line 16: warning: comment on exported type IcmpResult should be of the form "IcmpResult ..." (with optional leading article) (golint)
    • Line 22: warning: comment on exported method IcmpResult.UnmarshalJSON should be of the form "UnmarshalJSON ..." (golint)
    • open-falcon-backend/common/model/judge.go
    • Line 9: warning: exported type JudgeItem should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 28: warning: exported method JudgeItem.PrimaryKey should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 32: warning: exported type HistoryData should have comment or be unexported (golint)
    • open-falcon-backend/modules/hbs/service/mysql_api.go
    • Line 35: warning: exported function NqmAgentHeartbeat should have comment or be unexported (golint)
    • Line 48: warning: exported function NqmAgentHeartbeatTargetList should have comment or be unexported (golint)
    • Line 60: warning: exported function MinePlugins should have comment or be unexported (golint)
    • Line 73: warning: exported function Plugins should have comment or be unexported (golint)
    • Line 84: warning: exported function BuiltinMetrics should have comment or be unexported (golint)
    • Line 99: warning: exported function Strategies should have comment or be unexported (golint)
    • Line 116: warning: exported function Expressions should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/dashboardGraphOwl/dashboard_graph_controller.go
    • Line 1: warning: don't use MixedCaps in package name; dashboardGraphOwl should be dashboardgraphowl (golint)
    • Line 13: warning: exported type APICreateGraphInput should have comment or be unexported (golint)
    • Line 34: warning: exported function CreateGraph should have comment or be unexported (golint)
    • Line 65: warning: exported type APIUpdateGraphInput should have comment or be unexported (golint)
    • Line 76: warning: exported function UpdateGraph should have comment or be unexported (golint)
    • Line 104: warning: exported type APIGetGraphOutput should have comment or be unexported (golint)
    • Line 115: warning: exported function GetGraph should have comment or be unexported (golint)
    • Line 137: warning: exported function DeleteGraph should have comment or be unexported (golint)
    • open-falcon-backend/modules/query/http/cron.go
    • Line 24: warning: exported type IDCMapItem should have comment or be unexported (golint)
    • Line 31: warning: exported type Contacts should have comment or be unexported (golint)
    • Line 39: warning: exported type Hosts should have comment or be unexported (golint)
    • Line 58: warning: exported type Idcs should have comment or be unexported (golint)
    • Line 70: warning: exported type Ips should have comment or be unexported (golint)
    • Line 81: warning: exported type Platforms should have comment or be unexported (golint)
    • Line 97: warning: exported function SyncHostsAndContactsTable should have comment or be unexported (golint)
    • Line 343: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 356: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 357: warning: don't use underscores in Go names; var re_inside_whiteSpaces should be reInsideWhiteSpaces (golint)
    • open-falcon-backend/common/service/nqm/agent.go
    • Line 10: warning: exported type AgentService should have comment or be unexported (golint)
    • Line 15: warning: exported function NewAgentService should have comment or be unexported (golint)
    • Line 22: warning: exported method AgentService.GetSimpleAgent1ById should have comment or be unexported (golint)
    • Line 38: warning: comment on exported method AgentService.GetSimpleAgent1sByFilter should be of the form "GetSimpleAgent1sByFilter ..." (golint)
    • open-falcon-backend/common/db/sqlx/wrapper.go
    • Line 17: warning: comment on exported type TxCallback should be of the form "TxCallback ..." (with optional leading article) (golint)
    • Line 22: warning: comment on exported type TxCallbackFunc should be of the form "TxCallbackFunc ..." (with optional leading article) (golint)
    • Line 25: warning: exported method TxCallbackFunc.InTx should have comment or be unexported (golint)
    • Line 29: warning: exported type DbController should have comment or be unexported (golint)
    • Line 33: warning: comment on exported type TxExt should be of the form "TxExt ..." (with optional leading article) (golint)
    • Line 36: warning: exported function ToTxExt should have comment or be unexported (golint)
    • Line 40: warning: comment on exported method TxExt.SqlxTx should be of the form "SqlxTx ..." (golint)
    • Line 44: warning: exported method TxExt.QueryRowAndScan should have comment or be unexported (golint)
    • Line 49: warning: exported method TxExt.QueryRowxAndMapScan should have comment or be unexported (golint)
    • Line 53: warning: exported method TxExt.QueryRowxAndScan should have comment or be unexported (golint)
    • Line 57: warning: exported method TxExt.QueryRowxAndSliceScan should have comment or be unexported (golint)
    • Line 64: warning: exported method TxExt.QueryRowxAndStructScan should have comment or be unexported (golint)
    • Line 69: warning: exported method TxExt.BindNamed should have comment or be unexported (golint)
    • Line 75: warning: exported method TxExt.NamedExec should have comment or be unexported (golint)
    • Line 81: warning: exported method TxExt.NamedQuery should have comment or be unexported (golint)
    • Line 88: warning: exported method TxExt.Queryx should have comment or be unexported (golint)
    • Line 94: warning: exported method TxExt.QueryxExt should have comment or be unexported (golint)
    • Line 97: warning: exported method TxExt.QueryRowxExt should have comment or be unexported (golint)
    • Line 101: warning: exported method TxExt.Get should have comment or be unexported (golint)
    • Line 105: warning: exported method TxExt.GetOrNoRow should have comment or be unexported (golint)
    • Line 115: warning: exported method TxExt.Select should have comment or be unexported (golint)
    • Line 120: warning: exported method TxExt.PrepareNamed should have comment or be unexported (golint)
    • Line 125: warning: exported method TxExt.PrepareNamedExt should have comment or be unexported (golint)
    • Line 129: warning: exported method TxExt.Preparex should have comment or be unexported (golint)
    • Line 134: warning: exported method TxExt.PreparexExt should have comment or be unexported (golint)
    • Line 139: warning: exported function NewDbController should have comment or be unexported (golint)
    • Line 145: warning: comment on exported method DbController.InTx should be of the form "InTx ..." (golint)
    • Line 180: warning: exported method DbController.SqlxDb should have comment or be unexported (golint)
    • Line 183: warning: exported method DbController.BindNamed should have comment or be unexported (golint)
    • Line 189: warning: exported method DbController.NamedExec should have comment or be unexported (golint)
    • Line 195: warning: exported method DbController.NamedQuery should have comment or be unexported (golint)
    • Line 201: warning: exported method DbController.Select should have comment or be unexported (golint)
    • Line 206: warning: exported method DbController.Get should have comment or be unexported (golint)
    • Line 210: warning: exported method DbController.GetOrNoRow should have comment or be unexported (golint)
    • Line 220: warning: exported method DbController.QueryRowxAndMapScan should have comment or be unexported (golint)
    • Line 224: warning: exported method DbController.QueryRowxAndScan should have comment or be unexported (golint)
    • Line 228: warning: exported method DbController.QueryRowxAndSliceScan should have comment or be unexported (golint)
    • Line 235: warning: exported method DbController.QueryRowxAndStructScan should have comment or be unexported (golint)
    • Line 240: warning: exported method DbController.Queryx should have comment or be unexported (golint)
    • Line 246: warning: exported method DbController.QueryxExt should have comment or be unexported (golint)
    • Line 249: warning: exported method DbController.QueryRowxExt should have comment or be unexported (golint)
    • Line 254: warning: exported method DbController.SelectWithFoundRows should have comment or be unexported (golint)
    • Line 270: warning: exported method DbController.PrepareNamed should have comment or be unexported (golint)
    • Line 276: warning: exported method DbController.PrepareNamedExt should have comment or be unexported (golint)
    • Line 280: warning: exported method DbController.Preparex should have comment or be unexported (golint)
    • Line 286: warning: exported method DbController.PreparexExt should have comment or be unexported (golint)
    • Line 291: warning: exported type RowExt should have comment or be unexported (golint)
    • Line 293: warning: exported function ToRowExt should have comment or be unexported (golint)
    • Line 297: warning: exported method RowExt.SqlxRow should have comment or be unexported (golint)
    • Line 300: warning: exported method RowExt.MapScanOrNoRow should have comment or be unexported (golint)
    • Line 309: warning: exported method RowExt.ScanOrNoRow should have comment or be unexported (golint)
    • Line 318: warning: exported method RowExt.SliceScanOrNoRow should have comment or be unexported (golint)
    • Line 327: warning: exported method RowExt.StructScanOrNoRow should have comment or be unexported (golint)
    • Line 337: warning: exported type RowsExt should have comment or be unexported (golint)
    • Line 339: warning: exported function ToRowsExt should have comment or be unexported (golint)
    • Line 343: warning: exported method RowsExt.SqlxRows should have comment or be unexported (golint)
    • Line 346: warning: exported method RowsExt.MapScan should have comment or be unexported (golint)
    • Line 351: warning: exported method RowsExt.SliceScan should have comment or be unexported (golint)
    • Line 357: warning: exported method RowsExt.StructScan should have comment or be unexported (golint)
    • Line 363: warning: comment on exported type NamedStmtExt should be of the form "NamedStmtExt ..." (with optional leading article) (golint)
    • Line 366: warning: exported function ToNamedStmtExt should have comment or be unexported (golint)
    • Line 370: warning: exported method NamedStmtExt.SqlxNamedStmt should have comment or be unexported (golint)
    • Line 374: warning: exported method NamedStmtExt.Get should have comment or be unexported (golint)
    • Line 378: warning: exported method NamedStmtExt.GetOrNoRow should have comment or be unexported (golint)
    • Line 388: warning: exported method NamedStmtExt.Select should have comment or be unexported (golint)
    • Line 393: warning: exported method NamedStmtExt.Queryx should have comment or be unexported (golint)
    • Line 399: warning: exported method NamedStmtExt.QueryxExt should have comment or be unexported (golint)
    • Line 402: warning: exported method NamedStmtExt.QueryRowxExt should have comment or be unexported (golint)
    • Line 407: warning: exported method NamedStmtExt.QueryRowxAndMapScan should have comment or be unexported (golint)
    • Line 411: warning: exported method NamedStmtExt.QueryRowxAndScan should have comment or be unexported (golint)
    • Line 415: warning: exported method NamedStmtExt.QueryRowxAndSliceScan should have comment or be unexported (golint)
    • Line 423: warning: exported method NamedStmtExt.QueryRowxAndStructScan should have comment or be unexported (golint)
    • Line 428: warning: comment on exported type StmtExt should be of the form "StmtExt ..." (with optional leading article) (golint)
    • Line 431: warning: exported function ToStmtExt should have comment or be unexported (golint)
    • Line 435: warning: exported method StmtExt.SqlxStmt should have comment or be unexported (golint)
    • Line 439: warning: exported method StmtExt.Get should have comment or be unexported (golint)
    • Line 443: warning: exported method StmtExt.GetOrNoRow should have comment or be unexported (golint)
    • Line 453: warning: exported method StmtExt.Select should have comment or be unexported (golint)
    • Line 458: warning: exported method StmtExt.Queryx should have comment or be unexported (golint)
    • Line 464: warning: exported method StmtExt.QueryxExt should have comment or be unexported (golint)
    • Line 467: warning: exported method StmtExt.QueryRowxExt should have comment or be unexported (golint)
    • Line 472: warning: exported method StmtExt.QueryRowxAndMapScan should have comment or be unexported (golint)
    • Line 476: warning: exported method StmtExt.QueryRowxAndScan should have comment or be unexported (golint)
    • Line 480: warning: exported method StmtExt.QueryRowxAndSliceScan should have comment or be unexported (golint)
    • Line 488: warning: exported method StmtExt.QueryRowxAndStructScan should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/service/hbscache/hosts.go
    • Line 10: warning: comment on exported type SafeHostMap should be of the form "SafeHostMap ..." (with optional leading article) (golint)
    • Line 17: warning: exported var HostMap should have comment or be unexported (golint)
    • Line 19: warning: exported method SafeHostMap.GetID should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: exported method SafeHostMap.Init should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported type SafeMonitoredHosts should have comment or be unexported (golint)
    • Line 42: warning: exported var MonitoredHosts should have comment or be unexported (golint)
    • Line 44: warning: exported method SafeMonitoredHosts.Get should have comment or be unexported (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: exported method SafeMonitoredHosts.Init should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/task/database/mysql_api.go
    • Line 9: warning: exported var QueryObjectService should have comment or be unexported (golint)
    • Line 10: warning: exported var GraphService should have comment or be unexported (golint)
    • Line 11: warning: exported var ClearTaskLogEntryService should have comment or be unexported (golint)
    • Line 12: warning: exported var CmdbService should have comment or be unexported (golint)
    • Line 14: warning: exported function InitMySqlApi should have comment or be unexported (golint)
    • open-falcon-backend/common/db/owl/location.go
    • Line 10: warning: exported type ErrNotInSameHierarchy should have comment or be unexported (golint)
    • Line 32: warning: comment on exported function CheckHierarchyForCity should be of the form "CheckHierarchyForCity ..." (golint)
    • Line 66: warning: exported function GetProvinceById should have comment or be unexported (golint)
    • Line 76: warning: exported function GetProvincesByName should have comment or be unexported (golint)
    • Line 88: warning: exported function GetCityById should have comment or be unexported (golint)
    • Line 116: warning: exported function GetCity2ById should have comment or be unexported (golint)
    • Line 126: warning: exported function GetCity2sByName should have comment or be unexported (golint)
    • Line 138: warning: exported function GetCitiesByName should have comment or be unexported (golint)
    • Line 171: warning: exported function GetCitiesInProvinceByName should have comment or be unexported (golint)
    • open-falcon-backend/modules/graph/store/history.go
    • Line 15: warning: comment on exported var HistoryCache should be of the form "HistoryCache ..." (golint)
    • Line 20: warning: exported function GetLastItem should have comment or be unexported (golint)
    • Line 34: warning: exported function GetAllItems should have comment or be unexported (golint)
    • Line 51: warning: exported function AddItem should have comment or be unexported (golint)
    • open-falcon-backend/common/testing/time.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 11: warning: exported function ParseTimeByGinkgo should have comment or be unexported (golint)
    • Line 19: warning: exported function ParseTimeToJsonTimeByGinkgo should have comment or be unexported (golint)
    • Line 23: warning: exported function ParseTime should have comment or be unexported (golint)
    • Line 29: warning: exported function ParseTimeToJsonTime should have comment or be unexported (golint)
    • open-falcon-backend/g/tool.go
    • Line 10: warning: exported function HasLogfile should have comment or be unexported (golint)
    • Line 17: warning: exported function PreqOrder should have comment or be unexported (golint)
    • Line 48: warning: exported function Rel should have comment or be unexported (golint)
    • Line 65: warning: exported function HasCfg should have comment or be unexported (golint)
    • Line 72: warning: exported function HasModule should have comment or be unexported (golint)
    • Line 85: warning: exported function Pid should have comment or be unexported (golint)
    • Line 92: warning: exported function IsRunning should have comment or be unexported (golint)
    • Line 100: warning: exported function RmDup should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/http/boss/boss_controller.go
    • Line 8: warning: exported type BossController should have comment or be unexported (golint)
    • Line 12: warning: exported method BossController.GetPlaftom should have comment or be unexported (golint)
    • Line 12: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 24: warning: exported method BossController.GetContact should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/dashboard_graph/dashboard_graph_controller.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 15: warning: exported function DashboardGraphCreate should have comment or be unexported (golint)
    • Line 75: warning: exported function DashboardGraphUpdate should have comment or be unexported (golint)
    • Line 94: warning: don't use underscores in Go names; var es_string should be esString (golint)
    • Line 100: warning: don't use underscores in Go names; var cs_string should be csString (golint)
    • Line 152: warning: exported type APIDashboardGraphGetOuput should have comment or be unexported (golint)
    • Line 169: warning: exported function DashboardGraphGet should have comment or be unexported (golint)
    • Line 188: warning: exported function BuildGraphGetOutput should have comment or be unexported (golint)
    • Line 209: warning: exported type APIDashboardGraphDeleteInputs should have comment or be unexported (golint)
    • Line 213: warning: exported function DashboardGraphDelete should have comment or be unexported (golint)
    • Line 233: warning: exported function DashboardGraphGetsByScreenID should have comment or be unexported (golint)
    • Line 258: warning: exported type APIDashboardGraphCloneInputs should have comment or be unexported (golint)
    • Line 263: warning: exported function DashboardGraphClone should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/imdb/imdb_vmodel_controller.go
    • Line 12: warning: exported function ValueModels should have comment or be unexported (golint)
    • Line 21: warning: exported type GetValueModelInput should have comment or be unexported (golint)
    • Line 26: warning: exported function GetValueModel should have comment or be unexported (golint)
    • Line 48: warning: exported type CreateValueModelInput should have comment or be unexported (golint)
    • Line 52: warning: exported function CreateValueModel should have comment or be unexported (golint)
    • Line 76: warning: exported type UpdateValueModelInput should have comment or be unexported (golint)
    • Line 81: warning: exported function UpdateValueModel should have comment or be unexported (golint)
    • Line 110: warning: exported type DeleteValueModelInput should have comment or be unexported (golint)
    • Line 116: warning: exported function DeleteValueModel should have comment or be unexported (golint)
    • open-falcon-backend/common/model/sorting.go
    • Line 17: warning: comment on exported type OrderByDialect should be of the form "OrderByDialect ..." (with optional leading article) (golint)
    • Line 26: warning: exported function GetOrderByAndLimit should have comment or be unexported (golint)
    • Line 35: warning: exported function GetSqlLimit should have comment or be unexported (golint)
    • Line 39: warning: comment on exported method OrderByDialect.ToQuerySyntax should be of the form "ToQuerySyntax ..." (golint)
    • Line 63: warning: comment on exported function NewSqlOrderByDialect should be of the form "NewSqlOrderByDialect ..." (golint)
    • Line 109: warning: comment on exported type OrderByEntity should be of the form "OrderByEntity ..." (with optional leading article) (golint)
    • open-falcon-backend/modules/transfer/sender/conn_pool/conn_pool.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 12: warning: exported var ErrMaxConn should have comment or be unexported (golint)
    • Line 14: warning: comment on exported type NConn should be of the form "NConn ..." (with optional leading article) (golint)
    • Line 21: warning: exported type ConnPool should have comment or be unexported (golint)
    • Line 36: warning: exported function NewConnPool should have comment or be unexported (golint)
    • Line 40: warning: exported method ConnPool.Proc should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method ConnPool.Fetch should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: exported method ConnPool.Release should have comment or be unexported (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 84: warning: exported method ConnPool.ForceClose should have comment or be unexported (golint)
    • Line 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported method ConnPool.Destroy should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 114: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 129: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 136: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 140: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 150: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 158: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 162: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/model/event.go
    • Line 9: warning: comment on exported type Event should be of the form "Event ..." (with optional leading article) (golint)
    • Line 22: warning: exported method Event.FormattedTime should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method Event.ExpressionId should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method Event.StrategyId should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method Event.TplId should have comment or be unexported (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: exported method Event.Tpl should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: exported method Event.ActionId should have comment or be unexported (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: exported method Event.Priority should have comment or be unexported (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: exported method Event.Note should have comment or be unexported (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 94: warning: exported method Event.Metric should have comment or be unexported (golint)
    • Line 94: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: exported method Event.RightValue should have comment or be unexported (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 108: warning: exported method Event.Operator should have comment or be unexported (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 115: warning: exported method Event.Func should have comment or be unexported (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 122: warning: exported method Event.MaxStep should have comment or be unexported (golint)
    • Line 122: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 129: warning: exported method Event.Counter should have comment or be unexported (golint)
    • Line 129: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/fe/graph/graph.go
    • Line 31: warning: exported function Start should have comment or be unexported (golint)
    • Line 37: warning: exported function QueryOne should have comment or be unexported (golint)
    • Line 77: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 103: warning: exported function Info should have comment or be unexported (golint)
    • Line 141: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 156: warning: exported function Last should have comment or be unexported (golint)
    • Line 194: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 201: warning: exported function LastRaw should have comment or be unexported (golint)
    • Line 239: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • open-falcon-backend/modules/mysqlapi/service/hbscache/expressions.go
    • Line 10: warning: exported type SafeExpressionCache should have comment or be unexported (golint)
    • Line 15: warning: exported var ExpressionCache should have comment or be unexported (golint)
    • Line 17: warning: exported method SafeExpressionCache.Get should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 23: warning: exported method SafeExpressionCache.Init should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/model/metric.go
    • Line 9: warning: exported type MetricValue should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 32: warning: comment on exported type JsonMetaData should be of the form "JsonMetaData ..." (with optional leading article) (golint)
    • Line 48: warning: exported type MetaData should have comment or be unexported (golint)
    • Line 63: warning: exported method MetaData.PK should have comment or be unexported (golint)
    • open-falcon-backend/common/model/nqm/query.go
    • Line 7: warning: comment on exported type AgentQuery should be of the form "AgentQuery ..." (with optional leading article) (golint)
    • Line 21: warning: comment on exported method AgentQuery.GetIpForLikeCondition should be of the form "GetIpForLikeCondition ..." (golint)
    • Line 31: warning: exported type AgentQueryWithPingTask should have comment or be unexported (golint)
    • Line 38: warning: exported method AgentQueryWithPingTask.HasAppliedCondition should have comment or be unexported (golint)
    • Line 42: warning: exported type TargetsOfAgentQuery should have comment or be unexported (golint)
    • Line 47: warning: comment on exported type TargetQuery should be of the form "TargetQuery ..." (with optional leading article) (golint)
    • Line 59: warning: exported type AgentFilter should have comment or be unexported (golint)
    • Line 71: warning: exported method AgentFilter.HasAgentDescriptive should have comment or be unexported (golint)
    • Line 76: warning: exported type TargetFilter should have comment or be unexported (golint)
    • Line 86: warning: exported method TargetFilter.HasTargetDescriptive should have comment or be unexported (golint)
    • Line 90: warning: comment on exported type PingtaskQuery should be of the form "PingtaskQuery ..." (with optional leading article) (golint)
    • open-falcon-backend/modules/agent/funcs/funcs.go
    • Line 8: warning: exported type FuncsAndInterval should have comment or be unexported (golint)
    • Line 14: warning: exported const IntervalThirtySec should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported var Mappers should have comment or be unexported (golint)
    • Line 19: warning: exported function BuildMappers should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/rdb/schedule.go
    • Line 16: warning: exported function GetScheduleLog should have comment or be unexported (golint)
    • Line 34: warning: exported function AcquireLock should have comment or be unexported (golint)
    • Line 45: warning: exported function FreeLock should have comment or be unexported (golint)
    • Line 66: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/alarm/cron/builder.go
    • Line 10: warning: exported function BuildCommonSMSContent should have comment or be unexported (golint)
    • Line 28: warning: exported function BuildCommonMailContent should have comment or be unexported (golint)
    • Line 92: warning: exported function BuildCommonQQContent should have comment or be unexported (golint)
    • Line 113: warning: exported function GenerateSmsContent should have comment or be unexported (golint)
    • Line 117: warning: exported function GenerateMailContent should have comment or be unexported (golint)
    • Line 121: warning: exported function GenerateQQContent should have comment or be unexported (golint)
    • Line 125: warning: exported function GenerateServerchanContent should have comment or be unexported (golint)
    • open-falcon-backend/modules/alarm/cron/consumer.go
    • Line 70: warning: exported function ParseUserSms should have comment or be unexported (golint)
    • Line 109: warning: exported function ParseUserMail should have comment or be unexported (golint)
    • Line 145: warning: exported function ParseUserQQ should have comment or be unexported (golint)
    • Line 181: warning: exported function ParseUserServerchan should have comment or be unexported (golint)
    • open-falcon-backend/common/db/nqm/pingtask.go
    • Line 45: warning: exported function AssignPingtaskToAgentForAgent should have comment or be unexported (golint)
    • Line 82: warning: exported function RemovePingtaskFromAgentForAgent should have comment or be unexported (golint)
    • Line 97: warning: exported function AssignPingtaskToAgentForPingtask should have comment or be unexported (golint)
    • Line 112: warning: exported function RemovePingtaskFromAgentForPingtask should have comment or be unexported (golint)
    • Line 145: warning: comment on exported function ListPingtasks should be of the form "ListPingtasks ..." (golint)
    • Line 255: warning: exported function GetPingtaskById should have comment or be unexported (golint)
    • Line 326: warning: exported function AddAndGetPingtask should have comment or be unexported (golint)
    • Line 365: warning: exported function UpdateAndGetPingtask should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/service/hbscache/gitupdate.go
    • Line 10: warning: exported type SafeGitRepo should have comment or be unexported (golint)
    • Line 15: warning: exported var GitRepo should have comment or be unexported (golint)
    • Line 17: warning: exported method SafeGitRepo.Get should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 24: warning: exported method SafeGitRepo.Init should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/fe/model/dashboard/endpoint.go
    • Line 9: warning: exported function QueryEndpintByNameRegx should have comment or be unexported (golint)
    • Line 20: warning: exported function QueryCounterByNameRegx should have comment or be unexported (golint)
    • Line 31: warning: exported function QueryEndpintByNameRegxForOps should have comment or be unexported (golint)
    • Line 38: warning: exported function QueryConfig should have comment or be unexported (golint)
    • Line 45: warning: exported function CountNumOfHost should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/service/hbscache/agents.go
    • Line 14: warning: exported type SafeAgents should have comment or be unexported (golint)
    • Line 19: warning: exported var Agents should have comment or be unexported (golint)
    • Line 21: warning: exported function NewSafeAgents should have comment or be unexported (golint)
    • Line 25: warning: exported method SafeAgents.Put should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported method SafeAgents.Get should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method SafeAgents.Delete should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: exported method SafeAgents.Keys should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 62: warning: exported function DeleteStaleAgents should have comment or be unexported (golint)
    • open-falcon-backend/modules/query/model/nqm/compound_report.go
    • Line 11: warning: exported type DynamicRecord should have comment or be unexported (golint)
    • Line 17: warning: exported type DynamicAgentProps should have comment or be unexported (golint)
    • Line 29: warning: exported method DynamicAgentProps.MarshalJSON should have comment or be unexported (golint)
    • Line 64: warning: exported type DynamicTargetProps should have comment or be unexported (golint)
    • Line 75: warning: exported method DynamicTargetProps.MarshalJSON should have comment or be unexported (golint)
    • Line 108: warning: exported type DynamicMetrics should have comment or be unexported (golint)
    • Line 113: warning: exported method DynamicMetrics.MarshalJSON should have comment or be unexported (golint)
    • Line 147: warning: comment on exported type CompareDynamicRecord should be of the form "CompareDynamicRecord ..." (with optional leading article) (golint)
    • Line 151: warning: exported const Larger should have comment (or a comment on this block) or be unexported (golint)
    • Line 156: warning: exported var CompareFunctions should have comment or be unexported (golint)
    • open-falcon-backend/common/db/nqm/testing/db.go
    • Line 3: warning: exported var DeleteNqmAgentPingtaskSQL should have comment or be unexported (golint)
    • Line 5: warning: exported var InsertPingtaskSQL should have comment or be unexported (golint)
    • Line 10: warning: exported var DeletePingtaskSQL should have comment or be unexported (golint)
    • Line 12: warning: exported var InsertHostSQL should have comment or be unexported (golint)
    • Line 19: warning: exported var DeleteHostSQL should have comment or be unexported (golint)
    • Line 21: warning: exported var InsertOwlNameTag should have comment or be unexported (golint)
    • Line 26: warning: exported var DeleteOwlNameTag should have comment or be unexported (golint)
    • Line 28: warning: exported var InsertOwlGroupTag should have comment or be unexported (golint)
    • Line 35: warning: exported var DeleteOwlGroupTag should have comment or be unexported (golint)
    • Line 37: warning: exported var InsertNqmTarget should have comment or be unexported (golint)
    • Line 44: warning: exported var DeleteNqmTarget should have comment or be unexported (golint)
    • Line 46: warning: exported var InsertNqmTargetGroupTag should have comment or be unexported (golint)
    • Line 53: warning: exported var InitNqmTarget should have comment or be unexported (golint)
    • Line 54: warning: exported var ClearNqmTarget should have comment or be unexported (golint)
    • Line 56: warning: exported var InsertNqmAgentSQL should have comment or be unexported (golint)
    • Line 66: warning: exported var DeleteNqmAgentSQL should have comment or be unexported (golint)
    • Line 68: warning: exported var InitNqmAgentAndPingtaskSQL should have comment or be unexported (golint)
    • Line 69: warning: exported var CleanNqmAgentAndPingtaskSQL should have comment or be unexported (golint)
    • Line 71: warning: exported var InitNqmAgent should have comment or be unexported (golint)
    • Line 72: warning: exported var ClearNqmAgent should have comment or be unexported (golint)
    • Line 74: warning: exported var InsertNqmCacheAgentPingListLog should have comment or be unexported (golint)
    • Line 83: warning: exported var DeleteNqmCacheAgentPingListLog should have comment or be unexported (golint)
    • Line 88: warning: exported var InsertNqmCacheAgentPingList should have comment or be unexported (golint)
    • Line 98: warning: exported var InitNqmCacheAgentPingListLog should have comment or be unexported (golint)
    • Line 100: warning: exported var ClearNqmCacheAgentPingListLog should have comment or be unexported (golint)
    • Line 102: warning: exported var InitNqmCacheAgentPingList should have comment or be unexported (golint)
    • Line 104: warning: exported var ClearNqmCacheAgentPingList should have comment or be unexported (golint)
    • open-falcon-backend/modules/graph/rrdtool/sync_disk.go
    • Line 17: warning: exported const IO_TASK_M_READ should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: don't use underscores in Go names; type io_task_t should be ioTaskT (golint)
    • Line 30: warning: don't use underscores in Go names; var Out_done_chan should be OutDoneChan (golint)
    • Line 30: warning: exported var Out_done_chan should have comment or be unexported (golint)
    • Line 31: warning: don't use underscores in Go names; var io_task_chan should be ioTaskChan (golint)
    • open-falcon-backend/modules/transfer/receiver/rpc/rpc_transfer.go
    • Line 16: warning: exported type Transfer should have comment or be unexported (golint)
    • Line 18: warning: exported type TransferResp should have comment or be unexported (golint)
    • Line 34: warning: exported method Transfer.Ping should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported method Transfer.Update should have comment or be unexported (golint)
    • Line 42: warning: comment on exported function RecvMetricValues should be of the form "RecvMetricValues ..." (golint)
    • open-falcon-backend/modules/graph/store/linkedlist.go
    • Line 10: warning: exported type SafeLinkedList should have comment or be unexported (golint)
    • Line 16: warning: comment on exported function NewSafeLinkedList should be of the form "NewSafeLinkedList ..." (golint)
    • Line 21: warning: exported method SafeLinkedList.PushFront should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 27: warning: exported method SafeLinkedList.Front should have comment or be unexported (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 33: warning: exported method SafeLinkedList.PopBack should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method SafeLinkedList.Back should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: exported method SafeLinkedList.Len should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 58: warning: comment on exported method SafeLinkedList.PopAll should be of the form "PopAll ..." (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: comment on exported method SafeLinkedList.PushAll should be of the form "PushAll ..." (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 94: warning: comment on exported method SafeLinkedList.FetchAll should be of the form "FetchAll ..." (golint)
    • Line 95: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/app/model/dashboard/dashboard_screen.go
    • Line 16: warning: exported type DashboardScreen should have comment or be unexported (golint)
    • Line 23: warning: exported method DashboardScreen.TableName should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 27: warning: exported method DashboardScreen.Graphs should have comment or be unexported (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 34: warning: exported method DashboardScreen.Exist should have comment or be unexported (golint)
    • Line 40: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 45: warning: exported method DashboardScreen.ExistName should have comment or be unexported (golint)
    • Line 55: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • open-falcon-backend/modules/aggregator/http/http.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Dto should have comment or be unexported (golint)
    • Line 21: warning: exported function RenderJson should have comment or be unexported (golint)
    • Line 31: warning: exported function RenderDataJson should have comment or be unexported (golint)
    • Line 35: warning: exported function RenderMsgJson should have comment or be unexported (golint)
    • Line 39: warning: exported function AutoRender should have comment or be unexported (golint)
    • Line 47: warning: exported function Start should have comment or be unexported (golint)
    • open-falcon-backend/modules/nodata/judge/status.go
    • Line 17: warning: exported function LastTs should have comment or be unexported (golint)
    • Line 33: warning: exported function TurnOk should have comment or be unexported (golint)
    • Line 55: warning: exported function TurnNodata should have comment or be unexported (golint)
    • Line 77: warning: exported function GetNodataStatus should have comment or be unexported (golint)
    • Line 88: warning: exported function GetAllNodataStatus should have comment or be unexported (golint)
    • Line 103: warning: comment on exported type NodataStatus should be of the form "NodataStatus ..." (with optional leading article) (golint)
    • Line 111: warning: exported function NewNodataStatus should have comment or be unexported (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/nodata/collector/collector.go
    • Line 20: warning: exported function Start should have comment or be unexported (golint)
    • Line 30: warning: comment on exported function GetFirstItem should be of the form "GetFirstItem ..." (golint)
    • Line 45: warning: exported function AddItem should have comment or be unexported (golint)
    • Line 57: warning: exported function RemoveItem should have comment or be unexported (golint)
    • Line 61: warning: comment on exported type DataItem should be of the form "DataItem ..." (with optional leading article) (golint)
    • Line 69: warning: exported function NewDataItem should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/testing/check/time.go
    • Line 9: warning: comment on exported var TimeEquals should be of the form "TimeEquals ..." (golint)
    • Line 12: warning: comment on exported var TimeBefore should be of the form "TimeBefore ..." (golint)
    • Line 15: warning: comment on exported var TimeAfter should be of the form "TimeAfter ..." (golint)
    • open-falcon-backend/common/service/owl/group_tag.go
    • Line 10: warning: exported type GroupTagService should have comment or be unexported (golint)
    • Line 15: warning: exported function NewGroupTagService should have comment or be unexported (golint)
    • Line 22: warning: exported method GroupTagService.GetGroupTagById should have comment or be unexported (golint)
    • Line 38: warning: exported method GroupTagService.GetGroupTagsByIds should have comment or be unexported (golint)
    • open-falcon-backend/modules/nodata/g/cfg.go
    • Line 10: warning: exported type HttpConfig should have comment or be unexported (golint)
    • Line 15: warning: exported type QueryConfig should have comment or be unexported (golint)
    • Line 21: warning: exported type NdConfig should have comment or be unexported (golint)
    • Line 27: warning: exported type CollectorConfig should have comment or be unexported (golint)
    • Line 33: warning: exported type BlockConfig should have comment or be unexported (golint)
    • Line 45: warning: exported type SenderConfig should have comment or be unexported (golint)
    • Line 54: warning: exported type GlobalConfig should have comment or be unexported (golint)
    • Line 64: warning: exported var ConfigFile should have comment or be unexported (golint)
    • Line 69: warning: exported function Config should have comment or be unexported (golint)
    • Line 75: warning: exported function ParseConfig should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/model/uic/rel_team_user.go
    • Line 7: warning: exported type RelTeamUser should have comment or be unexported (golint)
    • Line 13: warning: exported method RelTeamUser.TableName should have comment or be unexported (golint)
    • Line 13: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 17: warning: exported method RelTeamUser.Me should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/model/agent.go
    • Line 7: warning: exported type AgentReportRequest should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: exported type AgentUpdateInfo should have comment or be unexported (golint)
    • Line 31: warning: exported type AgentHeartbeatRequest should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported type AgentPluginsResponse should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 63: warning: comment on exported type BuiltinMetric should be of the form "BuiltinMetric ..." (with optional leading article) (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 77: warning: exported type BuiltinMetricResponse should have comment or be unexported (golint)
    • Line 83: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported type BuiltinMetricSlice should have comment or be unexported (golint)
    • Line 94: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 100: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 104: warning: exported type FalconAgentHeartbeat should have comment or be unexported (golint)
    • Line 112: warning: exported type FalconAgentHeartbeatResult should have comment or be unexported (golint)
    • Line 116: warning: exported type NewAgentPluginsResponse should have comment or be unexported (golint)
    • Line 122: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 131: warning: comment on exported type NewBuiltinMetric should be of the form "NewBuiltinMetric ..." (with optional leading article) (golint)
    • Line 137: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 145: warning: exported type NewBuiltinMetricResponse should have comment or be unexported (golint)
    • Line 151: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 160: warning: exported type NewBuiltinMetricSlice should have comment or be unexported (golint)
    • Line 162: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 165: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 168: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/graph/api/rpc.go
    • Line 14: warning: don't use underscores in Go names; type conn_list should be connList (golint)
    • Line 30: warning: don't use underscores in Go names; var Close_chan should be CloseChan (golint)
    • Line 30: warning: exported var Close_done_chan should have its own declaration (golint)
    • Line 30: warning: don't use underscores in Go names; var Close_done_chan should be CloseDoneChan (golint)
    • Line 39: warning: exported function Start should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/graph/graphv2.go
    • Line 15: warning: exported function QueryBatch should have comment or be unexported (golint)
    • Line 104: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 111: warning: exported function LastBatch should have comment or be unexported (golint)
    • Line 219: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • open-falcon-backend/modules/query/http/api.go
    • Line 24: warning: exported type Tag should have comment or be unexported (golint)
    • Line 32: warning: exported type Remark should have comment or be unexported (golint)
    • Line 709: warning: don't use underscores in Go names; func result out_versions should be outVersions (golint)
    • Line 912: warning: don't use underscores in Go names; var status_versions should be statusVersions (golint)
    • Line 1573: warning: don't use underscores in Go names; var re_inside_whiteSpaces should be reInsideWhiteSpaces (golint)
    • open-falcon-backend/modules/f2e-api/app/model/falcon_portal/host.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 23: warning: exported type Host should have comment or be unexported (golint)
    • Line 33: warning: exported method Host.TableName should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method Host.Existing should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 47: warning: exported method Host.RelatedGrp should have comment or be unexported (golint)
    • Line 47: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 61: warning: exported method Host.RelatedTpl should have comment or be unexported (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • open-falcon-backend/common/digest/struct.go
    • Line 15: warning: exported var Logger should have comment or be unexported (golint)
    • Line 17: warning: exported type BytesGetter should have comment or be unexported (golint)
    • Line 19: warning: exported const DigestTagName should have comment or be unexported (golint)
    • Line 23: warning: comment on exported function ZeroBytesFunc should be of the form "ZeroBytesFunc ..." (golint)
    • Line 31: warning: exported function NonZeroBytesFunc should have comment or be unexported (golint)
    • Line 37: warning: comment on exported function NoByteFunc should be of the form "NoByteFunc ..." (golint)
    • Line 42: warning: comment on exported function DigestStruct should be of the form "DigestStruct ..." (golint)
    • Line 107: warning: comment on exported function GetBytesGetter should be of the form "GetBytesGetter ..." (golint)
    • open-falcon-backend/modules/alarm/g/redis.go
    • Line 9: warning: exported var RedisConnPool should have comment or be unexported (golint)
    • Line 11: warning: exported function InitRedisConnPool should have comment or be unexported (golint)
    • Line 28: warning: exported function PingRedis should have comment or be unexported (golint)
    • open-falcon-backend/modules/transfer/sender/sender_test.go
    • Line 119: warning: don't use underscores in Go names; var out_ptr should be outPtr (golint)
    • Line 136: warning: don't use underscores in Go names; var out_ptr_e should be outPtrE (golint)
    • Line 172: warning: don't use underscores in Go names; var out_ptr should be outPtr (golint)
    • Line 204: warning: don't use underscores in Go names; var out_ptr_e should be outPtrE (golint)
    • Line 449: warning: don't use underscores in Go names; var m_out should be mOut (golint)
    • Line 452: warning: don't use underscores in Go names; var int_dat should be intDat (golint)
    • open-falcon-backend/common/service/owl/task.go
    • Line 15: warning: exported type ClearLogServiceConfig should have comment or be unexported (golint)
    • Line 19: warning: exported type ClearLogService should have comment or be unexported (golint)
    • Line 23: warning: exported function NewClearLogService should have comment or be unexported (golint)
    • Line 35: warning: exported type ResultOfClearLogEntries should have comment or be unexported (golint)
    • Line 40: warning: exported method ResultOfClearLogEntries.GetBeforeTime should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/helper/filter_by_helper.go
    • Line 9: warning: exported type FilterBy should have comment or be unexported (golint)
    • Line 13: warning: exported method FilterBy.FilterRegexp should have comment or be unexported (golint)
    • Line 13: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 22: warning: exported method FilterBy.FilterLike should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/json/ip.go
    • Line 11: warning: comment on exported type IP should be of the form "IP ..." (with optional leading article) (golint)
    • Line 14: warning: exported function NewIP should have comment or be unexported (golint)
    • Line 22: warning: exported method IP.MarshalJSON should have comment or be unexported (golint)
    • Line 47: warning: exported method IP.Value should have comment or be unexported (golint)
    • open-falcon-backend/modules/query/http/grafana_graph_options.go
    • Line 18: warning: exported type Idc should have comment or be unexported (golint)
    • Line 20: warning: don't use underscores in Go names; struct field Pop_id should be PopID (golint)
    • Line 26: warning: don't use underscores in Go names; struct field Updated_at should be UpdatedAt (golint)
    • Line 29: warning: exported type Province should have comment or be unexported (golint)
    • Line 33: warning: don't use underscores in Go names; struct field Updated_at should be UpdatedAt (golint)
    • Line 36: warning: exported type City should have comment or be unexported (golint)
    • Line 41: warning: don't use underscores in Go names; struct field Updated_at should be UpdatedAt (golint)
    • Line 44: warning: don't use underscores in Go names; func parameter pop_id should be popID (golint)
    • Line 368: warning: don't use underscores in Go names; var pop_id should be popID (golint)
    • open-falcon-backend/modules/f2e-api/graph/graph.go
    • Line 37: warning: exported function Start should have comment or be unexported (golint)
    • Line 56: warning: exported function GenQParam should have comment or be unexported (golint)
    • Line 66: warning: exported function QueryOne should have comment or be unexported (golint)
    • Line 106: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 133: warning: exported function Info should have comment or be unexported (golint)
    • Line 171: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 186: warning: exported function Last should have comment or be unexported (golint)
    • Line 224: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 231: warning: exported function LastRaw should have comment or be unexported (golint)
    • Line 269: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 318: warning: exported function Hosts should have comment or be unexported (golint)
    • open-falcon-backend/common/service/nqm/agent_hbs.go
    • Line 16: warning: comment on exported type AgentHbsServiceConfig should be of the form "AgentHbsServiceConfig ..." (with optional leading article) (golint)
    • Line 24: warning: exported function NewAgentHbsService should have comment or be unexported (golint)
    • Line 31: warning: comment on exported type AgentHbsService should be of the form "AgentHbsService ..." (with optional leading article) (golint)
    • Line 37: warning: comment on exported method AgentHbsService.LoadPingList should be of the form "LoadPingList ..." (golint)
    • Line 67: warning: comment on exported method AgentHbsService.Stop should be of the form "Stop ..." (golint)
    • open-falcon-backend/common/model/owl/isp.go
    • Line 10: warning: exported method Isp.TableName should have comment or be unexported (golint)
    • Line 14: warning: comment on exported type IspOfPingtaskView should be of the form "IspOfPingtaskView ..." (with optional leading article) (golint)
    • Line 20: warning: exported method IspOfPingtaskView.TableName should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/rdb/heartbeat.go
    • Line 24: warning: exported function FalconAgentHeartbeat should have comment or be unexported (golint)
    • Line 137: warning: exported function UpdateNqmAgentHeartbeat should have comment or be unexported (golint)
    • Line 171: warning: exported function SelectNqmAgentByConnId should have comment or be unexported (golint)
    • Line 230: warning: exported function InsertNqmAgentByHeartbeat should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/config/database.go
    • Line 7: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 12: warning: exported type DBPool should have comment or be unexported (golint)
    • Line 28: warning: exported function Con should have comment or be unexported (golint)
    • Line 32: warning: exported function SetLogLevel should have comment or be unexported (golint)
    • Line 42: warning: exported function InitDB should have comment or be unexported (golint)
    • Line 118: warning: exported function CloseDB should have comment or be unexported (golint)
    • Line 154: warning: exported method DBPool.HealthCheck should have comment or be unexported (golint)
    • open-falcon-backend/common/model/nqm.go
    • Line 9: warning: comment on exported const UNDEFINED_ID should be of the form "UNDEFINED_ID ..." (golint)
    • Line 12: warning: exported const UNDEFINED_ISP_ID should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: comment on exported const UNDEFINED_STRING should be of the form "UNDEFINED_STRING ..." (golint)
    • Line 32: warning: exported type MeasurementsProperty should have comment or be unexported (golint)
    • Line 58: warning: comment on exported type NqmAgent should be of the form "NqmAgent ..." (with optional leading article) (golint)
    • Line 87: warning: comment on exported type NqmTarget should be of the form "NqmTarget ..." (with optional leading article) (golint)
    • open-falcon-backend/modules/f2e-api/app/helper/session.go
    • Line 15: warning: exported type WebSession should have comment or be unexported (golint)
    • Line 20: warning: exported function GetSession should have comment or be unexported (golint)
    • Line 52: warning: exported function SessionChecking 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 87: warning: exported function GetUser should have comment or be unexported (golint)
    • open-falcon-backend/modules/hbs/http/http.go
    • Line 6: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 13: warning: exported type Dto should have comment or be unexported (golint)
    • Line 19: warning: exported var GinConfig should have comment or be unexported (golint)
    • Line 31: warning: exported function RenderJson should have comment or be unexported (golint)
    • Line 41: warning: exported function RenderDataJson should have comment or be unexported (golint)
    • Line 45: warning: exported function RenderMsgJson should have comment or be unexported (golint)
    • Line 49: warning: exported function AutoRender should have comment or be unexported (golint)
    • Line 57: warning: exported function Start should have comment or be unexported (golint)
    • open-falcon-backend/modules/nqm-agent/cfg.go
    • Line 16: warning: exported type AgentConfig should have comment or be unexported (golint)
    • Line 20: warning: exported type HbsConfig should have comment or be unexported (golint)
    • Line 25: warning: exported type JSONConfig should have comment or be unexported (golint)
    • Line 33: warning: exported type Metadata should have comment or be unexported (golint)
    • Line 45: warning: exported function Config should have comment or be unexported (golint)
    • Line 49: warning: exported function SetConfig should have comment or be unexported (golint)
    • Line 53: warning: exported function HBSResp should have comment or be unexported (golint)
    • Line 57: warning: exported function SetHBSResp should have comment or be unexported (golint)
    • Line 129: warning: exported function InitConfig should have comment or be unexported (golint)
    • Line 134: warning: exported function Meta should have comment or be unexported (golint)
    • Line 138: warning: exported function GenMeta should have comment or be unexported (golint)
    • open-falcon-backend/common/testing/flag/ginkgo.go
    • Line 1: warning: package comment should be of the form "Package flag ..." (golint)
    • Line 67: warning: should not use dot imports (golint)
    • Line 70: warning: comment on exported type SkipFactory should be of the form "SkipFactory ..." (with optional leading article) (golint)
    • Line 99: warning: comment on exported function BuildSkipFactory should be of the form "BuildSkipFactory ..." (golint)
    • Line 107: warning: comment on exported function BuildSkipFactoryOfOwlDb should be of the form "BuildSkipFactoryOfOwlDb ..." (golint)
    • Line 115: warning: exported function BuildSkipFactoryByBool should have comment or be unexported (golint)
    • Line 183: warning: comment on exported function FeatureHelp should be of the form "FeatureHelp ..." (golint)
    • Line 203: warning: comment on exported function FeatureHelpString should be of the form "FeatureHelpString ..." (golint)
    • Line 210: warning: comment on exported function OwlDbHelp should be of the form "OwlDbHelp ..." (golint)
    • Line 223: warning: comment on exported function OwlDbHelpString should be of the form "OwlDbHelpString ..." (golint)
    • Line 230: warning: comment on exported function MatchFlags should be of the form "MatchFlags ..." (golint)
    • Line 248: warning: comment on exported function MatchFlagsOfOwlDb should be of the form "MatchFlagsOfOwlDb ..." (golint)
    • open-falcon-backend/modules/mysqlapi/service/hbscache/groups.go
    • Line 9: warning: comment on exported type SafeHostGroupsMap should be of the form "SafeHostGroupsMap ..." (with optional leading article) (golint)
    • Line 15: warning: exported var HostGroupsMap should have comment or be unexported (golint)
    • Line 17: warning: exported method SafeHostGroupsMap.GetGroupIds should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 24: warning: exported method SafeHostGroupsMap.Init should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/sender/model/model.go
    • Line 7: warning: exported type Sms should have comment or be unexported (golint)
    • Line 12: warning: exported type Mail should have comment or be unexported (golint)
    • Line 18: warning: exported type QQ should have comment or be unexported (golint)
    • Line 24: warning: exported type Serverchan should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/graph/owl_graph_controller.go
    • Line 20: warning: exported function HostsSearching should have comment or be unexported (golint)
    • Line 82: warning: exported type APIEndpointsQuerySubMetricInputs should have comment or be unexported (golint)
    • Line 88: warning: exported function EndpointsQuerySubMetric should have comment or be unexported (golint)
    • Line 123: warning: exported type APIEndpointsGetMetricBySubStarInput should have comment or be unexported (golint)
    • Line 130: warning: exported function EndpointsGetMetricBySubStar should have comment or be unexported (golint)
    • Line 168: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • open-falcon-backend/common/types/string_converter.go
    • Line 11: warning: comment on exported type Parser should be of the form "Parser ..." (with optional leading article) (golint)
    • Line 16: warning: comment on exported type Printer should be of the form "Printer ..." (with optional leading article) (golint)
    • Line 21: warning: comment on exported type Formatter should be of the form "Formatter ..." (with optional leading article) (golint)
    • Line 27: warning: comment on exported type FormatterRegistry should be of the form "FormatterRegistry ..." (with optional leading article) (golint)
    • Line 37: warning: comment on exported type FormattedConversionService should be of the form "FormattedConversionService ..." (with optional leading article) (golint)
    • open-falcon-backend/common/db/owl/group_tag_test.go
    • Line 76: warning: receiver name s should be consistent with previous receiver name suite for TestGroupTagSuite (golint)
    • Line 99: warning: receiver name s should be consistent with previous receiver name suite for TestGroupTagSuite (golint)
    • Line 117: warning: receiver name s should be consistent with previous receiver name suite for TestGroupTagSuite (golint)
    • Line 120: warning: receiver name s should be consistent with previous receiver name suite for TestGroupTagSuite (golint)
    • open-falcon-backend/modules/query/nqm/compound_report.go
    • Line 25: warning: comment on exported function LoadIcmpRecordsOfCompoundQuery should be of the form "LoadIcmpRecordsOfCompoundQuery ..." (golint)
    • Line 245: warning: exported function BuildQuery should have comment or be unexported (golint)
    • Line 258: warning: exported function GetCompoundQueryByUuid should have comment or be unexported (golint)
    • Line 269: warning: exported function ToQueryDetail should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/model/boss/bossInfoGen.go
    • Line 11: warning: exported function GetIPMap should have comment or be unexported (golint)
    • Line 20: warning: exported function Gethosts should have comment or be unexported (golint)
    • Line 27: warning: exported function GetContactIfo should have comment or be unexported (golint)
    • Line 42: warning: exported function GenContactMap should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/model/alarm/event_note.go
    • Line 22: warning: exported type EventNote should have comment or be unexported (golint)
    • Line 32: warning: exported method EventNote.TableName should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported method EventNote.GetUserName should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/uic/third_party_controller.go
    • Line 20: warning: exported type BossUserInfoOutputStruct should have comment or be unexported (golint)
    • Line 38: warning: exported function GetBossUserInfoByCookie should have comment or be unexported (golint)
    • Line 132: warning: comment on exported function ForwardToBossLoginPage should be of the form "ForwardToBossLoginPage ..." (golint)
    • Line 155: warning: comment on exported function BossRedirectLogin should be of the form "BossRedirectLogin ..." (golint)
    • Line 171: warning: comment on exported function RedirectToOriginalPage should be of the form "RedirectToOriginalPage ..." (golint)
    • open-falcon-backend/modules/fe/http/base/api_resp.go
    • Line 10: warning: exported type ApiResp should have comment or be unexported (golint)
    • Line 18: warning: exported method BaseController.BasicRespGen should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 28: warning: exported method BaseController.ServeApiJson should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method BaseController.SessionCheck should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 67: warning: exported method BaseController.ResposeError should have comment or be unexported (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/fe/model/dashboard/endpoint_counter.go
    • Line 12: warning: exported function QueryEndpointidbyNames should have comment or be unexported (golint)
    • Line 22: warning: exported function QueryEndpointIDByCounters should have comment or be unexported (golint)
    • Line 33: warning: exported function QueryEndpointNamesByID should have comment or be unexported (golint)
    • Line 50: warning: exported function QueryEndpointsByCounter should have comment or be unexported (golint)
    • Line 72: warning: exported function QueryCounterByEndpoints should have comment or be unexported (golint)
    • Line 89: warning: don't use underscores in Go names; var endpoint_ids should be endpointIds (golint)
    • Line 91: warning: don't use underscores in Go names; var endpoint_ids should be endpointIds (golint)
    • open-falcon-backend/modules/graph/index/cache.go
    • Line 21: warning: exported const DefaultMaxCacheSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: comment on exported function InitCache should be of the form "InitCache ..." (golint)
    • Line 44: warning: comment on exported function GetTypeAndStep should be of the form "GetTypeAndStep ..." (golint)
    • Line 74: warning: comment on exported function GetEndpointFromCache should be of the form "GetEndpointFromCache ..." (golint)
    • Line 100: warning: comment on exported function GetCounterFromCache should be of the form "GetCounterFromCache ..." (golint)
    • Line 147: warning: comment on exported type IndexCacheItem should be of the form "IndexCacheItem ..." (with optional leading article) (golint)
    • Line 154: warning: exported function NewIndexCacheItem should have comment or be unexported (golint)
    • Line 158: warning: comment on exported type IndexCacheBase should be of the form "IndexCacheBase ..." (with optional leading article) (golint)
    • Line 165: warning: exported function NewIndexCacheBase should have comment or be unexported (golint)
    • Line 169: warning: exported method IndexCacheBase.GetMaxSize should have comment or be unexported (golint)
    • Line 169: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 173: warning: exported method IndexCacheBase.Put should have comment or be unexported (golint)
    • Line 173: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 179: warning: exported method IndexCacheBase.Remove should have comment or be unexported (golint)
    • Line 179: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 185: warning: exported method IndexCacheBase.Get should have comment or be unexported (golint)
    • Line 185: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 191: warning: exported method IndexCacheBase.ContainsKey should have comment or be unexported (golint)
    • Line 191: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 197: warning: exported method IndexCacheBase.Size should have comment or be unexported (golint)
    • Line 197: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 203: warning: exported method IndexCacheBase.Keys should have comment or be unexported (golint)
    • Line 203: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/graph/graph_controller.go
    • Line 19: warning: exported type APIEndpointRegexpQueryInputs should have comment or be unexported (golint)
    • Line 26: warning: exported function EndpointRegexpQuery should have comment or be unexported (golint)
    • Line 58: warning: don't use underscores in Go names; var endpoint_id should be endpointID (golint)
    • Line 113: warning: exported type APIQueryGraphDrawData should have comment or be unexported (golint)
    • Line 122: warning: exported function QueryGraphDrawData should have comment or be unexported (golint)
    • Line 139: warning: exported function QueryGraphLastPoint should have comment or be unexported (golint)
    • Line 148: warning: don't use underscores in Go names; var one_resp should be oneResp (golint)
    • Line 169: warning: exported type APIEndpointCounterRegexpQueryInputs should have comment or be unexported (golint)
    • Line 176: warning: comment on exported function EndpointCounterRegexpQuery should be of the form "EndpointCounterRegexpQuery ..." (golint)
    • Line 194: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 212: warning: exported type APIEndpointStrCounterRegexpQueryInputs should have comment or be unexported (golint)
    • Line 219: warning: exported function EndpointStrCounterRegexpQuery should have comment or be unexported (golint)
    • Line 239: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • open-falcon-backend/modules/query/http/network_quality.go
    • Line 13: warning: don't use underscores in Go names; type Nqm_node should be NqmNode (golint)
    • Line 13: warning: exported type Nqm_node should have comment or be unexported (golint)
    • Line 18: warning: don't use underscores in Go names; struct field Pname_abbr should be PnameAbbr (golint)
    • Line 21: warning: don't use underscores in Go names; struct field Cname_abbr should be CnameAbbr (golint)
    • open-falcon-backend/common/gin/config.go
    • Line 1: warning: package comment should be of the form "Package gin ..." (golint)
    • Line 75: warning: comment on exported type GinConfig should be of the form "GinConfig ..." (with optional leading article) (golint)
    • Line 90: warning: comment on exported method GinConfig.GetAddress should be of the form "GetAddress ..." (golint)
    • Line 119: warning: comment on exported function NewDefaultJsonEngine should be of the form "NewDefaultJsonEngine ..." (golint)
    • Line 150: warning: comment on exported function StartServiceOrExit should be of the form "StartServiceOrExit ..." (golint)
    • open-falcon-backend/common/service/owl/location.go
    • Line 10: warning: exported type ProvinceService should have comment or be unexported (golint)
    • Line 15: warning: exported function NewProvinceService should have comment or be unexported (golint)
    • Line 22: warning: comment on exported method ProvinceService.GetProvinceById should be of the form "GetProvinceById ..." (golint)
    • Line 41: warning: exported method ProvinceService.GetProvincesByIds should have comment or be unexported (golint)
    • Line 51: warning: comment on exported method ProvinceService.GetProvincesByName should be of the form "GetProvincesByName ..." (golint)
    • Line 90: warning: exported type CityService should have comment or be unexported (golint)
    • Line 95: warning: exported function NewCityService should have comment or be unexported (golint)
    • Line 102: warning: comment on exported method CityService.GetCity2ById should be of the form "GetCity2ById ..." (golint)
    • Line 121: warning: exported method CityService.GetCity2sByIds should have comment or be unexported (golint)
    • Line 131: warning: comment on exported method CityService.GetCity2sByName should be of the form "GetCity2sByName ..." (golint)
    • open-falcon-backend/common/cron/job.go
    • Line 8: warning: comment on exported type JobLifecycle should be of the form "JobLifecycle ..." (with optional leading article) (golint)
    • Line 20: warning: comment on exported type Job should be of the form "Job ..." (with optional leading article) (golint)
    • Line 27: warning: comment on exported type JobProfile should be of the form "JobProfile ..." (with optional leading article) (golint)
    • Line 37: warning: comment on exported function AutoJob should be of the form "AutoJob ..." (golint)
    • Line 97: warning: comment on exported function EmptyJob should be of the form "EmptyJob ..." (golint)
    • Line 102: warning: comment on exported type JobInstance should be of the form "JobInstance ..." (with optional leading article) (golint)
    • Line 110: warning: comment on exported method JobInstance.BeforeJobStart should be of the form "BeforeJobStart ..." (golint)
    • Line 117: warning: comment on exported method JobInstance.BeforeJobStop should be of the form "BeforeJobStop ..." (golint)
    • Line 124: warning: comment on exported method JobInstance.AfterJobStopped should be of the form "AfterJobStopped ..." (golint)
    • Line 131: warning: comment on exported method JobInstance.Do should be of the form "Do ..." (golint)
    • Line 136: warning: comment on exported type ProcJob should be of the form "ProcJob ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported method ProcJob.BeforeJobStart should be of the form "BeforeJobStart ..." (golint)
    • Line 142: warning: comment on exported method ProcJob.BeforeJobStop should be of the form "BeforeJobStop ..." (golint)
    • Line 145: warning: comment on exported method ProcJob.AfterJobStopped should be of the form "AfterJobStopped ..." (golint)
    • Line 148: warning: comment on exported method ProcJob.Do should be of the form "Do ..." (golint)
    • open-falcon-backend/common/gin/mvc/context.go
    • Line 20: warning: comment on exported type MvcConfig should be of the form "MvcConfig ..." (with optional leading article) (golint)
    • Line 28: warning: comment on exported function NewDefaultMvcConfig should be of the form "NewDefaultMvcConfig ..." (golint)
    • Line 42: warning: comment on exported type MvcBuilder should be of the form "MvcBuilder ..." (with optional leading article) (golint)
    • Line 47: warning: comment on exported function NewMvcBuilder should be of the form "NewMvcBuilder ..." (golint)
    • Line 55: warning: don't use underscores in Go names; var _t_IoCloser should be _tIoCloser (golint)
    • Line 57: warning: exported method MvcBuilder.BuildHandler should have comment or be unexported (golint)
    • Line 176: warning: don't use underscores in Go names; var _t_JsonUnmarshaler should be _tJSONUnmarshaler (golint)
    • Line 309: warning: don't use underscores in Go names; var _t_OutputBody should be _tOutputBody (golint)
    • Line 310: warning: don't use underscores in Go names; var _t_JsonMarshaler should be _tJSONMarshaler (golint)
    • Line 311: warning: don't use underscores in Go names; var _t_Stringer should be _tStringer (golint)
    • open-falcon-backend/modules/graph/http/http.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 15: warning: exported type Dto should have comment or be unexported (golint)
    • Line 20: warning: don't use underscores in Go names; var Close_chan should be CloseChan (golint)
    • Line 20: warning: exported var Close_done_chan should have its own declaration (golint)
    • Line 20: warning: don't use underscores in Go names; var Close_done_chan should be CloseDoneChan (golint)
    • Line 31: warning: exported function RenderJson should have comment or be unexported (golint)
    • Line 41: warning: exported function RenderDataJson should have comment or be unexported (golint)
    • Line 45: warning: exported function RenderMsgJson should have comment or be unexported (golint)
    • Line 49: warning: exported function AutoRender should have comment or be unexported (golint)
    • Line 57: warning: comment on exported type TcpKeepAliveListener should be of the form "TcpKeepAliveListener ..." (with optional leading article) (golint)
    • Line 65: warning: exported method TcpKeepAliveListener.Accept should have comment or be unexported (golint)
    • Line 75: warning: exported function Start should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/host/aggreator_controller.go
    • Line 14: warning: exported function GetAggregatorListOfGrp should have comment or be unexported (golint)
    • Line 65: warning: exported function GetAggregator should have comment or be unexported (golint)
    • Line 86: warning: exported type APICreateAggregatorInput should have comment or be unexported (golint)
    • Line 97: warning: exported function CreateAggregator should have comment or be unexported (golint)
    • Line 137: warning: exported type APIUpdateAggregatorInput should have comment or be unexported (golint)
    • Line 148: warning: exported function UpdateAggregator should have comment or be unexported (golint)
    • Line 191: warning: exported function DeleteAggregator should have comment or be unexported (golint)
    • open-falcon-backend/common/model/template.go
    • Line 7: warning: exported type Template should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: exported type NewTemplate should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/service/mysql_api.go
    • Line 11: warning: exported type MysqlApiServiceConfig should have comment or be unexported (golint)
    • Line 15: warning: exported type MysqlApiService should have comment or be unexported (golint)
    • Line 19: warning: exported function NewMysqlApiService should have comment or be unexported (golint)
    • open-falcon-backend/modules/nodata/sender/block.go
    • Line 59: warning: don't use underscores in Go names; var dt_gauss_3sigma_min should be dtGauss3sigmaMin (golint)
    • Line 60: warning: don't use underscores in Go names; var dt_gauss_3sigma_max should be dtGauss3sigmaMax (golint)
    • Line 77: warning: exported function CalcGaussOnce should have comment or be unexported (golint)
    • Line 142: warning: exported type GraphHistoryParam should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/strategy/strategy_controller.go
    • Line 19: warning: exported type APIGetStrategysInput should have comment or be unexported (golint)
    • Line 23: warning: exported function GetStrategys should have comment or be unexported (golint)
    • Line 39: warning: exported type APICreateStrategyInput should have comment or be unexported (golint)
    • Line 53: warning: exported method APICreateStrategyInput.CheckFormat should have comment or be unexported (golint)
    • Line 53: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: exported function CreateStrategy should have comment or be unexported (golint)
    • Line 105: warning: exported function GetStrategy should have comment or be unexported (golint)
    • Line 125: warning: exported type APIUpdateStrategyInput should have comment or be unexported (golint)
    • Line 139: warning: exported method APIUpdateStrategyInput.CheckFormat should have comment or be unexported (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 156: warning: exported function UpdateStrategy should have comment or be unexported (golint)
    • Line 195: warning: exported function DeleteStrategy should have comment or be unexported (golint)
    • Line 215: warning: exported function MetricQuery should have comment or be unexported (golint)
    • open-falcon-backend/common/testing/net.go
    • Line 8: warning: exported function ParseUrl should have comment or be unexported (golint)
    • Line 14: warning: exported function ParseRequestUri should have comment or be unexported (golint)
    • Line 20: warning: exported function ParseQuery should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/rdb/test/db.go
    • Line 3: warning: exported var SetAutoIncForHost should have comment or be unexported (golint)
    • Line 4: warning: exported var ResetAutoIncForHost should have comment or be unexported (golint)
    • Line 5: warning: exported var InsertHostSQL should have comment or be unexported (golint)
    • Line 13: warning: exported var DeleteHostSQL should have comment or be unexported (golint)
    • Line 15: warning: exported var SetAutoIncForNqmAgent should have comment or be unexported (golint)
    • Line 16: warning: exported var ResetAutoIncForNqmAgent should have comment or be unexported (golint)
    • Line 17: warning: exported var InsertNqmAgentSQL should have comment or be unexported (golint)
    • Line 28: warning: exported var DeleteNqmAgentSQL should have comment or be unexported (golint)
    • Line 30: warning: exported var InsertNqmtargetSQL should have comment or be unexported (golint)
    • Line 37: warning: exported var DeleteNqmtargetSQL should have comment or be unexported (golint)
    • Line 39: warning: exported var InsertNqmPingtaskSQL should have comment or be unexported (golint)
    • Line 46: warning: exported var DeletetNqmPingtaskSQL should have comment or be unexported (golint)
    • Line 48: warning: exported var InsertNqmAgentPingtaskSQL should have comment or be unexported (golint)
    • Line 53: warning: exported var DeleteNqmAgentPingtaskSQL should have comment or be unexported (golint)
    • Line 55: warning: exported var InitNqmAgent should have comment or be unexported (golint)
    • Line 56: warning: exported var ClearNqmAgent should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/service/owl/query_object.go
    • Line 13: warning: exported type QueryObjectServiceConfig should have comment or be unexported (golint)
    • Line 18: warning: exported var QueryObjectService should have comment or be unexported (golint)
    • Line 20: warning: exported function InitQueryObjectService should have comment or be unexported (golint)
    • Line 23: warning: exported function StopQueryObjectService should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/rdb/package.go
    • Line 19: warning: exported const DB_PORTAL should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type DbHolder should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method DbHolder.Diagnose should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported var GlobalDbHolder should have comment or be unexported (golint)
    • Line 53: warning: exported var DbFacade should have comment or be unexported (golint)
    • Line 55: warning: exported function InitPortalRdb should have comment or be unexported (golint)
    • Line 84: warning: exported function InitGraphRdb should have comment or be unexported (golint)
    • Line 96: warning: exported function InitBossRdb should have comment or be unexported (golint)
    • Line 125: warning: exported function ReleaseAllRdb should have comment or be unexported (golint)
    • open-falcon-backend/modules/transfer/http/http.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Dto should have comment or be unexported (golint)
    • Line 16: warning: exported function Start should have comment or be unexported (golint)
    • Line 43: warning: exported function RenderJson should have comment or be unexported (golint)
    • Line 53: warning: exported function RenderDataJson should have comment or be unexported (golint)
    • Line 57: warning: exported function RenderMsgJson should have comment or be unexported (golint)
    • Line 61: warning: exported function AutoRender should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/model/host.go
    • Line 8: warning: exported type HostsResult should have comment or be unexported (golint)
    • Line 17: warning: exported method HostsResult.TableName should have comment or be unexported (golint)
    • Line 21: warning: exported method HostsResult.ToSimpleJson should have comment or be unexported (golint)
    • Line 32: warning: exported method HostsResult.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method HostsResult.AfterLoad should have comment or be unexported (golint)
    • Line 43: warning: exported type PluginTag should have comment or be unexported (golint)
    • Line 48: warning: exported method PluginTag.ToJson should have comment or be unexported (golint)
    • Line 56: warning: exported type PluginTags should have comment or be unexported (golint)
    • Line 58: warning: exported method PluginTags.ToJson should have comment or be unexported (golint)
    • Line 67: warning: exported type HostgroupsResult should have comment or be unexported (golint)
    • Line 76: warning: exported method HostgroupsResult.TableName should have comment or be unexported (golint)
    • Line 80: warning: exported method HostgroupsResult.ToSimpleJson should have comment or be unexported (golint)
    • Line 91: warning: exported method HostgroupsResult.MarshalJSON should have comment or be unexported (golint)
    • Line 95: warning: exported method HostgroupsResult.AfterLoad should have comment or be unexported (golint)
    • open-falcon-backend/modules/judge/g/redis.go
    • Line 9: warning: exported var RedisConnPool should have comment or be unexported (golint)
    • Line 11: warning: exported function InitRedisConnPool should have comment or be unexported (golint)
    • Line 38: warning: exported function PingRedis should have comment or be unexported (golint)
    • open-falcon-backend/common/service/nqm/agent_test.go
    • Line 102: warning: receiver name s should be consistent with previous receiver name suite for TestAgentSuite (golint)
    • Line 140: warning: receiver name s should be consistent with previous receiver name suite for TestAgentSuite (golint)
    • Line 157: warning: receiver name s should be consistent with previous receiver name suite for TestAgentSuite (golint)
    • Line 161: warning: receiver name s should be consistent with previous receiver name suite for TestAgentSuite (golint)
    • open-falcon-backend/modules/mysqlapi/rdb/hbsdb/template.go
    • Line 8: warning: exported function QueryGroupTemplates should have comment or be unexported (golint)
    • Line 37: warning: comment on exported function QueryTemplates should be of the form "QueryTemplates ..." (golint)
    • Line 63: warning: comment on exported function QueryHostTemplateIds should be of the form "QueryHostTemplateIds ..." (golint)
    • open-falcon-backend/common/model/owl/location.go
    • Line 9: warning: exported method Province.TableName should have comment or be unexported (golint)
    • Line 13: warning: comment on exported type ProvinceOfPingtaskView should be of the form "ProvinceOfPingtaskView ..." (with optional leading article) (golint)
    • Line 19: warning: exported method ProvinceOfPingtaskView.TableName should have comment or be unexported (golint)
    • Line 23: warning: comment on exported type City1 should be of the form "City1 ..." (with optional leading article) (golint)
    • Line 32: warning: exported method City1.TableName should have comment or be unexported (golint)
    • Line 36: warning: comment on exported type City2 should be of the form "City2 ..." (with optional leading article) (golint)
    • Line 43: warning: exported method City2.GetKey should have comment or be unexported (golint)
    • Line 47: warning: exported method City2.TableName should have comment or be unexported (golint)
    • Line 51: warning: comment on exported type CityOfPingtaskView should be of the form "CityOfPingtaskView ..." (with optional leading article) (golint)
    • Line 57: warning: exported method CityOfPingtaskView.TableName should have comment or be unexported (golint)
    • open-falcon-backend/common/http/client/config.go
    • Line 7: warning: comment on exported const DEFAULT_TIMEOUT should be of the form "DEFAULT_TIMEOUT ..." (golint)
    • Line 10: warning: exported type HttpClientConfig should have comment or be unexported (golint)
    • Line 15: warning: comment on exported function NewDefaultConfig should be of the form "NewDefaultConfig ..." (golint)
    • open-falcon-backend/modules/aggregator/cron/worker.go
    • Line 9: warning: exported type Worker should have comment or be unexported (golint)
    • Line 15: warning: exported function NewWorker should have comment or be unexported (golint)
    • Line 23: warning: exported method Worker.Start should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method Worker.Drop should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported var Workers should have comment or be unexported (golint)
    • open-falcon-backend/modules/judge/store/func.go
    • Line 11: warning: exported type Function should have comment or be unexported (golint)
    • Line 15: warning: exported type MaxFunction should have comment or be unexported (golint)
    • Line 22: warning: exported method MaxFunction.Compute should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported type MinFunction should have comment or be unexported (golint)
    • Line 47: warning: exported method MinFunction.Compute should have comment or be unexported (golint)
    • Line 47: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 65: warning: exported type AllFunction should have comment or be unexported (golint)
    • Line 72: warning: exported method AllFunction.Compute should have comment or be unexported (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 90: warning: exported type SumFunction should have comment or be unexported (golint)
    • Line 97: warning: exported method SumFunction.Compute should have comment or be unexported (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 113: warning: exported type AvgFunction should have comment or be unexported (golint)
    • Line 120: warning: exported method AvgFunction.Compute should have comment or be unexported (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 136: warning: exported type DiffFunction should have comment or be unexported (golint)
    • Line 143: warning: comment on exported method DiffFunction.Compute should be of the form "Compute ..." (golint)
    • Line 144: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 172: warning: comment on exported type PDiffFunction should be of the form "PDiffFunction ..." (with optional leading article) (golint)
    • Line 180: warning: exported method PDiffFunction.Compute should have comment or be unexported (golint)
    • Line 180: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 209: warning: comment on exported function ParseFuncFromString should be of the form "ParseFuncFromString ..." (golint)
    • open-falcon-backend/modules/transfer/sender/sender.go
    • Line 16: warning: exported const DefaultSendQueueMaxSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: comment on exported function Start should be of the form "Start ..." (golint)
    • Line 71: warning: comment on exported function Push2JudgeSendQueue should be of the form "Push2JudgeSendQueue ..." (golint)
    • Line 106: warning: comment on exported function Push2GraphSendQueue should be of the form "Push2GraphSendQueue ..." (golint)
    • Line 180: warning: comment on exported function Push2TsdbSendQueue should be of the form "Push2TsdbSendQueue ..." (golint)
    • Line 210: warning: comment on exported function Push2InfluxdbSendQueue should be of the form "Push2InfluxdbSendQueue ..." (golint)
    • Line 238: warning: comment on exported function Push2StagingSendQueue should be of the form "Push2StagingSendQueue ..." (golint)
    • Line 249: warning: comment on exported function Push2NqmIcmpSendQueue should be of the form "Push2NqmIcmpSendQueue ..." (golint)
    • Line 265: warning: comment on exported function Push2NqmTcpSendQueue should be of the form "Push2NqmTcpSendQueue ..." (golint)
    • Line 281: warning: comment on exported function Push2NqmTcpconnSendQueue should be of the form "Push2NqmTcpconnSendQueue ..." (golint)
    • Line 297: warning: exported function Demultiplex should have comment or be unexported (golint)
    • open-falcon-backend/common/ccache/wrapper.go
    • Line 11: warning: comment on exported type CacheCtrl should be of the form "CacheCtrl ..." (with optional leading article) (golint)
    • Line 16: warning: exported function NewCacheCtrl should have comment or be unexported (golint)
    • Line 20: warning: comment on exported method CacheCtrl.MustFetch should be of the form "MustFetch ..." (golint)
    • Line 48: warning: exported method CacheCtrl.MustFetchAndDoNotCacheEmpty should have comment or be unexported (golint)
    • Line 67: warning: exported method CacheCtrl.MustFetchNative should have comment or be unexported (golint)
    • Line 76: warning: exported method CacheCtrl.MustFetchNativeAndDoNotCacheEmpty should have comment or be unexported (golint)
    • open-falcon-backend/modules/alarm/model/event/event_operation.go
    • Line 51: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 56: warning: exported function InsertEvent should have comment or be unexported (golint)
    • Line 95: warning: don't use underscores in Go names; var tpl_creator should be tplCreator (golint)
    • Line 151: warning: don't use underscores in Go names; var tpl_creator should be tplCreator (golint)
    • Line 220: warning: error should be the last type when returning multiple items (golint)
    • Line 261: warning: exported function InsertExternalEvent should have comment or be unexported (golint)
    • Line 302: warning: don't use underscores in Go names; var tpl_creator should be tplCreator (golint)
    • Line 357: warning: don't use underscores in Go names; var tpl_creator should be tplCreator (golint)
    • open-falcon-backend/common/http/owl.go
    • Line 1: warning: package comment should be of the form "Package http ..." (golint)
    • Line 22: warning: comment on exported type RestfulClientConfig should be of the form "RestfulClientConfig ..." (with optional leading article) (golint)
    • Line 32: warning: comment on exported function NewApiService should be of the form "NewApiService ..." (golint)
    • Line 37: warning: comment on exported type ApiService should be of the form "ApiService ..." (with optional leading article) (golint)
    • Line 42: warning: comment on exported method ApiService.NewClient should be of the form "NewClient ..." (golint)
    • open-falcon-backend/modules/hbs/cache/agents.go
    • Line 14: warning: exported type SafeAgents should have comment or be unexported (golint)
    • Line 19: warning: exported var Agents should have comment or be unexported (golint)
    • Line 21: warning: exported function NewSafeAgents should have comment or be unexported (golint)
    • Line 25: warning: exported method SafeAgents.Put should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported method SafeAgents.Get should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method SafeAgents.Delete should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: exported method SafeAgents.Keys should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 62: warning: exported function DeleteStaleAgents should have comment or be unexported (golint)
    • open-falcon-backend/modules/query/conf/confRead.go
    • Line 17: warning: exported type Gconfig should have comment or be unexported (golint)
    • Line 21: warning: exported type FunConfig should have comment or be unexported (golint)
    • Line 33: warning: exported var FunctionMap should have comment or be unexported (golint)
    • Line 36: warning: exported function Config should have comment or be unexported (golint)
    • Line 69: warning: exported function ReadConf should have comment or be unexported (golint)
    • Line 102: warning: exported function Reload should have comment or be unexported (golint)
    • Line 108: warning: exported function GetFunc should have comment or be unexported (golint)
    • Line 112: warning: exported function GetAvaibleFun should have comment or be unexported (golint)
    • open-falcon-backend/common/service/owl/query.go
    • Line 20: warning: exported type QueryServiceConfig should have comment or be unexported (golint)
    • Line 24: warning: exported type QueryService should have comment or be unexported (golint)
    • Line 30: warning: exported function NewQueryService should have comment or be unexported (golint)
    • Line 116: warning: exported type ResultOfVacuumQueryObjects should have comment or be unexported (golint)
    • Line 121: warning: exported method ResultOfVacuumQueryObjects.GetBeforeTime should have comment or be unexported (golint)
    • open-falcon-backend/common/ccache/data.go
    • Line 8: warning: exported type DataCacheConfig should have comment or be unexported (golint)
    • Line 13: warning: exported type CacheSetup should have comment or be unexported (golint)
    • Line 15: warning: comment on exported function NewDataCache should be of the form "NewDataCache ..." (golint)
    • Line 20: warning: comment on exported function NewDataCacheWithSetup should be of the form "NewDataCacheWithSetup ..." (golint)
    • open-falcon-backend/modules/fe/model/uic/models.go
    • Line 7: warning: exported type User should have comment or be unexported (golint)
    • Line 20: warning: exported type Team should have comment or be unexported (golint)
    • Line 28: warning: exported type RelTeamUser should have comment or be unexported (golint)
    • Line 34: warning: exported type Session should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/http/uic/team_controller.go
    • Line 6: warning: should not use dot imports (golint)
    • Line 11: warning: exported type TeamController should have comment or be unexported (golint)
    • Line 15: warning: exported method TeamController.Teams should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: exported method TeamController.CreateTeamGet should have comment or be unexported (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 60: warning: exported method TeamController.CreateTeamPost should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 105: warning: exported method TeamController.Users should have comment or be unexported (golint)
    • Line 105: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: exported method TeamController.DeleteTeam should have comment or be unexported (golint)
    • Line 119: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 136: warning: exported method TeamController.EditGet should have comment or be unexported (golint)
    • Line 136: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 143: warning: exported method TeamController.EditPost should have comment or be unexported (golint)
    • Line 143: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 161: warning: comment on exported method TeamController.Query should be of the form "Query ..." (golint)
    • Line 162: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 176: warning: exported method TeamController.All should have comment or be unexported (golint)
    • Line 176: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/hbs/rpc/rpc.go
    • Line 14: warning: exported type Hbs should have comment or be unexported (golint)
    • Line 15: warning: exported type Agent should have comment or be unexported (golint)
    • Line 16: warning: exported type NqmAgent should have comment or be unexported (golint)
    • Line 18: warning: exported function Start should have comment or be unexported (golint)
    • Line 47: warning: exported function Stop should have comment or be unexported (golint)
    • open-falcon-backend/modules/mysqlapi/restful/agent.go
    • Line 274: warning: don't use underscores in Go names; var tpl_buckets should be tplBuckets (golint)
    • Line 291: warning: don't use underscores in Go names; var uniq_tpl_buckets should be uniqTplBuckets (golint)
    • Line 314: warning: don't use underscores in Go names; var exists_by_id should be existsByID (golint)
    • Line 319: warning: don't use underscores in Go names; var bucket_stras_map should be bucketStrasMap (golint)
    • Line 323: warning: don't use underscores in Go names; var the_tid_stras should be theTidStras (golint)
    • Line 342: warning: don't use underscores in Go names; var last_tid should be lastTid (golint)
    • Line 363: warning: don't use underscores in Go names; func slice_int_contains should be sliceIntContains (golint)
    • Line 372: warning: don't use underscores in Go names; func slice_int_eq should be sliceIntEq (golint)
    • Line 384: warning: don't use underscores in Go names; func slice_int_lt should be sliceIntLt (golint)
    • open-falcon-backend/common/os/signal.go
    • Line 9: warning: comment on exported type ExitCallback should be of the form "ExitCallback ..." (with optional leading article) (golint)
    • Line 12: warning: exported function HoldingAndWaitSignal should have comment or be unexported (golint)
    • open-falcon-backend/common/types/bytes.go
    • Line 9: warning: exported type SupportBase64 should have comment or be unexported (golint)
    • Line 15: warning: exported type VarBytes should have comment or be unexported (golint)
    • Line 17: warning: exported method VarBytes.ToBase64 should have comment or be unexported (golint)
    • Line 20: warning: exported method VarBytes.FromBase64 should have comment or be unexported (golint)
    • Line 29: warning: exported method VarBytes.MustFromBase64 should have comment or be unexported (golint)
    • Line 35: warning: exported type Bytes16 should have comment or be unexported (golint)
    • Line 37: warning: exported method Bytes16.FromVarBytes should have comment or be unexported (golint)
    • Line 45: warning: exported method Bytes16.MustFromVarBytes should have comment or be unexported (golint)
    • Line 50: warning: exported method Bytes16.ToVarBytes should have comment or be unexported (golint)
    • Line 56: warning: exported method Bytes16.ToBase64 should have comment or be unexported (golint)
    • Line 59: warning: exported method Bytes16.FromBase64 should have comment or be unexported (golint)
    • Line 72: warning: exported method Bytes16.MustFromBase64 should have comment or be unexported (golint)
    • open-falcon-backend/modules/transfer/g/cfg.go
    • Line 12: warning: exported type HttpConfig should have comment or be unexported (golint)
    • Line 17: warning: exported type RpcConfig should have comment or be unexported (golint)
    • Line 22: warning: exported type SocketConfig should have comment or be unexported (golint)
    • Line 28: warning: exported type JudgeConfig should have comment or be unexported (golint)
    • Line 41: warning: exported type GraphConfig should have comment or be unexported (golint)
    • Line 54: warning: exported type TsdbConfig should have comment or be unexported (golint)
    • Line 65: warning: exported type InfluxdbConfig should have comment or be unexported (golint)
    • Line 75: warning: exported type NqmRestConfig should have comment or be unexported (golint)
    • Line 87: warning: exported type StagingConfig should have comment or be unexported (golint)
    • Line 99: warning: exported type GlobalConfig should have comment or be unexported (golint)
    • Line 114: warning: exported var ConfigFile should have comment or be unexported (golint)
    • Line 119: warning: exported function Config should have comment or be unexported (golint)
    • Line 125: warning: exported function ParseConfig should have comment or be unexported (golint)
    • Line 158: warning: comment on exported type ClusterNode should be of the form "ClusterNode ..." (with optional leading article) (golint)
    • Line 163: warning: exported function NewClusterNode should have comment or be unexported (golint)
    • open-falcon-backend/common/cron/interval.go
    • Line 1: warning: package comment should be of the form "Package cron ..." (golint)
    • Line 32: warning: comment on exported type IntervalConfig should be of the form "IntervalConfig ..." (with optional leading article) (golint)
    • Line 46: warning: exported type IntervalService should have comment or be unexported (golint)
    • Line 54: warning: exported function NewIntervalService should have comment or be unexported (golint)
    • Line 63: warning: comment on exported method IntervalService.Add should be of the form "Add ..." (golint)
    • Line 73: warning: comment on exported method IntervalService.GetWorkerProfile should be of the form "GetWorkerProfile ..." (golint)
    • Line 89: warning: comment on exported method IntervalService.Start should be of the form "Start ..." (golint)
    • Line 114: warning: comment on exported method IntervalService.Stop should be of the form "Stop ..." (golint)
    • Line 132: warning: comment on exported method IntervalService.StartWorker should be of the form "StartWorker ..." (golint)
    • Line 155: warning: comment on exported method IntervalService.StopWorker should be of the form "StopWorker ..." (golint)
    • open-falcon-backend/modules/mysqlapi/service/hbscache/strategies.go
    • Line 14: warning: exported type SafeStrategies should have comment or be unexported (golint)
    • Line 19: warning: exported var Strategies should have comment or be unexported (golint)
    • Line 21: warning: exported method SafeStrategies.GetMap should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 27: warning: exported method SafeStrategies.Init should have comment or be unexported (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported function GetBuiltinMetrics should have comment or be unexported (golint)
    • Line 90: warning: exported function ParentIds should have comment or be unexported (golint)
    • open-falcon-backend/common/model/mysqlapi/diag.go
    • Line 39: warning: exported type AllRdbHealth should have comment or be unexported (golint)
    • Line 54: warning: exported type Rdb should have comment or be unexported (golint)
    • Line 61: warning: exported type Http should have comment or be unexported (golint)
    • Line 65: warning: exported type Nqm should have comment or be unexported (golint)
    • Line 69: warning: exported type Heartbeat should have comment or be unexported (golint)
    • open-falcon-backend/modules/fe/http/uic/sso_controller.go
    • Line 10: warning: exported type SsoController should have comment or be unexported (golint)
    • Line 14: warning: exported method SsoController.Sig should have comment or be unexported (golint)
    • Line 14: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 18: warning: exported method SsoController.User should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: exported method SsoController.Logout should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/task/http/http.go
    • Line 13: warning: exported type Dto should have comment or be unexported (golint)
    • Line 18: warning: comment on exported function Start should be of the form "Start ..." (golint)
    • Line 48: warning: exported function RenderJson should have comment or be unexported (golint)
    • Line 58: warning: exported function RenderDataJson should have comment or be unexported (golint)
    • Line 62: warning: exported function RenderMsgJson should have comment or be unexported (golint)
    • Line 66: warning: exported function AutoRender should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/model/alarm/event_cases.go
    • Line 36: warning: exported type EventCases should have comment or be unexported (golint)
    • Line 60: warning: exported method EventCases.TableName should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: exported method EventCases.GetEvents should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method EventCases.GetNotes should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 83: warning: exported method EventCases.NotesCount should have comment or be unexported (golint)
    • Line 83: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/modules/agent/funcs/cpustat.go
    • Line 18: warning: exported function UpdateCpuStat should have comment or be unexported (golint)
    • Line 41: warning: exported function CpuIdle should have comment or be unexported (golint)
    • Line 52: warning: exported function CpuUser should have comment or be unexported (golint)
    • Line 63: warning: exported function CpuNice should have comment or be unexported (golint)
    • Line 74: warning: exported function CpuSystem should have comment or be unexported (golint)
    • Line 85: warning: exported function CpuIowait should have comment or be unexported (golint)
    • Line 96: warning: exported function CpuIrq should have comment or be unexported (golint)
    • Line 107: warning: exported function CpuSoftIrq should have comment or be unexported (golint)
    • Line 118: warning: exported function CpuSteal should have comment or be unexported (golint)
    • Line 129: warning: exported function CpuGuest should have comment or be unexported (golint)
    • Line 140: warning: exported function CurrentCpuSwitches should have comment or be unexported (golint)
    • Line 146: warning: exported function CpuPrepared should have comment or be unexported (golint)
    • Line 152: warning: exported function CpuMetrics should have comment or be unexported (golint)
    • open-falcon-backend/modules/judge/http/http.go
    • Line 6: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 12: warning: exported type Dto should have comment or be unexported (golint)
    • Line 22: warning: exported function RenderJson should have comment or be unexported (golint)
    • Line 32: warning: exported function RenderDataJson should have comment or be unexported (golint)
    • Line 36: warning: exported function RenderMsgJson should have comment or be unexported (golint)
    • Line 40: warning: exported function AutoRender should have comment or be unexported (golint)
    • Line 48: warning: exported function Start should have comment or be unexported (golint)
    • open-falcon-backend/common/utils/inttype.go
    • Line 19: warning: comment on exported function UintTo32 should be of the form "UintTo32 ..." (golint)
    • Line 29: warning: comment on exported function UintTo16 should be of the form "UintTo16 ..." (golint)
    • Line 39: warning: comment on exported function UintTo8 should be of the form "UintTo8 ..." (golint)
    • Line 49: warning: comment on exported function IntTo32 should be of the form "IntTo32 ..." (golint)
    • Line 59: warning: comment on exported function IntTo16 should be of the form "IntTo16 ..." (golint)
    • Line 69: warning: comment on exported function IntTo8 should be of the form "IntTo8 ..." (golint)
    • Line 79: warning: exported type Int64Slice should have comment or be unexported (golint)
    • Line 85: warning: exported type Uint64Slice should have comment or be unexported (golint)
    • Line 91: warning: comment on exported function SortAndUniqueInt64 should be of the form "SortAndUniqueInt64 ..." (golint)
    • Line 103: warning: comment on exported function SortAndUniqueUint64 should be of the form "SortAndUniqueUint64 ..." (golint)
    • open-falcon-backend/common/db/bytes.go
    • Line 11: warning: exported type Bytes16 should have comment or be unexported (golint)
    • Line 13: warning: comment on exported method Bytes16.Scan should be of the form "Scan ..." (golint)
    • Line 43: warning: exported method Bytes16.Value should have comment or be unexported (golint)
    • Line 50: warning: exported method Bytes16.IsNil should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/dashboardScreenOWl/dashboard_screen_controller.go
    • Line 1: warning: don't use MixedCaps in package name; dashboardScreenOWl should be dashboardscreenowl (golint)
    • Line 12: warning: exported type APICreateScreenInput should have comment or be unexported (golint)
    • Line 16: warning: exported function CreateScreen should have comment or be unexported (golint)
    • Line 41: warning: exported type APIGetScreenListOuput should have comment or be unexported (golint)
    • Line 47: warning: exported function GetScreenList should have comment or be unexported (golint)
    • Line 69: warning: exported type APIUpdateScreenInput should have comment or be unexported (golint)
    • Line 74: warning: exported function UpdateScreen should have comment or be unexported (golint)
    • Line 95: warning: exported function GetScreen should have comment or be unexported (golint)
    • Line 126: warning: exported function DeleteScreen should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/model/falcon_portal/mockcfg.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 20: warning: comment on exported type Mockcfg should be of the form "Mockcfg ..." (with optional leading article) (golint)
    • Line 35: warning: exported method Mockcfg.TableName should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/json/bytes.go
    • Line 10: warning: exported type Bytes16 should have comment or be unexported (golint)
    • Line 12: warning: comment on exported method Bytes16.MarshalJSON should be of the form "MarshalJSON ..." (golint)
    • Line 19: warning: comment on exported method Bytes16.UnmarshalJSON should be of the form "UnmarshalJSON ..." (golint)
    • Line 42: warning: exported method Bytes16.IsZero should have comment or be unexported (golint)
    • Line 52: warning: exported type VarBytes should have comment or be unexported (golint)
    • Line 54: warning: comment on exported method VarBytes.MarshalJSON should be of the form "MarshalJSON ..." (golint)
    • Line 63: warning: comment on exported method VarBytes.UnmarshalJSON should be of the form "UnmarshalJSON ..." (golint)
    • open-falcon-backend/modules/agent/plugins/scheduler.go
    • Line 19: warning: exported type PluginScheduler should have comment or be unexported (golint)
    • Line 25: warning: exported function NewPluginScheduler should have comment or be unexported (golint)
    • Line 32: warning: exported method PluginScheduler.Schedule should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method PluginScheduler.Stop should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 59: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 79: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 102: warning: exported function PluginRun should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/host/hostgroup_controller.go
    • Line 16: warning: exported function GetHostGroups should have comment or be unexported (golint)
    • Line 45: warning: exported type APICrateHostGroup should have comment or be unexported (golint)
    • Line 49: warning: exported function CrateHostGroup should have comment or be unexported (golint)
    • Line 69: warning: exported type APIBindHostToHostGroupInput should have comment or be unexported (golint)
    • Line 74: warning: exported function BindHostToHostGroup should have comment or be unexported (golint)
    • Line 130: warning: exported type APIUnBindAHostToHostGroup should have comment or be unexported (golint)
    • Line 135: warning: exported function UnBindAHostToHostGroup should have comment or be unexported (golint)
    • Line 168: warning: exported function DeleteHostGroup should have comment or be unexported (golint)
    • Line 225: warning: exported function GetHostGroup should have comment or be unexported (golint)
    • Line 260: warning: exported type APIBindTemplateToGroupInputs should have comment or be unexported (golint)
    • Line 265: warning: exported function BindTemplateToGroup should have comment or be unexported (golint)
    • Line 294: warning: exported type APIUnBindTemplateToGroupInputs should have comment or be unexported (golint)
    • Line 299: warning: exported function UnBindTemplateToGroup should have comment or be unexported (golint)
    • Line 328: warning: exported function GetTemplateOfHostGroup should have comment or be unexported (golint)
    • open-falcon-backend/common/json/uuid.go
    • Line 9: warning: exported type Uuid should have comment or be unexported (golint)
    • Line 11: warning: comment on exported method Uuid.MarshalJSON should be of the form "MarshalJSON ..." (golint)
    • Line 22: warning: comment on exported method Uuid.UnmarshalJSON should be of the form "UnmarshalJSON ..." (golint)
    • Line 46: warning: exported method Uuid.ToUuid should have comment or be unexported (golint)
    • open-falcon-backend/common/service/owl/group_tag_test.go
    • Line 46: warning: receiver name s should be consistent with previous receiver name suite for TestGroupTagSuite (golint)
    • Line 59: warning: receiver name s should be consistent with previous receiver name suite for TestGroupTagSuite (golint)
    • Line 72: warning: receiver name s should be consistent with previous receiver name suite for TestGroupTagSuite (golint)
    • Line 75: warning: receiver name s should be consistent with previous receiver name suite for TestGroupTagSuite (golint)
    • open-falcon-backend/modules/hbs/testing/lib.go
    • Line 13: warning: exported type RpcTestEnv should have comment or be unexported (golint)
    • Line 21: warning: exported function DefaultListenAndExecute should have comment or be unexported (golint)
    • Line 34: warning: exported method RpcTestEnv.ListenAndExecute should have comment or be unexported (golint)
    • open-falcon-backend/modules/alarm/cron/combine.go
    • Line 14: warning: exported function CombineSms should have comment or be unexported (golint)
    • Line 22: warning: exported function CombineMail should have comment or be unexported (golint)
    • Line 30: warning: exported function CombineQQ should have comment or be unexported (golint)
    • Line 37: warning: exported function CombineServerchan should have comment or be unexported (golint)
    • open-falcon-backend/modules/f2e-api/app/controller/expression/expression_controller.go
    • Line 16: warning: exported function GetExpressionList should have comment or be unexported (golint)
    • Line 44: warning: exported function GetExpression should have comment or be unexported (golint)
    • Line 72: warning: exported type APICreateExrpessionInput should have comment or be unexported (golint)
    • Line 85: warning: exported type ActionTmp should have comment or be unexported (golint)
    • Line 95: warning: exported method APICreateExrpessionInput.CheckFormat should have comment or be unexported (golint)
    • Line 95: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 107: warning: exported function CreateExrpession should have comment or be unexported (golint)
    • Line 160: warning: exported type APIUpdateExrpessionInput should have comment or be unexported (golint)
    • Line 173: warning: exported type ActionTmpU should have comment or be unexported (golint)
    • Line 183: warning: exported method APIUpdateExrpessionInput.CheckFormat should have comment or be unexported (golint)
    • Line 183: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 195: warning: exported function UpdateExrpession should have comment or be unexported (golint)
    • Line 271: warning: exported function DeleteExpression should have comment or be unexported (golint)
    • open-falcon-backend/common/compress/flate.go
    • Line 12: warning: comment on exported type FlateCompressor should be of the form "FlateCompressor ..." (with optional leading article) (golint)
    • Line 18: warning: exported function NewDefaultFlateCompressor should have comment or be unexported (golint)
    • Line 24: warning: exported method FlateCompressor.CompressString should have comment or be unexported (golint)
    • Line 52: warning: exported method FlateCompressor.DecompressToString should have comment or be unexported (golint)
    • Line 65: warning: exported method FlateCompressor.MustCompressString should have comment or be unexported (golint)
    • Line 73: warning: exported method FlateCompressor.MustDecompressToString should have comment or be unexported (golint)
    • open-falcon-backend/modules/query/gin_http/grafana/grafanaController.go
    • Line 17: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 21: warning: exported type GrafanaResp should have comment or be unexported (golint)
    • Line 26: warning: exported function ResultGen should have comment or be unexported (golint)
    • Line 55: warning: exported function GrafanaMain should have comment or be unexported (golint)
    • Line 140: warning: exported type GrafanaPostPrams should have comment or be unexported (golint)
    • Line 148: warning: exported function GetQueryTargets should have comment or be unexported (golint)
    • open-falcon-backend/scripts/mysql/dbpatch/go/changelog/changelog_test.go
    • Line 91: warning: receiver name s should be consistent with previous receiver name suite for ChangeLogSuite (golint)
    • Line 109: warning: receiver name s should be consistent with previous receiver name suite for ChangeLogSuite (golint)
    • Line 116: warning: receiver name s should be consistent with previous receiver name suite for ChangeLogSuite (golint)
    • Line 194: warning: receiver name s should be consistent with previous receiver name suite for ChangeLogSuite (golint)
    • open-falcon-backend/common/gorm/gorm_wrapper.go
    • Line 12: warning: exported type GormDbExt should have comment or be unexported (golint)
    • Line 19: warning: comment on exported type TxCallback should be of the form "TxCallback ..." (with optional leading article) (golint)
    • Line 24: warning: comment on exported type TxCallbackFunc should be of the form "TxCallbackFunc ..." (with optional leading article) (golint)
    • Line 27: warning: exported method TxCallbackFunc.InTx should have comment or be unexported (golint)
    • Line 31: warning: comment on exported type ErrorConverter should be of the form "ErrorConverter ..." (with optional leading article) (golint)
    • Line 34: warning: comment on exported method ErrorConverter.PanicIfDbError should be of the form "PanicIfDbError ..." (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: comment on exported method ErrorConverter.PanicIfError should be of the form "PanicIfError ..." (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 61: warning: comment on exported function ToGormDbExt should be of the form "ToGormDbExt ..." (golint)
    • Line 69: warning: comment on exported method GormDbExt.PanicIfError should be of the form "PanicIfError ..." (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 77: warning: exported method GormDbExt.IsRecordNotFound should have comment or be unexported (golint)
    • Line 77: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: comment on exported method GormDbExt.IfRecordNotFound should be of the form "IfRecordNotFound ..." (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: comment on exported method GormDbExt.IterateRows should be of the form "IterateRows ..." (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 112: warning: comment on exported method GormDbExt.Rows should be of the form "Rows ..." (golint)
    • Line 113: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 124: warning: comment on exported method GormDbExt.InTx should be of the form "InTx ..." (golint)
    • Line 125: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 156: warning: comment on exported method GormDbExt.SelectWithFoundRows should be of the form "SelectWithFoundRows ..." (golint)
    • Line 157: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 181: warning: comment on exported method GormDbExt.ScanRows should be of the form "ScanRows ..." (golint)
    • Line 182: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • open-falcon-backend/common/model/owl/schedule.go
    • Line 8: warning: exported type TaskStatus should have comment or be unexported (golint)
    • Line 11: warning: exported const JobDone should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported method TaskStatus.MarshalJSON should have comment or be unexported (golint)
    • Line 20: warning: exported method TaskStatus.UnmarshalJSON should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.

    • open-falcon-backend/modules/query/http/api.go
    • Line 332: warning: ineffectual assignment to data (ineffassign)
    • Line 353: warning: ineffectual assignment to nodes (ineffassign)
    • Line 601: warning: ineffectual assignment to item (ineffassign)
    • Line 720: warning: ineffectual assignment to timestamp (ineffassign)
    • Line 816: warning: ineffectual assignment to status (ineffassign)
    • Line 1014: warning: ineffectual assignment to timestamp (ineffassign)
    • Line 1045: warning: ineffectual assignment to seconds (ineffassign)
    • Line 1311: warning: ineffectual assignment to hostnames (ineffassign)
    • Line 1399: warning: ineffectual assignment to metrics (ineffassign)
    • Line 1417: warning: ineffectual assignment to dataOfHost (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!