Preparing report...

Report for github.com/amanhigh/go-fun

(v1.0.2)

A    Great!    Found 120 issues across 162 files

Tweet

gofmt100%

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

No problems detected. Good job!


go_vet100%

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

No problems detected. Good job!


gocyclo100%

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.

No problems detected. Good job!


golint27%

Golint is a linter for Go source code.

    • learn/frameworks/genny/template.go
    • Line 1: warning: package comment should be of the form "Package genny ..." (golint)
    • Line 10: warning: comment on exported type KeyType should be of the form "KeyType ..." (with optional leading article) (golint)
    • Line 12: warning: exported type ValueType should have comment or be unexported (golint)
    • Line 14: warning: exported type KeyTypeValueTypeMap should have comment or be unexported (golint)
    • Line 18: warning: exported method KeyTypeValueTypeMap.PrintType 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)
    • apps/common/tools/bash.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 14: warning: exported function RunCommandPrintError should have comment or be unexported (golint)
    • Line 17: 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 23: warning: exported function RunAsyncCommand should have comment or be unexported (golint)
    • Line 37: warning: exported function RunCommandIgnoreError should have comment or be unexported (golint)
    • Line 42: warning: exported function PrintCommand should have comment or be unexported (golint)
    • Line 51: warning: exported function RunIf should have comment or be unexported (golint)
    • Line 59: warning: exported function RunNotIf should have comment or be unexported (golint)
    • Line 75: warning: exported function LiveCommand should have comment or be unexported (golint)
    • learn/frameworks/stringer/pill.go
    • Line 5: warning: exported type Pill should have comment or be unexported (golint)
    • Line 8: warning: exported const Placebo should have comment (or a comment on this block) or be unexported (golint)
    • util/helper/test.go
    • Line 11: warning: exported function ReadCountInts should have comment or be unexported (golint)
    • Line 17: warning: exported function ReadMatrix should have comment or be unexported (golint)
    • Line 25: warning: exported function ReadMatrixWithDimensions should have comment or be unexported (golint)
    • apps/models/learn/safe_read.go
    • Line 7: warning: exported type SafeReadWrite 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 SafeReadWrite.Close 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: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • apps/components/kohan/core/version.go
    • Line 11: warning: exported function GetVersion should have comment or be unexported (golint)
    • Line 20: warning: exported function GetDpkgVersion should have comment or be unexported (golint)
    • Line 29: warning: exported function GetLatestVersion should have comment or be unexported (golint)
    • learn/concepts/algos/hackerrank/challenge/max_sub_array.go
    • Line 7: warning: comment on exported function MaxSubArray should be of the form "MaxSubArray ..." (golint)
    • Line 20: warning: comment on exported function KadensAlgorithm should be of the form "KadensAlgorithm ..." (golint)
    • Line 81: warning: comment on exported function MaxSubArrayBruteForce should be of the form "MaxSubArrayBruteForce ..." (golint)
    • apps/components/kohan/core/crawler/gamespot.go
    • Line 11: warning: exported type GamespotCrawler should have comment or be unexported (golint)
    • Line 15: warning: exported function NewGameSpotCrawler should have comment or be unexported (golint)
    • Line 20: warning: exported method GamespotCrawler.GatherLinks 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 31: warning: exported method GamespotCrawler.NextPageLink 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 GamespotCrawler.PrintSet 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 43: warning: exported method GamespotCrawler.GetTopPage 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)
    • apps/common/util/md5.go
    • Line 20: 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 function GetMD5Hash should have comment or be unexported (golint)
    • Line 31: warning: exported function Md5Checker should have comment or be unexported (golint)
    • apps/models/learn/frameworks/elastic_search.go
    • Line 5: warning: exported type Document should have comment or be unexported (golint)
    • Line 12: warning: exported type DocumentRequest should have comment or be unexported (golint)
    • Line 17: warning: exported type DocumentResponse should have comment or be unexported (golint)
    • Line 23: warning: exported type SearchResponse should have comment or be unexported (golint)
    • apps/common/tools/pssh.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported var FastPssh should have comment or be unexported (golint)
    • Line 13: warning: exported var NORMAL_PSSH should have comment or be unexported (golint)
    • Line 14: warning: exported var DisplayPssh should have comment or be unexported (golint)
    • Line 15: warning: exported var SlowPssh should have comment or be unexported (golint)
    • Line 17: warning: exported type Pssh should have comment or be unexported (golint)
    • Line 24: warning: exported method Pssh.Run 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)
    • Line 44: warning: exported method Pssh.RunRange 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 59: warning: exported function ExtractSubCluster should have comment or be unexported (golint)
    • Line 64: warning: exported function WriteClusterFile should have comment or be unexported (golint)
    • Line 69: warning: exported function ReadClusterFile should have comment or be unexported (golint)
    • Line 74: warning: exported function RemoveCluster should have comment or be unexported (golint)
    • Line 82: warning: exported function GetClusterHost should have comment or be unexported (golint)
    • Line 86: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 91: warning: exported function SearchCluster should have comment or be unexported (golint)
    • Line 102: warning: exported function SearchContent should have comment or be unexported (golint)
    • Line 110: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 113: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • apps/components/kohan/core/crawler/imdb.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 14: warning: exported type ImdbCrawler should have comment or be unexported (golint)
    • Line 21: warning: exported function NewImdbCrawler should have comment or be unexported (golint)
    • Line 39: warning: exported method ImdbCrawler.GetTopPage 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 50: warning: exported method ImdbCrawler.GatherLinks should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 71: warning: exported method ImdbCrawler.NextPageLink should have comment or be unexported (golint)
    • Line 71: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: exported method ImdbCrawler.PrintSet 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 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • learn/frameworks/orm/db/migrations/20170503165552_AddSomeColumns.go
    • Line 9: warning: comment on exported function Up_20170503165552 should be of the form "Up_20170503165552 ..." (golint)
    • Line 10: warning: don't use underscores in Go names; func Up_20170503165552 should be Up20170503165552 (golint)
    • Line 26: warning: comment on exported function Down_20170503165552 should be of the form "Down_20170503165552 ..." (golint)
    • Line 27: warning: don't use underscores in Go names; func Down_20170503165552 should be Down20170503165552 (golint)
    • util/interaction.go
    • Line 11: warning: exported function PromptInput should have comment or be unexported (golint)
    • Line 18: warning: exported function Confirm should have comment or be unexported (golint)
    • Line 25: warning: exported function NoConfirm should have comment or be unexported (golint)
    • Line 32: warning: exported function DisplayMenu 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 (move short variable declaration to its own line if necessary) (golint)
    • apps/models/crawler/game_info.go
    • Line 12: warning: exported type GameInfo should have comment or be unexported (golint)
    • Line 17: warning: exported method GameInfo.Print 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 GameInfo.GoodBad 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 28: warning: exported method GameInfo.ToUrl 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)
    • apps/models/crawler/imdb_info.go
    • Line 11: warning: exported type ImdbInfo should have comment or be unexported (golint)
    • Line 20: warning: exported method ImdbInfo.Print 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 ImdbInfo.GoodBad 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 30: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 32: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 37: warning: exported method ImdbInfo.ToUrl 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 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • learn/concepts/tutorial/crawler.go
    • Line 8: warning: exported type Fetcher should have comment or be unexported (golint)
    • Line 14: warning: exported type SafeMap should have comment or be unexported (golint)
    • Line 19: warning: exported method SafeMap.Add should have comment or be unexported (golint)
    • Line 25: warning: exported method SafeMap.Contains should have comment or be unexported (golint)
    • Line 32: warning: exported function StartCrawl should have comment or be unexported (golint)
    • apps/common/tools/sublime.go
    • Line 3: warning: exported const SUBLIME_APP should have comment or be unexported (golint)
    • Line 5: warning: exported function SublimeOpenFile should have comment or be unexported (golint)
    • learn/frameworks/libraries/go-generate.go
    • Line 10: warning: exported type Inner should have comment or be unexported (golint)
    • Line 14: warning: exported type Metadata should have comment or be unexported (golint)
    • Line 25: warning: exported type ToDo should have comment or be unexported (golint)
    • Line 30: warning: exported function GenerateFun should have comment or be unexported (golint)
    • apps/common/clients/http_client_instances.go
    • Line 10: warning: exported const DIAL_TIMEOUT should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported var DefaultHttpClientConfig should have comment or be unexported (golint)
    • Line 27: warning: exported var TestHttpClient should have comment or be unexported (golint)
    • apps/common/clients/http_client.go
    • Line 1: warning: package comment should be of the form "Package clients ..." (golint)
    • Line 30: warning: don't use underscores in Go names; const NON_2xx_RESPONSE should be NON2xxRESPONSE (golint)
    • Line 30: warning: exported const NON_2xx_RESPONSE should have comment or be unexported (golint)
    • Line 32: warning: exported type HttpClientInterface should have comment or be unexported (golint)
    • Line 46: warning: exported type HttpClient should have comment or be unexported (golint)
    • Line 52: warning: comment on exported function NewHttpClient should be of the form "NewHttpClient ..." (golint)
    • Line 87: warning: exported function NewHttpClientWithCookies should have comment or be unexported (golint)
    • Line 97: warning: comment on exported method HttpClient.DoGet should be of the form "DoGet ..." (golint)
    • Line 103: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 107: warning: comment on exported method HttpClient.DoPost should be of the form "DoPost ..." (golint)
    • Line 111: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 115: warning: comment on exported method HttpClient.DoPut should be of the form "DoPut ..." (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 123: warning: comment on exported method HttpClient.DoDelete should be of the form "DoDelete ..." (golint)
    • Line 127: 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 method HttpClient.DoGetWithTimeout should be of the form "DoGetWithTimeout ..." (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 138: warning: comment on exported method HttpClient.DoPostWithTimeout should be of the form "DoPostWithTimeout ..." (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 145: warning: comment on exported method HttpClient.DoPutWithTimeout should be of the form "DoPutWithTimeout ..." (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 152: warning: comment on exported method HttpClient.DoRequest should be of the form "DoRequest ..." (golint)
    • Line 155: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 192: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (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 226: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 229: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 235: warning: comment on exported method HttpClient.SetHeaderMap should be of the form "SetHeaderMap ..." (golint)
    • Line 238: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • learn/frameworks/http/stream_client.go
    • Line 12: warning: comment on exported type SseEvent should be of the form "SseEvent ..." (with optional leading article) (golint)
    • Line 44: warning: context.Context should be the first parameter of a function (golint)
    • Line 67: warning: context.Context should be the first parameter of a function (golint)
    • util/http_mock.go
    • Line 12: warning: comment on exported type MockHttpClientInterface should be of the form "MockHttpClientInterface ..." (with optional leading article) (golint)
    • Line 23: warning: exported function NewMockHttpClientInterface should have comment or be unexported (golint)
    • Line 29: warning: exported method MockHttpClientInterface.EXPECT should have comment or be unexported (golint)
    • Line 33: warning: exported method MockHttpClientInterface.DoGet should have comment or be unexported (golint)
    • Line 44: warning: exported method MockHttpClientInterface.DoPost should have comment or be unexported (golint)
    • Line 55: warning: exported method MockHttpClientInterface.DoPut should have comment or be unexported (golint)
    • Line 66: warning: exported method MockHttpClientInterface.DoDelete should have comment or be unexported (golint)
    • Line 77: warning: exported method MockHttpClientInterface.DoGetWithTimeout should have comment or be unexported (golint)
    • Line 88: warning: exported method MockHttpClientInterface.DoPostWithTimeout should have comment or be unexported (golint)
    • Line 99: warning: exported method MockHttpClientInterface.DoRequest should have comment or be unexported (golint)
    • Line 110: warning: exported method MockHttpClientInterface.AddHeader should have comment or be unexported (golint)
    • util/ds/queue.go
    • Line 3: warning: exported type Queue should have comment or be unexported (golint)
    • Line 8: warning: exported function NewQueue should have comment or be unexported (golint)
    • Line 15: warning: exported method Queue.Enqueue 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 19: warning: exported method Queue.Dequeue 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 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 Queue.Peek 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)
    • util/ds/stack.go
    • Line 3: warning: exported type Stack should have comment or be unexported (golint)
    • Line 7: warning: exported function NewStack should have comment or be unexported (golint)
    • Line 13: warning: exported method Stack.Push 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 Stack.Pop 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 28: warning: exported method Stack.Peek 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 38: warning: exported method Stack.IsEmpty 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)
    • util/io.go
    • Line 11: warning: comment on exported function ReadInts should be of the form "ReadInts ..." (golint)
    • Line 24: warning: exported function ReadStrings should have comment or be unexported (golint)
    • Line 32: warning: exported function ReadInt should have comment or be unexported (golint)
    • Line 38: warning: exported function NewStringScanner should have comment or be unexported (golint)
    • Line 44: warning: exported function NewFileScanner should have comment or be unexported (golint)
    • util/cipher.go
    • Line 13: warning: error var CIPHER_TOO_SHORT should have name of the form ErrFoo (golint)
    • Line 13: warning: exported var CIPHER_TOO_SHORT should have comment or be unexported (golint)
    • Line 16: warning: exported function Encrypt should have comment or be unexported (golint)
    • Line 38: warning: exported function Decrypt should have comment or be unexported (golint)
    • util/fs.go
    • Line 14: warning: exported const DEFAULT_PERM should have comment or be unexported (golint)
    • Line 15: warning: exported const DIR_DEFAULT_PERM should have comment or be unexported (golint)
    • Line 21: warning: exported function AppendFile should have comment or be unexported (golint)
    • Line 32: warning: exported function ReadAllFiles should have comment or be unexported (golint)
    • Line 41: warning: exported function ReadFileMap should have comment or be unexported (golint)
    • Line 51: warning: exported function FindReplaceFile should have comment or be unexported (golint)
    • Line 63: warning: exported function PrintFile should have comment or be unexported (golint)
    • Line 68: warning: exported function ListFiles should have comment or be unexported (golint)
    • Line 81: warning: exported function ReplaceContent should have comment or be unexported (golint)
    • Line 94: warning: comment on exported function ReadAllLines should be of the form "ReadAllLines ..." (golint)
    • Line 109: warning: exported function WriteLines should have comment or be unexported (golint)
    • Line 114: warning: exported function PathExists should have comment or be unexported (golint)
    • Line 123: warning: exported function RecreateDir should have comment or be unexported (golint)
    • Line 128: warning: exported function ClearDirectory should have comment or be unexported (golint)
    • learn/concepts/tutorial/go_tour.go
    • Line 17: warning: don't use underscores in Go names; var second_global should be secondGlobal (golint)
    • Line 25: warning: comment on exported const Big should be of the form "Big ..." (golint)
    • Line 28: warning: comment on exported const Small should be of the form "Small ..." (golint)
    • Line 32: warning: exported type Day should have comment or be unexported (golint)
    • Line 35: warning: exported const MONDAY should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported type Vertex should have comment or be unexported (golint)
    • Line 52: warning: exported function GoTour should have comment or be unexported (golint)
    • Line 92: warning: don't use underscores in Go names; func parameter convert_function should be convertFunction (golint)
    • Line 146: warning: comment on exported function Pic should be of the form "Pic ..." (golint)
    • Line 196: warning: exported function WordCount should have comment or be unexported (golint)
    • Line 362: warning: exported type Abser should have comment or be unexported (golint)
    • Line 366: warning: exported method Vertex.Abs should have comment or be unexported (golint)
    • Line 449: warning: exported type ErrNegativeSqrt should have comment or be unexported (golint)
    • apps/components/kohan/core/sanity.go
    • Line 13: warning: should not use dot imports (golint)
    • Line 18: warning: exported var SECOND_REGEX should have comment or be unexported (golint)
    • Line 20: warning: exported const MIN_SECOND should have comment or be unexported (golint)
    • Line 22: warning: exported function ClusterSanity should have comment or be unexported (golint)
    • Line 33: warning: exported function VersionCheck should have comment or be unexported (golint)
    • Line 48: warning: exported function VerifyStatus should have comment or be unexported (golint)
    • Line 79: warning: exported function VerifyNetworkParameters should have comment or be unexported (golint)
    • learn/concepts/algos/hackerrank/cracking/tries.go
    • Line 3: warning: exported type Node should have comment or be unexported (golint)
    • Line 8: warning: exported function NewNode should have comment or be unexported (golint)
    • Line 14: warning: exported function Add should have comment or be unexported (golint)
    • Line 33: warning: comment on exported function Find should be of the form "Find ..." (golint)
    • apps/common/metrics/gin_metrics.go
    • Line 12: warning: comment on exported function MatchedPath should be of the form "MatchedPath ..." (golint)
    • Line 23: warning: comment on exported function AccessMetrics should be of the form "AccessMetrics ..." (golint)
    • learn/concepts/algos/sort/quick.go
    • Line 3: warning: comment on exported function QuickSort should be of the form "QuickSort ..." (golint)
    • Line 29: warning: comment on exported function Partition should be of the form "Partition ..." (golint)
    • apps/components/fun-app/handlers/PersonHandler.go
    • Line 13: warning: exported type PersonHandler should have comment or be unexported (golint)
    • Line 20: warning: exported method PersonHandler.CreatePerson 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 39: warning: exported method PersonHandler.GetAllPerson 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 PersonHandler.DeletePersons 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)
    • apps/components/kohan/core/helper.go
    • Line 13: warning: exported function Printf should have comment or be unexported (golint)
    • Line 28: warning: comment on exported function ReformatInvestingFile should be of the form "ReformatInvestingFile ..." (golint)
    • apps/common/clients/jenkins.go
    • Line 14: warning: exported type JenkinsClientInterface should have comment or be unexported (golint)
    • Line 19: warning: exported type JenkinsClient should have comment or be unexported (golint)
    • Line 31: warning: exported method JenkinsClient.Build 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 36: warning: exported method JenkinsClient.Status 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)
    • util/config.go
    • Line 9: warning: comment on exported const CLUSTER_PATH should be of the form "CLUSTER_PATH ..." (golint)
    • Line 11: warning: exported const OUTPUT_PATH should have comment or be unexported (golint)
    • Line 12: warning: exported const ERROR_PATH should have comment or be unexported (golint)
    • Line 13: warning: exported const CONSOLE_FILE should have comment or be unexported (golint)
    • Line 15: warning: exported const RELEASE_FILE should have comment or be unexported (golint)
    • Line 16: warning: exported const DEFAULT_PARALELISM should have comment or be unexported (golint)
    • Line 18: warning: exported const DEBUG_FILE should have comment or be unexported (golint)
    • Line 20: warning: exported var KOHAN_DEBUG should have comment or be unexported (golint)
    • Line 22: warning: exported function DebugControl should have comment or be unexported (golint)
    • Line 33: warning: exported function IsDebugMode should have comment or be unexported (golint)
    • apps/components/fun-app/handlers/Server.go
    • Line 15: warning: exported type FunServer 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 39: warning: exported method FunServer.Start 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)
    • apps/components/kohan/core/crawler/crawler.go
    • Line 15: warning: should not use dot imports (golint)
    • Line 20: warning: exported const GOOD_URL_FILE should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported type Crawler should have comment or be unexported (golint)
    • Line 32: warning: exported type CrawlSet should have comment or be unexported (golint)
    • Line 36: warning: exported method CrawlSet.Add 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 CrawlSet.ToUrl 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 CrawlSet.Size 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 52: warning: exported type CrawlerManager should have comment or be unexported (golint)
    • Line 71: warning: exported function NewCrawlerManager should have comment or be unexported (golint)
    • Line 81: warning: exported method CrawlerManager.Crawl 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)
    • Line 100: warning: exported method CrawlerManager.BuildSet 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 118: warning: exported method CrawlerManager.PrintSet should have comment or be unexported (golint)
    • Line 118: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 146: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • util/helper/tmp.go
    • Line 12: warning: exported const TEMP_CURL_FILE should have comment or be unexported (golint)
    • Line 14: warning: exported function WriteTempCurl should have comment or be unexported (golint)
    • Line 18: warning: exported function RunTempCurlCommand should have comment or be unexported (golint)
    • Line 22: warning: exported function PrintTempCurlCommand should have comment or be unexported (golint)
    • Line 29: warning: exported function GetAbsoluteLink should have comment or be unexported (golint)
    • apps/models/config/common.go
    • Line 10: warning: exported type Server should have comment or be unexported (golint)
    • Line 15: warning: exported method Server.GetUrl 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 19: warning: exported type Vault should have comment or be unexported (golint)
    • Line 24: warning: exported type Db should have comment or be unexported (golint)
    • Line 33: warning: exported type HttpClientConfig should have comment or be unexported (golint)
    • Line 46: warning: exported type ZoneMap should have comment or be unexported (golint)
    • Line 48: warning: exported method ZoneMap.GetUrl 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 51: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apps/components/kohan/core/ansible.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported function MergeMux should have comment or be unexported (golint)
    • Line 25: warning: exported function BuildSplitMap should have comment or be unexported (golint)
    • Line 46: warning: exported function SplitAnsibleConfig should have comment or be unexported (golint)
    • Line 59: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • apps/common/tools/curl.go
    • Line 10: warning: exported const TIMEOUT should have comment or be unexported (golint)
    • Line 13: warning: exported const CURL_METHOD_GET should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported function Jcurl should have comment or be unexported (golint)
    • Line 31: warning: exported function CurlGet should have comment or be unexported (golint)
    • Line 36: warning: exported function CurlPut should have comment or be unexported (golint)
    • Line 41: warning: exported function Curl should have comment or be unexported (golint)
    • Line 50: warning: exported function ContentPiperSplit should have comment or be unexported (golint)
    • Line 55: warning: exported function ContentPiper should have comment or be unexported (golint)
    • apps/common/util/db.go
    • Line 12: warning: exported function CreateDbConnection should have comment or be unexported (golint)
    • Line 28: warning: exported function CreateTestDb should have comment or be unexported (golint)
    • util/rand.go
    • Line 8: warning: exported function RandomInts should have comment or be unexported (golint)
    • Line 15: warning: exported function RandomInt should have comment or be unexported (golint)
    • Line 19: warning: exported function SeedRandom should have comment or be unexported (golint)
    • util/validate.go
    • Line 8: warning: exported function Verify should have comment or be unexported (golint)
    • Line 17: warning: exported function ValidateEnumArg should have comment or be unexported (golint)
    • Line 19: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • apps/models/crawler/link.go
    • Line 11: warning: exported type LinkInfo should have comment or be unexported (golint)
    • Line 15: warning: exported method LinkInfo.Print 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 19: warning: exported method LinkInfo.GoodBad 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 LinkInfo.ToUrl 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)
    • apps/common/tools/mysql.go
    • Line 5: warning: exported function RunRootQuery should have comment or be unexported (golint)
    • Line 10: warning: exported function RunScript should have comment or be unexported (golint)
    • Line 20: warning: exported function RunQuery should have comment or be unexported (golint)
    • learn/frameworks/orm/orm-fun.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 Product should have comment or be unexported (golint)
    • Line 32: warning: exported type AuditLog should have comment or be unexported (golint)
    • Line 38: warning: exported type Feature should have comment or be unexported (golint)
    • Line 44: warning: comment on exported method Product.TableName should be of the form "TableName ..." (golint)
    • Line 49: warning: exported method Product.BeforeCreate should have comment or be unexported (golint)
    • Line 49: warning: receiver name u should be consistent with previous receiver name p for Product (golint)
    • Line 57: warning: exported method Product.BeforeUpdate should have comment or be unexported (golint)
    • Line 57: warning: receiver name u should be consistent with previous receiver name p for Product (golint)
    • Line 65: warning: exported method Feature.BeforeCreate should have comment or be unexported (golint)
    • Line 73: warning: comment on exported method Feature.BeforeDelete should be of the form "BeforeDelete ..." (golint)
    • Line 93: warning: exported method Product.AfterFind should have comment or be unexported (golint)
    • Line 101: warning: exported function OrmFun should have comment or be unexported (golint)
    • Line 196: warning: exported function TruncateTable should have comment or be unexported (golint)
    • apps/common/tools/sshfs.go
    • Line 10: warning: exported function SshfsMount should have comment or be unexported (golint)
    • Line 16: warning: exported function SshfsUnmount should have comment or be unexported (golint)
    • learn/concepts/algos/hackerrank/challenge/max_sub_square.go
    • Line 7: warning: comment on exported function MaximumSumSubRectangle should be of the form "MaximumSumSubRectangle ..." (golint)
    • Line 14: warning: comment on exported function MaximumSumSubRectangleSmart should be of the form "MaximumSumSubRectangleSmart ..." (golint)
    • Line 42: warning: comment on exported function MaximumSumSubRectangleBruteForce should be of the form "MaximumSumSubRectangleBruteForce ..." (golint)
    • Line 66: warning: comment on exported function SumSquare should be of the form "SumSquare ..." (golint)
    • apps/components/fun-app/handlers/AdminHandler.go
    • Line 9: warning: exported type AdminHandler should have comment or be unexported (golint)
    • Line 13: warning: exported method AdminHandler.Stop 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)
    • apps/common/tools/git.go
    • Line 5: warning: exported function GetBranch should have comment or be unexported (golint)
    • Line 10: warning: exported function GitCommit should have comment or be unexported (golint)
    • Line 14: warning: exported function GitPush should have comment or be unexported (golint)
    • Line 18: warning: exported function GitReset should have comment or be unexported (golint)
    • Line 22: warning: exported function GitDiff should have comment or be unexported (golint)
    • Line 26: warning: exported function GetHeadCommit should have comment or be unexported (golint)
    • learn/concepts/algos/hackerrank/cracking/shortest_reach.go
    • Line 10: warning: exported type GraphNode should have comment or be unexported (golint)
    • Line 16: warning: exported const EDGE_WAIT should have comment or be unexported (golint)
    • Line 55: warning: comment on exported function PrintDistances should be of the form "PrintDistances ..." (golint)
    • Line 68: warning: comment on exported function Travel should be of the form "Travel ..." (golint)
    • Line 84: warning: comment on exported function GenerateNodes should be of the form "GenerateNodes ..." (golint)
    • learn/concepts/algos/hackerrank/cracking/small.go
    • Line 3: warning: exported function LeftRotate should have comment or be unexported (golint)
    • Line 17: warning: exported function Fibonacci should have comment or be unexported (golint)
    • Line 22: warning: exported function FibonacciRecursive should have comment or be unexported (golint)
    • Line 35: warning: comment on exported function FindLonely should be of the form "FindLonely ..." (golint)
    • Line 54: warning: comment on exported function KangarooMeet should be of the form "KangarooMeet ..." (golint)
    • Line 73: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • apps/components/fun-app/common/FunAppInjector.go
    • Line 23: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 28: warning: exported const APP_LOG should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type FunAppInjector should have comment or be unexported (golint)
    • Line 38: warning: exported function NewFunAppInjector should have comment or be unexported (golint)
    • Line 42: warning: exported method FunAppInjector.BuildApp 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)
    • learn/frameworks/libraries/inject.go
    • Line 9: warning: exported type RedisClient should have comment or be unexported (golint)
    • Line 13: warning: exported type DatabaseClient should have comment or be unexported (golint)
    • Line 17: warning: exported type MyComponent should have comment or be unexported (golint)
    • Line 22: warning: exported type MyApplication should have comment or be unexported (golint)
    • Line 28: warning: comment on exported function DependencyInjection should be of the form "DependencyInjection ..." (golint)
    • learn/frameworks/security/jwt.go
    • Line 15: warning: exported function JwtFun should have comment or be unexported (golint)
    • Line 47: warning: exported function GenerateToken should have comment or be unexported (golint)
    • Line 63: warning: exported function MarshalPublicKey should have comment or be unexported (golint)
    • Line 76: warning: exported function MarshalPrivateKey should have comment or be unexported (golint)
    • Line 87: warning: exported function UnmarshalRSAPublicKey should have comment or be unexported (golint)
    • Line 103: warning: exported function UnmarshalRSAPrivateKey should have comment or be unexported (golint)
    • util/echo.go
    • Line 5: warning: exported function PrintRed should have comment or be unexported (golint)
    • Line 9: warning: exported function PrintGreen should have comment or be unexported (golint)
    • Line 13: warning: exported function PrintYellow should have comment or be unexported (golint)
    • Line 17: warning: exported function PrintBlue should have comment or be unexported (golint)
    • Line 21: warning: exported function PrintSkyBlue should have comment or be unexported (golint)
    • Line 25: warning: exported function PrintPink should have comment or be unexported (golint)
    • Line 29: warning: exported function PrintWhite should have comment or be unexported (golint)
    • Line 33: warning: exported function PrintColor should have comment or be unexported (golint)
    • learn/concepts/algos/hackerrank/cracking/median_finder.go
    • Line 3: warning: should not use dot imports (golint)
    • Line 5: warning: comment on exported type MedianFinder should be of the form "MedianFinder ..." (with optional leading article) (golint)
    • Line 13: warning: exported function NewMedianFinder 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 25: warning: if block ends with a return statement, so drop this else and outdent its block (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 33: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 38: warning: exported method MedianFinder.Add should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: 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 MedianFinder.GetMedian 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 62: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • util/helper/search.go
    • Line 8: warning: exported function YoutubeSearch should have comment or be unexported (golint)
    • Line 12: warning: exported function YtsSearch should have comment or be unexported (golint)
    • Line 16: warning: exported function HotStarSearch should have comment or be unexported (golint)
    • Line 20: warning: exported function TSearch should have comment or be unexported (golint)
    • util/collection.go
    • Line 3: warning: exported function SliceContains should have comment or be unexported (golint)
    • Line 12: warning: exported function SliceMinus should have comment or be unexported (golint)
    • util/helpers.go
    • Line 8: warning: exported function ReplaceRegEx should have comment or be unexported (golint)
    • Line 13: warning: exported function FilterEmptyLines should have comment or be unexported (golint)
    • Line 23: warning: exported function GoGrep should have comment or be unexported (golint)
    • util/ds/Heap.go
    • Line 3: warning: comment on exported type Heap should be of the form "Heap ..." (with optional leading article) (golint)
    • Line 12: warning: exported function NewMinHeap should have comment or be unexported (golint)
    • Line 24: warning: exported function NewMaxHeap 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 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: 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 Heap.Size 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: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 Heap.Add 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)
    • Line 88: warning: exported method Heap.Poll should have comment or be unexported (golint)
    • Line 88: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 100: warning: exported method Heap.Peek 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 107: 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)
    • apps/common/util/type.go
    • Line 10: warning: exported function IsInt should have comment or be unexported (golint)
    • Line 12: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 17: warning: exported function ParseInt should have comment or be unexported (golint)
    • Line 19: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 24: warning: exported function ReverseArray should have comment or be unexported (golint)
    • learn/frameworks/gotest/json.go
    • Line 1: warning: package comment should be of the form "Package gotest ..." (golint)
    • Line 8: warning: exported type PersonEncoder should have comment or be unexported (golint)
    • Line 31: warning: exported function DoSomething should have comment or be unexported (golint)
    • util/type.go
    • Line 12: warning: exported function ParseFloat should have comment or be unexported (golint)
    • Line 26: warning: exported function ParseInt should have comment or be unexported (golint)
    • Line 28: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • apps/common/metrics/gin_context.go
    • Line 10: warning: comment on exported function RequestId should be of the form "RequestId ..." (golint)
    • Line 18: warning: comment on exported type ContextLogHook should be of the form "ContextLogHook ..." (with optional leading article) (golint)
    • Line 24: warning: exported method ContextLogHook.Levels should have comment or be unexported (golint)
    • Line 28: warning: comment on exported method ContextLogHook.Fire should be of the form "Fire ..." (golint)
    • apps/common/tools/r.go
    • Line 5: warning: exported var R_STAT_FILE should have comment or be unexported (golint)
    • Line 7: warning: exported function StatSummary should have comment or be unexported (golint)
    • apps/common/tools/scp.go
    • Line 9: warning: exported function Sync should have comment or be unexported (golint)
    • Line 18: warning: exported function SudoScp should have comment or be unexported (golint)
    • learn/frameworks/libraries/vault/VaultClient.go
    • Line 9: warning: exported type VaultClientInterface should have comment or be unexported (golint)
    • Line 16: warning: exported type VaultClient should have comment or be unexported (golint)
    • Line 20: warning: exported function NewVaultClient should have comment or be unexported (golint)
    • Line 31: warning: comment on exported method VaultClient.GenerateKey should be of the form "GenerateKey ..." (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 48: warning: exported method VaultClient.GetKey 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 53: warning: exported method VaultClient.ExportKey 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 59: warning: exported method VaultClient.RotateKey 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)
    • apps/components/kohan/core/crawler/hub.go
    • Line 11: warning: exported type HubCrawler should have comment or be unexported (golint)
    • Line 15: warning: exported function NewHubCrawler should have comment or be unexported (golint)
    • Line 20: warning: exported method HubCrawler.GatherLinks 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 29: warning: exported method HubCrawler.NextPageLink 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: exported method HubCrawler.PrintSet 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 41: warning: exported method HubCrawler.GetTopPage 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)
    • util/time.go
    • Line 8: warning: comment on exported const PRINT_LAYOUT should be of the form "PRINT_LAYOUT ..." (golint)
    • Line 10: warning: exported const SLASH_MILLISECOND_LAYOUT should have comment or be unexported (golint)
    • Line 12: warning: exported function FormatTime should have comment or be unexported (golint)
    • Line 16: warning: exported function TimeAgo should have comment or be unexported (golint)
    • Line 20: warning: exported function TimeAfter should have comment or be unexported (golint)
    • Line 24: warning: comment on exported function DaysHour should be of the form "DaysHour ..." (golint)
    • apps/common/util/html.go
    • Line 15: warning: exported const HREF should have comment or be unexported (golint)
    • Line 17: warning: exported type Page should have comment or be unexported (golint)
    • Line 21: warning: exported function NewPageUsingClient should have comment or be unexported (golint)
    • Line 38: warning: exported function NewPage should have comment or be unexported (golint)
    • Line 41: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 47: warning: exported method Page.ParseAnchor 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 56: warning: exported function ParseCookies should have comment or be unexported (golint)
    • apps/components/fun-app/manager/PersonManager.go
    • Line 10: warning: exported type PersonManagerInterface should have comment or be unexported (golint)
    • Line 17: warning: exported type PersonManager should have comment or be unexported (golint)
    • Line 21: warning: exported method PersonManager.CreatePerson 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 35: warning: exported method PersonManager.GetAllPersons 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 40: warning: exported method PersonManager.DeletePerson 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)
    • apps/common/util/grace.go
    • Line 10: warning: exported type GracefullShutdown should have comment or be unexported (golint)
    • Line 14: warning: exported function NewGracefulShutdown should have comment or be unexported (golint)
    • Line 18: warning: exported method GracefullShutdown.Wait 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 30: warning: exported method GracefullShutdown.Stop 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)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license0%

Checks whether your project has a LICENSE file.


misspell93%

Misspell Finds commonly misspelled English words