Preparing report...

Report for github.com/delving/hub3

A+    Excellent!    Found 129 issues across 294 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!


gocyclo94%

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.

    • hub3/hub3/ead/triples.go
    • Line 132: warning: cyclomatic complexity 27 of function (*Cc).Triples() is high (> 15) (gocyclo)
    • Line 37: warning: cyclomatic complexity 22 of function (*Cdid).Triples() is high (> 15) (gocyclo)
    • hub3/hub3/ead/ead.go
    • Line 502: warning: cyclomatic complexity 21 of function NewNode() is high (> 15) (gocyclo)
    • Line 390: warning: cyclomatic complexity 17 of function (*Cdid).NewHeader() is high (> 15) (gocyclo)
    • hub3/hub3/fragments/api.go
    • Line 128: warning: cyclomatic complexity 90 of function NewSearchRequest() is high (> 15) (gocyclo)
    • Line 721: warning: cyclomatic complexity 42 of function (*SearchRequest).ElasticQuery() is high (> 15) (gocyclo)
    • Line 1116: warning: cyclomatic complexity 32 of function (*SearchRequest).ElasticSearchService() is high (> 15) (gocyclo)
    • Line 1779: warning: cyclomatic complexity 23 of function DecodeFacets() is high (> 15) (gocyclo)
    • Line 1494: warning: cyclomatic complexity 21 of function (*QueryFilter).ElasticFilter() is high (> 15) (gocyclo)
    • Line 484: warning: cyclomatic complexity 21 of function (FacetURIBuilder).CreateFacetFilterURI() is high (> 15) (gocyclo)
    • hub3/hub3/fragments/resource.go
    • Line 1415: warning: cyclomatic complexity 28 of function (*FragmentGraph).NewFields() is high (> 15) (gocyclo)
    • Line 1609: warning: cyclomatic complexity 26 of function (*ResultSummary).AddEntry() is high (> 15) (gocyclo)
    • Line 778: warning: cyclomatic complexity 20 of function (*FragmentEntry).NewResourceEntry() is high (> 15) (gocyclo)
    • Line 571: warning: cyclomatic complexity 17 of function (*TreePageEntry).CreateTreePage() is high (> 15) (gocyclo)
    • hub3/hub3/fragments/v1.go
    • Line 462: warning: cyclomatic complexity 19 of function (*FragmentBuilder).CleanWebResourceGraph() is high (> 15) (gocyclo)
    • Line 540: warning: cyclomatic complexity 17 of function (*FragmentBuilder).GetSortedWebResources() is high (> 15) (gocyclo)
    • hub3/hub3/ead/search.go
    • Line 396: warning: cyclomatic complexity 49 of function PerformClusteredSearch() is high (> 15) (gocyclo)
    • Line 713: warning: cyclomatic complexity 27 of function PerformDetailSearch() is high (> 15) (gocyclo)
    • Line 148: warning: cyclomatic complexity 27 of function newSearchRequest() is high (> 15) (gocyclo)
    • hub3/hub3/ead/description.go
    • Line 207: warning: cyclomatic complexity 48 of function (*itemBuilder).push() is high (> 15) (gocyclo)
    • Line 754: warning: cyclomatic complexity 22 of function (*FindingAid).AddUnit() is high (> 15) (gocyclo)

golint57%

