Preparing report...

Report for github.com/moisespsena-go/aorm

A+    Excellent!    Found 98 issues across 142 files

Tweet

gofmt97%

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!


golint33%

Golint is a linter for Go source code.

    • aorm/bid_assigner.go
    • Line 16: warning: exported type BIDAssigner should have comment or be unexported (golint)
    • Line 19: warning: exported method BIDAssigner.DbBindVar should have comment or be unexported (golint)
    • Line 27: warning: exported method BIDAssigner.Valuer should have comment or be unexported (golint)
    • Line 55: warning: exported method BIDAssigner.Scaner should have comment or be unexported (golint)
    • Line 65: warning: exported method BIDAssigner.SQLType should have comment or be unexported (golint)
    • Line 75: warning: exported method BIDAssigner.SQLSize should have comment or be unexported (golint)
    • Line 79: warning: exported method BIDAssigner.Type should have comment or be unexported (golint)
    • Line 83: warning: exported method BIDAssigner.FromRaw should have comment or be unexported (golint)
    • Line 87: warning: exported method BIDAssigner.ToRaw should have comment or be unexported (golint)
    • Line 91: warning: exported type BIDIdValuer should have comment or be unexported (golint)
    • Line 93: warning: exported method BIDIdValuer.Bytes should have comment or be unexported (golint)
    • Line 93: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 97: warning: exported method BIDIdValuer.ParseBytes should have comment or be unexported (golint)
    • Line 103: warning: exported method BIDIdValuer.ParseString should have comment or be unexported (golint)
    • Line 109: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 113: warning: exported method BIDIdValuer.IsZero should have comment or be unexported (golint)
    • Line 113: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 117: warning: exported method BIDIdValuer.Raw should have comment or be unexported (golint)
    • Line 117: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/scope_sqlbuild.go
    • Line 140: 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 164: warning: don't use underscores in Go names; var sql_ should be sql (golint)
    • Line 174: warning: don't use underscores in Go names; var sql_ should be sql (golint)
    • Line 221: 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 242: 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)
    • aorm/tablename.go
    • Line 5: warning: exported type TableNameResolverFunc should have comment or be unexported (golint)
    • Line 7: warning: exported method TableNameResolverFunc.TableName should have comment or be unexported (golint)
    • Line 7: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 11: warning: exported function TableNameResolverOf should have comment or be unexported (golint)
    • Line 15: warning: exported method DB.SetTableNameResolver should have comment or be unexported (golint)
    • Line 18: 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)
    • aorm/join.go
    • Line 3: warning: exported type JoinType should have comment or be unexported (golint)
    • Line 5: warning: exported method JoinType.IsInner should have comment or be unexported (golint)
    • Line 9: warning: exported method JoinType.IsLeft should have comment or be unexported (golint)
    • Line 13: warning: exported method JoinType.IsRight should have comment or be unexported (golint)
    • Line 31: warning: exported const JoinLeft should have comment (or a comment on this block) or be unexported (golint)
    • aorm/scaner.go
    • Line 8: warning: exported function NewFieldScanner should have comment or be unexported (golint)
    • Line 45: warning: exported function NewValueScanner should have comment or be unexported (golint)
    • Line 51: warning: exported type ValueScanner should have comment or be unexported (golint)
    • Line 62: warning: exported method ValueScanner.IsNil should have comment or be unexported (golint)
    • Line 66: warning: exported method ValueScanner.IsPtr should have comment or be unexported (golint)
    • Line 70: warning: exported method ValueScanner.Scan should have comment or be unexported (golint)
    • aorm/scope_logger.go
    • Line 4: warning: exported const LOG_CREATE should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported var DefaultLogger should have comment or be unexported (golint)
    • Line 14: warning: exported type ScopeLoggers should have comment or be unexported (golint)
    • Line 19: warning: exported method ScopeLoggers.Register should have comment or be unexported (golint)
    • Line 31: warning: exported method ScopeLoggers.Update should have comment or be unexported (golint)
    • Line 35: warning: exported method ScopeLoggers.Create should have comment or be unexported (golint)
    • Line 39: warning: exported method ScopeLoggers.Delete should have comment or be unexported (golint)
    • Line 43: warning: exported method ScopeLoggers.Query should have comment or be unexported (golint)
    • Line 47: warning: exported method ScopeLoggers.Exec should have comment or be unexported (golint)
    • Line 51: warning: exported method ScopeLoggers.Many should have comment or be unexported (golint)
    • Line 58: warning: exported method ScopeLoggers.Crud should have comment or be unexported (golint)
    • Line 62: warning: exported method ScopeLoggers.All should have comment or be unexported (golint)
    • Line 66: warning: exported method ScopeLoggers.Call should have comment or be unexported (golint)
    • aorm/timestamps.go
    • Line 6: warning: exported const TimestampFieldCreatedAt should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported var TimestampFields should have comment or be unexported (golint)
    • Line 25: warning: exported type Timestamps should have comment or be unexported (golint)
    • Line 30: warning: exported method Timestamps.GetCreatedAt should have comment or be unexported (golint)
    • Line 34: warning: exported method Timestamps.GetUpdatedAt should have comment or be unexported (golint)
    • aorm/assigners.go
    • Line 5: warning: exported function Assigners should have comment or be unexported (golint)
    • Line 9: warning: exported function Register should have comment or be unexported (golint)
    • aorm/clause.go
    • Line 10: warning: exported type Clause should have comment or be unexported (golint)
    • Line 15: warning: exported method Clause.BuildCondition should have comment or be unexported (golint)
    • aorm/helper_m2mnamer.go
    • Line 10: warning: exported function M2MNameOf should have comment or be unexported (golint)
    • Line 14: warning: exported function M2MNameOfString should have comment or be unexported (golint)
    • aorm/scope_clause.go
    • Line 9: warning: exported method Scope.Clause should have comment or be unexported (golint)
    • Line 17: warning: exported method Scope.ClauseToSql should have comment or be unexported (golint)
    • Line 25: 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 32: 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 41: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 48: 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)
    • aorm/jointable.go
    • Line 29: warning: exported method JoinTableHandler.TableName should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 33: warning: exported method JoinTableHandler.Source should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method JoinTableHandler.Destination should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: exported function NewJoinTableHandler should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 143: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 165: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/main.go
    • Line 46: warning: exported function NewDB should have comment or be unexported (golint)
    • Line 157: warning: comment on exported method DB.Dialect should be of the form "Dialect ..." (golint)
    • Line 281: warning: comment on exported method DB.ExtraSelectCallback should be of the form "ExtraSelectCallback ..." (golint)
    • Line 363: warning: comment on exported method DB.Assign should be of the form "Assign ..." (golint)
    • Line 705: warning: comment on exported method DB.InlinePreload should be of the form "InlinePreload ..." (golint)
    • Line 894: warning: comment on exported method DB.DisableAfterScanCallback should be of the form "DisableAfterScanCallback ..." (golint)
    • Line 913: warning: comment on exported method DB.EnableAfterScanCallback should be of the form "EnableAfterScanCallback ..." (golint)
    • Line 933: warning: comment on exported method DB.IsEnabledAfterScanCallback should be of the form "IsEnabledAfterScanCallback ..." (golint)
    • Line 953: warning: exported method DB.Path should have comment or be unexported (golint)
    • Line 957: warning: exported method DB.PathString should have comment or be unexported (golint)
    • Line 973: warning: exported method DB.Inside should have comment or be unexported (golint)
    • Line 979: warning: exported method DB.RegisterAssigner should have comment or be unexported (golint)
    • Line 990: warning: exported method DB.GetAssigner should have comment or be unexported (golint)
    • Line 1002: warning: exported method DB.GetArgVariabler should have comment or be unexported (golint)
    • Line 1014: warning: exported method DB.SetSingleUpdate should have comment or be unexported (golint)
    • Line 1018: warning: exported method DB.SingleUpdate should have comment or be unexported (golint)
    • Line 1025: warning: exported method DB.Loggers should have comment or be unexported (golint)
    • Line 1036: warning: exported method DB.SetCurrentUser should have comment or be unexported (golint)
    • Line 1040: warning: exported method DB.GetCurrentUser should have comment or be unexported (golint)
    • Line 1044: warning: exported method DB.GetCurrentUserID should have comment or be unexported (golint)
    • Line 1073: warning: exported method DB.DefaultColumnValue should have comment or be unexported (golint)
    • Line 1079: warning: exported method DB.ColumnsScannerCallback should have comment or be unexported (golint)
    • aorm/related_api.go
    • Line 4: warning: exported type OnRelated should have comment or be unexported (golint)
    • Line 8: warning: exported type OnRelatedField should have comment or be unexported (golint)
    • aorm/struct_index_builder.go
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/callback_row_query.go
    • Line 11: warning: exported type RowQueryResult should have comment or be unexported (golint)
    • Line 15: warning: exported type RowsQueryResult should have comment or be unexported (golint)
    • aorm/id_helpers.go
    • Line 3: warning: exported function InID should have comment or be unexported (golint)
    • Line 7: warning: exported function InIDNamedTable should have comment or be unexported (golint)
    • Line 11: warning: exported function IDSlice should have comment or be unexported (golint)
    • aorm/inlinepreload.go
    • Line 9: warning: exported type InlinePreloadInfo should have comment or be unexported (golint)
    • Line 15: warning: exported type InlinePreloadOptions should have comment or be unexported (golint)
    • Line 23: warning: exported type InlinePreloadBuilder should have comment or be unexported (golint)
    • Line 28: warning: exported type InlinePreloader should have comment or be unexported (golint)
    • Line 42: warning: exported method InlinePreloader.Fields should have comment or be unexported (golint)
    • Line 95: warning: exported method InlinePreloader.GetFields should have comment or be unexported (golint)
    • Line 121: warning: exported method InlinePreloader.GetQuery should have comment or be unexported (golint)
    • Line 133: warning: exported method InlinePreloader.Apply should have comment or be unexported (golint)
    • Line 140: warning: exported method InlinePreloader.Scan should have comment or be unexported (golint)
    • Line 183: warning: exported type InlinePreloads should have comment or be unexported (golint)
    • Line 189: warning: exported method InlinePreloads.Next should have comment or be unexported (golint)
    • Line 200: warning: exported method InlinePreloads.GetDBName should have comment or be unexported (golint)
    • Line 208: warning: exported function InlinePreloadFieldsKeyOf should have comment or be unexported (golint)
    • aorm/scope.go
    • Line 15: warning: exported type Operation should have comment or be unexported (golint)
    • Line 18: warning: exported const OpQuery should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported method Scope.InlinePreloads should have comment or be unexported (golint)
    • Line 88: warning: comment on exported method Scope.Dialect should be of the form "Dialect ..." (golint)
    • Line 171: warning: comment on exported method Scope.FieldByName should be of the form "FieldByName ..." (golint)
    • Line 310: warning: comment on exported method Scope.RealTableName should be of the form "RealTableName ..." (golint)
    • Line 334: warning: exported method Scope.Context should have comment or be unexported (golint)
    • Line 338: warning: comment on exported method Scope.TableName should be of the form "TableName ..." (golint)
    • Line 911: warning: exported method Scope.ScopeOfField should have comment or be unexported (golint)
    • Line 964: warning: exported method Scope.SetVirtualField should have comment or be unexported (golint)
    • Line 964: warning: receiver name s should be consistent with previous receiver name scope for Scope (golint)
    • Line 977: warning: exported method Scope.GetVirtualField should have comment or be unexported (golint)
    • Line 977: warning: receiver name s should be consistent with previous receiver name scope for Scope (golint)
    • Line 981: warning: receiver name s should be consistent with previous receiver name scope for Scope (golint)
    • Line 991: warning: receiver name s should be consistent with previous receiver name scope for Scope (golint)
    • Line 996: warning: receiver name s should be consistent with previous receiver name scope for Scope (golint)
    • Line 1001: warning: exported method Scope.Loggers should have comment or be unexported (golint)
    • Line 1001: warning: receiver name s should be consistent with previous receiver name scope for Scope (golint)
    • Line 1012: warning: exported method Scope.MustLoggers should have comment or be unexported (golint)
    • Line 1012: warning: receiver name s should be consistent with previous receiver name scope for Scope (golint)
    • Line 1017: warning: receiver name s should be consistent with previous receiver name scope for Scope (golint)
    • Line 1028: warning: exported method Scope.ErrorCallbacks should have comment or be unexported (golint)
    • Line 1028: warning: receiver name s should be consistent with previous receiver name scope for Scope (golint)
    • aorm/scope_modelstruct.go
    • Line 46: warning: comment on exported method Scope.GetNonRelatedStructFields should be of the form "GetNonRelatedStructFields ..." (golint)
    • aorm/dialect_common.go
    • Line 51: warning: receiver name s should be consistent with previous receiver name c for commonDialect (golint)
    • Line 63: warning: receiver name s should be consistent with previous receiver name c for commonDialect (golint)
    • Line 70: warning: receiver name s should be consistent with previous receiver name c for commonDialect (golint)
    • Line 127: warning: receiver name s should be consistent with previous receiver name c for commonDialect (golint)
    • Line 134: warning: receiver name s should be consistent with previous receiver name c for commonDialect (golint)
    • Line 139: warning: receiver name s should be consistent with previous receiver name c for commonDialect (golint)
    • Line 143: warning: receiver name s should be consistent with previous receiver name c for commonDialect (golint)
    • Line 150: warning: receiver name s should be consistent with previous receiver name c for commonDialect (golint)
    • Line 157: warning: receiver name s should be consistent with previous receiver name c for commonDialect (golint)
    • Line 162: warning: receiver name s should be consistent with previous receiver name c for commonDialect (golint)
    • Line 193: warning: receiver name d should be consistent with previous receiver name c for commonDialect (golint)
    • aorm/dialect_mysql.go
    • Line 198: warning: receiver name d should be consistent with previous receiver name s for mysql (golint)
    • Line 201: warning: don't use underscores in Go names; var index_name should be indexName (golint)
    • aorm/options.go
    • Line 4: warning: exported const StoreBlankField should have comment (or a comment on this block) or be unexported (golint)
    • aorm/main_context.go
    • Line 5: warning: exported method DB.Deadline should have comment or be unexported (golint)
    • Line 9: warning: exported method DB.Done should have comment or be unexported (golint)
    • Line 13: warning: exported method DB.Err should have comment or be unexported (golint)
    • Line 20: warning: exported method DB.Value should have comment or be unexported (golint)
    • aorm/model.go
    • Line 15: warning: exported type ModelTS should have comment or be unexported (golint)
    • aorm/query.go
    • Line 14: warning: exported type Query should have comment or be unexported (golint)
    • Line 19: warning: exported method Query.Wrap should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 24: warning: exported method Query.AddArgs should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: exported method Query.Build should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/quote.go
    • Line 6: warning: exported const DefaultQuoter should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported type Quoter should have comment or be unexported (golint)
    • Line 16: warning: exported type QuoteRuner should have comment or be unexported (golint)
    • Line 19: warning: exported method QuoteRuner.QuoteChar should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/conditions.go
    • Line 7: warning: exported type Conditions should have comment or be unexported (golint)
    • Line 14: warning: exported function NewConditions should have comment or be unexported (golint)
    • Line 18: warning: exported method Conditions.Prepare should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method Conditions.Where should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported method Conditions.Not should have comment or be unexported (golint)
    • Line 53: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 58: warning: exported method Conditions.Or should have comment or be unexported (golint)
    • Line 58: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 63: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: exported method Conditions.MergeTo should have comment or be unexported (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 77: warning: exported method Conditions.WhereClause should have comment or be unexported (golint)
    • Line 77: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/dialect_postgres.go
    • Line 143: warning: receiver name d should be consistent with previous receiver name s for postgres (golint)
    • Line 147: warning: don't use underscores in Go names; var index_name should be indexName (golint)
    • aorm/extraselect.go
    • Line 48: warning: exported type ExtraResult should have comment or be unexported (golint)
    • Line 55: warning: exported method ExtraResult.Get should have comment or be unexported (golint)
    • Line 63: warning: exported type ExtraSelectModel should have comment or be unexported (golint)
    • Line 67: warning: exported method ExtraSelectModel.SetAormExtraScannedValues should have comment or be unexported (golint)
    • Line 71: warning: exported method ExtraSelectModel.GetAormExtraScannedValue should have comment or be unexported (golint)
    • Line 79: warning: exported method ExtraSelectModel.GetAormExtraScannedValues should have comment or be unexported (golint)
    • aorm/id_value_int.go
    • Line 9: warning: exported type IntId should have comment or be unexported (golint)
    • Line 11: warning: exported method IntId.Int should have comment or be unexported (golint)
    • Line 11: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 15: warning: exported method IntId.Bytes should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 21: warning: exported method IntId.ParseBytes should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method IntId.ParseString should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: exported method IntId.IsZero should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported method IntId.Raw should have comment or be unexported (golint)
    • Line 53: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/relationship.go
    • Line 25: warning: exported method Relationship.RelatedFields should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 34: warning: exported method Relationship.SetRelatedID should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method Relationship.GetRelatedID should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 57: warning: exported method Relationship.DefaultRelatedID should have comment or be unexported (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: exported method Relationship.ForeignFields should have comment or be unexported (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: exported method Relationship.AssoctiationFields should have comment or be unexported (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 95: warning: exported method Relationship.InstanceToRelatedID should have comment or be unexported (golint)
    • Line 95: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/softdelete_api.go
    • Line 6: warning: exported type SoftDeleter should have comment or be unexported (golint)
    • Line 10: warning: exported type SoftDeleteAuditor should have comment or be unexported (golint)
    • aorm/dialect.go
    • Line 51: warning: exported type FieldStructure should have comment or be unexported (golint)
    • aorm/modelstruct_instance.go
    • Line 8: warning: exported type Instance should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 30: warning: exported method Instance.RelatedFields should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: exported method Instance.ID should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: exported method ModelStruct.CreateFieldByName should have comment or be unexported (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: exported method ModelStruct.MustCreateFieldByName should have comment or be unexported (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 112: warning: exported method ModelStruct.InstanceOf should have comment or be unexported (golint)
    • Line 112: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 155: warning: exported method ModelStruct.FirstFieldValue should have comment or be unexported (golint)
    • Line 155: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/modelstruct_storage_excludes.go
    • Line 18: warning: exported function ExcludeTypeForModelStruct should have comment or be unexported (golint)
    • Line 36: warning: exported function AcceptTypeForModelStruct should have comment or be unexported (golint)
    • Line 55: warning: exported function AcceptableTypeForModelStructInterface should have comment or be unexported (golint)
    • aorm/inlinepreload_api.go
    • Line 4: warning: exported type InlinePreloadFields should have comment or be unexported (golint)
    • Line 8: warning: exported type InlinePreloadFieldsWithScope should have comment or be unexported (golint)
    • Line 12: warning: exported type AfterInlinePreloadScanner should have comment or be unexported (golint)
    • aorm/iterator.go
    • Line 5: warning: exported type IteratorHeader should have comment or be unexported (golint)
    • Line 9: warning: exported type RecordsIterator should have comment or be unexported (golint)
    • Line 15: warning: exported function Iterate should have comment or be unexported (golint)
    • Line 22: warning: exported type RecordsIteratorOpener should have comment or be unexported (golint)
    • Line 26: warning: exported function OpenIterate should have comment or be unexported (golint)
    • Line 34: warning: exported function Each should have comment or be unexported (golint)
    • aorm/keynamebuilder.go
    • Line 10: warning: exported type KeyNamer should have comment or be unexported (golint)
    • Line 15: warning: exported type KeyNamerFunc should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 28: warning: exported function KeyNameBuilderOf should have comment or be unexported (golint)
    • aorm/modelstruct_idparse.go
    • Line 12: warning: exported function IDValueRawConverterRegister should have comment or be unexported (golint)
    • Line 16: warning: exported function IDValueRawConverterGet should have comment or be unexported (golint)
    • Line 23: warning: exported method ModelStruct.ParseIDBytes should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported method ModelStruct.ParseIDString should have comment or be unexported (golint)
    • Line 53: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/id.go
    • Line 11: warning: exported type Id should have comment or be unexported (golint)
    • Line 18: warning: exported function NewId should have comment or be unexported (golint)
    • Line 22: warning: exported method Id.Field should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: exported method Id.Value should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported method Id.Raw should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method Id.SetValue should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: 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 59: warning: exported method Id.Bytes should have comment or be unexported (golint)
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: exported method Id.IsZero should have comment or be unexported (golint)
    • Line 79: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: exported method Id.Fields should have comment or be unexported (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 95: warning: exported method Id.Values should have comment or be unexported (golint)
    • Line 95: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 99: warning: exported method Id.SetTo should have comment or be unexported (golint)
    • Line 99: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 120: warning: exported method Id.WhereClause should have comment or be unexported (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 144: warning: exported method Id.Exclude should have comment or be unexported (golint)
    • Line 144: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 158: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 163: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 194: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 198: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 203: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/id_fake.go
    • Line 5: warning: exported function FakeID should have comment or be unexported (golint)
    • Line 9: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 13: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/struct_index.go
    • Line 8: warning: exported type StructIndex should have comment or be unexported (golint)
    • Line 17: warning: exported method StructIndex.BuildName should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 24: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 29: warning: exported method StructIndex.Columns should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method StructIndex.FieldsNames should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 66: warning: exported method StructIndex.SqlCreate should have comment or be unexported (golint)
    • Line 66: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: exported method StructIndex.SqlDrop should have comment or be unexported (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: exported type IndexMap should have comment or be unexported (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/helper_api.go
    • Line 4: warning: exported type Zeroer should have comment or be unexported (golint)
    • Line 8: warning: exported type Reseter should have comment or be unexported (golint)
    • aorm/methodcallback.go
    • Line 74: warning: exported type StructFieldMethodCallbacksRegistrator should have comment or be unexported (golint)
    • Line 80: warning: comment on exported method StructFieldMethodCallbacksRegistrator.RegisterFieldType should be of the form "RegisterFieldType ..." (golint)
    • Line 89: warning: comment on exported method StructFieldMethodCallbacksRegistrator.UnregisterFieldType should be of the form "UnregisterFieldType ..." (golint)
    • Line 94: warning: comment on exported method StructFieldMethodCallbacksRegistrator.EnableFieldType should be of the form "EnableFieldType ..." (golint)
    • Line 101: warning: comment on exported method StructFieldMethodCallbacksRegistrator.DisableFieldType should be of the form "DisableFieldType ..." (golint)
    • Line 108: warning: comment on exported method StructFieldMethodCallbacksRegistrator.IsEnabledFieldType should be of the form "IsEnabledFieldType ..." (golint)
    • Line 116: warning: comment on exported method StructFieldMethodCallbacksRegistrator.RegisteredFieldType should be of the form "RegisteredFieldType ..." (golint)
    • Line 161: warning: exported function NewStructFieldMethodCallbacksRegistrator should have comment or be unexported (golint)
    • Line 166: warning: exported function AfterScanMethodCallback should have comment or be unexported (golint)
    • aorm/noexec.go
    • Line 5: warning: exported type ExecState should have comment or be unexported (golint)
    • aorm/tablename_api.go
    • Line 4: warning: exported type TableNamer should have comment or be unexported (golint)
    • Line 8: warning: exported type TableNamePlurabler should have comment or be unexported (golint)
    • Line 12: warning: exported type TableNameResolver should have comment or be unexported (golint)
    • aorm/types/money.go
    • Line 11: warning: exported type Money should have comment or be unexported (golint)
    • Line 13: warning: exported type MoneyAssigner should have comment or be unexported (golint)
    • Line 21: warning: exported method MoneyAssigner.Select should have comment or be unexported (golint)
    • Line 29: warning: exported method MoneyAssigner.SelectWrap should have comment or be unexported (golint)
    • Line 37: warning: exported method MoneyAssigner.DbBindVar should have comment or be unexported (golint)
    • Line 45: warning: exported method MoneyAssigner.Valuer should have comment or be unexported (golint)
    • Line 51: warning: exported method MoneyAssigner.Scaner should have comment or be unexported (golint)
    • Line 66: warning: exported method MoneyAssigner.SQLType should have comment or be unexported (golint)
    • Line 74: warning: exported method MoneyAssigner.SQLSize should have comment or be unexported (golint)
    • Line 78: warning: exported method MoneyAssigner.Type should have comment or be unexported (golint)
    • aorm/types/time.go
    • Line 12: warning: exported type Time should have comment or be unexported (golint)
    • Line 16: warning: exported function NewTime should have comment or be unexported (golint)
    • Line 20: warning: exported method Time.Time should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 24: warning: exported method Time.Hour should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 28: warning: exported method Time.Minute should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 32: warning: exported method Time.Second should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported method Time.AormDataType should have comment or be unexported (golint)
    • Line 40: warning: exported method Time.Value should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported method Time.Scan should have comment or be unexported (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 63: warning: exported type TimeZ should have comment or be unexported (golint)
    • Line 67: warning: exported function NewTimeZ should have comment or be unexported (golint)
    • Line 71: warning: exported method TimeZ.Hour should have comment or be unexported (golint)
    • Line 71: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 75: warning: exported method TimeZ.Minute should have comment or be unexported (golint)
    • Line 75: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: exported method TimeZ.Second should have comment or be unexported (golint)
    • Line 79: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 83: warning: exported method TimeZ.Zone should have comment or be unexported (golint)
    • Line 83: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: exported method TimeZ.Time should have comment or be unexported (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported method TimeZ.AormDataType should have comment or be unexported (golint)
    • Line 96: warning: exported method TimeZ.Value should have comment or be unexported (golint)
    • Line 96: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 100: warning: exported method TimeZ.Scan should have comment or be unexported (golint)
    • Line 100: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 132: warning: exported function ParseTZ should have comment or be unexported (golint)
    • Line 143: warning: exported function TZOfTime should have comment or be unexported (golint)
    • aorm/assign.go
    • Line 9: warning: exported type AssignerRegistrator should have comment or be unexported (golint)
    • Line 13: warning: exported method AssignerRegistrator.Register should have comment or be unexported (golint)
    • Line 22: warning: exported method AssignerRegistrator.Get should have comment or be unexported (golint)
    • Line 29: warning: exported method AssignerRegistrator.Of should have comment or be unexported (golint)
    • Line 40: warning: exported method AssignerRegistrator.Has should have comment or be unexported (golint)
    • Line 47: warning: exported method AssignerRegistrator.ApplyToDialect should have comment or be unexported (golint)
    • Line 55: warning: exported type SimpleAssigner should have comment or be unexported (golint)
    • Line 63: warning: exported method SimpleAssigner.Type should have comment or be unexported (golint)
    • Line 67: warning: exported method SimpleAssigner.Valuer should have comment or be unexported (golint)
    • Line 71: warning: exported method SimpleAssigner.Scaner should have comment or be unexported (golint)
    • Line 75: warning: exported method SimpleAssigner.SQLType should have comment or be unexported (golint)
    • Line 88: warning: exported function ValuerFunc should have comment or be unexported (golint)
    • Line 92: warning: exported type Scanner should have comment or be unexported (golint)
    • Line 96: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 100: warning: exported function ScannerFunc should have comment or be unexported (golint)
    • aorm/errors.go
    • Line 30: warning: exported function WalkErr should have comment or be unexported (golint)
    • Line 68: warning: exported function IsError should have comment or be unexported (golint)
    • Line 74: warning: exported function ErrorByType should have comment or be unexported (golint)
    • Line 86: warning: exported function IsErrorTyp should have comment or be unexported (golint)
    • Line 133: warning: comment on exported type QueryError should be of the form "QueryError ..." (with optional leading article) (golint)
    • Line 139: warning: exported function NewQueryError should have comment or be unexported (golint)
    • Line 144: warning: comment on exported method QueryError.Cause should be of the form "Cause ..." (golint)
    • Line 162: warning: exported function IsQueryError should have comment or be unexported (golint)
    • Line 166: warning: exported function GetQueryError should have comment or be unexported (golint)
    • Line 173: warning: exported type DuplicateUniqueIndexError should have comment or be unexported (golint)
    • Line 178: warning: exported method DuplicateUniqueIndexError.Index should have comment or be unexported (golint)
    • Line 182: warning: exported method DuplicateUniqueIndexError.Cause should have comment or be unexported (golint)
    • Line 192: warning: exported function IsDuplicateUniqueIndexError should have comment or be unexported (golint)
    • Line 196: warning: exported function GetDuplicateUniqueIndexError should have comment or be unexported (golint)
    • Line 203: warning: exported type PathError should have comment or be unexported (golint)
    • aorm/virtualfield.go
    • Line 3: warning: exported type VirtualFields should have comment or be unexported (golint)
    • Line 7: warning: exported method VirtualFields.GetVirtualField should have comment or be unexported (golint)
    • Line 15: warning: exported method VirtualFields.SetVirtualField should have comment or be unexported (golint)
    • Line 22: warning: exported type VirtualField should have comment or be unexported (golint)
    • Line 34: warning: exported type VirtualFieldValue should have comment or be unexported (golint)
    • Line 38: warning: exported method VirtualField.Set should have comment or be unexported (golint)
    • Line 46: warning: exported method VirtualField.Get should have comment or be unexported (golint)
    • aorm/inlinequery.go
    • Line 10: warning: exported type WithInlineQuery should have comment or be unexported (golint)
    • Line 16: warning: exported function IQ should have comment or be unexported (golint)
    • Line 21: warning: exported method WithInlineQuery.Query should have comment or be unexported (golint)
    • Line 25: warning: exported method WithInlineQuery.Paths should have comment or be unexported (golint)
    • Line 29: warning: exported method WithInlineQuery.WhereClause should have comment or be unexported (golint)
    • Line 53: warning: exported type InlineQueries should have comment or be unexported (golint)
    • Line 55: warning: exported method InlineQueries.Join should have comment or be unexported (golint)
    • Line 85: warning: exported function PathsFromQuery should have comment or be unexported (golint)
    • aorm/modelstruct_field.go
    • Line 8: warning: exported type StructFieldMethodCallback should have comment or be unexported (golint)
    • Line 13: warning: exported method StructFieldMethodCallback.Call should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported method StructField.Select should have comment or be unexported (golint)
    • Line 47: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 57: warning: exported method StructField.SelectWrap should have comment or be unexported (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: exported method StructField.Structure should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: comment on exported method StructField.CallMethodCallbackArgs should be of the form "CallMethodCallbackArgs ..." (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 75: warning: comment on exported method StructField.CallMethodCallback should be of the form "CallMethodCallback ..." (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: exported method StructField.IDOf should have comment or be unexported (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 149: warning: exported method StructField.DefaultID should have comment or be unexported (golint)
    • Line 149: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/modelstruct_setup.go
    • Line 14: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 626: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • aorm/softdelete.go
    • Line 9: warning: exported const SoftDeleteFieldDeletedByID should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported var SoftDeleteFields should have comment or be unexported (golint)
    • Line 25: warning: exported type SoftDelete should have comment or be unexported (golint)
    • Line 29: warning: exported method SoftDelete.GetDeletedAt should have comment or be unexported (golint)
    • Line 33: warning: exported type SoftDeleteAudited should have comment or be unexported (golint)
    • Line 38: warning: exported method SoftDeleteAudited.SetDeletedBy should have comment or be unexported (golint)
    • Line 42: warning: exported method SoftDeleteAudited.GetDeletedBy should have comment or be unexported (golint)
    • Line 46: warning: exported type AuditedSD should have comment or be unexported (golint)
    • Line 51: warning: exported type AuditedSDModel should have comment or be unexported (golint)
    • aorm/tagsetting.go
    • Line 3: warning: exported type TagSetting should have comment or be unexported (golint)
    • Line 5: warning: exported method TagSetting.Enable should have comment or be unexported (golint)
    • Line 5: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 9: warning: exported method TagSetting.Set should have comment or be unexported (golint)
    • Line 9: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 13: warning: exported method TagSetting.Flag should have comment or be unexported (golint)
    • Line 13: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 20: warning: exported method TagSetting.Update should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/queryinfo.go
    • Line 8: warning: comment on exported type QueryInfo should be of the form "QueryInfo ..." (with optional leading article) (golint)
    • Line 14: warning: exported function NewQueryInfo should have comment or be unexported (golint)
    • Line 22: warning: exported method QueryInfo.Sql should have comment or be unexported (golint)
    • Line 26: warning: exported method QueryInfo.Args should have comment or be unexported (golint)
    • Line 30: warning: exported method QueryInfo.ArgsName should have comment or be unexported (golint)
    • Line 34: warning: exported method QueryInfo.EachArgs should have comment or be unexported (golint)
    • aorm/assign_api.go
    • Line 9: warning: exported type Assigner should have comment or be unexported (golint)
    • Line 16: warning: exported type AssignArgBinder should have comment or be unexported (golint)
    • Line 21: warning: exported type SQLSizer should have comment or be unexported (golint)
    • aorm/id_api.go
    • Line 6: warning: exported type IDValuer should have comment or be unexported (golint)
    • Line 15: warning: exported type ID should have comment or be unexported (golint)
    • Line 30: warning: exported type IDSlicer should have comment or be unexported (golint)
    • Line 35: warning: exported type IDValueRawConverter should have comment or be unexported (golint)
    • aorm/callback_create.go
    • Line 10: warning: exported const CbGenId should have comment (or a comment on this block) or be unexported (golint)
    • Line 201: warning: exported function SetIdCallback should have comment or be unexported (golint)
    • aorm/id_value_bytes.go
    • Line 7: warning: exported type BytesId should have comment or be unexported (golint)
    • Line 9: warning: exported method BytesId.Bytes should have comment or be unexported (golint)
    • Line 9: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 13: warning: exported method BytesId.ParseBytes should have comment or be unexported (golint)
    • Line 19: warning: exported method BytesId.ParseString should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: exported method BytesId.IsZero should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 33: warning: exported method BytesId.Raw should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/modelstruct.go
    • Line 46: warning: exported method ModelStruct.Fqn should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: exported method ModelStruct.BeforeRelatedCallback should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: comment on exported method ModelStruct.TableName should be of the form "TableName ..." (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: exported method ModelStruct.IsSoftDelete should have comment or be unexported (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 84: warning: exported method ModelStruct.SetVirtualField should have comment or be unexported (golint)
    • Line 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 108: warning: exported method ModelStruct.GetVirtualField should have comment or be unexported (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 115: warning: comment on exported method ModelStruct.NonIgnoredStructFields should be of the form "NonIgnoredStructFields ..." (golint)
    • Line 116: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 129: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 141: warning: comment on exported method ModelStruct.NormalStructFields should be of the form "NormalStructFields ..." (golint)
    • Line 142: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 152: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 157: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 172: 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 188: warning: exported method ModelStruct.SetIdFromString should have comment or be unexported (golint)
    • Line 188: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 197: warning: exported method ModelStruct.GetID should have comment or be unexported (golint)
    • Line 197: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 227: warning: exported method ModelStruct.PrimaryFieldsInstance should have comment or be unexported (golint)
    • Line 227: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 246: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 254: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 267: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 272: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 286: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 294: warning: exported method ModelStruct.DefaultID should have comment or be unexported (golint)
    • Line 294: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/vars.go
    • Line 3: warning: exported type Vars should have comment or be unexported (golint)
    • aorm/audited.go
    • Line 8: warning: exported const AuditedFieldCreatedByID should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported var AuditedFieldsByID should have comment or be unexported (golint)
    • Line 46: warning: exported type Audited should have comment or be unexported (golint)
    • Line 52: warning: exported method Audited.SetCreatedBy should have comment or be unexported (golint)
    • Line 60: warning: exported method Audited.GetCreatedBy should have comment or be unexported (golint)
    • Line 64: warning: exported method Audited.SetUpdatedBy should have comment or be unexported (golint)
    • Line 72: warning: exported method Audited.GetUpdatedBy should have comment or be unexported (golint)
    • Line 76: warning: exported type AuditedModel should have comment or be unexported (golint)
    • Line 81: warning: exported method Scope.GetCurrentUserID should have comment or be unexported (golint)
    • aorm/id_value_str.go
    • Line 3: warning: exported type StrId should have comment or be unexported (golint)
    • Line 5: warning: exported method StrId.Bytes should have comment or be unexported (golint)
    • Line 5: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 9: warning: exported method StrId.ParseBytes should have comment or be unexported (golint)
    • Line 13: warning: exported method StrId.ParseString should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 21: warning: exported method StrId.IsZero should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: exported method StrId.Raw should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/id_value_uint.go
    • Line 11: warning: exported type UintId should have comment or be unexported (golint)
    • Line 13: warning: exported method UintId.Uint should have comment or be unexported (golint)
    • Line 13: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 17: warning: exported method UintId.Bytes should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 23: warning: exported method UintId.ParseBytes should have comment or be unexported (golint)
    • Line 40: warning: exported method UintId.ParseString should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: exported method UintId.IsZero should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method UintId.Raw should have comment or be unexported (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/sync.go
    • Line 10: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/modelstruct_field_api.go
    • Line 4: warning: exported type FieldSelector should have comment or be unexported (golint)
    • Line 8: warning: exported type FieldSelectWraper should have comment or be unexported (golint)
    • Line 13: warning: exported type FieldSelectorFunc should have comment or be unexported (golint)
    • Line 20: warning: exported function NewFieldSelector should have comment or be unexported (golint)
    • aorm/utils.go
    • Line 40: warning: exported type KVStorager should have comment or be unexported (golint)
    • Line 75: warning: exported type SafeNameBuilder should have comment or be unexported (golint)
    • Line 80: warning: exported function NewSafeNameBuilder should have comment or be unexported (golint)
    • Line 91: warning: exported method SafeNameBuilder.Build should have comment or be unexported (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 103: warning: exported method SafeNameBuilder.BuildParts should have comment or be unexported (golint)
    • Line 103: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 253: warning: exported type Method should have comment or be unexported (golint)
    • Line 260: warning: exported method Method.Index should have comment or be unexported (golint)
    • Line 264: warning: exported method Method.Name should have comment or be unexported (golint)
    • Line 268: warning: exported method Method.Ptr should have comment or be unexported (golint)
    • Line 272: warning: exported method Method.Valid should have comment or be unexported (golint)
    • Line 276: warning: exported method Method.TypeMethod should have comment or be unexported (golint)
    • Line 286: warning: exported method Method.ObjectMethod should have comment or be unexported (golint)
    • Line 294: warning: exported function MethodByName should have comment or be unexported (golint)
    • Line 369: warning: exported function IsBlank should have comment or be unexported (golint)
    • Line 544: warning: exported type Alias should have comment or be unexported (golint)
    • Line 549: warning: exported function BindVarStructure should have comment or be unexported (golint)
    • Line 564: warning: exported function BindVar should have comment or be unexported (golint)
    • Line 575: warning: exported function SetZero should have comment or be unexported (golint)
    • Line 583: warning: exported function SetNonZero should have comment or be unexported (golint)
    • Line 593: warning: exported function IsManyResult should have comment or be unexported (golint)
    • Line 607: warning: exported type AormNonFieldStructor should have comment or be unexported (golint)
    • Line 611: warning: exported function StructTypeOf should have comment or be unexported (golint)
    • Line 638: warning: exported function StructTypeOfInterface should have comment or be unexported (golint)
    • Line 651: warning: exported function SenderOf should have comment or be unexported (golint)
    • aorm/virtualfield_api.go
    • Line 4: warning: exported type VirtualFieldsSetter should have comment or be unexported (golint)
    • Line 8: warning: exported type VirtualFieldsGetter should have comment or be unexported (golint)
    • Line 12: warning: exported type ModelWithVirtualFields should have comment or be unexported (golint)
    • aorm/api.go
    • Line 26: warning: exported type DbDataTyper should have comment or be unexported (golint)
    • Line 30: warning: exported type FieldAssigner should have comment or be unexported (golint)
    • Line 34: warning: exported type ArgBinder should have comment or be unexported (golint)
    • Line 38: warning: exported type FieldTypeTagSettinger should have comment or be unexported (golint)
    • Line 42: warning: exported type Generator should have comment or be unexported (golint)
    • Line 47: warning: exported type Clauser should have comment or be unexported (golint)
    • Line 51: warning: exported type WhereClauser should have comment or be unexported (golint)
    • Line 55: warning: exported type ClauseScoper should have comment or be unexported (golint)
    • Line 64: warning: exported type BytesParser should have comment or be unexported (golint)
    • Line 68: warning: exported type StringParser should have comment or be unexported (golint)
    • Line 72: warning: exported type FieldsForUpdateAcceptor should have comment or be unexported (golint)
    • Line 76: warning: exported type FieldsForUpdateExcluder should have comment or be unexported (golint)
    • Line 80: warning: exported type FieldsForCreateAcceptor should have comment or be unexported (golint)
    • Line 84: warning: exported type FieldsForCreateExcluder should have comment or be unexported (golint)
    • Line 88: warning: exported type ToVarsAppender should have comment or be unexported (golint)
    • Line 92: warning: exported type Selector should have comment or be unexported (golint)
    • aorm/association.go
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 24: warning: exported method Association.HasError should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 267: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 272: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 311: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 391: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/extraselect_fields.go
    • Line 42: warning: receiver name ess should be consistent with previous receiver name es for extraSelectsFields (golint)
    • Line 59: warning: exported type ExtraSelectFieldsSetter should have comment or be unexported (golint)
    • aorm/logger.go
    • Line 27: warning: exported var LogFormatter should have comment or be unexported (golint)
    • aorm/bid.go
    • Line 11: warning: exported type DefinedID should have comment or be unexported (golint)
    • aorm/field.go
    • Line 19: warning: exported method Field.CallMethodCallbackArgs should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 23: warning: comment on exported method Field.CallMethodCallback should be of the form "CallMethodCallback ..." (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 28: warning: exported method Field.Scaner should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: exported method Field.ID should have comment or be unexported (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • aorm/modelstruct_storage.go
    • Line 11: warning: exported type ModelStructStorage should have comment or be unexported (golint)
    • Line 17: warning: exported function NewModelStructStorage should have comment or be unexported (golint)
    • Line 21: warning: exported method ModelStructStorage.GetOrNew should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)

gocyclo99%

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.


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!