topfreegames/khan

View on GitHub

Showing 425 of 425 total issues

don't use underscores in Go names; func migrations_20160819145352_createhooktriggerfieldsmetadata_sql should be migrations20160819145352CreatehooktriggerfieldsmetadataSQL
Open

func migrations_20160819145352_createhooktriggerfieldsmetadata_sql() ([]byte, error) {
Severity: Minor
Found in db/migrations.go by golint

don't use underscores in Go names; func migrations_20210401151842_changeencryptedplayersidtype_sql should be migrations20210401151842ChangeencryptedplayersidtypeSQL
Open

func migrations_20210401151842_changeencryptedplayersidtype_sql() ([]byte, error) {
Severity: Minor
Found in db/migrations.go by golint

don't use underscores in Go names; type _bintree_t should be _bintreeT
Open

type _bintree_t struct {
Severity: Minor
Found in db/migrations.go by golint

don't use underscores in Go names; func migrations_20160627110742_loaduuidmodule_sql should be migrations20160627110742LoaduuidmoduleSQL
Open

func migrations_20160627110742_loaduuidmodule_sql() ([]byte, error) {
Severity: Minor
Found in db/migrations.go by golint

don't use underscores in Go names; var _migrations_20160627155249_createplayermembershipandownershipcount_sql should be _migrations20160627155249CreateplayermembershipandownershipcountSQL
Open

var _migrations_20160627155249_createplayermembershipandownershipcount_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\xcf\x41\x4b\xc4\x30\x10\x05\xe0\x7b\x7f\xc5\xbb\xed\x41\x16\xbc\xef\x29\x9a\x7a\x8a\xad\xae\xc9\x59\xb2\xe9\xd0\x0e\xa6\x49\x48\xb2\x54\xff\xbd\xac\xa0\x2c\x52\xb1\xc7\x19\x66\x1e\xef\x6b\xf6\x7b\xdc\x8c\x31\x16\x82\x49\x97\xe1\xe5\x59\x81\x03\x0a\xb9\xca\x31\x60\x67\xd2\x0e\x5c\x40\xef\xe4\xce\x95\x06\x2c\x13\x05\xd4\x89\x0b\x66\x1e\xb3\xfd\x3a\xe2\x02\x9b\x92\x67\x1a\x1a\xa1\x74\x7b\x84\x16\x77\xaa\x45\xf2\xf6\x83\x72\x81\x90\x12\xf7\xbd\x32\x8f\x1d\x66\x9a\x4f\x94\xcb\xc4\xe9\xd5\xc5\x73\xa8\xe0\x50\x69\xa4\x8c\xae\xd7\xe8\x8c\x52\x90\xed\x83\x30\x4a\xe3\xf6\xf0\x5f\x56\x5c\xc2\xe6\xa8\x2b\xa6\x8c\x4b\xf8\x86\xfe\x28\x2f\xcb\x4d\xce\x1c\xbd\xa7\x01\x27\xeb\xde\x56\xfb\xc9\x63\xff\xf4\x17\x76\x5d\x74\xfd\xf1\x8b\x74\x68\x3e\x03\x00\x00\xff\xff\x47\x2a\x44\xfc\x9f\x01\x00\x00")
Severity: Minor
Found in db/migrations.go by golint

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// khan
Severity: Minor
Found in cmd/migrate.go by gofmt

don't use underscores in Go names; var _migrations_20160608182307_createmembershiptable_sql should be _migrations20160608182307CreatemembershiptableSQL
Open

var _migrations_20160608182307_createmembershiptable_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x92\x4b\x6e\xdb\x30\x10\x86\xf7\x3a\xc5\xec\x62\xa3\x71\xd4\x07\x90\x45\x52\x14\x75\x1d\xa5\x30\xaa\xc8\x89\x2c\x2d\xb2\x32\x28\x72\x2c\x0d\x4c\x91\x2c\x49\xd9\xf5\x91\x7a\x8d\x9e\xac\xa0\x9f\x81\x13\xa0\x46\x97\xe4\xff\xfd\xe4\x3c\xfe\xc1\x00\x16\x0d\x53\xd1\x60\x00\x8d\xf7\xc6\xdd\xc4\x71\x4d\xbe\xe9\xaa\x2b\xae\xdb\xd8\x6b\x33\xb7\x88\x35\x6b\xd1\xc5\x3b\x2e\xa0\x29\x71\x54\x0e\x05\x74\x4a\xa0\x05\xdf\x20\x3c\x8c\x0b\x90\xdb\xeb\x9b\xfd\x6b\x37\x71\xbc\x5a\xad\xae\xb4\x41\xe5\x74\x67\x39\x5e\x69\x5b\xc7\x3b\xca\xc5\x2d\xf9\xc1\xee\x10\x1c\x23\x6d\xd6\x96\xea\xc6\xc3\x9f\xdf\xf0\xf1\xfd\x87\x6b\x28\xb4\x81\x7b\x8b\x08\xdf\x43\x01\xf0\xb9\x62\x7c\x81\x4a\x7c\xf5\xf3\x9a\xeb\x50\xe0\x97\x28\x18\xdf\xd5\x5a\x3b\x84\xd2\x84\xc3\xf4\x29\x05\x52\xe0\x90\x7b\xd2\x0a\x2e\x4a\x73\x01\xe4\x00\x7f\x21\xef\x3c\x0a\x58\x35\xa8\xc0\x37\xe4\xa0\xa5\xda\xb2\x0d\x44\x0e\x98\x31\x92\x50\x44\xa3\x3c\x19\x16\x09\x14\xc3\x6f\x69\x02\x2d\xb6\x15\x5a\xd7\x90\x71\xd0\x8b\x00\x00\x48\x80\x43\x4b\x4c\xc2\x63\x3e\x7e\x18\xe6\xcf\xf0\x23\x79\xbe\xdc\x48\x61\x48\x33\x12\xb0\x64\x96\x37\xcc\xf6\x3e\x5d\xf7\x21\x9b\x14\x90\x95\x69\x0a\x79\x72\x9f\xe4\x49\x36\x4a\xa6\x1b\xce\x41\xcf\x74\x95\x24\x3e\x23\xd1\xdf\xda\xb9\x64\x2a\xd8\x49\x79\xac\xd1\xbe\x69\x0d\x8c\x83\xde\xc1\x63\x24\x5b\xa3\xfd\x97\x6b\x4b\xbd\xf4\x1d\xfb\x9a\x49\x5c\xa2\x7c\xb3\xe6\x2d\xca\x8c\xb1\x7a\x89\x02\x2a\xad\x25\x32\x75\xfc\xe1\x2e\xb9\x1f\x96\x69\x01\x73\x26\x1d\x6e\x61\x81\x8a\xce\x44\x2b\xa6\xd4\x99\xa8\xc5\x9f\x1d\x3a\xaf\xff\xa3\x51\x6e\x91\x79\x14\x33\xe6\xa1\xa2\x9a\x94\x3f\xe9\xae\x33\xe2\x54\x3f\x68\x02\x25\x06\xad\x5a\x1f\x3f\x7d\x25\x9e\x1a\x37\xe2\x68\x92\x4d\x8b\x7c\x38\xce\x8a\x5d\x49\x24\x66\x61\x75\x24\xa0\xcc\xc6\x4f\x65\xd2\x3b\x2c\xee\x72\xbf\xf7\x7e\xd4\xbf\x7d\x19\xe6\x3b\xbd\x52\xfb\x38\x1f\xb2\x1c\x2e\xcf\x4a\xb3\xd5\x52\x86\xe9\x32\xbe\x88\xee\xf2\xc9\xe3\xeb\x3c\xdf\x46\x7f\x03\x00\x00\xff\xff\xf2\xac\x4f\xcf\xfa\x03\x00\x00")
Severity: Minor
Found in db/migrations.go by golint

don't use underscores in Go names; var _migrations_20160628181530_createclanmembershipcount_sql should be _migrations20160628181530CreateclanmembershipcountSQL
Open

var _migrations_20160628181530_createclanmembershipcount_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\xce\xb1\x4e\xc5\x20\x18\xc5\xf1\x9d\xa7\x38\xdb\x1d\xcc\x1d\x9c\xef\x84\x52\x27\x6c\xf5\x0a\xb3\xa1\xf4\x4b\xfb\x45\x0a\x04\x68\xea\xe3\x9b\x9a\x68\x1c\x34\x71\x3c\x27\xff\xe1\x27\xce\x67\xdc\xcc\x29\x55\x82\xcd\xc7\x78\x79\xd6\xe0\x88\x4a\xbe\x71\x8a\x38\xd9\x7c\x02\x57\xd0\x3b\xf9\xad\xd1\x84\x7d\xa1\x88\xb6\x70\xc5\xca\x73\x71\x9f\x11\x57\xb8\x9c\x03\xd3\x24\xa4\x36\xdd\x15\x46\xde\xe9\x0e\x3e\xb8\x58\x21\x95\xc2\xfd\xa0\xed\x63\x8f\x95\xd6\x91\x4a\x5d\x38\xbf\xfa\xb4\xc5\x06\x8e\x8d\x66\x2a\xe8\x07\x83\xde\x6a\x0d\xd5\x3d\x48\xab\x0d\x6e\x2f\xe2\x87\x4c\xa5\x3d\x7e\xd9\xbe\x61\xc7\xf9\x2f\x5a\x49\x21\xd0\x84\xd1\xf9\xb7\x5f\x78\xea\x3a\x3c\xfd\xe5\xbb\x88\x8f\x00\x00\x00\xff\xff\x41\x07\xd0\x68\x1f\x01\x00\x00")
Severity: Minor
Found in db/migrations.go by golint

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// khan
Severity: Minor
Found in models/prune.go by gofmt

don't use underscores in Go names; func migrations_20160708161944_createmembershipapproverfield_sql should be migrations20160708161944CreatemembershipapproverfieldSQL
Open

func migrations_20160708161944_createmembershipapproverfield_sql() ([]byte, error) {
Severity: Minor
Found in db/migrations.go by golint

don't use underscores in Go names; func migrations_20210323185959_createencryptiontable_sql should be migrations20210323185959CreateencryptiontableSQL
Open

func migrations_20210323185959_createencryptiontable_sql() ([]byte, error) {
Severity: Minor
Found in db/migrations.go by golint

should not use dot imports
Open

    . "github.com/onsi/gomega"
Severity: Minor
Found in testing/helpers.go by golint

exported type TokenSizeError should have comment or be unexported
Open

type TokenSizeError struct {
Severity: Minor
Found in util/errors.go by golint

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// khan
Severity: Minor
Found in api/clan.go by gofmt

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// khan
Severity: Minor
Found in api/hook.go by gofmt

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// khan
Severity: Minor
Found in cmd/prune.go by gofmt

don't use underscores in Go names; func migrations_20160608150958_createplayertable_sql should be migrations20160608150958CreateplayertableSQL
Open

func migrations_20160608150958_createplayertable_sql() ([]byte, error) {
Severity: Minor
Found in db/migrations.go by golint

don't use underscores in Go names; var _migrations_20160708161944_createmembershipapproverfield_sql should be _migrations20160708161944CreatemembershipapproverfieldSQL
Open

var _migrations_20160708161944_createmembershipapproverfield_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\xcf\xb1\x4e\xc3\x30\x10\x06\xe0\xdd\x4f\xf1\x6f\x05\xa1\x3e\x41\xa6\xd0\x98\xc9\xa4\x90\x36\x73\xe5\xc4\xa7\xe4\x44\x62\x5b\x3e\x43\xe1\xed\x51\x2a\x81\x18\x1a\x89\x8e\x77\xfa\xef\xd7\x7d\x6a\xbb\xc5\xc3\x10\x82\x10\xda\xb8\x0c\x87\x57\x03\xf6\x10\xea\x33\x07\x8f\x4d\x1b\x37\x60\x01\x7d\x52\xff\x9e\xc9\xe1\x3c\x92\x47\x1e\x59\x30\xf3\x90\xec\x25\xc4\x02\x1b\xe3\xc4\xe4\x54\x69\x8e\xba\xc1\xb1\x7c\x34\x1a\x33\xcd\x1d\x25\x19\x39\x0a\xca\xaa\xc2\x6e\x6f\xda\xe7\x7a\x89\xa6\xf0\x41\xe9\xc4\x0e\xec\x33\x0d\x94\x50\xb7\xc6\xa0\xd1\x4f\xba\xd1\xf5\x4e\x1f\x10\x27\xfb\x45\x49\x70\xc7\xee\xbe\xb8\xa1\xd4\x9d\x6c\x46\xc7\x03\xfb\x7c\xe9\x2c\x94\xfa\x23\xac\xc2\xd9\xff\x18\x7f\x81\xcb\xf2\x5f\xc4\x14\xa6\x89\x1c\x3a\xdb\xbf\xad\x7e\x54\x35\xfb\x97\x2b\xce\x75\xc2\x95\x83\xc5\x50\xa8\xef\x00\x00\x00\xff\xff\xb5\x60\x51\xcf\x99\x01\x00\x00")
Severity: Minor
Found in db/migrations.go by golint

don't use underscores in Go names; var _migrations_20160728195902_createmembershipmessagefield_sql should be _migrations20160728195902CreatemembershipmessagefieldSQL
Open

var _migrations_20160728195902_createmembershipmessagefield_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\xce\xcd\x4a\xc4\x30\x14\xc5\xf1\x7d\x9e\xe2\xec\x46\x91\xd9\x08\xb3\x9a\x55\x35\xb3\x8b\xad\xd6\xe6\x01\xd2\xf4\xd2\x5c\x6c\x3e\xc8\xad\xd6\xc7\x97\x0a\x8a\x08\x82\xcb\x73\xf8\x2f\x7e\xea\x78\xc4\xcd\x9c\xb3\x10\x6c\xd9\xc7\xf3\x93\x01\x27\x08\xf9\x95\x73\xc2\xc1\x96\x03\x58\x40\xef\xe4\x5f\x57\x9a\xb0\x05\x4a\x58\x03\x0b\x22\xcf\xd5\x7d\x46\x2c\x70\xa5\x2c\x4c\x93\x6a\xcc\x70\xe9\x31\x34\x77\xe6\x82\x48\x71\xa4\x2a\x81\x8b\xa0\xd1\x1a\xf7\x9d\xb1\x0f\x2d\x22\x89\xb8\x99\xf0\xe6\xaa\x0f\xae\x5e\xdd\x9e\x4e\xd7\x68\xad\x31\x67\xa5\x7e\x70\x74\xde\xd2\x17\xe8\x5b\xb3\x9f\xff\xf2\xd4\xbc\x2c\x34\x61\x74\xfe\xe5\x4f\x93\xee\xbb\xc7\x5f\xa8\xb3\xfa\x08\x00\x00\xff\xff\x21\x9a\x91\x88\x11\x01\x00\x00")
Severity: Minor
Found in db/migrations.go by golint

don't use underscores in Go names; func migrations_20160608174439_createclantable_sql should be migrations20160608174439CreateclantableSQL
Open

func migrations_20160608174439_createclantable_sql() ([]byte, error) {
Severity: Minor
Found in db/migrations.go by golint
Severity
Category
Status
Source
Language