Preparing report...

Report for github.com/verbiscms/verbis

A+    Excellent!    Found 284 issues across 801 files

Tweet

gofmt100%

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

No problems detected. Good job!


go_vet100%

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

No problems detected. Good job!


golint64%

Golint is a linter for Go source code.

    • verbis/api/store/forms/find.go
    • Line 16: warning: comment on exported method Store.Find should be of the form "Find ..." (golint)
    • Line 50: warning: comment on exported method Store.FindByUUID should be of the form "FindByUUID ..." (golint)
    • verbis/api/tpl/funcs/math/math.go
    • Line 14: warning: comment on exported method Namespace.Add should be of the form "Add ..." (golint)
    • Line 28: warning: comment on exported method Namespace.Subtract should be of the form "Subtract ..." (golint)
    • Line 38: warning: comment on exported method Namespace.Divide should be of the form "Divide ..." (golint)
    • Line 57: warning: comment on exported method Namespace.Multiply should be of the form "Multiply ..." (golint)
    • Line 71: warning: comment on exported method Namespace.Modulus should be of the form "Modulus ..." (golint)
    • Line 90: warning: comment on exported method Namespace.Round should be of the form "Round ..." (golint)
    • Line 101: warning: comment on exported method Namespace.Ceil should be of the form "Ceil ..." (golint)
    • Line 111: warning: comment on exported method Namespace.Floor should be of the form "Floor ..." (golint)
    • Line 121: warning: comment on exported method Namespace.Min should be of the form "Min ..." (golint)
    • Line 138: warning: comment on exported method Namespace.Max should be of the form "Max ..." (golint)
    • verbis/api/importer/wordpress/verbis.go
    • Line 35: warning: exported type Convert should have comment or be unexported (golint)
    • Line 44: warning: exported type Result should have comment or be unexported (golint)
    • Line 68: warning: comment on exported method Convert.Import should be of the form "Import ..." (golint)
    • Line 94: warning: comment on exported type Failures should be of the form "Failures ..." (with optional leading article) (golint)
    • Line 101: warning: comment on exported type FailedPost should be of the form "FailedPost ..." (with optional leading article) (golint)
    • verbis/api/recovery/recover.go
    • Line 22: warning: exported type Handler should have comment or be unexported (golint)
    • Line 26: warning: exported function New should have comment or be unexported (golint)
    • Line 30: warning: exported type Recovery should have comment or be unexported (golint)
    • Line 45: warning: exported type Resolver should have comment or be unexported (golint)
    • Line 47: warning: exported type TplData should have comment or be unexported (golint)
    • Line 71: warning: comment on exported method Handler.Recover should be of the form "Recover ..." (golint)
    • Line 99: warning: exported method Handler.HTTPRecovery should have comment or be unexported (golint)
    • Line 119: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • verbis/api/importer/wordpress/convert.go
    • Line 14: warning: exported type WpXML should have comment or be unexported (golint)
    • Line 20: warning: exported type Rss should have comment or be unexported (golint)
    • Line 24: warning: exported type Channel should have comment or be unexported (golint)
    • Line 72: warning: exported type Category should have comment or be unexported (golint)
    • Line 78: warning: exported type Comment should have comment or be unexported (golint)
    • Line 89: warning: exported type Meta should have comment or be unexported (golint)
    • Line 95: warning: exported function NewWordpressXML should have comment or be unexported (golint)
    • Line 101: warning: comment on exported method WpXML.ReadFile should be of the form "ReadFile ..." (golint)
    • Line 180: warning: exported method WpXML.AuthorsToIndex should have comment or be unexported (golint)
    • verbis/api/tpl/funcs/date/date.go
    • Line 13: warning: comment on exported method Namespace.Date should be of the form "Date ..." (golint)
    • Line 23: warning: comment on exported method Namespace.DateInZone should be of the form "DateInZone ..." (golint)
    • Line 48: warning: comment on exported method Namespace.Ago should be of the form "Ago ..." (golint)
    • Line 64: warning: comment on exported method Namespace.Duration should be of the form "Duration ..." (golint)
    • Line 78: warning: comment on exported method Namespace.HTMLDate should be of the form "HTMLDate ..." (golint)
    • Line 88: warning: comment on exported method Namespace.HTMLDateInZone should be of the form "HTMLDateInZone ..." (golint)
    • verbis/api/tpl/funcs/users/users.go
    • Line 16: warning: comment on exported const OrderBy should be of the form "OrderBy ..." (golint)
    • Line 18: warning: comment on exported const OrderDirection should be of the form "OrderDirection ..." (golint)
    • Line 22: warning: comment on exported method Namespace.Find should be of the form "Find ..." (golint)
    • Line 42: warning: comment on exported type Users should be of the form "Users ..." (with optional leading article) (golint)
    • Line 57: warning: comment on exported method Namespace.List should be of the form "List ..." (golint)
    • verbis/api/http/middleware/tokencheck.go
    • Line 17: warning: comment on exported function AdminTokenCheck should be of the form "AdminTokenCheck ..." (golint)
    • Line 38: warning: comment on exported function OperatorTokenCheck should be of the form "OperatorTokenCheck ..." (golint)
    • verbis/api/test/handler.go
    • Line 20: warning: comment on exported const JSONHeader should be of the form "JSONHeader ..." (golint)
    • Line 46: warning: comment on exported function NewHandlerSuite should be of the form "NewHandlerSuite ..." (golint)
    • Line 64: warning: comment on exported method HandlerSuite.RunT should be of the form "RunT ..." (golint)
    • Line 78: warning: comment on exported method HandlerSuite.RespondData should be of the form "RespondData ..." (golint)
    • Line 86: warning: comment on exported method HandlerSuite.Status should be of the form "Status ..." (golint)
    • Line 93: warning: comment on exported method HandlerSuite.ContentType should be of the form "ContentType ..." (golint)
    • Line 100: warning: comment on exported method HandlerSuite.NewRequest should be of the form "NewRequest ..." (golint)
    • Line 116: warning: comment on exported method HandlerSuite.RequestAndServe should be of the form "RequestAndServe ..." (golint)
    • Line 135: warning: comment on exported method HandlerSuite.Reset should be of the form "Reset ..." (golint)
    • verbis/api/store/users/auth.go
    • Line 18: warning: comment on exported method Store.CheckSession should be of the form "CheckSession ..." (golint)
    • Line 65: warning: comment on exported method Store.ResetPassword should be of the form "ResetPassword ..." (golint)
    • Line 93: warning: comment on exported method Store.UpdateToken should be of the form "UpdateToken ..." (golint)
    • verbis/api/services/webp/util.go
    • Line 30: warning: comment on exported type WebP should be of the form "WebP ..." (with optional leading article) (golint)
    • Line 39: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 53: warning: comment on exported method WebP.Accepts should be of the form "Accepts ..." (golint)
    • Line 62: warning: comment on exported method WebP.File should be of the form "File ..." (golint)
    • Line 85: warning: comment on exported method WebP.Convert should be of the form "Convert ..." (golint)
    • verbis/api/tpl/funcs/slice/slice.go
    • Line 13: warning: comment on exported method Namespace.Slice should be of the form "Slice ..." (golint)
    • Line 23: warning: comment on exported method Namespace.Append should be of the form "Append ..." (golint)
    • Line 49: warning: comment on exported method Namespace.Prepend should be of the form "Prepend ..." (golint)
    • Line 75: warning: comment on exported method Namespace.First should be of the form "First ..." (golint)
    • Line 100: warning: comment on exported method Namespace.Last should be of the form "Last ..." (golint)
    • Line 125: warning: comment on exported method Namespace.Reverse should be of the form "Reverse ..." (golint)
    • verbis/api/tpl/funcs/strings/regex.go
    • Line 9: warning: comment on exported method Namespace.Match should be of the form "Match ..." (golint)
    • Line 21: warning: comment on exported method Namespace.FindAll should be of the form "FindAll ..." (golint)
    • Line 33: warning: comment on exported method Namespace.Find should be of the form "Find ..." (golint)
    • Line 45: warning: comment on exported method Namespace.ReplaceAll should be of the form "ReplaceAll ..." (golint)
    • Line 58: warning: comment on exported method Namespace.ReplaceAllLiteral should be of the form "ReplaceAllLiteral ..." (golint)
    • Line 70: warning: comment on exported method Namespace.Split should be of the form "Split ..." (golint)
    • Line 83: warning: comment on exported method Namespace.QuoteMeta should be of the form "QuoteMeta ..." (golint)
    • verbis/api/database/builder/insert.go
    • Line 12: warning: comment on exported method Sqlbuilder.Insert should be of the form "Insert ..." (golint)
    • Line 20: warning: comment on exported method Sqlbuilder.Update should be of the form "Update ..." (golint)
    • Line 28: warning: comment on exported method Sqlbuilder.Column should be of the form "Column ..." (golint)
    • verbis/api/tpl/funcs/rand/rand.go
    • Line 14: warning: comment on exported method Namespace.Int should be of the form "Int ..." (golint)
    • Line 34: warning: comment on exported method Namespace.Float should be of the form "Float ..." (golint)
    • Line 54: warning: comment on exported method Namespace.Alpha should be of the form "Alpha ..." (golint)
    • Line 63: warning: comment on exported method Namespace.AlphaNum should be of the form "AlphaNum ..." (golint)
    • verbis/api/tpl/templates.go
    • Line 68: warning: comment on exported method Config.GetRoot should be of the form "GetRoot ..." (golint)
    • Line 75: warning: comment on exported method Config.GetExtension should be of the form "GetExtension ..." (golint)
    • Line 82: warning: comment on exported method Config.GetMaster should be of the form "GetMaster ..." (golint)
    • Line 89: warning: comment on exported method Config.GetFS should be of the form "GetFS ..." (golint)
    • verbis/api/database/seeds/seeder.go
    • Line 12: warning: exported type Seeder should have comment or be unexported (golint)
    • Line 17: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 25: warning: comment on exported method Seeder.Seed should be of the form "Seed ..." (golint)
    • verbis/api/test/db.go
    • Line 21: warning: comment on exported type DBSuite should be of the form "DBSuite ..." (with optional leading article) (golint)
    • Line 31: warning: comment on exported type DBAny should be of the form "DBAny ..." (with optional leading article) (golint)
    • Line 40: warning: comment on exported type DBAnyString should be of the form "DBAnyString ..." (with optional leading article) (golint)
    • Line 50: warning: comment on exported type DBAnyJSONMessage should be of the form "DBAnyJSONMessage ..." (with optional leading article) (golint)
    • Line 60: warning: comment on exported function NewDBSuite should be of the form "NewDBSuite ..." (golint)
    • Line 96: warning: comment on exported method DBSuite.Reset should be of the form "Reset ..." (golint)
    • verbis/api/services/forms/forms.go
    • Line 16: warning: exported type Reader should have comment or be unexported (golint)
    • Line 22: warning: exported type Sender should have comment or be unexported (golint)
    • Line 27: warning: exported function NewReader should have comment or be unexported (golint)
    • Line 35: warning: exported method Reader.Values should have comment or be unexported (golint)
    • Line 82: warning: comment on exported function ToStruct should be of the form "ToStruct ..." (golint)
    • verbis/api/tpl/funcs/reflect/reflect.go
    • Line 12: warning: comment on exported method Namespace.KindIs should be of the form "KindIs ..." (golint)
    • Line 22: warning: comment on exported method Namespace.KindOf should be of the form "KindOf ..." (golint)
    • Line 32: warning: comment on exported method Namespace.TypeOf should be of the form "TypeOf ..." (golint)
    • Line 42: warning: comment on exported method Namespace.TypeIs should be of the form "TypeIs ..." (golint)
    • Line 52: warning: comment on exported method Namespace.TypeIsLike should be of the form "TypeIsLike ..." (golint)
    • verbis/api/store/posts/exists.go
    • Line 13: warning: comment on exported method Store.Exists should be of the form "Exists ..." (golint)
    • Line 35: warning: comment on exported method Store.ExistsBySlug should be of the form "ExistsBySlug ..." (golint)
    • verbis/api/tpl/tplimpl/template.go
    • Line 19: warning: comment on exported method TemplateManager.Prepare should be of the form "Prepare ..." (golint)
    • Line 35: warning: comment on exported method Execute.Execute should be of the form "Execute ..." (golint)
    • Line 47: warning: comment on exported method Execute.ExecutePost should be of the form "ExecutePost ..." (golint)
    • Line 60: warning: comment on exported method Execute.Exists should be of the form "Exists ..." (golint)
    • Line 69: warning: comment on exported method Execute.Config should be of the form "Config ..." (golint)
    • Line 78: warning: comment on exported method Execute.Executor should be of the form "Executor ..." (golint)
    • Line 86: warning: comment on exported method TemplateManager.Data should be of the form "Data ..." (golint)
    • Line 95: warning: comment on exported method TemplateManager.FuncMap should be of the form "FuncMap ..." (golint)
    • Line 110: warning: comment on exported method TemplateManager.GenericFuncMap should be of the form "GenericFuncMap ..." (golint)
    • verbis/api/store/users/store.go
    • Line 42: warning: comment on exported const TableName should be of the form "TableName ..." (golint)
    • Line 44: warning: comment on exported const PivotTableName should be of the form "PivotTableName ..." (golint)
    • Line 61: warning: comment on exported function New should be of the form "New ..." (golint)
    • verbis/api/recovery/trace/stack.go
    • Line 89: warning: comment on exported type File should be of the form "File ..." (with optional leading article) (golint)
    • Line 105: warning: comment on exported method File.Vendor should be of the form "Vendor ..." (golint)
    • Line 115: warning: comment on exported method File.Lines should be of the form "Lines ..." (golint)
    • verbis/api/tpl/funcs/meta/meta.go
    • Line 39: warning: comment on exported method TemplateMeta.GetImage should be of the form "GetImage ..." (golint)
    • Line 53: warning: comment on exported method TemplateMeta.IsHomepage should be of the form "IsHomepage ..." (golint)
    • Line 69: warning: comment on exported method Namespace.Header should be of the form "Header ..." (golint)
    • Line 89: warning: comment on exported method Namespace.MetaTitle should be of the form "MetaTitle ..." (golint)
    • Line 114: warning: comment on exported method Namespace.Footer should be of the form "Footer ..." (golint)
    • verbis/api/store/auth/password.go
    • Line 17: warning: comment on exported method Store.ResetPassword should be of the form "ResetPassword ..." (golint)
    • Line 65: warning: comment on exported method Store.SendResetPassword should be of the form "SendResetPassword ..." (golint)
    • Line 101: warning: comment on exported method Store.VerifyPasswordToken should be of the form "VerifyPasswordToken ..." (golint)
    • Line 125: warning: comment on exported method Store.CleanPasswordResets should be of the form "CleanPasswordResets ..." (golint)
    • verbis/api/store/categories/find.go
    • Line 15: warning: comment on exported method Store.Find should be of the form "Find ..." (golint)
    • Line 39: warning: comment on exported method Store.FindByPost should be of the form "FindByPost ..." (golint)
    • Line 64: warning: comment on exported method Store.FindBySlug should be of the form "FindBySlug ..." (golint)
    • Line 88: warning: comment on exported method Store.FindByName should be of the form "FindByName ..." (golint)
    • Line 112: warning: comment on exported method Store.FindParent should be of the form "FindParent ..." (golint)
    • verbis/api/store/categories/store.go
    • Line 37: warning: comment on exported const TableName should be of the form "TableName ..." (golint)
    • Line 39: warning: comment on exported const PivotTableName should be of the form "PivotTableName ..." (golint)
    • Line 49: warning: comment on exported function New should be of the form "New ..." (golint)
    • verbis/api/watchers/theme.go
    • Line 16: warning: exported const PollingDuration should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: comment on exported type Batch should be of the form "Batch ..." (with optional leading article) (golint)
    • Line 45: warning: comment on exported type Event should be of the form "Event ..." (with optional leading article) (golint)
    • Line 65: warning: exported function New should have comment or be unexported (golint)
    • Line 78: warning: comment on exported method Batch.SetTheme should be of the form "SetTheme ..." (golint)
    • Line 87: warning: comment on exported method Batch.Start should be of the form "Start ..." (golint)
    • Line 95: warning: comment on exported method Batch.Close should be of the form "Close ..." (golint)
    • verbis/api/tpl/funcs/attributes/attributes.go
    • Line 14: warning: comment on exported method Namespace.Body should be of the form "Body ..." (golint)
    • Line 53: warning: comment on exported method Namespace.Lang should be of the form "Lang ..." (golint)
    • Line 64: warning: comment on exported method Namespace.Homepage should be of the form "Homepage ..." (golint)
    • verbis/api/services/storage/mocks/mocks.go
    • Line 12: warning: exported type StowLocation should have comment or be unexported (golint)
    • Line 16: warning: exported type StowContainer should have comment or be unexported (golint)
    • Line 20: warning: exported type StowItem should have comment or be unexported (golint)
    • Line 24: warning: exported type Service should have comment or be unexported (golint)
    • verbis/api/store/categories/exists.go
    • Line 13: warning: comment on exported method Store.Exists should be of the form "Exists ..." (golint)
    • Line 35: warning: comment on exported method Store.ExistsByName should be of the form "ExistsByName ..." (golint)
    • Line 57: warning: comment on exported method Store.ExistsBySlug should be of the form "ExistsBySlug ..." (golint)
    • verbis/api/database/builder/builder.go
    • Line 16: warning: exported type Sqlbuilder should have comment or be unexported (golint)
    • Line 36: warning: exported function New should have comment or be unexported (golint)
    • Line 42: warning: exported method Sqlbuilder.From should have comment or be unexported (golint)
    • Line 48: warning: exported method Sqlbuilder.DeleteFrom should have comment or be unexported (golint)
    • Line 54: warning: exported method Sqlbuilder.SelectRaw should have comment or be unexported (golint)
    • Line 62: warning: exported method Sqlbuilder.Select should have comment or be unexported (golint)
    • Line 71: warning: exported method Sqlbuilder.Where should have comment or be unexported (golint)
    • Line 108: warning: exported method Sqlbuilder.WhereRaw should have comment or be unexported (golint)
    • Line 113: warning: comment on exported method Sqlbuilder.WhereIn should be of the form "WhereIn ..." (golint)
    • Line 144: warning: exported method Sqlbuilder.WhereStringMatchAny should have comment or be unexported (golint)
    • Line 162: warning: exported method Sqlbuilder.WhereStringMatchAll should have comment or be unexported (golint)
    • Line 180: warning: exported method Sqlbuilder.LeftJoin should have comment or be unexported (golint)
    • Line 190: warning: exported method Sqlbuilder.LeftJoinExtended should have comment or be unexported (golint)
    • Line 204: warning: exported method Sqlbuilder.Limit should have comment or be unexported (golint)
    • Line 210: warning: exported method Sqlbuilder.Offset should have comment or be unexported (golint)
    • Line 216: warning: exported method Sqlbuilder.OrderBy should have comment or be unexported (golint)
    • Line 227: warning: exported method Sqlbuilder.Reset should have comment or be unexported (golint)
    • Line 241: warning: exported method Sqlbuilder.Count should have comment or be unexported (golint)
    • Line 249: warning: exported method Sqlbuilder.Exists should have comment or be unexported (golint)
    • Line 258: warning: exported method Sqlbuilder.Build should have comment or be unexported (golint)
    • Line 315: warning: exported method Sqlbuilder.BuildInsert should have comment or be unexported (golint)
    • Line 331: warning: exported method Sqlbuilder.BuildUpdate should have comment or be unexported (golint)
    • verbis/api/store/redirects/find.go
    • Line 15: warning: comment on exported method Store.Find should be of the form "Find ..." (golint)
    • Line 39: warning: comment on exported method Store.FindByFrom should be of the form "FindByFrom ..." (golint)
    • verbis/api/tpl/funcs/strings/strings.go
    • Line 12: warning: comment on exported method Namespace.Replace should be of the form "Replace ..." (golint)
    • Line 22: warning: comment on exported method Namespace.Substr should be of the form "Substr ..." (golint)
    • Line 40: warning: comment on exported method Namespace.Trunc should be of the form "Trunc ..." (golint)
    • Line 58: warning: comment on exported const EllipsisCount should be of the form "EllipsisCount ..." (golint)
    • Line 63: warning: comment on exported method Namespace.Ellipsis should be of the form "Ellipsis ..." (golint)
    • verbis/api/common/files/files.go
    • Line 21: warning: comment on exported function DirectoryExists should be of the form "DirectoryExists ..." (golint)
    • Line 29: warning: comment on exported function RemoveFileExtension should be of the form "RemoveFileExtension ..." (golint)
    • verbis/api/tpl/funcs/os/os.go
    • Line 9: warning: comment on exported method Namespace.Env should be of the form "Env ..." (golint)
    • Line 18: warning: comment on exported method Namespace.ExpandEnv should be of the form "ExpandEnv ..." (golint)
    • verbis/api/database/postgres/postgres.go
    • Line 29: warning: comment on exported function Setup should be of the form "Setup ..." (golint)
    • Line 66: warning: comment on exported method Postgres.DB should be of the form "DB ..." (golint)
    • Line 73: warning: comment on exported method Postgres.Schema should be of the form "Schema ..." (golint)
    • Line 80: warning: comment on exported method Postgres.Close should be of the form "Close ..." (golint)
    • Line 87: warning: comment on exported method Postgres.Builder should be of the form "Builder ..." (golint)
    • Line 94: warning: comment on exported method Postgres.Install should be of the form "Install ..." (golint)
    • Line 108: warning: exported method Postgres.Tables should have comment or be unexported (golint)
    • Line 112: warning: comment on exported method Postgres.Exists should be of the form "Exists ..." (golint)
    • Line 125: warning: comment on exported method Postgres.Dump should be of the form "Dump ..." (golint)
    • Line 136: warning: comment on exported method Postgres.Drop should be of the form "Drop ..." (golint)
    • Line 149: warning: exported method Postgres.Migrate should have comment or be unexported (golint)
    • verbis/api/cache/cache.go
    • Line 15: warning: exported var Store should have comment or be unexported (golint)
    • Line 23: warning: exported type Cacher should have comment or be unexported (golint)
    • Line 30: warning: comment on exported const RememberForever should be of the form "RememberForever ..." (golint)
    • Line 33: warning: exported const DefaultExpiration should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported function ClearPostCache should have comment or be unexported (golint)
    • Line 46: warning: exported function ClearUserCache should have comment or be unexported (golint)
    • Line 54: warning: exported function ClearCategoryCache should have comment or be unexported (golint)
    • Line 62: warning: exported function GetPostKey should have comment or be unexported (golint)
    • verbis/api/deps/deps.go
    • Line 57: warning: exported method Deps.ThemePath should have comment or be unexported (golint)
    • Line 61: warning: exported method Deps.Tmpl should have comment or be unexported (golint)
    • Line 65: warning: exported method Deps.SetTmpl should have comment or be unexported (golint)
    • Line 69: warning: exported method Deps.SetOptions should have comment or be unexported (golint)
    • Line 73: warning: exported method Deps.SetTheme should have comment or be unexported (golint)
    • Line 83: warning: exported type Config should have comment or be unexported (golint)
    • Line 99: warning: exported function New should have comment or be unexported (golint)
    • verbis/api/store/users/find.go
    • Line 15: warning: comment on exported method Store.Find should be of the form "Find ..." (golint)
    • Line 38: warning: comment on exported method Store.FindByToken should be of the form "FindByToken ..." (golint)
    • Line 61: warning: comment on exported method Store.FindByEmail should be of the form "FindByEmail ..." (golint)
    • verbis/api/store/options/theme.go
    • Line 13: warning: comment on exported method Store.GetTheme should be of the form "GetTheme ..." (golint)
    • Line 35: warning: comment on exported method Store.SetTheme should be of the form "SetTheme ..." (golint)
    • verbis/api/store/posts/find.go
    • Line 14: warning: comment on exported method Store.Find should be of the form "Find ..." (golint)
    • Line 41: warning: comment on exported method Store.FindBySlug should be of the form "FindBySlug ..." (golint)
    • verbis/api/tpl/funcs/url/query.go
    • Line 12: warning: comment on exported method Namespace.Query should be of the form "Query ..." (golint)
    • Line 34: warning: comment on exported method Namespace.Pagination should be of the form "Pagination ..." (golint)
    • verbis/api/tpl/funcs/paths/paths.go
    • Line 9: warning: comment on exported method Namespace.Base should be of the form "Base ..." (golint)
    • Line 18: warning: comment on exported method Namespace.Admin should be of the form "Admin ..." (golint)
    • Line 27: warning: comment on exported method Namespace.API should be of the form "API ..." (golint)
    • Line 36: warning: comment on exported method Namespace.Theme should be of the form "Theme ..." (golint)
    • Line 45: warning: comment on exported method Namespace.Uploads should be of the form "Uploads ..." (golint)
    • Line 54: warning: comment on exported method Namespace.Storage should be of the form "Storage ..." (golint)
    • Line 63: warning: comment on exported method Namespace.Assets should be of the form "Assets ..." (golint)
    • Line 72: warning: comment on exported method Namespace.Templates should be of the form "Templates ..." (golint)
    • Line 82: warning: comment on exported method Namespace.Layouts should be of the form "Layouts ..." (golint)
    • verbis/api/store/auth/store.go
    • Line 37: warning: comment on exported const PasswordTableName should be of the form "PasswordTableName ..." (golint)
    • Line 44: warning: comment on exported function New should be of the form "New ..." (golint)
    • verbis/api/store/users/exists.go
    • Line 13: warning: comment on exported method Store.Exists should be of the form "Exists ..." (golint)
    • Line 35: warning: comment on exported method Store.ExistsByEmail should be of the form "ExistsByEmail ..." (golint)
    • verbis/api/tpl/funcs/safe/safe.go
    • Line 13: warning: comment on exported method Namespace.HTML should be of the form "HTML ..." (golint)
    • Line 29: warning: comment on exported method Namespace.HTMLAttr should be of the form "HTMLAttr ..." (golint)
    • Line 42: warning: comment on exported method Namespace.CSS should be of the form "CSS ..." (golint)
    • Line 58: warning: comment on exported method Namespace.JS should be of the form "JS ..." (golint)
    • Line 74: warning: comment on exported method Namespace.JSStr should be of the form "JSStr ..." (golint)
    • Line 87: warning: comment on exported method Namespace.URL should be of the form "URL ..." (golint)
    • verbis/api/tpl/funcs/auth/auth.go
    • Line 9: warning: comment on exported method Namespace.Auth should be of the form "Auth ..." (golint)
    • Line 24: warning: comment on exported method Namespace.Admin should be of the form "Admin ..." (golint)
    • verbis/api/tpl/params/query.go
    • Line 27: warning: comment on exported method Query.Get should be of the form "Get ..." (golint)
    • Line 43: warning: comment on exported method Query.Param should be of the form "Param ..." (golint)
    • Line 59: warning: comment on exported method Query.Default should be of the form "Default ..." (golint)
    • verbis/api/tpl/funcs/url/url.go
    • Line 11: warning: comment on exported method Namespace.Base should be of the form "Base ..." (golint)
    • Line 21: warning: comment on exported method Namespace.Scheme should be of the form "Scheme ..." (golint)
    • Line 32: warning: comment on exported method Namespace.Host should be of the form "Host ..." (golint)
    • Line 42: warning: comment on exported method Namespace.Full should be of the form "Full ..." (golint)
    • Line 52: warning: comment on exported method Namespace.Path should be of the form "Path ..." (golint)
    • verbis/api/store/fields/find.go
    • Line 15: warning: comment on exported method Store.Find should be of the form "Find ..." (golint)
    • Line 39: warning: comment on exported method Store.FindByPostAndKey should be of the form "FindByPostAndKey ..." (golint)
    • verbis/api/publisher/sitemap.go
    • Line 49: warning: exported const SiteMapsDir should have comment (or a comment on this block) or be unexported (golint)
    • Line 114: warning: comment on exported method Sitemap.Index should be of the form "Index ..." (golint)
    • verbis/api/tpl/internal/funcs.go
    • Line 57: warning: comment on exported function AddFuncsNamespace should be of the form "AddFuncsNamespace ..." (golint)
    • Line 64: warning: comment on exported method FuncsNamespace.AddMethodMapping should be of the form "AddMethodMapping ..." (golint)
    • verbis/api/store/forms/store.go
    • Line 37: warning: comment on exported const TableName should be of the form "TableName ..." (golint)
    • Line 39: warning: comment on exported const FieldsTableName should be of the form "FieldsTableName ..." (golint)
    • Line 49: warning: comment on exported function New should be of the form "New ..." (golint)
    • verbis/api/store/roles/store.go
    • Line 29: warning: comment on exported const TableName should be of the form "TableName ..." (golint)
    • Line 39: warning: comment on exported function New should be of the form "New ..." (golint)
    • verbis/api/store/redirects/exists.go
    • Line 13: warning: comment on exported method Store.Exists should be of the form "Exists ..." (golint)
    • Line 35: warning: comment on exported method Store.ExistsByFrom should be of the form "ExistsByFrom ..." (golint)
    • verbis/api/tpl/funcs/categories/categories.go
    • Line 17: warning: comment on exported const OrderBy should be of the form "OrderBy ..." (golint)
    • Line 19: warning: comment on exported const OrderDirection should be of the form "OrderDirection ..." (golint)
    • Line 23: warning: comment on exported method Namespace.Find should be of the form "Find ..." (golint)
    • Line 43: warning: comment on exported method Namespace.ByName should be of the form "ByName ..." (golint)
    • Line 63: warning: comment on exported method Namespace.Parent should be of the form "Parent ..." (golint)
    • Line 98: warning: comment on exported method Namespace.List should be of the form "List ..." (golint)
    • verbis/api/tpl/funcs/posts/posts.go
    • Line 17: warning: comment on exported const OrderBy should be of the form "OrderBy ..." (golint)
    • Line 19: warning: comment on exported const OrderDirection should be of the form "OrderDirection ..." (golint)
    • Line 23: warning: comment on exported method Namespace.Find should be of the form "Find ..." (golint)
    • Line 51: warning: comment on exported method Namespace.List should be of the form "List ..." (golint)
    • verbis/api/tpl/funcs/util/util.go
    • Line 15: warning: comment on exported method Namespace.Len should be of the form "Len ..." (golint)
    • Line 40: warning: comment on exported method Namespace.Explode should be of the form "Explode ..." (golint)
    • Line 59: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 64: warning: comment on exported method Namespace.Implode should be of the form "Implode ..." (golint)
    • Line 97: warning: comment on exported method Namespace.Seq should be of the form "Seq ..." (golint)
    • verbis/api/store/files/find.go
    • Line 15: warning: comment on exported method Store.Find should be of the form "Find ..." (golint)
    • Line 39: warning: comment on exported method Store.FindByURL should be of the form "FindByURL ..." (golint)
    • verbis/api/services/forms/attachments.go
    • Line 23: warning: comment on exported const UploadLimit should be of the form "UploadLimit ..." (golint)
    • Line 59: warning: exported method Attachments.ToMail should have comment or be unexported (golint)
    • Line 70: warning: comment on exported method Attachment.SizeMB should be of the form "SizeMB ..." (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.


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!