Preparing report...

Report for github.com/jonhadfield/gosn-v2

A    Great!    Found 30 issues across 34 files

Tweet

gofmt82%

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!


golint23%

Golint is a linter for Go source code.

    • gosn-v2/theme.go
    • Line 50: warning: exported type ThemeContent should have comment or be unexported (golint)
    • Line 59: warning: exported type Theme should have comment or be unexported (golint)
    • Line 64: warning: exported method Items.Themes should have comment or be unexported (golint)
    • Line 75: warning: exported method Themes.DeDupe should have comment or be unexported (golint)
    • Line 105: warning: comment on exported function NewThemeContent should be of the form "NewThemeContent ..." (golint)
    • Line 113: warning: exported type Themes should have comment or be unexported (golint)
    • Line 115: warning: exported method Themes.Validate should have comment or be unexported (golint)
    • Line 149: warning: exported method Theme.IsDeleted should have comment or be unexported (golint)
    • Line 153: warning: exported method Theme.SetDeleted should have comment or be unexported (golint)
    • Line 157: warning: exported method Theme.GetContent should have comment or be unexported (golint)
    • Line 161: warning: exported method Theme.SetContent should have comment or be unexported (golint)
    • Line 165: warning: exported method Theme.GetItemsKeyID should have comment or be unexported (golint)
    • Line 169: warning: exported method Theme.GetUUID should have comment or be unexported (golint)
    • Line 173: warning: exported method Theme.SetUUID should have comment or be unexported (golint)
    • Line 177: warning: exported method Theme.GetContentType should have comment or be unexported (golint)
    • Line 181: warning: exported method Theme.GetCreatedAt should have comment or be unexported (golint)
    • Line 185: warning: exported method Theme.SetCreatedAt should have comment or be unexported (golint)
    • Line 189: warning: exported method Theme.GetUpdatedAt should have comment or be unexported (golint)
    • Line 193: warning: exported method Theme.SetUpdatedAt should have comment or be unexported (golint)
    • Line 197: warning: exported method Theme.SetContentType should have comment or be unexported (golint)
    • Line 201: warning: exported method Theme.GetContentSize should have comment or be unexported (golint)
    • Line 205: warning: exported method Theme.SetContentSize should have comment or be unexported (golint)
    • Line 209: warning: exported method ThemeContent.AssociateItems should have comment or be unexported (golint)
    • Line 240: warning: exported method ThemeContent.GetItemAssociations should have comment or be unexported (golint)
    • Line 244: warning: exported method ThemeContent.GetItemDisassociations should have comment or be unexported (golint)
    • Line 248: warning: exported method ThemeContent.DisassociateItems should have comment or be unexported (golint)
    • Line 266: warning: exported method ThemeContent.GetUpdateTime should have comment or be unexported (golint)
    • Line 274: warning: exported method ThemeContent.SetUpdateTime should have comment or be unexported (golint)
    • Line 278: warning: exported method ThemeContent.GetTitle should have comment or be unexported (golint)
    • Line 282: warning: exported method ThemeContent.GetName should have comment or be unexported (golint)
    • Line 286: warning: exported method ThemeContent.GetActive should have comment or be unexported (golint)
    • Line 290: warning: exported method ThemeContent.SetTitle should have comment or be unexported (golint)
    • Line 293: warning: exported method ThemeContent.GetAppData should have comment or be unexported (golint)
    • Line 297: warning: exported method ThemeContent.SetAppData should have comment or be unexported (golint)
    • Line 301: warning: exported method ThemeContent.References should have comment or be unexported (golint)
    • Line 305: warning: exported method ThemeContent.UpsertReferences should have comment or be unexported (golint)
    • Line 309: warning: exported method ThemeContent.SetReferences should have comment or be unexported (golint)
    • gosn-v2/userPreferences.go
    • Line 58: warning: exported type UserPreferencesContent should have comment or be unexported (golint)
    • Line 67: warning: exported type UserPreferences should have comment or be unexported (golint)
    • Line 72: warning: exported method Items.UserPreferences should have comment or be unexported (golint)
    • Line 83: warning: exported method UserPreferencess.DeDupe should have comment or be unexported (golint)
    • Line 121: warning: exported type UserPreferencess should have comment or be unexported (golint)
    • Line 123: warning: exported method UserPreferencess.Validate should have comment or be unexported (golint)
    • Line 157: warning: exported method UserPreferences.IsDeleted should have comment or be unexported (golint)
    • Line 161: warning: exported method UserPreferences.SetDeleted should have comment or be unexported (golint)
    • Line 165: warning: exported method UserPreferences.GetContent should have comment or be unexported (golint)
    • Line 169: warning: exported method UserPreferences.SetContent should have comment or be unexported (golint)
    • Line 173: warning: exported method UserPreferences.GetItemsKeyID should have comment or be unexported (golint)
    • Line 177: warning: exported method UserPreferences.GetUUID should have comment or be unexported (golint)
    • Line 181: warning: exported method UserPreferences.SetUUID should have comment or be unexported (golint)
    • Line 185: warning: exported method UserPreferences.GetContentType should have comment or be unexported (golint)
    • Line 189: warning: exported method UserPreferences.GetCreatedAt should have comment or be unexported (golint)
    • Line 193: warning: exported method UserPreferences.SetCreatedAt should have comment or be unexported (golint)
    • Line 197: warning: exported method UserPreferences.GetUpdatedAt should have comment or be unexported (golint)
    • Line 201: warning: exported method UserPreferences.SetUpdatedAt should have comment or be unexported (golint)
    • Line 205: warning: exported method UserPreferences.SetContentType should have comment or be unexported (golint)
    • Line 209: warning: exported method UserPreferences.GetContentSize should have comment or be unexported (golint)
    • Line 213: warning: exported method UserPreferences.SetContentSize should have comment or be unexported (golint)
    • Line 217: warning: exported method UserPreferencesContent.AssociateItems should have comment or be unexported (golint)
    • Line 248: warning: exported method UserPreferencesContent.GetItemAssociations should have comment or be unexported (golint)
    • Line 252: warning: exported method UserPreferencesContent.GetItemDisassociations should have comment or be unexported (golint)
    • Line 256: warning: exported method UserPreferencesContent.DisassociateItems should have comment or be unexported (golint)
    • Line 274: warning: exported method UserPreferencesContent.GetUpdateTime should have comment or be unexported (golint)
    • Line 282: warning: exported method UserPreferencesContent.SetUpdateTime should have comment or be unexported (golint)
    • Line 286: warning: exported method UserPreferencesContent.GetTitle should have comment or be unexported (golint)
    • Line 290: warning: exported method UserPreferencesContent.GetName should have comment or be unexported (golint)
    • Line 294: warning: exported method UserPreferencesContent.GetActive should have comment or be unexported (golint)
    • Line 298: warning: exported method UserPreferencesContent.SetTitle should have comment or be unexported (golint)
    • Line 301: warning: exported method UserPreferencesContent.GetAppData should have comment or be unexported (golint)
    • Line 305: warning: exported method UserPreferencesContent.SetAppData should have comment or be unexported (golint)
    • Line 309: warning: exported method UserPreferencesContent.References should have comment or be unexported (golint)
    • Line 313: warning: exported method UserPreferencesContent.UpsertReferences should have comment or be unexported (golint)
    • Line 317: warning: exported method UserPreferencesContent.SetReferences should have comment or be unexported (golint)
    • gosn-v2/cache/cache.go
    • Line 26: warning: exported var HiWhite should have comment or be unexported (golint)
    • Line 29: warning: exported type Item should have comment or be unexported (golint)
    • Line 43: warning: exported type SyncToken should have comment or be unexported (golint)
    • Line 47: warning: exported type SyncInput should have comment or be unexported (golint)
    • Line 52: warning: exported type SyncOutput should have comment or be unexported (golint)
    • Line 56: warning: exported type Items should have comment or be unexported (golint)
    • Line 74: warning: exported method Items.ToItems should have comment or be unexported (golint)
    • Line 107: warning: exported function ToCacheItems should have comment or be unexported (golint)
    • Line 205: warning: comment on exported function Sync should be of the form "Sync ..." (golint)
    • gosn-v2/filter.go
    • Line 9: warning: exported type ItemFilters should have comment or be unexported (golint)
    • Line 14: warning: exported type Filter should have comment or be unexported (golint)
    • Line 21: warning: exported method Items.Filter should have comment or be unexported (golint)
    • gosn-v2/gosn.go
    • Line 27: warning: comment on exported const LibName should be of the form "LibName ..." (golint)
    • gosn-v2/items.go
    • Line 39: warning: exported type EncryptedItems should have comment or be unexported (golint)
    • Line 41: warning: exported method EncryptedItems.Decrypt should have comment or be unexported (golint)
    • Line 47: warning: exported method EncryptedItems.DecryptAndParseItemsKeys should have comment or be unexported (golint)
    • Line 86: warning: exported method EncryptedItems.Validate should have comment or be unexported (golint)
    • Line 107: warning: exported method EncryptedItems.DecryptAndParse should have comment or be unexported (golint)
    • Line 124: warning: exported method Items.Encrypt should have comment or be unexported (golint)
    • Line 140: warning: exported type EncryptedItem should have comment or be unexported (golint)
    • Line 152: warning: exported method EncryptedItem.GetItemsKeyID should have comment or be unexported (golint)
    • Line 156: warning: exported method EncryptedItem.IsDeleted should have comment or be unexported (golint)
    • Line 160: warning: exported type DecryptedItem should have comment or be unexported (golint)
    • Line 170: warning: exported type DecryptedItems should have comment or be unexported (golint)
    • Line 172: warning: exported type UpdateItemRefsInput should have comment or be unexported (golint)
    • Line 177: warning: exported type UpdateItemRefsOutput should have comment or be unexported (golint)
    • Line 181: warning: exported function UpdateItemRefs should have comment or be unexported (golint)
    • Line 280: warning: exported type OrgStandardNotesSNDetail should have comment or be unexported (golint)
    • Line 285: warning: exported type AppDataContent should have comment or be unexported (golint)
    • Line 289: warning: exported type TagContent should have comment or be unexported (golint)
    • Line 305: warning: exported type ItemReferences should have comment or be unexported (golint)
    • Line 307: warning: exported type Items should have comment or be unexported (golint)
    • Line 309: warning: exported method DecryptedItems.Parse should have comment or be unexported (golint)
    • Line 458: warning: exported method EncryptedItems.DeDupe should have comment or be unexported (golint)
    • Line 474: warning: exported method EncryptedItems.RemoveDeleted should have comment or be unexported (golint)
    • Line 486: warning: exported method Items.DeDupe should have comment or be unexported (golint)
    • Line 502: warning: exported method Items.RemoveDeleted should have comment or be unexported (golint)
    • Line 514: warning: exported method DecryptedItems.RemoveDeleted should have comment or be unexported (golint)
    • gosn-v2/tag.go
    • Line 8: warning: exported type Tag should have comment or be unexported (golint)
    • Line 55: warning: exported method Items.Tags should have comment or be unexported (golint)
    • Line 66: warning: exported method Tags.DeDupe should have comment or be unexported (golint)
    • Line 82: warning: exported method Tags.Encrypt should have comment or be unexported (golint)
    • Line 117: warning: exported type Tags should have comment or be unexported (golint)
    • Line 119: warning: exported method Tag.Equals should have comment or be unexported (golint)
    • Line 139: warning: exported method Tags.Validate should have comment or be unexported (golint)
    • Line 173: warning: exported method Tag.IsDeleted should have comment or be unexported (golint)
    • Line 177: warning: exported method Tag.SetDeleted should have comment or be unexported (golint)
    • Line 181: warning: exported method Tag.GetContent should have comment or be unexported (golint)
    • Line 185: warning: exported method Tag.GetItemsKeyID should have comment or be unexported (golint)
    • Line 189: warning: exported method Tag.GetUUID should have comment or be unexported (golint)
    • Line 193: warning: exported method Tag.SetUUID should have comment or be unexported (golint)
    • Line 197: warning: exported method Tag.GetContentType should have comment or be unexported (golint)
    • Line 201: warning: exported method Tag.GetCreatedAt should have comment or be unexported (golint)
    • Line 205: warning: exported method Tag.SetCreatedAt should have comment or be unexported (golint)
    • Line 209: warning: exported method Tag.GetUpdatedAt should have comment or be unexported (golint)
    • Line 213: warning: exported method Tag.GetContentSize should have comment or be unexported (golint)
    • Line 217: warning: exported method Tag.SetContentSize should have comment or be unexported (golint)
    • Line 221: warning: exported method Tag.SetUpdatedAt should have comment or be unexported (golint)
    • Line 225: warning: exported method Tag.SetContentType should have comment or be unexported (golint)
    • Line 229: warning: exported method Tag.SetContent should have comment or be unexported (golint)
    • Line 233: warning: exported method TagContent.GetItemAssociations should have comment or be unexported (golint)
    • Line 237: warning: exported method TagContent.GetItemDisassociations should have comment or be unexported (golint)
    • Line 241: warning: exported method TagContent.SetAppData should have comment or be unexported (golint)
    • Line 245: warning: exported method TagContent.GetText should have comment or be unexported (golint)
    • Line 250: warning: exported method TagContent.SetText should have comment or be unexported (golint)
    • Line 254: warning: exported method TagContent.GetName should have comment or be unexported (golint)
    • Line 258: warning: exported method TagContent.GetActive should have comment or be unexported (golint)
    • Line 263: warning: exported method TagContent.TextContains should have comment or be unexported (golint)
    • Line 268: warning: exported method TagContent.GetTitle should have comment or be unexported (golint)
    • Line 272: warning: exported method TagContent.References should have comment or be unexported (golint)
    • Line 277: warning: exported method TagContent.GetAppData should have comment or be unexported (golint)
    • Line 281: warning: exported method TagContent.SetUpdateTime should have comment or be unexported (golint)
    • Line 285: warning: exported method TagContent.GetUpdateTime should have comment or be unexported (golint)
    • Line 293: warning: exported method TagContent.Equals should have comment or be unexported (golint)
    • Line 298: warning: exported method TagContent.Copy should have comment or be unexported (golint)
    • Line 307: warning: exported method Tag.Copy should have comment or be unexported (golint)
    • Line 320: warning: exported method TagContent.SetReferences should have comment or be unexported (golint)
    • Line 324: warning: exported method TagContent.UpsertReferences should have comment or be unexported (golint)
    • gosn-v2/sync.go
    • Line 39: warning: exported type ConflictedItem should have comment or be unexported (golint)
    • Line 140: warning: exported type ConflictedItems should have comment or be unexported (golint)
    • Line 142: warning: exported method ConflictedItems.DeDupe should have comment or be unexported (golint)
    • Line 158: warning: exported method ConflictedItems.Validate should have comment or be unexported (golint)
    • gosn-v2/cache/session.go
    • Line 10: warning: exported type Session should have comment or be unexported (golint)
    • Line 74: warning: exported method Session.Gosn should have comment or be unexported (golint)
    • gosn-v2/authentication.go
    • Line 283: warning: exported type SignInInput should have comment or be unexported (golint)
    • Line 292: warning: exported type SignInOutput should have comment or be unexported (golint)
    • Line 409: warning: exported type RegisterInput should have comment or be unexported (golint)
    • Line 588: warning: exported method Session.Valid should have comment or be unexported (golint)
    • gosn-v2/extension.go
    • Line 50: warning: exported type ExtensionContent should have comment or be unexported (golint)
    • Line 59: warning: exported type Extension should have comment or be unexported (golint)
    • Line 64: warning: exported method Items.Extension should have comment or be unexported (golint)
    • Line 75: warning: exported method Extensions.DeDupe should have comment or be unexported (golint)
    • Line 113: warning: exported type Extensions should have comment or be unexported (golint)
    • Line 115: warning: exported method Extensions.Validate should have comment or be unexported (golint)
    • Line 149: warning: exported method Extension.IsDeleted should have comment or be unexported (golint)
    • Line 153: warning: exported method Extension.SetDeleted should have comment or be unexported (golint)
    • Line 157: warning: exported method Extension.GetContent should have comment or be unexported (golint)
    • Line 161: warning: exported method Extension.SetContent should have comment or be unexported (golint)
    • Line 165: warning: exported method Extension.GetItemsKeyID should have comment or be unexported (golint)
    • Line 169: warning: exported method Extension.GetUUID should have comment or be unexported (golint)
    • Line 173: warning: exported method Extension.SetUUID should have comment or be unexported (golint)
    • Line 177: warning: exported method Extension.GetContentType should have comment or be unexported (golint)
    • Line 181: warning: exported method Extension.GetCreatedAt should have comment or be unexported (golint)
    • Line 185: warning: exported method Extension.SetCreatedAt should have comment or be unexported (golint)
    • Line 189: warning: exported method Extension.GetUpdatedAt should have comment or be unexported (golint)
    • Line 193: warning: exported method Extension.SetUpdatedAt should have comment or be unexported (golint)
    • Line 197: warning: exported method Extension.SetContentType should have comment or be unexported (golint)
    • Line 201: warning: exported method Extension.GetContentSize should have comment or be unexported (golint)
    • Line 205: warning: exported method Extension.SetContentSize should have comment or be unexported (golint)
    • Line 209: warning: exported method ExtensionContent.AssociateItems should have comment or be unexported (golint)
    • Line 240: warning: exported method ExtensionContent.GetItemAssociations should have comment or be unexported (golint)
    • Line 244: warning: exported method ExtensionContent.GetItemDisassociations should have comment or be unexported (golint)
    • Line 248: warning: exported method ExtensionContent.DisassociateItems should have comment or be unexported (golint)
    • Line 266: warning: exported method ExtensionContent.GetUpdateTime should have comment or be unexported (golint)
    • Line 274: warning: exported method ExtensionContent.SetUpdateTime should have comment or be unexported (golint)
    • Line 278: warning: exported method ExtensionContent.GetTitle should have comment or be unexported (golint)
    • Line 282: warning: exported method ExtensionContent.GetName should have comment or be unexported (golint)
    • Line 286: warning: exported method ExtensionContent.GetActive should have comment or be unexported (golint)
    • Line 290: warning: exported method ExtensionContent.SetTitle should have comment or be unexported (golint)
    • Line 293: warning: exported method ExtensionContent.GetAppData should have comment or be unexported (golint)
    • Line 297: warning: exported method ExtensionContent.SetAppData should have comment or be unexported (golint)
    • Line 301: warning: exported method ExtensionContent.References should have comment or be unexported (golint)
    • Line 305: warning: exported method ExtensionContent.UpsertReferences should have comment or be unexported (golint)
    • Line 309: warning: exported method ExtensionContent.SetReferences should have comment or be unexported (golint)
    • gosn-v2/note.go
    • Line 8: warning: exported type Note should have comment or be unexported (golint)
    • Line 58: warning: exported method Items.Notes should have comment or be unexported (golint)
    • Line 69: warning: exported method Notes.DeDupe should have comment or be unexported (golint)
    • Line 85: warning: exported method Notes.Encrypt should have comment or be unexported (golint)
    • Line 121: warning: exported type Notes should have comment or be unexported (golint)
    • Line 123: warning: exported method Notes.Validate should have comment or be unexported (golint)
    • Line 162: warning: exported method Note.IsDeleted should have comment or be unexported (golint)
    • Line 166: warning: exported method Note.SetDeleted should have comment or be unexported (golint)
    • Line 170: warning: exported method Note.GetContent should have comment or be unexported (golint)
    • Line 174: warning: exported method Note.GetItemsKeyID should have comment or be unexported (golint)
    • Line 178: warning: exported method Note.GetUUID should have comment or be unexported (golint)
    • Line 182: warning: exported method Note.SetUUID should have comment or be unexported (golint)
    • Line 186: warning: exported method Note.GetContentType should have comment or be unexported (golint)
    • Line 190: warning: exported method Note.SetContentType should have comment or be unexported (golint)
    • Line 194: warning: exported method Note.SetContent should have comment or be unexported (golint)
    • Line 198: warning: exported method Note.GetCreatedAt should have comment or be unexported (golint)
    • Line 202: warning: exported method Note.SetCreatedAt should have comment or be unexported (golint)
    • Line 206: warning: exported method Note.GetUpdatedAt should have comment or be unexported (golint)
    • Line 210: warning: exported method Note.SetUpdatedAt should have comment or be unexported (golint)
    • Line 214: warning: exported method Note.GetContentSize should have comment or be unexported (golint)
    • Line 218: warning: exported method Note.SetContentSize should have comment or be unexported (golint)
    • Line 222: warning: exported type NoteContent should have comment or be unexported (golint)
    • Line 232: warning: exported method NoteContent.GetUpdateTime should have comment or be unexported (golint)
    • Line 240: warning: exported method NoteContent.SetUpdateTime should have comment or be unexported (golint)
    • Line 244: warning: exported method NoteContent.SetPrefersPlainEditor should have comment or be unexported (golint)
    • Line 248: warning: exported method NoteContent.GetPrefersPlainEditor should have comment or be unexported (golint)
    • Line 252: warning: exported method NoteContent.GetTitle should have comment or be unexported (golint)
    • Line 256: warning: exported method NoteContent.SetTitle should have comment or be unexported (golint)
    • Line 260: warning: exported method TagContent.SetTitle should have comment or be unexported (golint)
    • Line 264: warning: exported method NoteContent.GetText should have comment or be unexported (golint)
    • Line 268: warning: exported method NoteContent.SetText should have comment or be unexported (golint)
    • Line 272: warning: exported method NoteContent.GetAppData should have comment or be unexported (golint)
    • Line 276: warning: exported method NoteContent.SetAppData should have comment or be unexported (golint)
    • Line 280: warning: exported method NoteContent.References should have comment or be unexported (golint)
    • Line 284: warning: exported method NoteContent.GetActive should have comment or be unexported (golint)
    • Line 289: warning: exported method NoteContent.GetName should have comment or be unexported (golint)
    • Line 293: warning: exported method NoteContent.AddItemAssociations should have comment or be unexported (golint)
    • Line 297: warning: exported method NoteContent.GetItemAssociations should have comment or be unexported (golint)
    • Line 301: warning: exported method NoteContent.GetItemDisassociations should have comment or be unexported (golint)
    • Line 305: warning: exported method NoteContent.AssociateItems should have comment or be unexported (golint)
    • Line 309: warning: exported method TagContent.AssociateItems should have comment or be unexported (golint)
    • Line 313: warning: exported method NoteContent.DisassociateItems should have comment or be unexported (golint)
    • Line 317: warning: exported method TagContent.DisassociateItems should have comment or be unexported (golint)
    • Line 321: warning: exported method Note.Equals should have comment or be unexported (golint)
    • Line 345: warning: exported method NoteContent.Copy should have comment or be unexported (golint)
    • Line 355: warning: exported method Note.Copy should have comment or be unexported (golint)
    • Line 368: warning: exported method NoteContent.UpsertReferences should have comment or be unexported (golint)
    • Line 384: warning: exported method NoteContent.SetReferences should have comment or be unexported (golint)
    • Line 388: warning: exported method Notes.RemoveDeleted should have comment or be unexported (golint)
    • gosn-v2/privileges.go
    • Line 50: warning: exported type PrivilegesContent should have comment or be unexported (golint)
    • Line 59: warning: exported type Privileges should have comment or be unexported (golint)
    • Line 64: warning: exported method Items.Privileges should have comment or be unexported (golint)
    • Line 75: warning: exported method PrivilegesN.DeDupe should have comment or be unexported (golint)
    • Line 105: warning: comment on exported function NewPrivilegesContent should be of the form "NewPrivilegesContent ..." (golint)
    • Line 113: warning: exported type PrivilegesN should have comment or be unexported (golint)
    • Line 115: warning: exported method PrivilegesN.Validate should have comment or be unexported (golint)
    • Line 149: warning: exported method Privileges.IsDeleted should have comment or be unexported (golint)
    • Line 153: warning: exported method Privileges.SetDeleted should have comment or be unexported (golint)
    • Line 157: warning: exported method Privileges.GetContent should have comment or be unexported (golint)
    • Line 161: warning: exported method Privileges.SetContent should have comment or be unexported (golint)
    • Line 165: warning: exported method Privileges.GetItemsKeyID should have comment or be unexported (golint)
    • Line 169: warning: exported method Privileges.GetUUID should have comment or be unexported (golint)
    • Line 173: warning: exported method Privileges.SetUUID should have comment or be unexported (golint)
    • Line 177: warning: exported method Privileges.GetContentType should have comment or be unexported (golint)
    • Line 181: warning: exported method Privileges.GetCreatedAt should have comment or be unexported (golint)
    • Line 185: warning: exported method Privileges.SetCreatedAt should have comment or be unexported (golint)
    • Line 189: warning: exported method Privileges.GetUpdatedAt should have comment or be unexported (golint)
    • Line 193: warning: exported method Privileges.SetUpdatedAt should have comment or be unexported (golint)
    • Line 197: warning: exported method Privileges.SetContentType should have comment or be unexported (golint)
    • Line 201: warning: exported method Privileges.GetContentSize should have comment or be unexported (golint)
    • Line 205: warning: exported method Privileges.SetContentSize should have comment or be unexported (golint)
    • Line 209: warning: exported method PrivilegesContent.AssociateItems should have comment or be unexported (golint)
    • Line 240: warning: exported method PrivilegesContent.GetItemAssociations should have comment or be unexported (golint)
    • Line 244: warning: exported method PrivilegesContent.GetItemDisassociations should have comment or be unexported (golint)
    • Line 248: warning: exported method PrivilegesContent.DisassociateItems should have comment or be unexported (golint)
    • Line 266: warning: exported method PrivilegesContent.GetUpdateTime should have comment or be unexported (golint)
    • Line 274: warning: exported method PrivilegesContent.SetUpdateTime should have comment or be unexported (golint)
    • Line 278: warning: exported method PrivilegesContent.GetTitle should have comment or be unexported (golint)
    • Line 282: warning: exported method PrivilegesContent.GetName should have comment or be unexported (golint)
    • Line 286: warning: exported method PrivilegesContent.GetActive should have comment or be unexported (golint)
    • Line 290: warning: exported method PrivilegesContent.SetTitle should have comment or be unexported (golint)
    • Line 293: warning: exported method PrivilegesContent.GetAppData should have comment or be unexported (golint)
    • Line 297: warning: exported method PrivilegesContent.SetAppData should have comment or be unexported (golint)
    • Line 301: warning: exported method PrivilegesContent.References should have comment or be unexported (golint)
    • Line 305: warning: exported method PrivilegesContent.UpsertReferences should have comment or be unexported (golint)
    • Line 309: warning: exported method PrivilegesContent.SetReferences should have comment or be unexported (golint)
    • gosn-v2/smartTag.go
    • Line 50: warning: exported type SmartTagContent should have comment or be unexported (golint)
    • Line 59: warning: exported type SmartTag should have comment or be unexported (golint)
    • Line 64: warning: exported method Items.SmartTag should have comment or be unexported (golint)
    • Line 75: warning: exported method SmartTags.DeDupe should have comment or be unexported (golint)
    • Line 105: warning: comment on exported function NewSmartTagContent should be of the form "NewSmartTagContent ..." (golint)
    • Line 113: warning: exported type SmartTags should have comment or be unexported (golint)
    • Line 115: warning: exported method SmartTags.Validate should have comment or be unexported (golint)
    • Line 149: warning: exported method SmartTag.IsDeleted should have comment or be unexported (golint)
    • Line 153: warning: exported method SmartTag.SetDeleted should have comment or be unexported (golint)
    • Line 157: warning: exported method SmartTag.GetContent should have comment or be unexported (golint)
    • Line 161: warning: exported method SmartTag.SetContent should have comment or be unexported (golint)
    • Line 165: warning: exported method SmartTag.GetItemsKeyID should have comment or be unexported (golint)
    • Line 169: warning: exported method SmartTag.GetUUID should have comment or be unexported (golint)
    • Line 173: warning: exported method SmartTag.SetUUID should have comment or be unexported (golint)
    • Line 177: warning: exported method SmartTag.GetContentType should have comment or be unexported (golint)
    • Line 181: warning: exported method SmartTag.GetCreatedAt should have comment or be unexported (golint)
    • Line 185: warning: exported method SmartTag.SetCreatedAt should have comment or be unexported (golint)
    • Line 189: warning: exported method SmartTag.GetUpdatedAt should have comment or be unexported (golint)
    • Line 193: warning: exported method SmartTag.SetUpdatedAt should have comment or be unexported (golint)
    • Line 197: warning: exported method SmartTag.SetContentType should have comment or be unexported (golint)
    • Line 201: warning: exported method SmartTag.GetContentSize should have comment or be unexported (golint)
    • Line 205: warning: exported method SmartTag.SetContentSize should have comment or be unexported (golint)
    • Line 209: warning: exported method SmartTagContent.AssociateItems should have comment or be unexported (golint)
    • Line 240: warning: exported method SmartTagContent.GetItemAssociations should have comment or be unexported (golint)
    • Line 244: warning: exported method SmartTagContent.GetItemDisassociations should have comment or be unexported (golint)
    • Line 248: warning: exported method SmartTagContent.DisassociateItems should have comment or be unexported (golint)
    • Line 266: warning: exported method SmartTagContent.GetUpdateTime should have comment or be unexported (golint)
    • Line 274: warning: exported method SmartTagContent.SetUpdateTime should have comment or be unexported (golint)
    • Line 278: warning: exported method SmartTagContent.GetTitle should have comment or be unexported (golint)
    • Line 282: warning: exported method SmartTagContent.GetName should have comment or be unexported (golint)
    • Line 286: warning: exported method SmartTagContent.GetActive should have comment or be unexported (golint)
    • Line 290: warning: exported method SmartTagContent.SetTitle should have comment or be unexported (golint)
    • Line 293: warning: exported method SmartTagContent.GetAppData should have comment or be unexported (golint)
    • Line 297: warning: exported method SmartTagContent.SetAppData should have comment or be unexported (golint)
    • Line 301: warning: exported method SmartTagContent.References should have comment or be unexported (golint)
    • Line 305: warning: exported method SmartTagContent.UpsertReferences should have comment or be unexported (golint)
    • Line 309: warning: exported method SmartTagContent.SetReferences should have comment or be unexported (golint)
    • gosn-v2/sfMFA.go
    • Line 52: warning: exported type SFMFAContent should have comment or be unexported (golint)
    • Line 61: warning: exported type SFMFA should have comment or be unexported (golint)
    • Line 66: warning: exported method Items.SFMFA should have comment or be unexported (golint)
    • Line 77: warning: exported method SFMFAs.DeDupe should have comment or be unexported (golint)
    • Line 107: warning: comment on exported function NewSFMFAContent should be of the form "NewSFMFAContent ..." (golint)
    • Line 115: warning: exported type SFMFAs should have comment or be unexported (golint)
    • Line 117: warning: exported method SFMFAs.Validate should have comment or be unexported (golint)
    • Line 151: warning: exported method SFMFA.IsDeleted should have comment or be unexported (golint)
    • Line 155: warning: exported method SFMFA.SetDeleted should have comment or be unexported (golint)
    • Line 159: warning: exported method SFMFA.GetContent should have comment or be unexported (golint)
    • Line 163: warning: exported method SFMFA.SetContent should have comment or be unexported (golint)
    • Line 167: warning: exported method SFMFA.GetItemsKeyID should have comment or be unexported (golint)
    • Line 171: warning: exported method SFMFA.GetUUID should have comment or be unexported (golint)
    • Line 175: warning: exported method SFMFA.SetUUID should have comment or be unexported (golint)
    • Line 179: warning: exported method SFMFA.GetContentType should have comment or be unexported (golint)
    • Line 183: warning: exported method SFMFA.GetCreatedAt should have comment or be unexported (golint)
    • Line 187: warning: exported method SFMFA.SetCreatedAt should have comment or be unexported (golint)
    • Line 191: warning: exported method SFMFA.GetUpdatedAt should have comment or be unexported (golint)
    • Line 195: warning: exported method SFMFA.SetUpdatedAt should have comment or be unexported (golint)
    • Line 199: warning: exported method SFMFA.SetContentType should have comment or be unexported (golint)
    • Line 203: warning: exported method SFMFA.GetContentSize should have comment or be unexported (golint)
    • Line 207: warning: exported method SFMFA.SetContentSize should have comment or be unexported (golint)
    • Line 211: warning: exported method SFMFAContent.AssociateItems should have comment or be unexported (golint)
    • Line 242: warning: exported method SFMFAContent.GetItemAssociations should have comment or be unexported (golint)
    • Line 246: warning: exported method SFMFAContent.GetItemDisassociations should have comment or be unexported (golint)
    • Line 250: warning: exported method SFMFAContent.DisassociateItems should have comment or be unexported (golint)
    • Line 268: warning: exported method SFMFAContent.GetUpdateTime should have comment or be unexported (golint)
    • Line 276: warning: exported method SFMFAContent.SetUpdateTime should have comment or be unexported (golint)
    • Line 280: warning: exported method SFMFAContent.GetTitle should have comment or be unexported (golint)
    • Line 284: warning: exported method SFMFAContent.GetName should have comment or be unexported (golint)
    • Line 288: warning: exported method SFMFAContent.GetActive should have comment or be unexported (golint)
    • Line 292: warning: exported method SFMFAContent.SetTitle should have comment or be unexported (golint)
    • Line 295: warning: exported method SFMFAContent.GetAppData should have comment or be unexported (golint)
    • Line 299: warning: exported method SFMFAContent.SetAppData should have comment or be unexported (golint)
    • Line 303: warning: exported method SFMFAContent.References should have comment or be unexported (golint)
    • Line 307: warning: exported method SFMFAContent.UpsertReferences should have comment or be unexported (golint)
    • Line 311: warning: exported method SFMFAContent.SetReferences should have comment or be unexported (golint)
    • gosn-v2/component.go
    • Line 50: warning: exported type ComponentContent should have comment or be unexported (golint)
    • Line 69: warning: exported type Component should have comment or be unexported (golint)
    • Line 74: warning: exported method Items.Append should have comment or be unexported (golint)
    • Line 94: warning: exported method Items.Components should have comment or be unexported (golint)
    • Line 105: warning: exported method Components.DeDupe should have comment or be unexported (golint)
    • Line 143: warning: exported type Components should have comment or be unexported (golint)
    • Line 145: warning: exported method Components.Validate should have comment or be unexported (golint)
    • Line 179: warning: exported method Component.IsDeleted should have comment or be unexported (golint)
    • Line 183: warning: exported method Component.SetDeleted should have comment or be unexported (golint)
    • Line 187: warning: exported method Component.GetContent should have comment or be unexported (golint)
    • Line 191: warning: exported method Component.SetContent should have comment or be unexported (golint)
    • Line 195: warning: exported method Component.GetItemsKeyID should have comment or be unexported (golint)
    • Line 199: warning: exported method Component.GetUUID should have comment or be unexported (golint)
    • Line 203: warning: exported method Component.SetUUID should have comment or be unexported (golint)
    • Line 207: warning: exported method Component.GetContentType should have comment or be unexported (golint)
    • Line 211: warning: exported method Component.GetCreatedAt should have comment or be unexported (golint)
    • Line 215: warning: exported method Component.SetCreatedAt should have comment or be unexported (golint)
    • Line 219: warning: exported method Component.GetUpdatedAt should have comment or be unexported (golint)
    • Line 223: warning: exported method Component.SetUpdatedAt should have comment or be unexported (golint)
    • Line 227: warning: exported method Component.SetContentType should have comment or be unexported (golint)
    • Line 231: warning: exported method Component.GetContentSize should have comment or be unexported (golint)
    • Line 235: warning: exported method Component.SetContentSize should have comment or be unexported (golint)
    • Line 239: warning: exported method ComponentContent.AssociateItems should have comment or be unexported (golint)
    • Line 270: warning: exported method ComponentContent.GetItemAssociations should have comment or be unexported (golint)
    • Line 274: warning: exported method ComponentContent.GetItemDisassociations should have comment or be unexported (golint)
    • Line 278: warning: exported method ComponentContent.DisassociateItems should have comment or be unexported (golint)
    • Line 296: warning: exported method ComponentContent.GetUpdateTime should have comment or be unexported (golint)
    • Line 304: warning: exported method ComponentContent.SetUpdateTime should have comment or be unexported (golint)
    • Line 308: warning: exported method ComponentContent.GetTitle should have comment or be unexported (golint)
    • Line 312: warning: exported method ComponentContent.GetName should have comment or be unexported (golint)
    • Line 316: warning: exported method ComponentContent.GetActive should have comment or be unexported (golint)
    • Line 320: warning: exported method ComponentContent.SetTitle should have comment or be unexported (golint)
    • Line 323: warning: exported method ComponentContent.GetAppData should have comment or be unexported (golint)
    • Line 327: warning: exported method ComponentContent.SetAppData should have comment or be unexported (golint)
    • Line 331: warning: exported method ComponentContent.References should have comment or be unexported (golint)
    • Line 335: warning: exported method ComponentContent.UpsertReferences should have comment or be unexported (golint)
    • Line 339: warning: exported method ComponentContent.SetReferences should have comment or be unexported (golint)
    • gosn-v2/extensionRepo.go
    • Line 50: warning: exported type ExtensionRepoContent should have comment or be unexported (golint)
    • Line 59: warning: exported type ExtensionRepo should have comment or be unexported (golint)
    • Line 64: warning: exported method Items.ExtensionRepo should have comment or be unexported (golint)
    • Line 75: warning: exported method ExtensionRepos.DeDupe should have comment or be unexported (golint)
    • Line 113: warning: exported type ExtensionRepos should have comment or be unexported (golint)
    • Line 115: warning: exported method ExtensionRepos.Validate should have comment or be unexported (golint)
    • Line 149: warning: exported method ExtensionRepo.IsDeleted should have comment or be unexported (golint)
    • Line 153: warning: exported method ExtensionRepo.SetDeleted should have comment or be unexported (golint)
    • Line 157: warning: exported method ExtensionRepo.GetContent should have comment or be unexported (golint)
    • Line 161: warning: exported method ExtensionRepo.SetContent should have comment or be unexported (golint)
    • Line 165: warning: exported method ExtensionRepo.GetItemsKeyID should have comment or be unexported (golint)
    • Line 169: warning: exported method ExtensionRepo.GetUUID should have comment or be unexported (golint)
    • Line 173: warning: exported method ExtensionRepo.SetUUID should have comment or be unexported (golint)
    • Line 177: warning: exported method ExtensionRepo.GetContentType should have comment or be unexported (golint)
    • Line 181: warning: exported method ExtensionRepo.GetCreatedAt should have comment or be unexported (golint)
    • Line 185: warning: exported method ExtensionRepo.SetCreatedAt should have comment or be unexported (golint)
    • Line 189: warning: exported method ExtensionRepo.GetUpdatedAt should have comment or be unexported (golint)
    • Line 193: warning: exported method ExtensionRepo.SetUpdatedAt should have comment or be unexported (golint)
    • Line 197: warning: exported method ExtensionRepo.SetContentType should have comment or be unexported (golint)
    • Line 201: warning: exported method ExtensionRepo.GetContentSize should have comment or be unexported (golint)
    • Line 205: warning: exported method ExtensionRepo.SetContentSize should have comment or be unexported (golint)
    • Line 209: warning: exported method ExtensionRepoContent.AssociateItems should have comment or be unexported (golint)
    • Line 240: warning: exported method ExtensionRepoContent.GetItemAssociations should have comment or be unexported (golint)
    • Line 244: warning: exported method ExtensionRepoContent.GetItemDisassociations should have comment or be unexported (golint)
    • Line 248: warning: exported method ExtensionRepoContent.DisassociateItems should have comment or be unexported (golint)
    • Line 266: warning: exported method ExtensionRepoContent.GetUpdateTime should have comment or be unexported (golint)
    • Line 274: warning: exported method ExtensionRepoContent.SetUpdateTime should have comment or be unexported (golint)
    • Line 278: warning: exported method ExtensionRepoContent.GetTitle should have comment or be unexported (golint)
    • Line 282: warning: exported method ExtensionRepoContent.GetName should have comment or be unexported (golint)
    • Line 286: warning: exported method ExtensionRepoContent.GetActive should have comment or be unexported (golint)
    • Line 290: warning: exported method ExtensionRepoContent.SetTitle should have comment or be unexported (golint)
    • Line 293: warning: exported method ExtensionRepoContent.GetAppData should have comment or be unexported (golint)
    • Line 297: warning: exported method ExtensionRepoContent.SetAppData should have comment or be unexported (golint)
    • Line 301: warning: exported method ExtensionRepoContent.References should have comment or be unexported (golint)
    • Line 305: warning: exported method ExtensionRepoContent.UpsertReferences should have comment or be unexported (golint)
    • Line 309: warning: exported method ExtensionRepoContent.SetReferences should have comment or be unexported (golint)
    • gosn-v2/fileSafeFileMetadata.go
    • Line 8: warning: exported type FileSafeFileMetaDataContent should have comment or be unexported (golint)
    • Line 59: warning: exported type FileSafeFileMetaData should have comment or be unexported (golint)
    • Line 64: warning: exported method Items.FileSafeFileMetaData should have comment or be unexported (golint)
    • Line 75: warning: exported method FileSafeFileMetaDatas.DeDupe should have comment or be unexported (golint)
    • Line 105: warning: comment on exported function NewFileSafeFileMetaDataContent should be of the form "NewFileSafeFileMetaDataContent ..." (golint)
    • Line 113: warning: exported type FileSafeFileMetaDatas should have comment or be unexported (golint)
    • Line 115: warning: exported method FileSafeFileMetaDatas.Validate should have comment or be unexported (golint)
    • Line 149: warning: exported method FileSafeFileMetaData.IsDeleted should have comment or be unexported (golint)
    • Line 153: warning: exported method FileSafeFileMetaData.SetDeleted should have comment or be unexported (golint)
    • Line 157: warning: exported method FileSafeFileMetaData.GetContent should have comment or be unexported (golint)
    • Line 161: warning: exported method FileSafeFileMetaData.SetContent should have comment or be unexported (golint)
    • Line 165: warning: exported method FileSafeFileMetaData.GetItemsKeyID should have comment or be unexported (golint)
    • Line 169: warning: exported method FileSafeFileMetaData.GetUUID should have comment or be unexported (golint)
    • Line 173: warning: exported method FileSafeFileMetaData.SetUUID should have comment or be unexported (golint)
    • Line 177: warning: exported method FileSafeFileMetaData.GetContentType should have comment or be unexported (golint)
    • Line 181: warning: exported method FileSafeFileMetaData.GetCreatedAt should have comment or be unexported (golint)
    • Line 185: warning: exported method FileSafeFileMetaData.SetCreatedAt should have comment or be unexported (golint)
    • Line 189: warning: exported method FileSafeFileMetaData.GetUpdatedAt should have comment or be unexported (golint)
    • Line 193: warning: exported method FileSafeFileMetaData.SetUpdatedAt should have comment or be unexported (golint)
    • Line 197: warning: exported method FileSafeFileMetaData.SetContentType should have comment or be unexported (golint)
    • Line 201: warning: exported method FileSafeFileMetaData.GetContentSize should have comment or be unexported (golint)
    • Line 205: warning: exported method FileSafeFileMetaData.SetContentSize should have comment or be unexported (golint)
    • Line 209: warning: exported method FileSafeFileMetaDataContent.AssociateItems should have comment or be unexported (golint)
    • Line 240: warning: exported method FileSafeFileMetaDataContent.GetItemAssociations should have comment or be unexported (golint)
    • Line 244: warning: exported method FileSafeFileMetaDataContent.GetItemDisassociations should have comment or be unexported (golint)
    • Line 248: warning: exported method FileSafeFileMetaDataContent.DisassociateItems should have comment or be unexported (golint)
    • Line 266: warning: exported method FileSafeFileMetaDataContent.GetUpdateTime should have comment or be unexported (golint)
    • Line 274: warning: exported method FileSafeFileMetaDataContent.SetUpdateTime should have comment or be unexported (golint)
    • Line 278: warning: exported method FileSafeFileMetaDataContent.GetTitle should have comment or be unexported (golint)
    • Line 282: warning: exported method FileSafeFileMetaDataContent.GetName should have comment or be unexported (golint)
    • Line 286: warning: exported method FileSafeFileMetaDataContent.GetActive should have comment or be unexported (golint)
    • Line 290: warning: exported method FileSafeFileMetaDataContent.SetTitle should have comment or be unexported (golint)
    • Line 293: warning: exported method FileSafeFileMetaDataContent.GetAppData should have comment or be unexported (golint)
    • Line 297: warning: exported method FileSafeFileMetaDataContent.SetAppData should have comment or be unexported (golint)
    • Line 301: warning: exported method FileSafeFileMetaDataContent.References should have comment or be unexported (golint)
    • Line 305: warning: exported method FileSafeFileMetaDataContent.UpsertReferences should have comment or be unexported (golint)
    • Line 309: warning: exported method FileSafeFileMetaDataContent.SetReferences should have comment or be unexported (golint)
    • gosn-v2/itemsKey.go
    • Line 5: warning: exported type Bool should have comment or be unexported (golint)
    • Line 7: warning: exported method Bool.UnmarshalJSON should have comment or be unexported (golint)
    • Line 13: warning: exported type ItemsKey should have comment or be unexported (golint)
    • Line 23: warning: exported method ItemsKey.GetUUID should have comment or be unexported (golint)
    • gosn-v2/sfExtension.go
    • Line 52: warning: exported type SFExtensionContent should have comment or be unexported (golint)
    • Line 61: warning: exported type SFExtension should have comment or be unexported (golint)
    • Line 66: warning: exported method Items.SFExtension should have comment or be unexported (golint)
    • Line 77: warning: exported method SFExtensions.DeDupe should have comment or be unexported (golint)
    • Line 115: warning: exported type SFExtensions should have comment or be unexported (golint)
    • Line 117: warning: exported method SFExtensions.Validate should have comment or be unexported (golint)
    • Line 151: warning: exported method SFExtension.IsDeleted should have comment or be unexported (golint)
    • Line 155: warning: exported method SFExtension.SetDeleted should have comment or be unexported (golint)
    • Line 159: warning: exported method SFExtension.GetContent should have comment or be unexported (golint)
    • Line 163: warning: exported method SFExtension.SetContent should have comment or be unexported (golint)
    • Line 167: warning: exported method SFExtension.GetItemsKeyID should have comment or be unexported (golint)
    • Line 171: warning: exported method SFExtension.GetUUID should have comment or be unexported (golint)
    • Line 175: warning: exported method SFExtension.SetUUID should have comment or be unexported (golint)
    • Line 179: warning: exported method SFExtension.GetContentType should have comment or be unexported (golint)
    • Line 183: warning: exported method SFExtension.GetCreatedAt should have comment or be unexported (golint)
    • Line 187: warning: exported method SFExtension.SetCreatedAt should have comment or be unexported (golint)
    • Line 191: warning: exported method SFExtension.GetUpdatedAt should have comment or be unexported (golint)
    • Line 195: warning: exported method SFExtension.SetUpdatedAt should have comment or be unexported (golint)
    • Line 199: warning: exported method SFExtension.SetContentType should have comment or be unexported (golint)
    • Line 203: warning: exported method SFExtension.GetContentSize should have comment or be unexported (golint)
    • Line 207: warning: exported method SFExtension.SetContentSize should have comment or be unexported (golint)
    • Line 211: warning: exported method SFExtensionContent.AssociateItems should have comment or be unexported (golint)
    • Line 242: warning: exported method SFExtensionContent.GetItemAssociations should have comment or be unexported (golint)
    • Line 246: warning: exported method SFExtensionContent.GetItemDisassociations should have comment or be unexported (golint)
    • Line 250: warning: exported method SFExtensionContent.DisassociateItems should have comment or be unexported (golint)
    • Line 268: warning: exported method SFExtensionContent.GetUpdateTime should have comment or be unexported (golint)
    • Line 276: warning: exported method SFExtensionContent.SetUpdateTime should have comment or be unexported (golint)
    • Line 280: warning: exported method SFExtensionContent.GetTitle should have comment or be unexported (golint)
    • Line 284: warning: exported method SFExtensionContent.GetName should have comment or be unexported (golint)
    • Line 288: warning: exported method SFExtensionContent.GetActive should have comment or be unexported (golint)
    • Line 292: warning: exported method SFExtensionContent.SetTitle should have comment or be unexported (golint)
    • Line 295: warning: exported method SFExtensionContent.GetAppData should have comment or be unexported (golint)
    • Line 299: warning: exported method SFExtensionContent.SetAppData should have comment or be unexported (golint)
    • Line 303: warning: exported method SFExtensionContent.References should have comment or be unexported (golint)
    • Line 307: warning: exported method SFExtensionContent.UpsertReferences should have comment or be unexported (golint)
    • Line 311: warning: exported method SFExtensionContent.SetReferences should have comment or be unexported (golint)
    • gosn-v2/fileSafeCredentials.go
    • Line 8: warning: exported type FileSafeCredentialsContent should have comment or be unexported (golint)
    • Line 59: warning: exported type FileSafeCredentials should have comment or be unexported (golint)
    • Line 64: warning: exported method Items.FileSafeCredentials should have comment or be unexported (golint)
    • Line 75: warning: exported method FileSafeCredentialss.DeDupe should have comment or be unexported (golint)
    • Line 105: warning: comment on exported function NewFileSafeCredentialsContent should be of the form "NewFileSafeCredentialsContent ..." (golint)
    • Line 113: warning: exported type FileSafeCredentialss should have comment or be unexported (golint)
    • Line 115: warning: exported method FileSafeCredentialss.Validate should have comment or be unexported (golint)
    • Line 149: warning: exported method FileSafeCredentials.IsDeleted should have comment or be unexported (golint)
    • Line 153: warning: exported method FileSafeCredentials.SetDeleted should have comment or be unexported (golint)
    • Line 157: warning: exported method FileSafeCredentials.GetContent should have comment or be unexported (golint)
    • Line 161: warning: exported method FileSafeCredentials.SetContent should have comment or be unexported (golint)
    • Line 165: warning: exported method FileSafeCredentials.GetItemsKeyID should have comment or be unexported (golint)
    • Line 169: warning: exported method FileSafeCredentials.GetUUID should have comment or be unexported (golint)
    • Line 173: warning: exported method FileSafeCredentials.SetUUID should have comment or be unexported (golint)
    • Line 177: warning: exported method FileSafeCredentials.GetContentType should have comment or be unexported (golint)
    • Line 181: warning: exported method FileSafeCredentials.GetCreatedAt should have comment or be unexported (golint)
    • Line 185: warning: exported method FileSafeCredentials.SetCreatedAt should have comment or be unexported (golint)
    • Line 189: warning: exported method FileSafeCredentials.GetUpdatedAt should have comment or be unexported (golint)
    • Line 193: warning: exported method FileSafeCredentials.SetUpdatedAt should have comment or be unexported (golint)
    • Line 197: warning: exported method FileSafeCredentials.SetContentType should have comment or be unexported (golint)
    • Line 201: warning: exported method FileSafeCredentials.GetContentSize should have comment or be unexported (golint)
    • Line 205: warning: exported method FileSafeCredentials.SetContentSize should have comment or be unexported (golint)
    • Line 209: warning: exported method FileSafeCredentialsContent.AssociateItems should have comment or be unexported (golint)
    • Line 240: warning: exported method FileSafeCredentialsContent.GetItemAssociations should have comment or be unexported (golint)
    • Line 244: warning: exported method FileSafeCredentialsContent.GetItemDisassociations should have comment or be unexported (golint)
    • Line 248: warning: exported method FileSafeCredentialsContent.DisassociateItems should have comment or be unexported (golint)
    • Line 266: warning: exported method FileSafeCredentialsContent.GetUpdateTime should have comment or be unexported (golint)
    • Line 274: warning: exported method FileSafeCredentialsContent.SetUpdateTime should have comment or be unexported (golint)
    • Line 278: warning: exported method FileSafeCredentialsContent.GetTitle should have comment or be unexported (golint)
    • Line 282: warning: exported method FileSafeCredentialsContent.GetName should have comment or be unexported (golint)
    • Line 286: warning: exported method FileSafeCredentialsContent.GetActive should have comment or be unexported (golint)
    • Line 290: warning: exported method FileSafeCredentialsContent.SetTitle should have comment or be unexported (golint)
    • Line 293: warning: exported method FileSafeCredentialsContent.GetAppData should have comment or be unexported (golint)
    • Line 297: warning: exported method FileSafeCredentialsContent.SetAppData should have comment or be unexported (golint)
    • Line 301: warning: exported method FileSafeCredentialsContent.References should have comment or be unexported (golint)
    • Line 305: warning: exported method FileSafeCredentialsContent.UpsertReferences should have comment or be unexported (golint)
    • Line 309: warning: exported method FileSafeCredentialsContent.SetReferences should have comment or be unexported (golint)
    • gosn-v2/fileSafeIntegration.go
    • Line 50: warning: exported type FileSafeIntegrationContent should have comment or be unexported (golint)
    • Line 59: warning: exported type FileSafeIntegration should have comment or be unexported (golint)
    • Line 64: warning: exported method Items.FileSafeIntegration should have comment or be unexported (golint)
    • Line 75: warning: exported method FileSafeIntegrations.DeDupe should have comment or be unexported (golint)
    • Line 105: warning: comment on exported function NewFileSafeIntegrationContent should be of the form "NewFileSafeIntegrationContent ..." (golint)
    • Line 113: warning: exported type FileSafeIntegrations should have comment or be unexported (golint)
    • Line 115: warning: exported method FileSafeIntegrations.Validate should have comment or be unexported (golint)
    • Line 149: warning: exported method FileSafeIntegration.IsDeleted should have comment or be unexported (golint)
    • Line 153: warning: exported method FileSafeIntegration.SetDeleted should have comment or be unexported (golint)
    • Line 157: warning: exported method FileSafeIntegration.GetContent should have comment or be unexported (golint)
    • Line 161: warning: exported method FileSafeIntegration.SetContent should have comment or be unexported (golint)
    • Line 165: warning: exported method FileSafeIntegration.GetItemsKeyID should have comment or be unexported (golint)
    • Line 169: warning: exported method FileSafeIntegration.GetUUID should have comment or be unexported (golint)
    • Line 173: warning: exported method FileSafeIntegration.SetUUID should have comment or be unexported (golint)
    • Line 177: warning: exported method FileSafeIntegration.GetContentType should have comment or be unexported (golint)
    • Line 181: warning: exported method FileSafeIntegration.GetCreatedAt should have comment or be unexported (golint)
    • Line 185: warning: exported method FileSafeIntegration.SetCreatedAt should have comment or be unexported (golint)
    • Line 189: warning: exported method FileSafeIntegration.GetUpdatedAt should have comment or be unexported (golint)
    • Line 193: warning: exported method FileSafeIntegration.SetUpdatedAt should have comment or be unexported (golint)
    • Line 197: warning: exported method FileSafeIntegration.SetContentType should have comment or be unexported (golint)
    • Line 201: warning: exported method FileSafeIntegration.GetContentSize should have comment or be unexported (golint)
    • Line 205: warning: exported method FileSafeIntegration.SetContentSize should have comment or be unexported (golint)
    • Line 209: warning: exported method FileSafeIntegrationContent.AssociateItems should have comment or be unexported (golint)
    • Line 240: warning: exported method FileSafeIntegrationContent.GetItemAssociations should have comment or be unexported (golint)
    • Line 244: warning: exported method FileSafeIntegrationContent.GetItemDisassociations should have comment or be unexported (golint)
    • Line 248: warning: exported method FileSafeIntegrationContent.DisassociateItems should have comment or be unexported (golint)
    • Line 266: warning: exported method FileSafeIntegrationContent.GetUpdateTime should have comment or be unexported (golint)
    • Line 274: warning: exported method FileSafeIntegrationContent.SetUpdateTime should have comment or be unexported (golint)
    • Line 278: warning: exported method FileSafeIntegrationContent.GetTitle should have comment or be unexported (golint)
    • Line 282: warning: exported method FileSafeIntegrationContent.GetName should have comment or be unexported (golint)
    • Line 286: warning: exported method FileSafeIntegrationContent.GetActive should have comment or be unexported (golint)
    • Line 290: warning: exported method FileSafeIntegrationContent.SetTitle should have comment or be unexported (golint)
    • Line 293: warning: exported method FileSafeIntegrationContent.GetAppData should have comment or be unexported (golint)
    • Line 297: warning: exported method FileSafeIntegrationContent.SetAppData should have comment or be unexported (golint)
    • Line 301: warning: exported method FileSafeIntegrationContent.References should have comment or be unexported (golint)
    • Line 305: warning: exported method FileSafeIntegrationContent.UpsertReferences should have comment or be unexported (golint)
    • Line 309: warning: exported method FileSafeIntegrationContent.SetReferences should have comment or be unexported (golint)
    • gosn-v2/item.go
    • Line 22: warning: exported type Content should have comment or be unexported (golint)
    • Line 38: warning: exported method Items.Validate should have comment or be unexported (golint)
    • gosn-v2/session.go
    • Line 22: warning: exported const SNServerURL should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported function GetCredentials should have comment or be unexported (golint)
    • Line 111: warning: exported function GetSessionFromKeyring should have comment or be unexported (golint)
    • Line 119: warning: exported function AddSession should have comment or be unexported (golint)
    • Line 192: warning: exported function SessionExists should have comment or be unexported (golint)
    • Line 225: warning: exported function MakeSessionString should have comment or be unexported (golint)
    • Line 229: warning: exported function GetSessionFromUser should have comment or be unexported (golint)
    • Line 255: warning: exported function GetSession should have comment or be unexported (golint)
    • Line 317: warning: exported function ParseSessionString should have comment or be unexported (golint)
    • Line 411: warning: exported function SessionStatus should have comment or be unexported (golint)

