Preparing report...

Report for github.com/semi-technologies/weaviate

A+    Excellent!    Found 291 issues across 852 files

Tweet

gofmt91%

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!


golint74%

Golint is a linter for Go source code.

    • weaviate/adapters/repos/db/vector/hnsw/config.go
    • Line 38: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 96: warning: exported const DefaultCleanupIntervalSeconds should have comment (or a comment on this block) or be unexported (golint)
    • Line 121: warning: receiver name c should be consistent with previous receiver name u for UserConfig (golint)
    • Line 226: warning: exported function NewDefaultUserConfig should have comment or be unexported (golint)
    • weaviate/entities/modulecapabilities/classification.go
    • Line 23: warning: exported type VectorClassSearchParams should have comment or be unexported (golint)
    • Line 30: warning: exported type VectorClassSearchRepo should have comment or be unexported (golint)
    • Line 34: warning: exported type ClassifyParams should have comment or be unexported (golint)
    • Line 42: warning: exported type Filters should have comment or be unexported (golint)
    • Line 48: warning: exported type Writer should have comment or be unexported (golint)
    • Line 54: warning: exported type WriterResults should have comment or be unexported (golint)
    • Line 60: warning: exported type ClassifyItemFn should have comment or be unexported (golint)
    • Line 63: warning: exported type Classifier should have comment or be unexported (golint)
    • Line 69: warning: exported type ClassificationProvider should have comment or be unexported (golint)
    • weaviate/modules/text2vec-contextionary/additional/nearestneighbors/extender.go
    • Line 26: warning: exported const DefaultLimit should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported type Extender should have comment or be unexported (golint)
    • Line 38: warning: exported method Extender.AdditonalPropertyDefaultValue should have comment or be unexported (golint)
    • Line 42: warning: exported method Extender.AdditionalPropertyFn should have comment or be unexported (golint)
    • Line 48: warning: exported method Extender.ExtractAdditionalFn should have comment or be unexported (golint)
    • Line 52: warning: exported method Extender.Single should have comment or be unexported (golint)
    • Line 65: warning: exported method Extender.Multi should have comment or be unexported (golint)
    • Line 100: warning: exported function NewExtender should have comment or be unexported (golint)
    • weaviate/usecases/modules/vectorizer.go
    • Line 24: warning: exported method Provider.ValidateVectorizer should have comment or be unexported (golint)
    • Line 39: warning: exported method Provider.Vectorizer should have comment or be unexported (golint)
    • Line 61: warning: exported type ObjectsVectorizer should have comment or be unexported (golint)
    • Line 66: warning: exported function NewObjectsVectorizer should have comment or be unexported (golint)
    • Line 71: warning: exported method ObjectsVectorizer.UpdateObject should have comment or be unexported (golint)
    • weaviate/usecases/config/config_handler.go
    • Line 80: warning: exported type Contextionary should have comment or be unexported (golint)
    • Line 84: warning: exported type Persistence should have comment or be unexported (golint)
    • Line 88: warning: exported method Persistence.Validate should have comment or be unexported (golint)
    • weaviate/entities/filters/filters.go
    • Line 19: warning: exported type Operator should have comment or be unexported (golint)
    • Line 22: warning: exported const OperatorEqual should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported method Operator.OnValue should have comment or be unexported (golint)
    • Line 51: warning: exported method Operator.Name should have comment or be unexported (golint)
    • Line 80: warning: exported type LocalFilter should have comment or be unexported (golint)
    • Line 84: warning: exported type Value should have comment or be unexported (golint)
    • Line 89: warning: exported type Clause should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/repo.go
    • Line 23: warning: exported type DB should have comment or be unexported (golint)
    • Line 30: warning: exported method DB.SetSchemaGetter should have comment or be unexported (golint)
    • Line 34: warning: exported method DB.WaitForStartup should have comment or be unexported (golint)
    • Line 38: warning: exported function New should have comment or be unexported (golint)
    • Line 46: warning: exported type Config should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/vector/hnsw/deserializer.go
    • Line 24: warning: exported type Deserializer should have comment or be unexported (golint)
    • Line 28: warning: exported function NewDeserializer should have comment or be unexported (golint)
    • Line 32: warning: exported type DeserializationResult should have comment or be unexported (golint)
    • Line 40: warning: exported method Deserializer.Do should have comment or be unexported (golint)
    • Line 97: warning: exported method Deserializer.ReadNode should have comment or be unexported (golint)
    • Line 125: warning: exported method Deserializer.ReadEP should have comment or be unexported (golint)
    • Line 139: warning: exported method Deserializer.ReadLink should have comment or be unexported (golint)
    • Line 172: warning: exported method Deserializer.ReadLinks should have comment or be unexported (golint)
    • Line 209: warning: exported method Deserializer.ReadAddTombstone should have comment or be unexported (golint)
    • Line 220: warning: exported method Deserializer.ReadRemoveTombstone should have comment or be unexported (golint)
    • Line 231: warning: exported method Deserializer.ReadClearLinks should have comment or be unexported (golint)
    • Line 251: warning: exported method Deserializer.ReadDeleteNode should have comment or be unexported (golint)
    • Line 286: warning: exported method Deserializer.ReadCommitType should have comment or be unexported (golint)
    • weaviate/entities/search/result.go
    • Line 38: warning: exported type Results should have comment or be unexported (golint)
    • Line 40: warning: exported method Result.Object should have comment or be unexported (golint)
    • Line 44: warning: exported method Result.ObjectWithVector should have comment or be unexported (golint)
    • Line 70: warning: exported method Results.Objects should have comment or be unexported (golint)
    • Line 74: warning: exported method Results.ObjectsWithVector should have comment or be unexported (golint)
    • Line 83: warning: exported method Results.SortByDistanceToVector should have comment or be unexported (golint)
    • weaviate/modules/qna-transformers/module.go
    • Line 32: warning: exported function New should have comment or be unexported (golint)
    • Line 36: warning: exported type QnAModule should have comment or be unexported (golint)
    • Line 50: warning: exported method QnAModule.Name should have comment or be unexported (golint)
    • Line 54: warning: exported method QnAModule.Init should have comment or be unexported (golint)
    • Line 63: warning: exported method QnAModule.InitDependency should have comment or be unexported (golint)
    • Line 118: warning: exported method QnAModule.RootHandler should have comment or be unexported (golint)
    • Line 123: warning: exported method QnAModule.MetaInfo should have comment or be unexported (golint)
    • Line 127: warning: exported method QnAModule.AdditionalProperties should have comment or be unexported (golint)
    • weaviate/modules/text2vec-contextionary/client/contextionary.go
    • Line 145: warning: exported method Client.VectorForWord should have comment or be unexported (golint)
    • Line 154: warning: exported method Client.MultiVectorForWord should have comment or be unexported (golint)
    • Line 179: warning: exported method Client.MultiNearestWordsByVector should have comment or be unexported (golint)
    • Line 235: warning: exported method Client.VectorForCorpi should have comment or be unexported (golint)
    • Line 250: warning: exported method Client.VectorOnlyForCorpi should have comment or be unexported (golint)
    • Line 255: warning: exported method Client.NearestWordsByVector should have comment or be unexported (golint)
    • Line 268: warning: exported method Client.AddExtension should have comment or be unexported (golint)
    • Line 289: warning: exported method Client.WaitForStartupAndValidateVersion should have comment or be unexported (golint)
    • Line 320: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • weaviate/usecases/config/environment.go
    • Line 103: warning: exported const VectorizerModuleNone should have comment or be unexported (golint)
    • Line 105: warning: comment on exported const VectorizerModuleText2VecContextionary should be of the form "VectorizerModuleText2VecContextionary ..." (golint)
    • weaviate/usecases/objects/manager.go
    • Line 12: warning: package comment should be of the form "Package objects ..." (golint)
    • Line 51: warning: exported type VectorizerProvider should have comment or be unexported (golint)
    • Line 55: warning: exported type Vectorizer should have comment or be unexported (golint)
    • Line 68: warning: exported type VectorRepo should have comment or be unexported (golint)
    • Line 84: warning: exported type ModulesProvider should have comment or be unexported (golint)
    • weaviate/adapters/handlers/graphql/descriptions/aggregate.go
    • Line 21: warning: exported const GroupBy should have comment or be unexported (golint)
    • Line 24: warning: exported const AggregatePropertyObject should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported const AggregateObjectsObj should have comment or be unexported (golint)
    • Line 30: warning: exported const AggregateMean should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: exported const AggregateNumericObj should have comment or be unexported (golint)
    • Line 42: warning: exported const AggregateCountObj should have comment or be unexported (golint)
    • Line 44: warning: exported const AggregateGroupedByObj should have comment or be unexported (golint)
    • Line 47: warning: exported const AggregateGroupedByGroupedByPath should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: comment on exported const NetworkAggregateWeaviateObj should be of the form "NetworkAggregateWeaviateObj ..." (golint)
    • Line 54: warning: exported const NetworkAggregate should have comment or be unexported (golint)
    • Line 57: warning: exported const NetworkAggregateObj should have comment (or a comment on this block) or be unexported (golint)
    • Line 61: warning: exported const NetworkAggregateThingsActionsObj should have comment or be unexported (golint)
    • Line 64: warning: exported const NetworkAggregateMean should have comment (or a comment on this block) or be unexported (golint)
    • Line 74: warning: exported const NetworkAggregateNumericObj should have comment or be unexported (golint)
    • Line 76: warning: exported const NetworkAggregateCountObj should have comment or be unexported (golint)
    • Line 78: warning: exported const NetworkAggregateGroupedByObj should have comment or be unexported (golint)
    • Line 81: warning: exported const NetworkAggregateGroupedByGroupedByPath should have comment (or a comment on this block) or be unexported (golint)
    • weaviate/modules/text2vec-contextionary/classification/tf_idf.go
    • Line 23: warning: exported type TfIdfCalculator should have comment or be unexported (golint)
    • Line 32: warning: exported function NewTfIdfCalculator should have comment or be unexported (golint)
    • Line 42: warning: exported method TfIdfCalculator.AddDoc should have comment or be unexported (golint)
    • Line 52: warning: exported method TfIdfCalculator.Calculate should have comment or be unexported (golint)
    • Line 91: warning: exported method TfIdfCalculator.Get should have comment or be unexported (golint)
    • Line 104: warning: exported method TfIdfCalculator.GetAllTerms should have comment or be unexported (golint)
    • Line 120: warning: exported type TermWithTfIdf should have comment or be unexported (golint)
    • weaviate/adapters/handlers/graphql/descriptions/getMeta.go
    • Line 22: warning: exported const MetaPropertyType should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported const AggregatePropertyType should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: exported const MetaMetaProperty should have comment (or a comment on this block) or be unexported (golint)
    • Line 59: warning: exported const MetaClassPropertyTotalTrue should have comment (or a comment on this block) or be unexported (golint)
    • Line 64: warning: exported const MetaClassPropertyTotalFalse should have comment (or a comment on this block) or be unexported (golint)
    • Line 69: warning: exported const MetaClassPropertyPointingTo should have comment (or a comment on this block) or be unexported (golint)
    • Line 75: warning: exported const AggregateClassPropertyTotalTrue should have comment (or a comment on this block) or be unexported (golint)
    • Line 80: warning: exported const AggregateClassPropertyTotalFalse should have comment (or a comment on this block) or be unexported (golint)
    • Line 85: warning: exported const AggregateClassPropertyPointingTo should have comment (or a comment on this block) or be unexported (golint)
    • weaviate/modules/qna-transformers/config.go
    • Line 23: warning: exported method QnAModule.ClassConfigDefaults should have comment or be unexported (golint)
    • Line 27: warning: exported method QnAModule.PropertyConfigDefaults should have comment or be unexported (golint)
    • Line 32: warning: exported method QnAModule.ValidateClass should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/vector/geo/geo.go
    • Line 57: warning: exported function NewIndex should have comment or be unexported (golint)
    • Line 103: warning: comment on exported method Index.WithinRange should be of the form "WithinRange ..." (golint)
    • Line 119: warning: exported method Index.Delete should have comment or be unexported (golint)
    • weaviate/modules/text2vec-contextionary/config.go
    • Line 24: warning: exported method ContextionaryModule.ClassConfigDefaults should have comment or be unexported (golint)
    • Line 30: warning: exported method ContextionaryModule.PropertyConfigDefaults should have comment or be unexported (golint)
    • Line 38: warning: exported method ContextionaryModule.ValidateClass should have comment or be unexported (golint)
    • weaviate/usecases/objects/validation/model_validation.go
    • Line 60: warning: exported type Validator should have comment or be unexported (golint)
    • Line 66: warning: exported function New should have comment or be unexported (golint)
    • Line 75: warning: exported method Validator.Object should have comment or be unexported (golint)
    • Line 124: warning: exported method Validator.ValidateMultipleRef should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/vector/hnsw/priorityqueue/queue.go
    • Line 14: warning: exported type Item should have comment or be unexported (golint)
    • Line 19: warning: exported type Queue should have comment or be unexported (golint)
    • Line 24: warning: exported function NewMin should have comment or be unexported (golint)
    • Line 33: warning: exported function NewMax should have comment or be unexported (golint)
    • Line 76: warning: exported method Queue.Insert should have comment or be unexported (golint)
    • Line 85: warning: exported method Queue.Pop should have comment or be unexported (golint)
    • Line 93: warning: exported method Queue.Top should have comment or be unexported (golint)
    • Line 97: warning: exported method Queue.Len should have comment or be unexported (golint)
    • weaviate/usecases/classification/classifier.go
    • Line 55: warning: exported type Classifier should have comment or be unexported (golint)
    • Line 70: warning: exported type ModulesProvider should have comment or be unexported (golint)
    • Line 77: warning: exported function New should have comment or be unexported (golint)
    • Line 98: warning: exported type VectorRepo should have comment or be unexported (golint)
    • Line 128: warning: exported method Classifier.Schedule should have comment or be unexported (golint)
    • Line 205: warning: exported method Classifier.Get should have comment or be unexported (golint)
    • Line 263: warning: exported type ParamsKNN should have comment or be unexported (golint)
    • Line 267: warning: exported method ParamsKNN.SetDefaults should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/refcache/cacher.go
    • Line 32: warning: exported function NewCacher should have comment or be unexported (golint)
    • Line 46: warning: exported type Cacher should have comment or be unexported (golint)
    • Line 55: warning: exported method Cacher.Get should have comment or be unexported (golint)
    • Line 173: warning: exported method Cacher.ReplaceInitialPropertiesWithSpecific should have comment or be unexported (golint)
    • weaviate/modules/img2vec-neural/config.go
    • Line 24: warning: exported method ImageModule.ClassConfigDefaults should have comment or be unexported (golint)
    • Line 28: warning: exported method ImageModule.PropertyConfigDefaults should have comment or be unexported (golint)
    • Line 33: warning: exported method ImageModule.ValidateClass should have comment or be unexported (golint)
    • weaviate/modules/text2vec-transformers/vectorizer/objects.go
    • Line 25: warning: exported type Vectorizer should have comment or be unexported (golint)
    • Line 29: warning: exported function New should have comment or be unexported (golint)
    • Line 35: warning: exported type Client should have comment or be unexported (golint)
    • Line 40: warning: comment on exported type ClassSettings should be of the form "ClassSettings ..." (with optional leading article) (golint)
    • Line 48: warning: don't use underscores in Go names; func parameter schema_map should be schemaMap (golint)
    • Line 57: warning: exported method Vectorizer.Object should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/vector/hnsw/visited/list.go
    • Line 23: warning: exported function NewList should have comment or be unexported (golint)
    • Line 32: warning: exported method List.Visit should have comment or be unexported (golint)
    • Line 36: warning: exported method List.Visited should have comment or be unexported (golint)
    • Line 40: warning: exported method List.Reset should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/inverted/analyzer.go
    • Line 23: warning: exported type Countable should have comment or be unexported (golint)
    • Line 28: warning: exported type Property should have comment or be unexported (golint)
    • Line 34: warning: exported type Analyzer should have comment or be unexported (golint)
    • Line 168: warning: exported function NewAnalyzer should have comment or be unexported (golint)
    • weaviate/test/acceptance/helper/client.go
    • Line 42: warning: comment on exported function Client should be of the form "Client ..." (golint)
    • Line 58: warning: comment on exported function CreateAuth should be of the form "CreateAuth ..." (golint)
    • Line 61: warning: don't use underscores in Go names; var auth_writer should be authWriter (golint)
    • weaviate/modules/text2vec-contextionary/concepts/rest.go
    • Line 21: warning: exported type RESTHandlers should have comment or be unexported (golint)
    • Line 25: warning: exported function NewRESTHandlers should have comment or be unexported (golint)
    • Line 31: warning: exported method RESTHandlers.Handler should have comment or be unexported (golint)
    • Line 94: warning: exported type Inspector should have comment or be unexported (golint)
    • weaviate/test/acceptance/classifications/graphql_helper.go
    • Line 26: warning: exported type GraphQLResult should have comment or be unexported (golint)
    • Line 30: warning: comment on exported function QueryGraphQL should be of the form "QueryGraphQL ..." (golint)
    • Line 42: warning: comment on exported function AssertGraphQL should be of the form "AssertGraphQL ..." (golint)
    • Line 68: warning: comment on exported method GraphQLResult.Get should be of the form "Get ..." (golint)
    • Line 85: warning: comment on exported method GraphQLResult.AsSlice should be of the form "AsSlice ..." (golint)
    • weaviate/adapters/repos/db/vector/hnsw/condensor.go
    • Line 25: warning: exported type MemoryCondensor should have comment or be unexported (golint)
    • Line 30: warning: exported method MemoryCondensor.Do should have comment or be unexported (golint)
    • Line 138: warning: exported method MemoryCondensor.SetLinksAtLevel should have comment or be unexported (golint)
    • Line 159: warning: exported method MemoryCondensor.SetEntryPointWithMaxLayer should have comment or be unexported (golint)
    • Line 168: warning: exported method MemoryCondensor.AddTombstone should have comment or be unexported (golint)
    • Line 176: warning: exported function NewMemoryCondensor should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/docid/docid.go
    • Line 25: warning: exported type Status should have comment or be unexported (golint)
    • Line 28: warning: exported const Active should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported type Lookup should have comment or be unexported (golint)
    • Line 39: warning: exported function AddLookupInTx should have comment or be unexported (golint)
    • Line 61: warning: comment on exported method Lookup.MarshalBinary should be of the form "MarshalBinary ..." (golint)
    • Line 99: warning: exported function LookupFromBinary should have comment or be unexported (golint)
    • Line 133: warning: exported function MarkDeletedInTx should have comment or be unexported (golint)
    • Line 170: warning: exported function RemoveInTx should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/shard.go
    • Line 53: warning: exported function NewShard should have comment or be unexported (golint)
    • Line 118: warning: exported method Shard.ID should have comment or be unexported (golint)
    • Line 122: warning: exported method Shard.DBPath should have comment or be unexported (golint)
    • weaviate/adapters/handlers/graphql/descriptions/get.go
    • Line 21: warning: exported const GetObj should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported const GetObjectsActionsObj should have comment or be unexported (golint)
    • Line 27: warning: exported const GetClassUUID should have comment or be unexported (golint)
    • Line 35: warning: exported const NetworkGetWeaviateObj should have comment or be unexported (golint)
    • Line 38: warning: exported const NetworkGetObjects should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported const NetworkGetObjectsObj should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported const NetworkGetClassUUID should have comment or be unexported (golint)
    • weaviate/test/acceptance/graphql_resolvers/graphql_helper.go
    • Line 26: warning: exported type GraphQLResult should have comment or be unexported (golint)
    • Line 30: warning: comment on exported function QueryGraphQL should be of the form "QueryGraphQL ..." (golint)
    • Line 42: warning: comment on exported function AssertGraphQL should be of the form "AssertGraphQL ..." (golint)
    • Line 68: warning: comment on exported method GraphQLResult.Get should be of the form "Get ..." (golint)
    • Line 85: warning: comment on exported method GraphQLResult.AsSlice should be of the form "AsSlice ..." (golint)
    • weaviate/adapters/repos/classifications/repo.go
    • Line 31: warning: exported type Repo should have comment or be unexported (golint)
    • Line 37: warning: exported function NewRepo should have comment or be unexported (golint)
    • Line 47: warning: exported method Repo.DBPath should have comment or be unexported (golint)
    • Line 81: warning: exported method Repo.Put should have comment or be unexported (golint)
    • Line 93: warning: exported method Repo.Get should have comment or be unexported (golint)
    • weaviate/modules/img2vec-neural/module.go
    • Line 29: warning: exported function New should have comment or be unexported (golint)
    • Line 33: warning: exported type ImageModule should have comment or be unexported (golint)
    • Line 46: warning: exported method ImageModule.Name should have comment or be unexported (golint)
    • Line 50: warning: exported method ImageModule.Init should have comment or be unexported (golint)
    • Line 81: warning: exported method ImageModule.RootHandler should have comment or be unexported (golint)
    • Line 86: warning: exported method ImageModule.VectorizeObject should have comment or be unexported (golint)
    • Line 92: warning: exported method ImageModule.MetaInfo should have comment or be unexported (golint)
    • weaviate/usecases/schema/manager.go
    • Line 44: warning: exported type VectorConfigParser should have comment or be unexported (golint)
    • Line 46: warning: exported type SchemaGetter should have comment or be unexported (golint)
    • Line 50: warning: exported type VectorizerValidator should have comment or be unexported (golint)
    • Line 54: warning: exported type ModuleConfig should have comment or be unexported (golint)
    • Line 130: warning: exported method Manager.TriggerSchemaUpdateCallbacks should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/vector/hnsw/visited/pool.go
    • Line 18: warning: exported type Pool should have comment or be unexported (golint)
    • Line 24: warning: exported function NewPool should have comment or be unexported (golint)
    • Line 37: warning: exported method Pool.Borrow should have comment or be unexported (golint)
    • Line 50: warning: exported method Pool.Return should have comment or be unexported (golint)
    • Line 64: warning: exported method Pool.Destroy should have comment or be unexported (golint)
    • weaviate/entities/moduletools/init_params.go
    • Line 16: warning: exported type ModuleInitParams should have comment or be unexported (golint)
    • Line 22: warning: exported type InitParams should have comment or be unexported (golint)
    • Line 28: warning: exported function NewInitParams should have comment or be unexported (golint)
    • Line 33: warning: exported method InitParams.GetStorageProvider should have comment or be unexported (golint)
    • Line 37: warning: exported method InitParams.GetAppState should have comment or be unexported (golint)
    • Line 41: warning: exported method InitParams.GetLogger should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/inverted/row_cacher.go
    • Line 20: warning: exported type RowCacher should have comment or be unexported (golint)
    • Line 26: warning: exported function NewRowCacher should have comment or be unexported (golint)
    • Line 35: warning: exported method RowCacher.Store should have comment or be unexported (golint)
    • Line 60: warning: exported method RowCacher.Load should have comment or be unexported (golint)
    • weaviate/modules/text2vec-contextionary/extensions/rest_user_facing.go
    • Line 22: warning: exported type RESTUserFacingHandlers should have comment or be unexported (golint)
    • Line 32: warning: exported method RESTHandlers.UserFacingHandler should have comment or be unexported (golint)
    • Line 36: warning: exported method RESTUserFacingHandlers.Handler should have comment or be unexported (golint)
    • Line 83: warning: comment on exported type Proxy should be of the form "Proxy ..." (with optional leading article) (golint)
    • weaviate/adapters/handlers/graphql/descriptions/fetch.go
    • Line 22: warning: exported const LocalFetchObjects should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported const LocalFetchBeacon should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported const LocalFetchFuzzyBeacon should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported const NetworkFetchFuzzy should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: exported const NetworkFetchFuzzyClassName should have comment (or a comment on this block) or be unexported (golint)
    • weaviate/adapters/repos/db/migrator.go
    • Line 24: warning: exported type Migrator should have comment or be unexported (golint)
    • Line 29: warning: exported method Migrator.AddClass should have comment or be unexported (golint)
    • Line 64: warning: exported method Migrator.DropClass should have comment or be unexported (golint)
    • Line 73: warning: exported method Migrator.UpdateClass should have comment or be unexported (golint)
    • Line 81: warning: exported method Migrator.AddProperty should have comment or be unexported (golint)
    • Line 96: warning: exported method Migrator.UpdateProperty should have comment or be unexported (golint)
    • Line 110: warning: exported function NewMigrator should have comment or be unexported (golint)
    • Line 114: warning: exported method Migrator.UpdateVectorIndexConfig should have comment or be unexported (golint)
    • Line 124: warning: exported method Migrator.ValidateVectorIndexConfigUpdate should have comment or be unexported (golint)
    • weaviate/adapters/handlers/graphql/descriptions/filters.go
    • Line 22: warning: exported const LocalMetaWhere should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported const AggregateWhere should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported const NetworkGetWhere should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported const NetworkMetaWhere should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported const NetworkAggregateWhere should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported const WhereOperands should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported const WhereOperator should have comment (or a comment on this block) or be unexported (golint)
    • Line 56: warning: exported const WherePath should have comment or be unexported (golint)
    • Line 59: warning: exported const WhereValueInt should have comment (or a comment on this block) or be unexported (golint)
    • Line 80: warning: exported const WherePropertiesPropertyName should have comment (or a comment on this block) or be unexported (golint)
    • Line 86: warning: exported const WhereKeywords should have comment (or a comment on this block) or be unexported (golint)
    • Line 91: warning: exported const WhereKeywordsValue should have comment (or a comment on this block) or be unexported (golint)
    • Line 96: warning: exported const WhereClass should have comment (or a comment on this block) or be unexported (golint)
    • Line 107: warning: exported const FetchFuzzyValue should have comment (or a comment on this block) or be unexported (golint)
    • Line 130: warning: comment on exported const NetworkTimeout should be of the form "NetworkTimeout ..." (golint)
    • weaviate/adapters/repos/db/vector/hnsw/distancer/geo_spatial.go
    • Line 43: warning: exported type GeoDistancer should have comment or be unexported (golint)
    • Line 47: warning: exported method GeoDistancer.Distance should have comment or be unexported (golint)
    • Line 51: warning: exported type GeoProvider should have comment or be unexported (golint)
    • Line 53: warning: exported method GeoProvider.New should have comment or be unexported (golint)
    • Line 57: warning: exported method GeoProvider.SingleDist should have comment or be unexported (golint)
    • Line 61: warning: exported method GeoProvider.Type should have comment or be unexported (golint)
    • Line 65: warning: exported function NewGeoProvider should have comment or be unexported (golint)
    • weaviate/entities/schema/schema.go
    • Line 18: warning: comment on exported type ClassName should be of the form "ClassName ..." (with optional leading article) (golint)
    • Line 25: warning: comment on exported type PropertyName should be of the form "PropertyName ..." (with optional leading article) (golint)
    • Line 32: warning: exported type ClassAndProperty should have comment or be unexported (golint)
    • Line 37: warning: comment on exported type Schema should be of the form "Schema ..." (with optional leading article) (golint)
    • Line 42: warning: exported function Empty should have comment or be unexported (golint)
    • Line 50: warning: comment on exported method Schema.SemanticSchemaFor should be of the form "SemanticSchemaFor ..." (golint)
    • weaviate/adapters/handlers/graphql/schema.go
    • Line 29: warning: exported type Traverser should have comment or be unexported (golint)
    • Line 33: warning: exported type RequestsLogger should have comment or be unexported (golint)
    • Line 37: warning: comment on exported type GraphQL should be of the form "GraphQL ..." (with optional leading article) (golint)
    • Line 49: warning: comment on exported function Build should be of the form "Build ..." (golint)
    • weaviate/test/acceptance/helper/assertions.go
    • Line 20: warning: comment on exported function AssertRequestOk should be of the form "AssertRequestOk ..." (golint)
    • Line 22: warning: don't use underscores in Go names; func parameter check_fn should be checkFn (golint)
    • Line 24: warning: don't use underscores in Go names; var response_json should be responseJSON (golint)
    • Line 34: warning: comment on exported function AssertRequestFail should be of the form "AssertRequestFail ..." (golint)
    • Line 36: warning: don't use underscores in Go names; func parameter check_fn should be checkFn (golint)
    • Line 38: warning: don't use underscores in Go names; var response_json should be responseJSON (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)
    • weaviate/adapters/handlers/graphql/local/common_filters/parse_filters_into_ast.go
    • Line 12: warning: don't use an underscore in package name (golint)
    • Line 24: warning: comment on exported function ExtractFilters should be of the form "ExtractFilters ..." (golint)
    • Line 30: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 35: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 195: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 220: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • weaviate/entities/schema/accessors.go
    • Line 18: warning: exported method Schema.GetClass should have comment or be unexported (golint)
    • Line 46: warning: exported method Schema.GetProperty should have comment or be unexported (golint)
    • Line 60: warning: exported method Schema.GetPropsOfType should have comment or be unexported (golint)
    • weaviate/entities/moduletools/storage.go
    • Line 14: warning: exported type StorageProvider should have comment or be unexported (golint)
    • Line 18: warning: exported type ScanFn should have comment or be unexported (golint)
    • Line 20: warning: exported type Storage should have comment or be unexported (golint)
    • weaviate/entities/aggregation/result.go
    • Line 14: warning: exported type Result should have comment or be unexported (golint)
    • Line 18: warning: exported type Group should have comment or be unexported (golint)
    • Line 24: warning: exported type Property should have comment or be unexported (golint)
    • Line 33: warning: exported type Text should have comment or be unexported (golint)
    • Line 38: warning: exported type PropertyType should have comment or be unexported (golint)
    • Line 41: warning: exported const PropertyTypeNumerical should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported type GroupedBy should have comment or be unexported (golint)
    • Line 52: warning: exported type TextOccurrence should have comment or be unexported (golint)
    • Line 57: warning: exported type Boolean should have comment or be unexported (golint)
    • Line 65: warning: exported type Reference should have comment or be unexported (golint)
    • weaviate/entities/filters/path.go
    • Line 21: warning: comment on exported type Path should be of the form "Path ..." (with optional leading article) (golint)
    • Line 47: warning: exported method Path.SliceInterface should have comment or be unexported (golint)
    • Line 56: warning: comment on exported method Path.SliceNonTitleized should be of the form "SliceNonTitleized ..." (golint)
    • weaviate/modules/img2vec-neural/nearImage/graphql_provider.go
    • Line 12: warning: don't use MixedCaps in package name; nearImage should be nearimage (golint)
    • Line 18: warning: exported type GraphQLArgumentsProvider should have comment or be unexported (golint)
    • Line 20: warning: exported function New should have comment or be unexported (golint)
    • Line 24: warning: exported method GraphQLArgumentsProvider.Arguments should have comment or be unexported (golint)
    • weaviate/modules/text2vec-contextionary/additional/sempath/builder.go
    • Line 31: warning: exported function New should have comment or be unexported (golint)
    • Line 38: warning: exported type PathBuilder should have comment or be unexported (golint)
    • Line 43: warning: exported type Remote should have comment or be unexported (golint)
    • Line 47: warning: exported method PathBuilder.AdditonalPropertyDefaultValue should have comment or be unexported (golint)
    • Line 51: warning: exported method PathBuilder.AdditionalPropertyFn should have comment or be unexported (golint)
    • Line 51: warning: receiver name f should be consistent with previous receiver name e for PathBuilder (golint)
    • Line 60: warning: exported method PathBuilder.ExtractAdditionalFn should have comment or be unexported (golint)
    • Line 60: warning: receiver name f should be consistent with previous receiver name e for PathBuilder (golint)
    • Line 64: warning: exported method PathBuilder.CalculatePath should have comment or be unexported (golint)
    • Line 64: warning: receiver name f should be consistent with previous receiver name e for PathBuilder (golint)
    • Line 99: warning: receiver name f should be consistent with previous receiver name e for PathBuilder (golint)
    • Line 141: warning: receiver name f should be consistent with previous receiver name e for PathBuilder (golint)
    • Line 151: warning: receiver name f should be consistent with previous receiver name e for PathBuilder (golint)
    • Line 190: warning: receiver name f should be consistent with previous receiver name e for PathBuilder (golint)
    • Line 208: warning: receiver name f should be consistent with previous receiver name e for PathBuilder (golint)
    • Line 230: warning: receiver name f should be consistent with previous receiver name e for PathBuilder (golint)
    • Line 258: warning: receiver name f should be consistent with previous receiver name e for PathBuilder (golint)
    • Line 265: warning: receiver name f should be consistent with previous receiver name e for PathBuilder (golint)
    • Line 274: warning: receiver name f should be consistent with previous receiver name e for PathBuilder (golint)
    • Line 303: warning: receiver name f should be consistent with previous receiver name e for PathBuilder (golint)
    • weaviate/usecases/schema/get.go
    • Line 42: warning: exported method Manager.IndexedInverted should have comment or be unexported (golint)
    • Line 61: warning: exported method Manager.GetClass should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/vector/noop/index.go
    • Line 20: warning: exported type Index should have comment or be unexported (golint)
    • Line 22: warning: exported function NewIndex should have comment or be unexported (golint)
    • Line 26: warning: exported method Index.Add should have comment or be unexported (golint)
    • Line 31: warning: exported method Index.Delete should have comment or be unexported (golint)
    • Line 36: warning: exported method Index.SearchByVector should have comment or be unexported (golint)
    • Line 40: warning: exported method Index.UpdateUserConfig should have comment or be unexported (golint)
    • Line 44: warning: exported method Index.Drop should have comment or be unexported (golint)
    • weaviate/adapters/repos/schema/repo.go
    • Line 32: warning: exported type Repo should have comment or be unexported (golint)
    • Line 38: warning: exported function NewRepo should have comment or be unexported (golint)
    • Line 48: warning: exported method Repo.DBPath should have comment or be unexported (golint)
    • Line 78: warning: exported method Repo.SaveSchema should have comment or be unexported (golint)
    • Line 90: warning: exported method Repo.LoadSchema should have comment or be unexported (golint)
    • weaviate/modules/img2vec-neural/vectorizer/vectorizer.go
    • Line 24: warning: exported type Vectorizer should have comment or be unexported (golint)
    • Line 28: warning: exported function New should have comment or be unexported (golint)
    • Line 34: warning: exported type Client should have comment or be unexported (golint)
    • Line 39: warning: exported type ClassSettings should have comment or be unexported (golint)
    • Line 43: warning: exported method Vectorizer.Object should have comment or be unexported (golint)
    • Line 54: warning: exported method Vectorizer.VectorizeImage should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/storobj/enrich_schema_datatypes.go
    • Line 222: 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 228: 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 235: 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 241: 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 248: 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 254: 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 260: 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 266: 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)
    • weaviate/adapters/repos/db/vector/hnsw/commit_logger_noop.go
    • Line 18: warning: exported method NoopCommitLogger.AddNode should have comment or be unexported (golint)
    • Line 22: warning: exported method NoopCommitLogger.SetEntryPointWithMaxLayer should have comment or be unexported (golint)
    • Line 26: warning: exported method NoopCommitLogger.AddLinkAtLevel should have comment or be unexported (golint)
    • Line 30: warning: exported method NoopCommitLogger.ReplaceLinksAtLevel should have comment or be unexported (golint)
    • Line 34: warning: exported method NoopCommitLogger.AddTombstone should have comment or be unexported (golint)
    • Line 38: warning: exported method NoopCommitLogger.RemoveTombstone should have comment or be unexported (golint)
    • Line 42: warning: exported method NoopCommitLogger.DeleteNode should have comment or be unexported (golint)
    • Line 46: warning: exported method NoopCommitLogger.ClearLinks should have comment or be unexported (golint)
    • Line 50: warning: exported method NoopCommitLogger.Reset should have comment or be unexported (golint)
    • Line 54: warning: exported method NoopCommitLogger.Drop should have comment or be unexported (golint)
    • Line 58: warning: exported function MakeNoopCommitLogger should have comment or be unexported (golint)
    • Line 62: warning: exported method NoopCommitLogger.NewBufferedLinksLogger should have comment or be unexported (golint)
    • Line 62: warning: receiver name b should be consistent with previous receiver name n for NoopCommitLogger (golint)
    • Line 66: warning: exported method NoopCommitLogger.Close should have comment or be unexported (golint)
    • Line 66: warning: receiver name b should be consistent with previous receiver name n for NoopCommitLogger (golint)
    • weaviate/usecases/modules/modules.go
    • Line 33: warning: exported type Provider should have comment or be unexported (golint)
    • Line 42: warning: exported function NewProvider should have comment or be unexported (golint)
    • Line 48: warning: exported method Provider.Register should have comment or be unexported (golint)
    • Line 52: warning: exported method Provider.GetByName should have comment or be unexported (golint)
    • Line 56: warning: exported method Provider.GetAll should have comment or be unexported (golint)
    • Line 67: warning: exported method Provider.GetAllExclude should have comment or be unexported (golint)
    • Line 77: warning: exported method Provider.SetSchemaGetter should have comment or be unexported (golint)
    • Line 81: warning: exported method Provider.Init should have comment or be unexported (golint)
    • weaviate/modules/qna-transformers/additional/provider.go
    • Line 23: warning: exported type AdditionalProperty should have comment or be unexported (golint)
    • Line 32: warning: exported type GraphQLAdditionalArgumentsProvider should have comment or be unexported (golint)
    • Line 36: warning: exported function New should have comment or be unexported (golint)
    • Line 40: warning: exported method GraphQLAdditionalArgumentsProvider.AdditionalProperties should have comment or be unexported (golint)
    • weaviate/modules/text2vec-contextionary/additional/projector/projector.go
    • Line 29: warning: exported function New should have comment or be unexported (golint)
    • Line 35: warning: exported type FeatureProjector should have comment or be unexported (golint)
    • Line 39: warning: exported method FeatureProjector.AdditonalPropertyDefaultValue should have comment or be unexported (golint)
    • Line 43: warning: exported method FeatureProjector.AdditionalPropertyFn should have comment or be unexported (golint)
    • Line 52: warning: exported method FeatureProjector.ExtractAdditionalFn should have comment or be unexported (golint)
    • Line 56: warning: exported method FeatureProjector.Reduce should have comment or be unexported (golint)
    • weaviate/modules/text2vec-contextionary/module.go
    • Line 43: warning: exported function New should have comment or be unexported (golint)
    • Line 80: warning: exported method ContextionaryModule.Name should have comment or be unexported (golint)
    • Line 84: warning: exported method ContextionaryModule.Init should have comment or be unexported (golint)
    • Line 180: warning: exported method ContextionaryModule.RootHandler should have comment or be unexported (golint)
    • Line 192: warning: exported method ContextionaryModule.VectorizeObject should have comment or be unexported (golint)
    • Line 198: warning: exported method ContextionaryModule.Arguments should have comment or be unexported (golint)
    • Line 202: warning: exported method ContextionaryModule.VectorSearches should have comment or be unexported (golint)
    • Line 206: warning: exported method ContextionaryModule.AdditionalProperties should have comment or be unexported (golint)
    • Line 210: warning: exported method ContextionaryModule.Classifiers should have comment or be unexported (golint)
    • Line 214: warning: exported method ContextionaryModule.MetaInfo should have comment or be unexported (golint)
    • weaviate/genesis/state/in_memory.go
    • Line 29: warning: exported function NewInMemoryState should have comment or be unexported (golint)
    • Line 91: warning: don't use underscores in Go names; method parameter contact_at should be contactAt (golint)
    • Line 112: warning: don't use underscores in Go names; method garbage_collect should be garbageCollect (golint)
    • Line 115: warning: don't use underscores in Go names; var deleted_some should be deletedSome (golint)
    • Line 119: warning: don't use underscores in Go names; var peer_times_out_at should be peerTimesOutAt (golint)
    • Line 134: warning: don't use underscores in Go names; method broadcast_update should be broadcastUpdate (golint)
    • weaviate/adapters/repos/db/storobj/storage_object.go
    • Line 31: warning: exported type Object should have comment or be unexported (golint)
    • Line 38: warning: exported function New should have comment or be unexported (golint)
    • Line 45: warning: exported function FromObject should have comment or be unexported (golint)
    • Line 53: warning: exported function FromBinary should have comment or be unexported (golint)
    • Line 62: warning: exported method Object.Class should have comment or be unexported (golint)
    • Line 66: warning: exported method Object.SetDocID should have comment or be unexported (golint)
    • Line 70: warning: exported method Object.DocID should have comment or be unexported (golint)
    • Line 74: warning: exported method Object.CreationTimeUnix should have comment or be unexported (golint)
    • Line 78: warning: exported method Object.ID should have comment or be unexported (golint)
    • Line 82: warning: exported method Object.SetID should have comment or be unexported (golint)
    • Line 86: warning: exported method Object.SetClass should have comment or be unexported (golint)
    • Line 90: warning: exported method Object.LastUpdateTimeUnix should have comment or be unexported (golint)
    • Line 100: warning: exported method Object.Properties should have comment or be unexported (golint)
    • Line 104: warning: exported method Object.PropertiesWithAdditional should have comment or be unexported (golint)
    • Line 135: warning: exported method Object.SetProperties should have comment or be unexported (golint)
    • Line 139: warning: exported method Object.VectorWeights should have comment or be unexported (golint)
    • Line 143: warning: exported method Object.SearchResult should have comment or be unexported (golint)
    • Line 177: warning: exported method Object.Valid should have comment or be unexported (golint)
    • Line 182: warning: exported function SearchResults should have comment or be unexported (golint)
    • Line 192: warning: exported function DocIDFromBinary should have comment or be unexported (golint)
    • Line 420: warning: comment on exported method Object.DeepCopyDangerous should be of the form "DeepCopyDangerous ..." (golint)
    • weaviate/modules/qna-transformers/additional/answer/answer.go
    • Line 24: warning: exported type Params should have comment or be unexported (golint)
    • Line 37: warning: exported type AnswerProvider should have comment or be unexported (golint)
    • Line 42: warning: exported function New should have comment or be unexported (golint)
    • Line 46: warning: exported method AnswerProvider.AdditonalPropertyDefaultValue should have comment or be unexported (golint)
    • Line 50: warning: exported method AnswerProvider.ExtractAdditionalFn should have comment or be unexported (golint)
    • Line 54: warning: exported method AnswerProvider.AdditionalFieldFn should have comment or be unexported (golint)
    • Line 58: warning: exported method AnswerProvider.AdditionalPropertyFn should have comment or be unexported (golint)
    • weaviate/adapters/repos/modules/modules.go
    • Line 24: warning: exported type Repo should have comment or be unexported (golint)
    • Line 30: warning: exported function NewRepo should have comment or be unexported (golint)
    • Line 40: warning: exported method Repo.DBPath should have comment or be unexported (golint)
    • Line 64: warning: exported method Repo.Storage should have comment or be unexported (golint)
    • weaviate/modules/text2vec-contextionary/classification/classifier.go
    • Line 31: warning: exported type Classifier should have comment or be unexported (golint)
    • Line 35: warning: exported function New should have comment or be unexported (golint)
    • Line 39: warning: exported method Classifier.Name should have comment or be unexported (golint)
    • Line 43: warning: exported method Classifier.ClassifyFn should have comment or be unexported (golint)
    • Line 60: warning: exported method Classifier.ParseClassifierSettings should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/inverted/searcher.go
    • Line 33: warning: exported type Searcher should have comment or be unexported (golint)
    • Line 42: warning: exported type DeletedDocIDChecker should have comment or be unexported (golint)
    • Line 46: warning: exported function NewSearcher should have comment or be unexported (golint)
    • Line 138: warning: receiver name fs should be consistent with previous receiver name f for Searcher (golint)
    • Line 212: warning: receiver name fs should be consistent with previous receiver name f for Searcher (golint)
    • Line 261: warning: receiver name fs should be consistent with previous receiver name f for Searcher (golint)
    • Line 267: warning: receiver name fs should be consistent with previous receiver name f for Searcher (golint)
    • Line 316: warning: receiver name fs should be consistent with previous receiver name f for Searcher (golint)
    • Line 331: warning: receiver name fs should be consistent with previous receiver name f for Searcher (golint)
    • Line 349: warning: receiver name fs should be consistent with previous receiver name f for Searcher (golint)
    • Line 364: warning: receiver name fs should be consistent with previous receiver name f for Searcher (golint)
    • Line 395: warning: receiver name fs should be consistent with previous receiver name f for Searcher (golint)
    • Line 418: warning: receiver name fs should be consistent with previous receiver name f for Searcher (golint)
    • Line 435: warning: receiver name fs should be consistent with previous receiver name f for Searcher (golint)
    • Line 439: warning: receiver name fs should be consistent with previous receiver name f for Searcher (golint)
    • weaviate/adapters/repos/db/vector/hnsw/distancer/dot_product.go
    • Line 32: warning: exported type DotProduct should have comment or be unexported (golint)
    • Line 36: warning: exported method DotProduct.Distance should have comment or be unexported (golint)
    • Line 46: warning: exported type DotProductProvider should have comment or be unexported (golint)
    • Line 48: warning: exported function NewDotProductProvider should have comment or be unexported (golint)
    • Line 52: warning: exported function DotProductGo should have comment or be unexported (golint)
    • Line 61: warning: exported method DotProductProvider.SingleDist should have comment or be unexported (golint)
    • Line 72: warning: exported method DotProductProvider.Type should have comment or be unexported (golint)
    • Line 76: warning: exported method DotProductProvider.New should have comment or be unexported (golint)
    • weaviate/modules/qna-transformers/dependency/dependency.go
    • Line 16: warning: exported type NearTextDependecy should have comment or be unexported (golint)
    • Line 21: warning: exported function New should have comment or be unexported (golint)
    • Line 27: warning: exported method NearTextDependecy.Argument should have comment or be unexported (golint)
    • Line 31: warning: exported method NearTextDependecy.GraphQLArgument should have comment or be unexported (golint)
    • Line 35: warning: exported method NearTextDependecy.VectorSearch should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/crud.go
    • Line 32: warning: exported method DB.PutObject should have comment or be unexported (golint)
    • Line 48: warning: exported method DB.DeleteObject should have comment or be unexported (golint)
    • Line 63: warning: exported method DB.MultiGet should have comment or be unexported (golint)
    • Line 139: warning: exported method DB.Exists should have comment or be unexported (golint)
    • Line 155: warning: exported method DB.AddReference should have comment or be unexported (golint)
    • Line 177: warning: exported method DB.Merge should have comment or be unexported (golint)
    • weaviate/modules/text2vec-contextionary/additional/models/models.go
    • Line 14: warning: exported type FeatureProjection should have comment or be unexported (golint)
    • Line 18: warning: exported type NearestNeighbors should have comment or be unexported (golint)
    • Line 22: warning: exported type NearestNeighbor should have comment or be unexported (golint)
    • Line 28: warning: exported type SemanticPath should have comment or be unexported (golint)
    • Line 32: warning: exported type SemanticPathElement should have comment or be unexported (golint)
    • Line 40: warning: exported type Interpretation should have comment or be unexported (golint)
    • Line 44: warning: exported type InterpretationSource should have comment or be unexported (golint)
    • weaviate/modules/text2vec-contextionary/vectorizer/schema_config.go
    • Line 27: warning: exported type ConfigValidator should have comment or be unexported (golint)
    • Line 32: warning: exported type IndexChecker should have comment or be unexported (golint)
    • Line 38: warning: exported type RemoteClient should have comment or be unexported (golint)
    • Line 43: warning: exported function NewConfigValidator should have comment or be unexported (golint)
    • Line 48: warning: exported method ConfigValidator.Do should have comment or be unexported (golint)
    • weaviate/entities/schema/data_types.go
    • Line 20: warning: exported type DataType should have comment or be unexported (golint)
    • Line 46: warning: exported var PrimitiveDataTypes should have comment or be unexported (golint)
    • Line 48: warning: exported type PropertyKind should have comment or be unexported (golint)
    • Line 51: warning: exported const PropertyKindPrimitive should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: exported type PropertyDataType should have comment or be unexported (golint)
    • Line 115: warning: comment on exported method Schema.FindPropertyDataType should be of the form "FindPropertyDataType ..." (golint)
    • weaviate/adapters/repos/db/search.go
    • Line 30: warning: exported method DB.Aggregate should have comment or be unexported (golint)
    • Line 40: warning: exported method DB.ClassSearch should have comment or be unexported (golint)
    • Line 60: warning: exported method DB.VectorClassSearch should have comment or be unexported (golint)
    • Line 81: warning: exported method DB.VectorSearch should have comment or be unexported (golint)
    • Line 136: warning: exported method DB.ObjectSearch should have comment or be unexported (golint)
    • Line 136: warning: receiver name d should be consistent with previous receiver name db for DB (golint)
    • Line 141: warning: receiver name d should be consistent with previous receiver name db for DB (golint)
    • Line 169: warning: receiver name d should be consistent with previous receiver name db for DB (golint)
    • weaviate/adapters/handlers/graphql/test/helper/thunks.go
    • Line 14: warning: exported function NilThunk should have comment or be unexported (golint)
    • Line 20: warning: exported function IdentityThunk should have comment or be unexported (golint)
    • Line 26: warning: exported function EmptyListThunk should have comment or be unexported (golint)
    • Line 33: warning: exported function EmptyList should have comment or be unexported (golint)
    • Line 37: warning: exported function SingletonThunk should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/inverted/delta_merger.go
    • Line 24: warning: exported function NewDeltaMerger should have comment or be unexported (golint)
    • Line 31: warning: exported method DeltaMerger.AddAdditions should have comment or be unexported (golint)
    • Line 42: warning: exported method DeltaMerger.AddDeletions should have comment or be unexported (golint)
    • Line 60: warning: exported method DeltaMerger.Merge should have comment or be unexported (golint)
    • Line 67: warning: exported type DeltaMergeResult should have comment or be unexported (golint)
    • Line 72: warning: exported type MergeProperty should have comment or be unexported (golint)
    • Line 78: warning: exported type MergeItem should have comment or be unexported (golint)
    • Line 103: warning: exported type MergeDocIDWithFrequency should have comment or be unexported (golint)
    • weaviate/modules/text2vec-contextionary/additional/interpretation/interpretation.go
    • Line 21: warning: exported type Interpretation should have comment or be unexported (golint)
    • Line 23: warning: exported function New should have comment or be unexported (golint)
    • Line 27: warning: exported method Interpretation.AdditonalPropertyDefaultValue should have comment or be unexported (golint)
    • Line 31: warning: exported method Interpretation.AdditionalPropertyFn should have comment or be unexported (golint)
    • Line 42: warning: exported method Interpretation.ExtractAdditionalFn should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/vector/hnsw/distancer/cosine_dist.go
    • Line 12: warning: package comment should be of the form "Package distancer ..." (golint)
    • Line 12: warning: package comment should not have leading space (golint)
    • Line 102: warning: exported type CosineProvider should have comment or be unexported (golint)
    • Line 104: warning: exported method CosineProvider.New should have comment or be unexported (golint)
    • Line 108: warning: exported method CosineProvider.SingleDist should have comment or be unexported (golint)
    • Line 113: warning: exported method CosineProvider.Type should have comment or be unexported (golint)
    • Line 117: warning: exported function NewCosineProvider should have comment or be unexported (golint)
    • weaviate/genesis/state/state.go
    • Line 20: warning: exported type PeerInfo should have comment or be unexported (golint)
    • Line 26: warning: exported type Peer should have comment or be unexported (golint)
    • Line 32: warning: exported method Peer.Name should have comment or be unexported (golint)
    • Line 36: warning: exported method Peer.URI should have comment or be unexported (golint)
    • Line 40: warning: comment on exported type State should be of the form "State ..." (with optional leading article) (golint)
    • Line 48: warning: don't use underscores in Go names; interface method parameter contact_time should be contactTime (golint)
    • weaviate/adapters/repos/db/classification.go
    • Line 31: warning: comment on exported method DB.GetUnclassified should be of the form "GetUnclassified ..." (golint)
    • Line 54: warning: comment on exported method DB.AggregateNeighbors should be of the form "AggregateNeighbors ..." (golint)
    • Line 76: warning: comment on exported type KnnAggregator should be of the form "KnnAggregator ..." (with optional leading article) (golint)
    • Line 82: warning: exported function NewKnnAggregator should have comment or be unexported (golint)
    • Line 86: warning: exported method KnnAggregator.Aggregate should have comment or be unexported (golint)
    • weaviate/modules/qna-transformers/ask/param_helper.go
    • Line 14: warning: exported type ParamsHelper should have comment or be unexported (golint)
    • Line 16: warning: exported function NewParamsHelper should have comment or be unexported (golint)
    • Line 20: warning: exported method ParamsHelper.GetQuestion should have comment or be unexported (golint)
    • Line 27: warning: exported method ParamsHelper.GetProperties should have comment or be unexported (golint)
    • Line 34: warning: exported method ParamsHelper.GetCertainty should have comment or be unexported (golint)
    • weaviate/modules/text2vec-transformers/config.go
    • Line 27: warning: exported method TransformersModule.ClassConfigDefaults should have comment or be unexported (golint)
    • Line 34: warning: exported method TransformersModule.PropertyConfigDefaults should have comment or be unexported (golint)
    • Line 42: warning: exported method TransformersModule.ValidateClass should have comment or be unexported (golint)
    • Line 50: warning: exported type ConfigValidator should have comment or be unexported (golint)
    • Line 54: warning: exported type ClassSettings should have comment or be unexported (golint)
    • Line 60: warning: exported function NewConfigValidator should have comment or be unexported (golint)
    • Line 64: warning: exported method ConfigValidator.Do should have comment or be unexported (golint)
    • weaviate/usecases/modules/module_config.go
    • Line 19: warning: exported type ClassBasedModuleConfig should have comment or be unexported (golint)
    • Line 24: warning: exported function NewClassBasedModuleConfig should have comment or be unexported (golint)
    • Line 32: warning: exported method ClassBasedModuleConfig.Class should have comment or be unexported (golint)
    • Line 52: warning: exported method ClassBasedModuleConfig.Property should have comment or be unexported (golint)
    • weaviate/modules/text2vec-contextionary/extensions/rest_storage.go
    • Line 19: warning: exported type RESTHandlers should have comment or be unexported (golint)
    • Line 24: warning: exported function NewRESTHandlers should have comment or be unexported (golint)
    • Line 31: warning: exported type RESTStorageHandlers should have comment or be unexported (golint)
    • Line 41: warning: exported method RESTHandlers.StorageHandler should have comment or be unexported (golint)
    • Line 45: warning: exported method RESTStorageHandlers.Handler should have comment or be unexported (golint)
    • Line 126: warning: exported type Storer should have comment or be unexported (golint)
    • Line 130: warning: exported type Loader should have comment or be unexported (golint)
    • Line 134: warning: exported type LoaderAller should have comment or be unexported (golint)
    • Line 138: warning: exported type LoaderStorer should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/vector/hnsw/vector_cache.go
    • Line 119: warning: receiver name c should be consistent with previous receiver name n for shardedLockCache (golint)
    • Line 133: warning: receiver name c should be consistent with previous receiver name n for shardedLockCache (golint)
    • Line 145: warning: receiver name c should be consistent with previous receiver name n for shardedLockCache (golint)
    • Line 158: warning: receiver name c should be consistent with previous receiver name n for shardedLockCache (golint)
    • Line 164: warning: receiver name c should be consistent with previous receiver name n for shardedLockCache (golint)
    • Line 175: warning: exported function NewNoopCache should have comment or be unexported (golint)
    • weaviate/modules/text2vec-transformers/module.go
    • Line 29: warning: exported function New should have comment or be unexported (golint)
    • Line 33: warning: exported type TransformersModule should have comment or be unexported (golint)
    • Line 58: warning: exported method TransformersModule.Name should have comment or be unexported (golint)
    • Line 62: warning: exported method TransformersModule.Init should have comment or be unexported (golint)
    • Line 96: warning: exported method TransformersModule.RootHandler should have comment or be unexported (golint)
    • Line 101: warning: exported method TransformersModule.VectorizeObject should have comment or be unexported (golint)
    • Line 107: warning: exported method TransformersModule.MetaInfo should have comment or be unexported (golint)
    • weaviate/adapters/handlers/graphql/graphiql/graphiql.go
    • Line 12: warning: package comment should be of the form "Package graphiql ..." (golint)
    • Line 36: warning: exported function AddMiddleware should have comment or be unexported (golint)
    • Line 56: warning: don't use underscores in Go names; var query_params should be queryParams (golint)
    • Line 66: warning: don't use underscores in Go names; var query_vars should be queryVars (golint)
    • weaviate/adapters/repos/db/meassurements.go
    • Line 23: warning: exported type Metrics should have comment or be unexported (golint)
    • Line 27: warning: exported function NewMetrics should have comment or be unexported (golint)
    • Line 31: warning: exported method Metrics.BatchObject should have comment or be unexported (golint)
    • Line 39: warning: exported method Metrics.ObjectStore should have comment or be unexported (golint)
    • Line 46: warning: exported method Metrics.VectorIndex should have comment or be unexported (golint)
    • Line 53: warning: exported method Metrics.PutObject should have comment or be unexported (golint)
    • Line 60: warning: exported method Metrics.PutObjectUpsertObject should have comment or be unexported (golint)
    • Line 67: warning: exported method Metrics.PutObjectUpdateDocID should have comment or be unexported (golint)
    • Line 74: warning: exported method Metrics.PutObjectUpdateInverted should have comment or be unexported (golint)
    • Line 81: warning: exported method Metrics.InvertedDeleteOld should have comment or be unexported (golint)
    • Line 88: warning: exported method Metrics.InvertedDeleteDelta should have comment or be unexported (golint)
    • Line 95: warning: exported method Metrics.InvertedExtend should have comment or be unexported (golint)
    • weaviate/modules/img2vec-neural/nearImage/searcher.go
    • Line 12: warning: don't use MixedCaps in package name; nearImage should be nearimage (golint)
    • Line 24: warning: exported type Searcher should have comment or be unexported (golint)
    • Line 28: warning: exported function NewSearcher should have comment or be unexported (golint)
    • Line 37: warning: exported method Searcher.VectorSearches should have comment or be unexported (golint)
    • weaviate/modules/text2vec-contextionary/additional/provider.go
    • Line 22: warning: exported type AdditionalProperty should have comment or be unexported (golint)
    • Line 30: warning: exported type GraphQLAdditionalArgumentsProvider should have comment or be unexported (golint)
    • Line 37: warning: exported function New should have comment or be unexported (golint)
    • Line 41: warning: exported method GraphQLAdditionalArgumentsProvider.AdditionalProperties should have comment or be unexported (golint)
    • weaviate/usecases/traverser/traverser_get_params.go
    • Line 22: warning: exported type GetParams should have comment or be unexported (golint)
    • Line 35: warning: exported type SelectProperty should have comment or be unexported (golint)
    • Line 47: warning: exported type SelectClass should have comment or be unexported (golint)
    • Line 53: warning: exported type GroupParams should have comment or be unexported (golint)
    • Line 82: warning: exported type SelectProperties should have comment or be unexported (golint)
    • Line 84: warning: exported method SelectProperties.HasRefs should have comment or be unexported (golint)
    • Line 94: warning: exported method SelectProperties.ShouldResolve should have comment or be unexported (golint)
    • Line 130: warning: exported method SelectProperties.FindProperty should have comment or be unexported (golint)
    • Line 140: warning: exported type AdditionalProperties should have comment or be unexported (golint)
    • weaviate/adapters/repos/db/indexcounter/counter.go
    • Line 23: warning: exported type Counter should have comment or be unexported (golint)
    • Line 29: warning: exported function New should have comment or be unexported (golint)
    • Line 56: warning: exported method Counter.GetAndInc should have comment or be unexported (golint)
    • Line 70: warning: exported method Counter.Drop should have comment or be unexported (golint)
    • weaviate/adapters/handlers/graphql/test/helper/mock_resolver.go
    • Line 29: warning: exported type MockResolver should have comment or be unexported (golint)
    • Line 39: warning: exported method MockResolver.Resolve should have comment or be unexported (golint)
    • Line 68: warning: exported method MockResolver.AssertResolve should have comment or be unexported (golint)
    • Line 78: warning: exported method MockResolver.AssertFailToResolve should have comment or be unexported (golint)
    • Line 87: warning: exported method MockResolver.AssertErrors should have comment or be unexported (golint)
    • Line 94: warning: exported method MockResolver.AssertJSONResponse should have comment or be unexported (golint)
    • Line 106: warning: exported type GraphQLResult should have comment or be unexported (golint)
    • Line 110: warning: comment on exported method GraphQLResult.Get should be of the form "Get ..." (golint)
    • weaviate/adapters/repos/db/vector/hnsw/index.go
    • Line 102: warning: exported type CommitLogger should have comment or be unexported (golint)
    • Line 115: warning: exported type BufferedLinksLogger should have comment or be unexported (golint)
    • Line 121: warning: exported type MakeCommitLogger should have comment or be unexported (golint)
    • Line 123: warning: exported type VectorForID should have comment or be unexported (golint)
    • Line 377: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 394: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 417: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • weaviate/usecases/classification/classifier_def.go
    • Line 20: warning: exported type Filters should have comment or be unexported (golint)
    • Line 26: warning: exported type Writer should have comment or be unexported (golint)
    • Line 32: warning: exported type WriterResults should have comment or be unexported (golint)
    • Line 38: warning: exported type ClassifyItemFn should have comment or be unexported (golint)

gocyclo98%

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.


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!