Golint is a linter for Go source code.

    • hub3/ikuzo/service/x/bulk/parser.go
    • Line 41: warning: exported type Parser should have comment or be unexported (golint)
    • Line 53: warning: exported method Parser.Parse should have comment or be unexported (golint)
    • Line 251: warning: exported method Parser.Publish should have comment or be unexported (golint)
    • Line 346: warning: exported type Stats should have comment or be unexported (golint)
    • hub3/ikuzo/storage/x/ginger/handler.go
    • Line 9: warning: exported type Hit should have comment or be unexported (golint)
    • Line 13: warning: exported type Source should have comment or be unexported (golint)
    • Line 18: warning: exported type System should have comment or be unexported (golint)
    • Line 25: warning: exported type AuthKey should have comment or be unexported (golint)
    • Line 88: warning: exported function GetRoutes should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/harvest/service.go
    • Line 10: warning: exported var ErrNoMatch should have comment or be unexported (golint)
    • Line 13: warning: exported type Item should have comment or be unexported (golint)
    • Line 19: warning: exported type Page should have comment or be unexported (golint)
    • Line 25: warning: exported type Service should have comment or be unexported (golint)
    • Line 30: warning: exported type Query should have comment or be unexported (golint)
    • Line 35: warning: exported method Query.Valid should have comment or be unexported (golint)
    • hub3/hub3/models/dataset.go
    • Line 41: warning: exported var ErrUnexpectedResponse should have comment or be unexported (golint)
    • Line 223: warning: comment on exported function DeleteDataSet should be of the form "DeleteDataSet ..." (golint)
    • Line 224: warning: context.Context should be the first parameter of a function (golint)
    • hub3/ikuzo/service/x/index/service.go
    • Line 39: warning: exported type BulkIndex should have comment or be unexported (golint)
    • Line 43: warning: exported type Metrics should have comment or be unexported (golint)
    • Line 56: warning: exported type Service should have comment or be unexported (golint)
    • Line 67: warning: exported function NewService should have comment or be unexported (golint)
    • Line 95: warning: exported method Service.Publish should have comment or be unexported (golint)
    • Line 125: warning: exported method Service.Metrics should have comment or be unexported (golint)
    • Line 133: warning: exported method Service.Shutdown should have comment or be unexported (golint)
    • Line 158: warning: exported method Service.Start should have comment or be unexported (golint)
    • Line 405: warning: exported method Service.BulkIndexStats should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/search/spellchecker.go
    • Line 21: warning: exported type SpellCheckOption should have comment or be unexported (golint)
    • Line 23: warning: exported type SpellChecker should have comment or be unexported (golint)
    • Line 30: warning: exported function NewSpellCheck should have comment or be unexported (golint)
    • Line 52: warning: exported method SpellChecker.Train should have comment or be unexported (golint)
    • Line 64: warning: exported method SpellChecker.SetCount should have comment or be unexported (golint)
    • Line 72: warning: comment on exported method SpellChecker.SpellCheck should be of the form "SpellCheck ..." (golint)
    • Line 81: warning: comment on exported method SpellChecker.SpellCheckSuggestions should be of the form "SpellCheckSuggestions ..." (golint)
    • Line 90: warning: exported function SetSuggestDepth should have comment or be unexported (golint)
    • Line 96: warning: exported function SetThreshold should have comment or be unexported (golint)
    • hub3/hub3/fragments/fragments.go
    • Line 143: warning: exported method FragmentRequest.BuildQuery should have comment or be unexported (golint)
    • Line 236: warning: comment on exported method Fragment.IndexMessage should be of the form "IndexMessage ..." (golint)
    • hub3/config/config.go
    • Line 66: warning: exported type DataSets should have comment or be unexported (golint)
    • Line 128: warning: exported method ElasticSearch.GetV1IndexName should have comment or be unexported (golint)
    • Line 132: warning: exported method ElasticSearch.GetDigitalObjectIndexName should have comment or be unexported (golint)
    • Line 173: warning: exported method RDF.HasStoreTag should have comment or be unexported (golint)
    • Line 383: warning: exported function SetCfgFile should have comment or be unexported (golint)
    • Line 510: warning: exported method RawConfig.IsDataNode should have comment or be unexported (golint)
    • hub3/hub3/ead/dao.go
    • Line 29: warning: exported type DaoClient should have comment or be unexported (golint)
    • Line 35: warning: exported function NewDaoClient should have comment or be unexported (golint)
    • Line 47: warning: exported method DaoClient.GetDigitalObjectCount should have comment or be unexported (golint)
    • Line 113: warning: exported method DaoClient.PublishFindingAid should have comment or be unexported (golint)
    • Line 183: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 192: warning: exported method DaoClient.StoreMets should have comment or be unexported (golint)
    • Line 246: warning: exported method DaoClient.DefaultDaoFn should have comment or be unexported (golint)
    • Line 294: warning: exported method DaoClient.Delete should have comment or be unexported (golint)
    • Line 313: warning: comment on exported method DaoClient.HandleDelete should be of the form "HandleDelete ..." (golint)
    • Line 352: warning: exported type DaoConfig should have comment or be unexported (golint)
    • Line 461: warning: exported method DaoConfig.Mets should have comment or be unexported (golint)
    • Line 465: warning: exported method DaoConfig.FindingAid should have comment or be unexported (golint)
    • Line 637: warning: exported function GetDaoConfig should have comment or be unexported (golint)
    • hub3/hub3/ead/parser.go
    • Line 36: warning: exported type BulkIndex should have comment or be unexported (golint)
    • Line 71: warning: exported type CLevel should have comment or be unexported (golint)
    • Line 76: warning: exported method Cc.GetXMLName should have comment or be unexported (golint)
    • Line 77: warning: exported method Cc.GetAttrlevel should have comment or be unexported (golint)
    • Line 78: warning: exported method Cc.GetAttrotherlevel should have comment or be unexported (golint)
    • Line 79: warning: exported method Cc.GetAttraltrender should have comment or be unexported (golint)
    • Line 80: warning: exported method Cc.GetCaccessrestrict should have comment or be unexported (golint)
    • Line 81: warning: exported method Cc.GetCdid should have comment or be unexported (golint)
    • Line 82: warning: exported method Cc.GetScopeContent should have comment or be unexported (golint)
    • Line 83: warning: exported method Cc.GetOdd should have comment or be unexported (golint)
    • Line 84: warning: exported method Cc.GetPhystech should have comment or be unexported (golint)
    • Line 85: warning: exported method Cc.GetNested should have comment or be unexported (golint)
    • Line 93: warning: exported method Cc.GetCc should have comment or be unexported (golint)
    • Line 95: warning: exported method Cc.GetGenreform should have comment or be unexported (golint)
    • Line 105: warning: exported method Cc.GetMaterial should have comment or be unexported (golint)
    • Line 311: warning: exported method Carchdesc.GetAbstract should have comment or be unexported (golint)
    • Line 319: warning: exported method Carchdesc.GetPeriods should have comment or be unexported (golint)
    • Line 333: warning: exported method Carchdesc.GetNormalPeriods should have comment or be unexported (golint)
    • Line 371: warning: exported method Cunittitle.Title should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/oaipmh/harvest.go
    • Line 21: warning: exported const VerbListRecords should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type HarvestInfo should have comment or be unexported (golint)
    • Line 33: warning: exported type HarvestCallback should have comment or be unexported (golint)
    • Line 35: warning: exported type HarvestMetrics should have comment or be unexported (golint)
    • Line 46: warning: exported type HarvestTask should have comment or be unexported (golint)
    • Line 111: warning: exported method HarvestTask.BuildRequest should have comment or be unexported (golint)
    • Line 124: warning: exported method HarvestTask.GetPage should have comment or be unexported (golint)
    • Line 254: warning: exported method HarvestTask.Harvest should have comment or be unexported (golint)
    • hub3/ikuzo/storage/x/memory/text_query.go
    • Line 29: warning: exported type TextQuery should have comment or be unexported (golint)
    • Line 37: warning: exported function NewTextQuery should have comment or be unexported (golint)
    • Line 46: warning: exported function NewTextQueryFromString should have comment or be unexported (golint)
    • Line 62: warning: exported method TextQuery.Reset should have comment or be unexported (golint)
    • Line 67: warning: exported method TextQuery.AppendString should have comment or be unexported (golint)
    • Line 75: warning: exported method TextQuery.PerformSearch should have comment or be unexported (golint)
    • Line 86: warning: exported method TextQuery.Highlight should have comment or be unexported (golint)
    • Line 105: warning: exported method TextQuery.SetTextIndex should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/imageproxy/cache.go
    • Line 32: warning: exported var ErrInvalidCacheKey should have comment or be unexported (golint)
    • Line 36: warning: exported type RequestOption should have comment or be unexported (golint)
    • Line 38: warning: exported function SetRawQueryString should have comment or be unexported (golint)
    • Line 45: warning: exported function SetService should have comment or be unexported (golint)
    • Line 52: warning: exported function SetTransform should have comment or be unexported (golint)
    • Line 59: warning: exported type Request should have comment or be unexported (golint)
    • Line 68: warning: exported function NewRequest should have comment or be unexported (golint)
    • hub3/hub3/models/store.go
    • Line 40: warning: exported function ResetStorm should have comment or be unexported (golint)
    • Line 45: warning: exported function ResetEADCache should have comment or be unexported (golint)
    • Line 49: warning: exported function ORM should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/search/query_parser.go
    • Line 25: warning: exported type Operator should have comment or be unexported (golint)
    • Line 28: warning: exported const AndOperator should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: exported type QueryType should have comment or be unexported (golint)
    • Line 43: warning: exported const BoolQuery should have comment (or a comment on this block) or be unexported (golint)
    • Line 60: warning: exported type QueryTerm should have comment or be unexported (golint)
    • Line 92: warning: comment on exported method QueryTerm.IsBoolQuery should be of the form "IsBoolQuery ..." (golint)
    • Line 198: warning: exported type QueryOption should have comment or be unexported (golint)
    • Line 247: warning: comment on exported type QueryParser should be of the form "QueryParser ..." (with optional leading article) (golint)
    • Line 342: warning: exported method QueryParser.Parse should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/ead/options.go
    • Line 22: warning: exported type Option should have comment or be unexported (golint)
    • Line 24: warning: exported function SetDataDir should have comment or be unexported (golint)
    • Line 31: warning: exported function SetCreateTree should have comment or be unexported (golint)
    • Line 38: warning: exported function SetIndexService should have comment or be unexported (golint)
    • Line 45: warning: exported function SetRevisionService should have comment or be unexported (golint)
    • Line 52: warning: exported function SetProcessDigital should have comment or be unexported (golint)
    • Line 59: warning: exported function SetWorkers should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/search/vector.go
    • Line 17: warning: exported type Vector should have comment or be unexported (golint)
    • Line 22: warning: exported type Vectors should have comment or be unexported (golint)
    • Line 28: warning: exported function NewVectors should have comment or be unexported (golint)
    • Line 35: warning: comment on exported method Vectors.Add should be of the form "Add ..." (golint)
    • Line 41: warning: exported method Vectors.AddVector should have comment or be unexported (golint)
    • Line 49: warning: exported method Vectors.AddPhraseVector should have comment or be unexported (golint)
    • Line 59: warning: exported method Vectors.DocCount should have comment or be unexported (golint)
    • Line 63: warning: exported method Vectors.HasDoc should have comment or be unexported (golint)
    • Line 68: warning: exported method Vectors.HasVector should have comment or be unexported (golint)
    • Line 73: warning: exported method Vectors.Merge should have comment or be unexported (golint)
    • Line 81: warning: exported method Vectors.Size should have comment or be unexported (golint)
    • hub3/hub3/ead/description_index.go
    • Line 30: warning: exported var ErrNoDescriptionIndex should have comment or be unexported (golint)
    • Line 38: warning: exported type DescriptionIndex should have comment or be unexported (golint)
    • Line 43: warning: exported function NewDescriptionIndex should have comment or be unexported (golint)
    • Line 50: warning: exported method DescriptionIndex.CreateFrom should have comment or be unexported (golint)
    • Line 83: warning: exported method DescriptionIndex.Search should have comment or be unexported (golint)
    • Line 87: warning: exported method DescriptionIndex.SearchWithString should have comment or be unexported (golint)
    • Line 114: warning: exported method DescriptionIndex.HighlightMatches should have comment or be unexported (golint)
    • Line 139: warning: exported function GetDescriptionIndex should have comment or be unexported (golint)
    • Line 169: warning: exported function GetDataPath should have comment or be unexported (golint)
    • hub3/hub3/server/http/handlers/ead.go
    • Line 44: warning: exported function RegisterEAD should have comment or be unexported (golint)
    • Line 58: warning: exported function NewOldBulkProcessor should have comment or be unexported (golint)
    • Line 62: warning: exported type OldBulkProcessor should have comment or be unexported (golint)
    • Line 66: warning: exported method OldBulkProcessor.Publish should have comment or be unexported (golint)
    • Line 80: warning: exported function TreeList should have comment or be unexported (golint)
    • Line 175: warning: exported function EADMeta should have comment or be unexported (golint)
    • Line 196: warning: exported function TreeDescriptionSearch should have comment or be unexported (golint)
    • Line 241: warning: exported function TreeDescriptionAPI should have comment or be unexported (golint)
    • hub3/ikuzo/ikuzoctl/cmd/config/db.go
    • Line 26: warning: exported type DB should have comment or be unexported (golint)
    • Line 36: warning: exported method DB.AddOptions should have comment or be unexported (golint)
    • Line 61: warning: exported method DB.Shutdown should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/search/autocomplete.go
    • Line 25: warning: exported type Autos should have comment or be unexported (golint)
    • Line 31: warning: exported type AutoComplete should have comment or be unexported (golint)
    • Line 37: warning: exported function NewAutoComplete should have comment or be unexported (golint)
    • Line 56: warning: exported method AutoComplete.FromTokenSteam should have comment or be unexported (golint)
    • Line 68: warning: exported method AutoComplete.FromStrings should have comment or be unexported (golint)
    • Line 102: warning: exported method AutoComplete.Suggest should have comment or be unexported (golint)
    • hub3/hub3/ead/nodes.go
    • Line 28: warning: exported const FragmentGraphDocType should have comment or be unexported (golint)
    • Line 30: warning: exported const CLevelLeader should have comment or be unexported (golint)
    • Line 52: warning: exported type NodeList should have comment or be unexported (golint)
    • Line 58: warning: exported type Header should have comment or be unexported (golint)
    • Line 73: warning: exported type NodeDate should have comment or be unexported (golint)
    • Line 80: warning: exported type NodeID should have comment or be unexported (golint)
    • Line 162: warning: exported function CreateTree should have comment or be unexported (golint)
    • hub3/hub3/ead/parser_structs.go
    • Line 19: warning: exported type Cabstract should have comment or be unexported (golint)
    • Line 28: warning: exported type Caccessrestrict should have comment or be unexported (golint)
    • Line 40: warning: exported type Caccruals should have comment or be unexported (golint)
    • Line 49: warning: exported type Cacqinfo should have comment or be unexported (golint)
    • Line 60: warning: exported type Caltformavail should have comment or be unexported (golint)
    • Line 69: warning: exported type Cappraisal should have comment or be unexported (golint)
    • Line 80: warning: exported type Carchdesc should have comment or be unexported (golint)
    • Line 94: warning: exported type Carchref should have comment or be unexported (golint)
    • Line 108: warning: exported type Carrangement should have comment or be unexported (golint)
    • Line 118: warning: exported type Cauthor should have comment or be unexported (golint)
    • Line 125: warning: exported type Cbibliography should have comment or be unexported (golint)
    • Line 135: warning: exported type Cbibref should have comment or be unexported (golint)
    • Line 151: warning: exported type Cbioghist should have comment or be unexported (golint)
    • Line 163: warning: exported type Cblockquote should have comment or be unexported (golint)
    • Line 170: warning: exported type Cc should have comment or be unexported (golint)
    • Line 204: warning: exported type Cchange should have comment or be unexported (golint)
    • Line 211: warning: exported type Cchronitem should have comment or be unexported (golint)
    • Line 219: warning: exported type Cchronlist should have comment or be unexported (golint)
    • Line 227: warning: exported type Ccolspec should have comment or be unexported (golint)
    • Line 237: warning: exported type Ccontrolaccess should have comment or be unexported (golint)
    • Line 247: warning: exported type Ccorpname should have comment or be unexported (golint)
    • Line 258: warning: exported type Ccreation should have comment or be unexported (golint)
    • Line 268: warning: exported type Ccustodhist should have comment or be unexported (golint)
    • Line 280: warning: exported type Cdao should have comment or be unexported (golint)
    • Line 291: warning: exported type Cdate should have comment or be unexported (golint)
    • Line 302: warning: exported type Cdefitem should have comment or be unexported (golint)
    • Line 309: warning: exported type Cdescgrp should have comment or be unexported (golint)
    • Line 340: warning: exported type Cdescrules should have comment or be unexported (golint)
    • Line 350: warning: exported type Cdid should have comment or be unexported (golint)
    • Line 368: warning: exported type Cdimensions should have comment or be unexported (golint)
    • Line 375: warning: exported type Cdsc should have comment or be unexported (golint)
    • Line 386: warning: comment on exported type Cead should be of the form "Cead ..." (with optional leading article) (golint)
    • Line 394: warning: exported type Ceadheader should have comment or be unexported (golint)
    • Line 409: warning: exported type Ceadid should have comment or be unexported (golint)
    • Line 420: warning: exported type Cedition should have comment or be unexported (golint)
    • Line 426: warning: exported type Ceditionstmt should have comment or be unexported (golint)
    • Line 432: warning: exported type Cemph should have comment or be unexported (golint)
    • Line 440: warning: exported type Centry should have comment or be unexported (golint)
    • Line 473: warning: exported type Cevent should have comment or be unexported (golint)
    • Line 483: warning: exported type Ceventgrp should have comment or be unexported (golint)
    • Line 489: warning: exported type Cextent should have comment or be unexported (golint)
    • Line 496: warning: exported type Cextptr should have comment or be unexported (golint)
    • Line 505: warning: exported type Cextref should have comment or be unexported (golint)
    • Line 516: warning: exported type Cfamname should have comment or be unexported (golint)
    • Line 523: warning: exported type Cfiledesc should have comment or be unexported (golint)
    • Line 532: warning: exported type Cfileplan should have comment or be unexported (golint)
    • Line 542: warning: exported type Cfunction should have comment or be unexported (golint)
    • Line 548: warning: exported type Cgenreform should have comment or be unexported (golint)
    • Line 555: warning: exported type Cgeogname should have comment or be unexported (golint)
    • Line 563: warning: exported type Chead should have comment or be unexported (golint)
    • Line 571: warning: exported type Chead01 should have comment or be unexported (golint)
    • Line 577: warning: exported type Chead02 should have comment or be unexported (golint)
    • Line 583: warning: exported type Cimprint should have comment or be unexported (golint)
    • Line 592: warning: exported type Cindex should have comment or be unexported (golint)
    • Line 601: warning: exported type Cindexentry should have comment or be unexported (golint)
    • Line 614: warning: exported type Citem should have comment or be unexported (golint)
    • Line 640: warning: exported type Clabel should have comment or be unexported (golint)
    • Line 646: warning: exported type Clangmaterial should have comment or be unexported (golint)
    • Line 655: warning: exported type Clanguage should have comment or be unexported (golint)
    • Line 663: warning: exported type Clangusage should have comment or be unexported (golint)
    • Line 670: warning: exported type Clb should have comment or be unexported (golint)
    • Line 675: warning: exported type Clegalstatus should have comment or be unexported (golint)
    • Line 682: warning: exported type Clist should have comment or be unexported (golint)
    • Line 695: warning: exported type Clisthead should have comment or be unexported (golint)
    • Line 702: warning: exported type Cmaterialspec should have comment or be unexported (golint)
    • Line 711: warning: exported type Cname should have comment or be unexported (golint)
    • Line 718: warning: exported type Cnote should have comment or be unexported (golint)
    • Line 727: warning: exported type Cnotestmt should have comment or be unexported (golint)
    • Line 736: warning: exported type Cnum should have comment or be unexported (golint)
    • Line 743: warning: exported type Codd should have comment or be unexported (golint)
    • Line 756: warning: exported type Coriginalsloc should have comment or be unexported (golint)
    • Line 764: warning: exported type Corigination should have comment or be unexported (golint)
    • Line 774: warning: exported type Cotherfindaid should have comment or be unexported (golint)
    • Line 782: warning: exported type Cp should have comment or be unexported (golint)
    • Line 810: warning: exported type Cpersname should have comment or be unexported (golint)
    • Line 821: warning: exported type Cphysdesc should have comment or be unexported (golint)
    • Line 833: warning: exported type Cphysfacet should have comment or be unexported (golint)
    • Line 841: warning: exported type Cphysloc should have comment or be unexported (golint)
    • Line 849: warning: exported type Cphystech should have comment or be unexported (golint)
    • Line 857: warning: exported type Cprefercite should have comment or be unexported (golint)
    • Line 864: warning: exported type Cprocessinfo should have comment or be unexported (golint)
    • Line 874: warning: exported type Cprofiledesc should have comment or be unexported (golint)
    • Line 882: warning: exported type Cptrgrp should have comment or be unexported (golint)
    • Line 888: warning: exported type Cpublicationstmt should have comment or be unexported (golint)
    • Line 896: warning: exported type Cpublisher should have comment or be unexported (golint)
    • Line 902: warning: exported type Cref should have comment or be unexported (golint)
    • Line 915: warning: exported type Crelatedmaterial should have comment or be unexported (golint)
    • Line 925: warning: exported type Crepository should have comment or be unexported (golint)
    • Line 933: warning: exported type Crevisiondesc should have comment or be unexported (golint)
    • Line 940: warning: exported type Crow should have comment or be unexported (golint)
    • Line 946: warning: exported type Cscopecontent should have comment or be unexported (golint)
    • Line 958: warning: exported type Cseparatedmaterial should have comment or be unexported (golint)
    • Line 969: warning: exported type Csubject should have comment or be unexported (golint)
    • Line 976: warning: exported type Ctable should have comment or be unexported (golint)
    • Line 988: warning: exported type Ctbody should have comment or be unexported (golint)
    • Line 994: warning: exported type Ctgroup should have comment or be unexported (golint)
    • Line 1003: warning: exported type Cthead should have comment or be unexported (golint)
    • Line 1009: warning: exported type Ctitle should have comment or be unexported (golint)
    • Line 1020: warning: exported type Ctitleproper should have comment or be unexported (golint)
    • Line 1027: warning: exported type Ctitlestmt should have comment or be unexported (golint)
    • Line 1034: warning: exported type Cunitdate should have comment or be unexported (golint)
    • Line 1048: warning: exported type Cunitid should have comment or be unexported (golint)
    • Line 1062: warning: exported type Cunittitle should have comment or be unexported (golint)
    • Line 1086: warning: exported type Cuserestrict should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/ead/oaipmh.go
    • Line 15: warning: exported type EADHarvester should have comment or be unexported (golint)
    • Line 20: warning: exported function NewEADHarvester should have comment or be unexported (golint)
    • Line 28: warning: exported method EADHarvester.ProcessEadFromOai should have comment or be unexported (golint)
    • Line 90: warning: exported type MetsHarvester should have comment or be unexported (golint)
    • Line 95: warning: exported function NewMetsHarvest should have comment or be unexported (golint)
    • Line 105: warning: exported method MetsHarvester.ProcessMetsFromOai should have comment or be unexported (golint)
    • hub3/hub3/ead/description.go
    • Line 38: warning: exported var ErrCannotPopFromQueue should have comment or be unexported (golint)
    • Line 636: warning: exported function GetDescription should have comment or be unexported (golint)
    • Line 870: warning: exported function GetDescriptionCount should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/bulk/service.go
    • Line 28: warning: exported type Option should have comment or be unexported (golint)
    • Line 30: warning: exported type Service should have comment or be unexported (golint)
    • Line 36: warning: exported function NewService should have comment or be unexported (golint)
    • Line 52: warning: exported function SetIndexService should have comment or be unexported (golint)
    • Line 59: warning: exported function SetIndexTypes should have comment or be unexported (golint)
    • Line 66: warning: exported function SetPostHookService should have comment or be unexported (golint)
    • Line 76: warning: comment on exported method Service.Handle should be of the form "Handle ..." (golint)
    • Line 116: warning: exported method Service.NewParser should have comment or be unexported (golint)
    • Line 135: warning: exported method Service.Shutdown should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/revision/repo.go
    • Line 39: warning: exported const WorkingVersion should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported type Repository should have comment or be unexported (golint)
    • Line 126: warning: exported method Repository.Publish should have comment or be unexported (golint)
    • Line 141: warning: exported method Repository.Commit should have comment or be unexported (golint)
    • Line 193: warning: exported method Repository.Status should have comment or be unexported (golint)
    • Line 218: warning: exported method Repository.HEAD should have comment or be unexported (golint)
    • Line 229: warning: exported method Repository.IsClean should have comment or be unexported (golint)
    • Line 293: warning: exported method Repository.Changes should have comment or be unexported (golint)
    • Line 313: warning: exported method Repository.Exists should have comment or be unexported (golint)
    • Line 320: warning: exported type Publisher should have comment or be unexported (golint)
    • Line 324: warning: exported type PublishStats should have comment or be unexported (golint)
    • Line 329: warning: exported method Repository.PublishChanged should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/revision/service.go
    • Line 30: warning: exported var ErrRepositoryNotExists should have comment or be unexported (golint)
    • Line 33: warning: exported type Service should have comment or be unexported (golint)
    • Line 39: warning: exported function NewService should have comment or be unexported (golint)
    • hub3/hub3/fragments/fuzzer.go
    • Line 60: warning: exported type FuzzRecord should have comment or be unexported (golint)
    • Line 66: warning: exported method FuzzRecord.AddTriples should have comment or be unexported (golint)
    • Line 243: warning: comment on exported type Cattr should be of the form "Cattr ..." (with optional leading article) (golint)
    • Line 248: warning: don't use underscores in Go names; struct field Cnode_dash_mapping should be CnodeDashMapping (golint)
    • Line 251: warning: exported type Cattrs should have comment or be unexported (golint)
    • Line 256: warning: exported type Cdoc should have comment or be unexported (golint)
    • Line 262: warning: exported type Cdocs should have comment or be unexported (golint)
    • Line 267: warning: exported type Celem should have comment or be unexported (golint)
    • Line 273: warning: don't use underscores in Go names; struct field Cnode_dash_mapping should be CnodeDashMapping (golint)
    • Line 276: warning: don't use underscores in Go names; type Cfield_dash_markers should be CfieldDashMarkers (golint)
    • Line 276: warning: exported type Cfield_dash_markers should have comment or be unexported (golint)
    • Line 280: warning: exported type Cfunctions should have comment or be unexported (golint)
    • Line 282: warning: don't use underscores in Go names; struct field Cmapping_dash_function should be CmappingDashFunction (golint)
    • Line 285: warning: don't use underscores in Go names; type Cgroovy_dash_code should be CgroovyDashCode (golint)
    • Line 285: warning: exported type Cgroovy_dash_code should have comment or be unexported (golint)
    • Line 290: warning: don't use underscores in Go names; type Cmapping_dash_function should be CmappingDashFunction (golint)
    • Line 290: warning: exported type Cmapping_dash_function should have comment or be unexported (golint)
    • Line 293: warning: don't use underscores in Go names; struct field Cgroovy_dash_code should be CgroovyDashCode (golint)
    • Line 294: warning: don't use underscores in Go names; struct field Csample_dash_input should be CsampleDashInput (golint)
    • Line 297: warning: exported type Cnamespace should have comment or be unexported (golint)
    • Line 303: warning: exported type Cnamespaces should have comment or be unexported (golint)
    • Line 308: warning: don't use underscores in Go names; type Cnode_dash_mapping should be CnodeDashMapping (golint)
    • Line 308: warning: exported type Cnode_dash_mapping should have comment or be unexported (golint)
    • Line 312: warning: don't use underscores in Go names; struct field Cgroovy_dash_code should be CgroovyDashCode (golint)
    • Line 315: warning: exported type Copts should have comment or be unexported (golint)
    • Line 319: warning: exported type Cpara should have comment or be unexported (golint)
    • Line 325: warning: don't use underscores in Go names; type Crecord_dash_definition should be CrecordDashDefinition (golint)
    • Line 325: warning: exported type Crecord_dash_definition should have comment or be unexported (golint)
    • Line 332: warning: don't use underscores in Go names; struct field Cfield_dash_markers should be CfieldDashMarkers (golint)
    • Line 339: warning: exported type Croot should have comment or be unexported (golint)
    • Line 343: warning: don't use underscores in Go names; struct field Cnode_dash_mapping should be CnodeDashMapping (golint)
    • Line 346: warning: don't use underscores in Go names; type Csample_dash_input should be CsampleDashInput (golint)
    • Line 346: warning: exported type Csample_dash_input should have comment or be unexported (golint)
    • Line 351: warning: exported type Cstring should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/ead/task.go
    • Line 30: warning: exported var ErrTaskNotFound should have comment or be unexported (golint)
    • Line 34: warning: exported type ProcessingState should have comment or be unexported (golint)
    • Line 37: warning: exported const StateSubmitted should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported type Transition should have comment or be unexported (golint)
    • Line 58: warning: exported type Task should have comment or be unexported (golint)
    • Line 184: warning: exported method Task.Next should have comment or be unexported (golint)
    • Line 205: warning: exported method Service.NewTask should have comment or be unexported (golint)
    • hub3/hub3/models/sparql.go
    • Line 131: warning: exported function SparqlRepo should have comment or be unexported (golint)
    • Line 139: warning: exported function SparqlUpdateRepo should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/index/option.go
    • Line 22: warning: exported type Option should have comment or be unexported (golint)
    • Line 24: warning: exported function SetBulkIndexer should have comment or be unexported (golint)
    • Line 33: warning: exported function SetNatsConfiguration should have comment or be unexported (golint)
    • Line 42: warning: exported function WithDefaultMessageHandle should have comment or be unexported (golint)
    • Line 49: warning: exported function SetOrphanWait should have comment or be unexported (golint)
    • Line 56: warning: exported function SetPostHookService should have comment or be unexported (golint)
    • hub3/ikuzo/ikuzoctl/cmd/config/ead.go
    • Line 25: warning: exported type EAD should have comment or be unexported (golint)
    • Line 32: warning: exported method EAD.NewService should have comment or be unexported (golint)
    • Line 66: warning: exported method EAD.AddOptions should have comment or be unexported (golint)
    • hub3/ikuzo/search/facet.go
    • Line 23: warning: exported type FacetType should have comment or be unexported (golint)
    • Line 26: warning: exported const FacetTree should have comment (or a comment on this block) or be unexported (golint)
    • hub3/ikuzo/service/x/revision/parser.go
    • Line 16: warning: exported type State should have comment or be unexported (golint)
    • Line 19: warning: exported var StatusAdded should have comment or be unexported (golint)
    • Line 24: warning: exported type DiffFile should have comment or be unexported (golint)
    • hub3/ikuzo/ikuzoctl/cmd/config/elasticsearch.go
    • Line 40: warning: exported type ElasticSearch should have comment or be unexported (golint)
    • Line 91: warning: exported method ElasticSearch.AddOptions should have comment or be unexported (golint)
    • Line 153: warning: exported method ElasticSearch.ResetAll should have comment or be unexported (golint)
    • Line 166: warning: exported method ElasticSearch.CreateDefaultMappings should have comment or be unexported (golint)
    • Line 257: warning: exported method ElasticSearch.NewClient should have comment or be unexported (golint)
    • Line 324: warning: exported method ElasticSearch.NewBulkIndexer should have comment or be unexported (golint)
    • Line 361: warning: exported method ElasticSearch.IndexService should have comment or be unexported (golint)
    • hub3/hub3/fragments/v1.go
    • Line 59: warning: exported var ErrUrnNotFound should have comment or be unexported (golint)
    • Line 67: warning: exported type SortedGraph should have comment or be unexported (golint)
    • Line 72: warning: exported function NewSortedGraph should have comment or be unexported (golint)
    • Line 81: warning: comment on exported method SortedGraph.Add should be of the form "Add ..." (golint)
    • Line 87: warning: exported method SortedGraph.Triples should have comment or be unexported (golint)
    • Line 167: warning: exported method SortedGraph.SerializeFlatJSONLD should have comment or be unexported (golint)
    • Line 167: warning: receiver name g should be consistent with previous receiver name sg for SortedGraph (golint)
    • Line 180: warning: exported method SortedGraph.GetRDF should have comment or be unexported (golint)
    • Line 443: warning: exported type WebTriples should have comment or be unexported (golint)
    • Line 447: warning: exported function NewWebTriples should have comment or be unexported (golint)
    • Line 451: warning: exported method WebTriples.Append should have comment or be unexported (golint)
    • hub3/ikuzo/logger/wrapper.go
    • Line 19: warning: exported type WrapInfo should have comment or be unexported (golint)
    • Line 23: warning: exported function NewWrapInfo should have comment or be unexported (golint)
    • Line 29: warning: exported method WrapInfo.Printf should have comment or be unexported (golint)
    • Line 35: warning: exported type WrapTrace should have comment or be unexported (golint)
    • Line 39: warning: exported function NewWrapTrace should have comment or be unexported (golint)
    • Line 45: warning: exported method WrapTrace.Printf should have comment or be unexported (golint)
    • Line 51: warning: exported type WrapDebug should have comment or be unexported (golint)
    • Line 55: warning: exported function NewWrapDebug should have comment or be unexported (golint)
    • Line 61: warning: exported method WrapDebug.Printf should have comment or be unexported (golint)
    • Line 67: warning: exported type WrapError should have comment or be unexported (golint)
    • Line 71: warning: exported function NewWrapError should have comment or be unexported (golint)
    • Line 77: warning: exported method WrapError.Printf should have comment or be unexported (golint)
    • hub3/hub3/ead/ead.go
    • Line 49: warning: exported type NodeEntry should have comment or be unexported (golint)
    • Line 87: warning: exported method NodeConfig.Labels should have comment or be unexported (golint)
    • Line 96: warning: exported type DuplicateError should have comment or be unexported (golint)
    • Line 109: warning: exported method NodeConfig.ErrorToCSV should have comment or be unexported (golint)
    • Line 109: warning: receiver name nc should be consistent with previous receiver name cfg for NodeConfig (golint)
    • Line 133: warning: receiver name nc should be consistent with previous receiver name cfg for NodeConfig (golint)
    • Line 199: warning: exported method MetsCounter.AppendError should have comment or be unexported (golint)
    • Line 206: warning: exported method MetsCounter.GetErrors should have comment or be unexported (golint)
    • Line 475: warning: exported method NodeConfig.UpdatePath should have comment or be unexported (golint)
    • hub3/ikuzo/storage/memory/organization.go
    • Line 28: warning: exported type OrganizationStore should have comment or be unexported (golint)
    • Line 35: warning: exported function NewOrganizationStore should have comment or be unexported (golint)
    • Line 42: warning: exported method OrganizationStore.Delete should have comment or be unexported (golint)
    • Line 47: warning: exported method OrganizationStore.Get should have comment or be unexported (golint)
    • Line 67: warning: exported method OrganizationStore.Put should have comment or be unexported (golint)
    • Line 79: warning: exported method OrganizationStore.Shutdown should have comment or be unexported (golint)
    • hub3/hub3/server/http/handlers/metrics.go
    • Line 32: warning: exported function RegisterMetrics should have comment or be unexported (golint)
    • Line 54: warning: comment on exported function NewPrometheuusMiddleware should be of the form "NewPrometheuusMiddleware ..." (golint)
    • hub3/ikuzo/ikuzoctl/cmd/config/logging.go
    • Line 23: warning: exported type Logging should have comment or be unexported (golint)
    • Line 31: warning: exported method Logging.AddOptions should have comment or be unexported (golint)
    • Line 44: warning: exported method Logging.GetConfig should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/search/es/service.go
    • Line 8: warning: exported type Option should have comment or be unexported (golint)
    • Line 10: warning: exported type Service should have comment or be unexported (golint)
    • Line 12: warning: exported function NewService should have comment or be unexported (golint)
    • Line 28: warning: exported method Service.Shutdown should have comment or be unexported (golint)
    • hub3/ikuzo/domain/organization.go
    • Line 48: warning: exported type OrganizationFilter should have comment or be unexported (golint)
    • Line 72: warning: exported type OrganizationConfig should have comment or be unexported (golint)
    • Line 138: warning: exported method Organization.NewDatasetURI should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/search/fuzziness.go
    • Line 23: warning: exported type DistanceCalculator should have comment or be unexported (golint)
    • Line 62: warning: comment on exported const Osa should be of the form "Osa ..." (golint)
    • Line 119: warning: exported type PhoneticPreprocessor should have comment or be unexported (golint)
    • Line 131: warning: comment on exported const Nysiis should be of the form "Nysiis ..." (golint)
    • Line 159: warning: exported function Transform should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/search/matches.go
    • Line 17: warning: exported type Matches should have comment or be unexported (golint)
    • Line 22: warning: exported function NewMatches should have comment or be unexported (golint)
    • Line 35: warning: exported method Matches.AppendTerm should have comment or be unexported (golint)
    • Line 44: warning: exported method Matches.DocCount should have comment or be unexported (golint)
    • Line 48: warning: exported method Matches.HasDocID should have comment or be unexported (golint)
    • Line 52: warning: exported method Matches.Merge should have comment or be unexported (golint)
    • Line 70: warning: exported method Matches.TermFrequency should have comment or be unexported (golint)
    • Line 74: warning: exported method Matches.TermCount should have comment or be unexported (golint)
    • Line 78: warning: exported method Matches.Total should have comment or be unexported (golint)
    • Line 87: warning: exported method Matches.Vectors should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/imageproxy/service.go
    • Line 32: warning: exported type Option should have comment or be unexported (golint)
    • Line 34: warning: exported type Service should have comment or be unexported (golint)
    • Line 45: warning: exported function SetCacheDir should have comment or be unexported (golint)
    • Line 52: warning: exported function SetTimeout should have comment or be unexported (golint)
    • Line 59: warning: exported function SetProxyReferrer should have comment or be unexported (golint)
    • Line 66: warning: exported function SetBlackList should have comment or be unexported (golint)
    • Line 73: warning: exported function SetProxyPrefix should have comment or be unexported (golint)
    • Line 80: warning: exported function NewService should have comment or be unexported (golint)
    • Line 100: warning: exported method Service.Routes should have comment or be unexported (golint)
    • Line 109: warning: exported method Service.Do should have comment or be unexported (golint)
    • Line 228: warning: exported method Service.Shutdown should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/sparql/service.go
    • Line 12: warning: exported type TripleStore should have comment or be unexported (golint)
    • Line 19: warning: exported type Service should have comment or be unexported (golint)
    • Line 24: warning: exported function NewService should have comment or be unexported (golint)
    • Line 57: warning: comment on exported method Service.Shutdown should be of the form "Shutdown ..." (golint)
    • hub3/ikuzo/storage/x/gorm/organization.go
    • Line 29: warning: exported type OrganizationStore should have comment or be unexported (golint)
    • Line 33: warning: exported function NewOrganizationStore should have comment or be unexported (golint)
    • Line 43: warning: exported method OrganizationStore.Delete should have comment or be unexported (golint)
    • Line 47: warning: exported method OrganizationStore.Get should have comment or be unexported (golint)
    • Line 83: warning: exported method OrganizationStore.Filter should have comment or be unexported (golint)
    • Line 95: warning: exported method OrganizationStore.Count should have comment or be unexported (golint)
    • Line 109: warning: exported method OrganizationStore.Put should have comment or be unexported (golint)
    • Line 113: warning: exported method OrganizationStore.Shutdown should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/search/tokenizer.go
    • Line 28: warning: exported type Token should have comment or be unexported (golint)
    • Line 45: warning: exported method Token.GetTermVector should have comment or be unexported (golint)
    • Line 52: warning: exported type Tokenizer should have comment or be unexported (golint)
    • Line 62: warning: exported type TokenOption should have comment or be unexported (golint)
    • Line 64: warning: exported function NewTokenizer should have comment or be unexported (golint)
    • Line 74: warning: exported function SetPhraseAware should have comment or be unexported (golint)
    • Line 80: warning: exported method Tokenizer.ParseString should have comment or be unexported (golint)
    • Line 84: warning: exported method Tokenizer.ParseBytes should have comment or be unexported (golint)
    • Line 218: warning: exported type TokenStream should have comment or be unexported (golint)
    • Line 230: warning: exported method TokenStream.Tokens should have comment or be unexported (golint)
    • Line 248: warning: comment on exported method TokenStream.Highlight should be of the form "Highlight ..." (golint)
    • hub3/hub3/ead/mets.go
    • Line 15: warning: package comment should be of the form "Package ead ..." (golint)
    • Line 313: warning: exported type METSEventStatusEnum should have comment or be unexported (golint)
    • Line 316: warning: exported const METSCreate should have comment (or a comment on this block) or be unexported (golint)
    • Line 343: warning: exported type CContextRts should have comment or be unexported (golint)
    • Line 349: warning: exported type CPermissionsRts should have comment or be unexported (golint)
    • Line 360: warning: exported type CRightsDeclarationRts should have comment or be unexported (golint)
    • Line 365: warning: exported type CRightsDeclarationMDRts should have comment or be unexported (golint)
    • Line 377: warning: exported type CRightsHolderRts should have comment or be unexported (golint)
    • Line 384: warning: exported type CRightsHolderCommentsRts should have comment or be unexported (golint)
    • Line 389: warning: exported type CRightsHolderContactRts should have comment or be unexported (golint)
    • Line 397: warning: exported type CRightsHolderContactAddressRts should have comment or be unexported (golint)
    • Line 402: warning: exported type CRightsHolderContactDesignationRts should have comment or be unexported (golint)
    • Line 407: warning: exported type CRightsHolderContactEmailRts should have comment or be unexported (golint)
    • Line 412: warning: exported type CRightsHolderContactPhoneRts should have comment or be unexported (golint)
    • Line 418: warning: exported type CRightsHolderNameRts should have comment or be unexported (golint)
    • Line 423: warning: exported type CFLocat should have comment or be unexported (golint)
    • Line 430: warning: exported type Cagent should have comment or be unexported (golint)
    • Line 436: warning: exported type CaltRecordID should have comment or be unexported (golint)
    • Line 442: warning: exported type CamdSec should have comment or be unexported (golint)
    • Line 447: warning: comment on exported type Cdiv should be of the form "Cdiv ..." (with optional leading article) (golint)
    • Line 458: warning: exported type Cfile should have comment or be unexported (golint)
    • Line 467: warning: exported type CfileGrp should have comment or be unexported (golint)
    • Line 473: warning: exported type CfileSec should have comment or be unexported (golint)
    • Line 478: warning: exported type Cfptr should have comment or be unexported (golint)
    • Line 483: warning: exported type CmdWrap should have comment or be unexported (golint)
    • Line 490: warning: exported type Cmets should have comment or be unexported (golint)
    • Line 505: warning: exported type CmetsDocumentID should have comment or be unexported (golint)
    • Line 510: warning: exported type CmetsHdr should have comment or be unexported (golint)
    • Line 520: warning: exported type Cmname should have comment or be unexported (golint)
    • Line 525: warning: exported type CrightsMD should have comment or be unexported (golint)
    • Line 531: warning: exported type CstructMap should have comment or be unexported (golint)
    • Line 538: warning: exported type CxmlData should have comment or be unexported (golint)
    • hub3/hub3/ead/search.go
    • Line 88: warning: comment on exported type CLevelEntry should be of the form "CLevelEntry ..." (with optional leading article) (golint)
    • Line 396: warning: exported function PerformClusteredSearch should have comment or be unexported (golint)
    • Line 713: warning: exported function PerformDetailSearch should have comment or be unexported (golint)
    • hub3/hub3/ead/triples.go
    • Line 33: warning: exported function NewResource should have comment or be unexported (golint)
    • Line 37: warning: exported method Cdid.Triples should have comment or be unexported (golint)
    • Line 132: warning: exported method Cc.Triples should have comment or be unexported (golint)
    • hub3/hub3/fragments/rdfstream.go
    • Line 72: warning: exported type RDFUploader should have comment or be unexported (golint)
    • Line 83: warning: exported function NewRDFUploader should have comment or be unexported (golint)
    • Line 94: warning: exported method RDFUploader.Parse should have comment or be unexported (golint)
    • Line 132: warning: exported method RDFUploader.SaveFragmentGraphs should have comment or be unexported (golint)
    • Line 151: warning: exported method RDFUploader.IndexFragments should have comment or be unexported (golint)
    • hub3/ikuzo/storage/x/ginger/posthook.go
    • Line 26: warning: exported type PostHook should have comment or be unexported (golint)
    • Line 36: warning: exported function NewPostHook should have comment or be unexported (golint)
    • Line 50: warning: exported method PostHook.OrgID should have comment or be unexported (golint)
    • Line 54: warning: exported method PostHook.Name should have comment or be unexported (golint)
    • Line 58: warning: exported method PostHook.DropDataset should have comment or be unexported (golint)
    • Line 83: warning: exported method PostHook.Valid should have comment or be unexported (golint)
    • Line 97: warning: exported method PostHook.Publish should have comment or be unexported (golint)
    • hub3/hub3/ead/enum.go
    • Line 22: warning: exported type FlowType should have comment or be unexported (golint)
    • Line 25: warning: exported const LineBreak should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported type DataType should have comment or be unexported (golint)
    • Line 33: warning: exported const Paragraph should have comment (or a comment on this block) or be unexported (golint)
    • hub3/hub3/ead/meta.go
    • Line 21: warning: exported var ErrFileNotFound should have comment or be unexported (golint)
    • Line 88: warning: exported function GetOrCreateMeta should have comment or be unexported (golint)
    • Line 124: warning: exported function GetMeta should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/ead/service.go
    • Line 54: warning: exported const PaccessKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 57: warning: exported type Metrics should have comment or be unexported (golint)
    • Line 66: warning: exported method Metrics.IncSubmitted should have comment or be unexported (golint)
    • Line 70: warning: exported method Metrics.IncStarted should have comment or be unexported (golint)
    • Line 74: warning: exported method Metrics.IncFailed should have comment or be unexported (golint)
    • Line 78: warning: exported method Metrics.IncFinished should have comment or be unexported (golint)
    • Line 82: warning: exported method Metrics.IncCancelled should have comment or be unexported (golint)
    • Line 86: warning: exported method Metrics.IncAlreadyQueued should have comment or be unexported (golint)
    • Line 90: warning: exported type CreateTreeFn should have comment or be unexported (golint)
    • Line 92: warning: exported type DaoFn should have comment or be unexported (golint)
    • Line 94: warning: exported type Service should have comment or be unexported (golint)
    • Line 111: warning: exported function NewService should have comment or be unexported (golint)
    • Line 171: warning: exported method Service.StartWorkers should have comment or be unexported (golint)
    • Line 215: warning: exported method Service.Metrics should have comment or be unexported (golint)
    • Line 219: warning: exported method Service.Upload should have comment or be unexported (golint)
    • Line 223: warning: comment on exported method Service.ClearRestrictions should be of the form "ClearRestrictions ..." (golint)
    • Line 228: warning: exported method Service.Tasks should have comment or be unexported (golint)
    • Line 257: warning: exported method Service.GetTask should have comment or be unexported (golint)
    • Line 272: warning: exported method Service.CancelTask should have comment or be unexported (golint)
    • Line 296: warning: exported method Service.Shutdown should have comment or be unexported (golint)
    • Line 358: warning: exported method Service.Process should have comment or be unexported (golint)
    • Line 704: warning: exported method Service.CreateTask should have comment or be unexported (golint)
    • Line 811: warning: exported method Service.LoadEAD should have comment or be unexported (golint)
    • Line 855: warning: exported method Service.GetName should have comment or be unexported (golint)
    • Line 1000: warning: exported method Service.Routes should have comment or be unexported (golint)
    • Line 1044: warning: exported method Service.ResyncCacheDir should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/oaipmh/service.go
    • Line 17: warning: exported type Service should have comment or be unexported (golint)
    • Line 27: warning: exported function NewService should have comment or be unexported (golint)
    • Line 50: warning: exported method Service.AddTask should have comment or be unexported (golint)
    • Line 61: warning: exported method Service.StartHarvestSync should have comment or be unexported (golint)
    • Line 189: warning: exported method Service.Shutdown should have comment or be unexported (golint)
    • hub3/ikuzo/service/x/dataset/service.go
    • Line 18: warning: exported var ErrDataSetNotFound should have comment or be unexported (golint)
    • Line 21: warning: exported type Store should have comment or be unexported (golint)
    • Line 36: warning: exported type Option should have comment or be unexported (golint)
    • Line 38: warning: exported type Service should have comment or be unexported (golint)
    • Line 47: warning: exported function NewService should have comment or be unexported (golint)
    • Line 72: warning: exported method Service.Shutdown should have comment or be unexported (golint)
    • Line 82: warning: exported method Service.CreateDataSetStats should have comment or be unexported (golint)
    • Line 156: warning: exported method Service.DropResources should have comment or be unexported (golint)
    • hub3/hub3/server/http/handlers/search.go
    • Line 54: warning: exported function RegisterSearch should have comment or be unexported (golint)
    • Line 88: warning: exported function GetScrollResult should have comment or be unexported (golint)
    • Line 101: warning: comment on exported function ProcessSearchRequest should be of the form "ProcessSearchRequest ..." (golint)
    • hub3/ikuzo/storage/x/memory/index_full_text.go
    • Line 29: warning: exported var ErrSearchNoMatch should have comment or be unexported (golint)
    • Line 32: warning: comment on exported type TextIndex should be of the form "TextIndex ..." (with optional leading article) (golint)
    • Line 43: warning: exported function NewTextIndex should have comment or be unexported (golint)
    • Line 340: warning: exported method TextIndex.Search should have comment or be unexported (golint)
    • Line 436: warning: exported method TextIndex.Encode should have comment or be unexported (golint)
    • Line 447: warning: exported function DecodeTextIndex should have comment or be unexported (golint)
    • hub3/ikuzo/storage/x/ginger/metrics.go
    • Line 8: warning: exported type PostHookCounter should have comment or be unexported (golint)
    • Line 17: warning: exported type PostHookGauge should have comment or be unexported (golint)
    • Line 25: warning: exported method PostHookGauge.SetActive should have comment or be unexported (golint)
    • Line 42: warning: exported method PostHookGauge.Done should have comment or be unexported (golint)
    • Line 89: warning: exported method PostHookGauge.Queue should have comment or be unexported (golint)
    • hub3/hub3/fragments/resource.go
    • Line 363: warning: exported method FragmentGraph.Marshal should have comment or be unexported (golint)
    • Line 367: warning: exported method FragmentGraph.Reader should have comment or be unexported (golint)
    • Line 377: warning: exported method FragmentGraph.IndexMessage should have comment or be unexported (golint)
    • hub3/ikuzo/storage/x/elasticsearch/query.go
    • Line 24: warning: exported type QueryField should have comment or be unexported (golint)
    • Line 29: warning: exported type QueryBuilder should have comment or be unexported (golint)
    • Line 33: warning: exported function NewQueryBuilder should have comment or be unexported (golint)
    • Line 39: warning: exported method QueryBuilder.NewElasticQuery should have comment or be unexported (golint)
    • hub3/hub3/fragments/api.go
    • Line 1100: warning: exported method SearchRequest.CreateBinKey should have comment or be unexported (golint)
    • Line 1308: warning: exported type ScrollType should have comment or be unexported (golint)
    • Line 1311: warning: exported const ScrollNext should have comment (or a comment on this block) or be unexported (golint)
    • Line 1350: warning: exported method SearchRequest.ScrollPagers should have comment or be unexported (golint)
    • Line 1483: warning: exported method QueryFilter.SetExclude should have comment or be unexported (golint)
    • Line 1938: warning: exported function QueryFromSearchFields should have comment or be unexported (golint)
    • hub3/ikuzo/options.go
    • Line 151: warning: exported function SetElasticSearchProxy should have comment or be unexported (golint)
    • Line 164: warning: exported function SetBuildVersionInfo should have comment or be unexported (golint)
    • Line 178: warning: exported function SetEnableLegacyConfig should have comment or be unexported (golint)
    • Line 189: warning: exported function SetLegacyRouters should have comment or be unexported (golint)
    • Line 197: warning: exported function SetEADService should have comment or be unexported (golint)
    • Line 214: warning: exported function SetOAIPMHService should have comment or be unexported (golint)
    • Line 229: warning: exported function SetBulkService should have comment or be unexported (golint)
    • Line 241: warning: exported function SetShutdownHook should have comment or be unexported (golint)
    • Line 251: warning: exported function SetImageProxyService should have comment or be unexported (golint)
    • Line 263: warning: exported type ProxyRoute should have comment or be unexported (golint)
    • hub3/ikuzo/ikuzoctl/cmd/config/oaipmh.go
    • Line 10: warning: exported type OAIPMH should have comment or be unexported (golint)
    • Line 21: warning: exported method OAIPMH.NewService should have comment or be unexported (golint)
    • Line 42: warning: exported method OAIPMH.AddOptions should have comment or be unexported (golint)
    • hub3/hub3/ead/extractor.go
    • Line 22: warning: exported type NLPType should have comment or be unexported (golint)
    • Line 25: warning: exported const Unknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type NLPToken should have comment or be unexported (golint)
    • Line 38: warning: exported type Extractor should have comment or be unexported (golint)
    • Line 45: warning: exported function NewExtractor should have comment or be unexported (golint)
    • Line 62: warning: exported method Extractor.Tokens should have comment or be unexported (golint)
    • hub3/ikuzo/ikuzoctl/cmd/config/config.go
    • Line 28: warning: exported type Option should have comment or be unexported (golint)
    • Line 32: warning: exported type Config should have comment or be unexported (golint)
    • Line 55: warning: exported method Config.IsDataNode should have comment or be unexported (golint)
    • Line 59: warning: exported method Config.Options should have comment or be unexported (golint)
    • Line 91: warning: exported function SetViperDefaults should have comment or be unexported (golint)
    • Line 97: warning: exported method Config.GetIndexService should have comment or be unexported (golint)
    • Line 124: warning: exported method Config.GetRevisionService should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign99%

IneffAssign detects ineffectual assignments in Go code.


misspell99%

Misspell Finds commonly misspelled English words