gocyclo88%

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.

    • gosn-v2/sync.go
    • Line 189: warning: cyclomatic complexity 26 of function syncItemsViaAPI() is high (> 15) (gocyclo)
    • gosn-v2/items.go
    • Line 352: warning: cyclomatic complexity 24 of function processContentModel() is high (> 15) (gocyclo)
    • Line 309: warning: cyclomatic complexity 17 of function (*DecryptedItems).Parse() is high (> 15) (gocyclo)
    • gosn-v2/items_test.go
    • Line 688: warning: cyclomatic complexity 19 of function TestNoteTagging() is high (> 15) (gocyclo)
    • Line 132: warning: cyclomatic complexity 16 of function _deleteAllTagsNotesComponents() is high (> 15) (gocyclo)
    • gosn-v2/filter.go
    • Line 490: warning: cyclomatic complexity 30 of function applyComponentFilters() is high (> 15) (gocyclo)
    • Line 403: warning: cyclomatic complexity 26 of function applyTagFilters() is high (> 15) (gocyclo)
    • Line 258: warning: cyclomatic complexity 22 of function applyNoteFilters() is high (> 15) (gocyclo)
    • Line 327: warning: cyclomatic complexity 18 of function applyNoteTitleFilter() is high (> 15) (gocyclo)
    • Line 58: warning: cyclomatic complexity 18 of function applyNoteTextFilter() is high (> 15) (gocyclo)
    • Line 137: warning: cyclomatic complexity 17 of function applyNoteTagTitleFilter() is high (> 15) (gocyclo)

ineffassign85%

IneffAssign detects ineffectual assignments in Go code.


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell91%

Misspell Finds commonly misspelled English words

    • gosn-v2/items_test.go
    • Line 25: warning: "ridiculus" is a misspelling of "ridiculous" (misspell)
    • Line 44: warning: "facilisi" is a misspelling of "facilities" (misspell)
    • Line 51: warning: "ridiculus" is a misspelling of "ridiculous" (misspell)