topfreegames/khan

View on GitHub

Showing 425 of 425 total issues

don't use underscores in Go names; func migrations_20160713191703_createmembershipdenierfield_sql should be migrations20160713191703CreatemembershipdenierfieldSQL
Open

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

don't use underscores in Go names; func migrations_20160728195902_createmembershipmessagefield_sql should be migrations20160728195902CreatemembershipmessagefieldSQL
Open

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

don't use underscores in Go names; var _migrations_20180517112014_changeidsequencetype_sql should be _migrations20180517112014ChangeidsequencetypeSQL
Open

var _migrations_20180517112014_changeidsequencetype_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\xce\xb1\x6e\x83\x30\x14\x85\xe1\xdd\x4f\x71\x36\x86\xca\x4f\xc0\x04\xad\x85\x90\x5c\xda\x52\x33\x74\x74\xf1\x15\x5c\xd5\xb5\x2d\x4c\x44\xf2\xf6\x51\x12\x25\x59\x59\x7f\x1d\xe9\x7c\x52\xe2\x65\x8a\x31\x13\x86\x24\xa4\xc4\xf7\x97\x06\x07\x64\x1a\x57\x8e\x01\xc5\x90\x0a\x70\x06\x1d\x69\x3c\xac\xe4\xb0\xcd\x14\xb0\xce\x9c\xf1\xcf\xd3\x62\xaf\x23\xce\xb0\x29\x79\x26\x27\x2a\x6d\x54\x0f\x53\xd5\x5a\x21\x79\x7b\xa2\x25\xe3\xd6\x5e\x3f\xf4\xf0\xde\x81\x1d\xcc\xcf\xa7\x42\xdd\x36\x6d\x67\x4a\x21\x9e\x80\xb7\xb8\x85\x3b\xe1\xf1\x7f\x89\xbb\x04\x4b\xf4\x9e\x1c\x7e\xed\xf8\xb7\x5f\xd1\x76\x46\x35\xaa\x2f\xc5\x39\x00\x00\xff\xff\x43\xe4\x6e\x86\x07\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 api/status.go by gofmt

don't use underscores in Go names; var _migrations_20160608133902_creategametable_sql should be _migrations20160608133902CreategametableSQL
Open

var _migrations_20160608133902_creategametable_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x93\xd1\x6e\xda\x30\x14\x86\xef\xf3\x14\xe7\x8e\x56\x1b\xcd\xd6\xa9\xbd\xa0\xd3\x34\x0a\xe9\xc4\x96\x86\x16\x92\x8b\x5e\x59\xc6\x3e\x24\x47\x4d\x6c\xcb\x76\x80\x6a\xda\x03\xed\x35\xf6\x64\x53\x42\x40\x08\x69\x2b\xda\x2e\xed\xff\xfb\xa2\x63\x9d\xfc\xfd\x3e\x3c\x17\x5c\x05\xfd\x3e\x14\xde\x1b\x37\x08\xc3\x9c\x7c\x51\x2f\x2e\x84\xae\x42\xaf\xcd\xd2\x22\xe6\xbc\x42\x17\x76\x5c\x83\xc6\x24\x50\x39\x94\x50\x2b\x89\x16\x7c\x81\x70\x3f\x49\xa1\xdc\x5e\x0f\x76\x5f\x1b\x84\xe1\x7a\xbd\xbe\xd0\x06\x95\xd3\xb5\x15\x78\xa1\x6d\x1e\x76\x94\x0b\x2b\xf2\xfd\xee\xd0\x18\x23\x6d\x5e\x2c\xe5\x85\x87\x5f\x3f\xe1\xf2\xdd\xfb\x6b\x48\xb5\x81\x3b\x8b\x08\x5f\x9a\x01\xe0\xe3\x82\x8b\x67\x54\xf2\xb3\x5f\xe6\x42\x37\x03\x7e\x0a\x1a\xf1\x4d\xae\xb5\x43\xc8\x4c\x73\x98\x3f\xc6\x40\x0a\x1c\x0a\x4f\x5a\x41\x2f\x33\x3d\x20\x07\xb8\x41\x51\x7b\x94\xb0\x2e\x50\x81\x2f\xc8\x41\x45\xb9\xe5\x2d\x44\x0e\xb8\x31\x25\xa1\x0c\x46\xb3\x68\x98\x46\x90\x0e\x6f\xe3\x08\xda\x77\xc3\x59\x00\x00\x40\x12\x1c\x5a\xe2\x25\x3c\xcc\x26\xf7\xc3\xd9\x13\x7c\x8b\x9e\xde\xb6\x91\xa9\x17\x25\x09\x46\x12\x56\xdc\x8a\x82\xdb\xb3\x0f\xd7\xe7\x90\x4c\x53\x48\xb2\x38\xde\x32\x8a\x57\xb8\x8f\x2f\xaf\xae\x8e\xf3\x8a\x14\xab\xb0\x5a\xa0\x75\x05\x19\x56\xe2\x0a\x4b\x20\xe5\x31\x47\x7b\x8c\xf2\xcd\xc9\x28\xa9\x6d\xce\xbc\x66\x5c\x08\x34\x9e\xb5\x2f\x15\xdd\xc3\x5f\xb7\x84\x45\xee\x91\x91\x5a\x91\x3f\x59\xb2\x58\xe9\x15\x76\x53\xbe\x2a\xe8\xe5\xd2\xa1\xff\x1f\xcf\x58\x5d\x69\xff\x0f\xa2\xc4\x13\x3c\xbe\x61\xa2\xe4\xca\x31\x83\x96\x99\x92\xbf\xfc\x15\xed\x56\xf3\x27\xe2\x68\x71\x0e\xbe\xce\xa7\xc9\xed\x9e\x82\x71\x74\x37\xcc\xe2\x14\x7a\xdf\x7f\xf4\x06\x83\x36\xdc\x99\x9e\x4b\xee\xf9\xc9\xc2\x76\x73\x92\x71\x0f\x0b\xca\x49\xf9\xa3\x51\x6a\x23\x8f\xf3\x36\x6b\xc3\xd1\x34\x99\xa7\xb3\xe1\x24\x49\x0f\x7e\xef\x2c\x99\x3c\x66\xd1\xd9\xfe\xe2\x3c\x38\xbf\x39\x6c\xe0\x58\xaf\xd5\xae\x83\xfb\x02\x36\x97\x27\x55\xd0\xea\xb2\x44\x09\x4d\xc9\x83\xf1\x6c\xfa\x70\x58\xc2\x9b\xe0\x77\x00\x00\x00\xff\xff\x61\x25\xb7\x2b\xa9\x04\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 util/json.go by gofmt

don't use underscores in Go names; var _migrations_20160608150958_createplayertable_sql should be _migrations20160608150958CreateplayertableSQL
Open

var _migrations_20160608150958_createplayertable_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x92\x41\x6e\xdb\x30\x14\x44\xf7\x3a\xc5\xec\x6c\xa3\x71\xd4\xa6\x48\x16\x4e\x51\xd4\xb1\xe9\xc2\xad\x22\x27\xb2\xb4\xc8\xca\xa0\xc9\x1f\x89\x88\x44\x12\x24\x55\x37\x28\x7a\xa0\x5e\xa3\x27\x2b\x24\x3b\x71\x9a\x45\xd1\x25\xff\xbc\x19\x7c\xfd\xd1\x78\x8c\x87\x8a\xeb\x68\x3c\x46\x15\x82\xf5\x93\x38\x2e\x55\xa8\xda\xed\xa9\x30\x4d\x1c\x8c\xbd\x77\x44\x25\x6f\xc8\xc7\x07\xae\x43\x13\x25\x48\x7b\x92\x68\xb5\x24\x87\x50\x11\xae\x97\x39\xea\xfd\x78\xf2\x94\x36\x89\xe3\xdd\x6e\x77\x6a\x2c\x69\x6f\x5a\x27\xe8\xd4\xb8\x32\x3e\x50\x3e\x6e\x54\x18\x1f\x1e\x9d\x63\x66\xec\xa3\x53\x65\x15\xf0\xfb\x17\xce\xde\xbe\xbb\x40\x6e\x2c\x16\x8e\x08\x9f\xbb\x05\xf0\x61\xcb\xc5\x03\x69\xf9\x29\xdc\x97\xc2\x74\x0b\x7e\x8c\x3a\xe3\x9b\xd2\x18\x4f\x28\x6c\xf7\x58\xdf\x26\x50\x1a\x9e\x44\x50\x46\x63\x50\xd8\x01\x94\x07\x7d\x27\xd1\x06\x92\xd8\x55\xa4\x11\x2a\xe5\xd1\xa8\xd2\xf1\x1e\x52\x1e\xdc\xda\x5a\x91\x8c\x66\x19\x9b\xe6\x0c\xf9\xf4\x2a\x61\xb0\x35\x7f\x24\xe7\x31\x8c\x00\x40\x49\x78\x72\x8a\xd7\xb8\xc9\x96\xd7\xd3\xec\x0e\x5f\xd9\xdd\x49\x2f\xd9\x76\x5b\x2b\xb1\x51\x12\xdf\xb8\x13\x15\x77\xc3\xb3\xf3\xf3\x11\xd2\x55\x8e\xb4\x48\x92\x3d\xd4\x5d\xf1\x25\xf2\xfe\xe2\x48\x20\x63\x0b\x96\xb1\x74\xc6\xd6\x3d\xe7\x31\x7c\xce\x1c\xed\xed\x9a\x37\xf4\xaf\xf8\x86\x02\x97\x3c\x70\x7c\x59\xaf\xd2\xab\x63\xf2\x9c\x2d\xa6\x45\x92\x63\xf0\xe3\xe7\x60\x32\xe9\xc5\xbd\x41\x38\xe2\x81\xe4\x86\x07\x6c\x55\xa9\x74\x78\x15\xd8\x5a\xf9\x5a\xef\xb5\x5e\x9c\xad\xd2\x75\x9e\x4d\x97\x69\xde\xef\xab\xe4\x66\x7f\x2c\x25\x51\xa4\xcb\xdb\x82\x0d\x0f\x9f\x7b\x72\x3c\xce\x28\x1a\x5d\xbe\x2c\x6c\x6e\x76\xfa\xa9\xb2\xe7\xbe\xba\xe1\x7f\x35\xe6\x4c\x5d\x93\x44\xf7\x4f\x44\xf3\x6c\x75\xf3\x77\x67\x97\xd1\x9f\x00\x00\x00\xff\xff\xa6\xd1\x46\x2b\xda\x02\x00\x00")
Severity: Minor
Found in db/migrations.go by golint

don't use underscores in Go names; func migrations_20160621161411_createhookstable_sql should be migrations20160621161411CreatehookstableSQL
Open

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

don't use underscores in Go names; var _migrations_20160728180524_createmaxpendinginvitesfield_sql should be _migrations20160728180524CreatemaxpendinginvitesfieldSQL
Open

var _migrations_20160728180524_createmaxpendinginvitesfield_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\xcf\xb1\x4e\xc3\x30\x10\xc6\xf1\xdd\x4f\xf1\x6d\x1d\x50\x86\xce\x11\x83\xc1\x61\x32\x49\x69\xed\xb9\x32\xf1\xc9\x3d\x91\xd8\x56\x6c\x68\x1f\x1f\x15\xa9\x88\x21\x42\x1d\xef\xf4\xe9\x2f\xfd\x44\xd3\xe0\x21\xa4\x54\x08\x36\x5f\x8f\xc3\x9b\x06\x47\x14\x1a\x2b\xa7\x88\x8d\xcd\x1b\x70\x01\x5d\x68\xfc\xac\xe4\x71\x3e\x51\x44\x3d\x71\xc1\xcc\x61\x71\x3f\x23\x2e\x70\x39\x4f\x4c\x5e\x48\x6d\xba\x3d\x8c\x7c\xd2\x1d\x82\x9b\xa9\x40\x2a\x85\xe7\x41\xdb\xd7\x1e\xb3\xbb\x1c\x33\x45\xcf\x31\x1c\x39\x7e\x71\xa5\x02\x8e\x95\x02\x2d\x50\xdd\x8b\xb4\xda\xa0\xd9\xa2\x1f\x0c\x7a\xab\x75\x2b\xec\x4e\x49\x73\x0b\x1d\x3a\xb3\x56\x78\x6c\xb6\xad\x10\x7f\x1c\x2a\x9d\xe3\x4d\xf2\xcb\xb8\x3e\xef\x82\x2c\x69\x9a\xc8\xe3\xdd\x8d\x1f\x2b\x18\xb5\x1f\x76\xff\x68\x5a\xf1\x1d\x00\x00\xff\xff\x87\x15\x75\x7b\x50\x01\x00\x00")
Severity: Minor
Found in db/migrations.go by golint

don't use underscores in Go names; func migrations_20180517112014_changeidsequencetype_sql should be migrations20180517112014ChangeidsequencetypeSQL
Open

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

don't use underscores in Go names; func migrations_20160608133902_creategametable_sql should be migrations20160608133902CreategametableSQL
Open

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

don't use underscores in Go names; var _migrations_20160713191703_createmembershipdenierfield_sql should be _migrations20160713191703CreatemembershipdenierfieldSQL
Open

var _migrations_20160713191703_createmembershipdenierfield_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\xcf\xc1\x6a\xc3\x30\x10\x04\xd0\xbb\xbe\x62\x6e\x69\x29\xf9\x02\x9f\xdc\x58\x3d\xa9\x4e\xeb\xc4\xe7\x20\x5b\x8b\xbd\x54\x96\x84\x56\x25\xed\xdf\x17\x07\x5a\x0a\x21\x90\xe3\x2e\xc3\x30\x4f\x6d\xb7\x78\x9a\x62\x14\x42\x9f\xd6\xe3\xf0\x6e\xc0\x01\x42\x63\xe1\x18\xb0\xe9\xd3\x06\x2c\xa0\x2f\x1a\x3f\x0b\x39\x9c\x67\x0a\x28\x33\x0b\x16\x9e\xb2\xbd\x84\x58\x60\x53\xf2\x4c\x4e\xd5\xe6\xa8\x3b\x1c\xeb\x67\xa3\xb1\xd0\x32\x50\x96\x99\x93\xa0\x6e\x1a\xec\xf6\xa6\x7f\x6d\xe1\x28\x30\xe5\x13\x3b\x70\x28\x34\x51\x46\xdb\x1b\x83\x4e\xbf\xe8\x4e\xb7\x3b\x7d\x40\xf2\xf6\x9b\xb2\xe0\x81\xdd\x63\x75\x77\xa5\x3b\xd9\x82\x81\x27\x0e\xe5\xd2\x58\x29\xf5\x4f\xd7\xc4\x73\xf8\xf5\xfd\xe1\xd6\xe7\x5d\xbc\x1c\xbd\x27\x87\xc1\x8e\x1f\x37\xf7\x34\xdd\xfe\xed\xca\x78\x7b\xfe\x55\x7c\xdd\x5f\xa9\x9f\x00\x00\x00\xff\xff\x72\x08\x50\xc1\x91\x01\x00\x00")
Severity: Minor
Found in db/migrations.go by golint

don't use underscores in Go names; var _migrations_20160627110742_loaduuidmodule_sql should be _migrations20160627110742LoaduuidmoduleSQL
Open

var _migrations_20160627110742_loaduuidmodule_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xe2\xd2\xd5\x55\xd0\x4e\xcf\xcf\x2f\x4e\x55\x08\x2d\xe0\x72\x0e\x72\x75\x0c\x71\x55\x70\x8d\x08\x71\xf5\x0b\xf6\xf4\xf7\x53\xf0\x74\x53\xf0\xf3\x0f\x51\x70\x8d\xf0\x0c\x0e\x09\x56\x50\x2a\x2d\xcd\x4c\xd1\xcd\x2f\x2e\x2e\x50\xb2\xe6\xe2\x42\xd2\xea\x92\x5f\x9e\xc7\xe5\x12\xe4\x1f\x80\xaa\x15\x9b\x36\x40\x00\x00\x00\xff\xff\x59\x6c\x13\xa6\x71\x00\x00\x00")
Severity: Minor
Found in db/migrations.go by golint

don't use underscores in Go names; func migrations_20160627153918_createretrieveclanindexes_sql should be migrations20160627153918CreateretrieveclanindexesSQL
Open

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

don't use underscores in Go names; func migrations_20160708192007_createownerindex_sql should be migrations20160708192007CreateownerindexSQL
Open

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

don't use underscores in Go names; var _migrations_20160627153918_createretrieveclanindexes_sql should be _migrations20160627153918CreateretrieveclanindexesSQL
Open

var _migrations_20160627153918_createretrieveclanindexes_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x91\xc1\x4e\xc2\x40\x10\x86\xef\xfb\x14\xff\x0d\x8d\xf0\x04\x3d\x19\x5b\x93\x26\x06\x94\x42\xc2\x8d\x6c\xbb\x93\x76\x62\x3b\xbb\xe9\x56\xf1\xf1\xcd\xba\x60\x88\x08\xed\xb1\x7f\xfe\x6f\x3a\xfb\x8d\x5a\x2c\xf0\x50\x5b\xeb\x09\x5b\x17\x3e\x8a\xb7\x17\xb0\xc0\x53\x35\xb0\x15\xcc\xb6\x6e\x06\xf6\xa0\x2f\xaa\x3e\x06\x32\x38\x34\x24\x18\x1a\xf6\xe8\xb8\xee\xf5\x4f\x89\x3d\xb4\x73\x2d\x93\x51\x4f\xeb\xec\x71\x93\x21\x5f\xa6\xd9\x0e\x1d\x75\x25\xf5\xbe\x61\xe7\xf7\xda\xb9\xde\x7e\x92\xc1\x6a\x79\x9e\xdf\x9d\xf2\xfb\xe4\x3a\x5b\x6a\x91\x4b\x32\xa6\xb7\x38\x43\xc2\x97\x5c\x4c\x6f\x71\x8e\xc4\xb0\xd4\xd7\x56\x9d\x23\xfe\x7a\x8e\xf1\x51\x55\xab\xe5\xef\x9c\x90\xed\x39\x60\xea\x4c\x7f\x6a\x0f\x72\x3a\xc0\xaf\xfd\x10\x4e\xf2\xdf\xdb\xb6\x25\x83\x52\x57\xef\x2a\x5d\xaf\x5e\x8f\xab\xe4\xcf\xc8\x76\x79\xb1\x29\xfe\xbd\x45\x32\x5e\x8d\x2f\x9d\x50\x8c\x2a\x26\x14\x8f\x72\x27\x34\x83\xa7\x44\x7d\x07\x00\x00\xff\xff\xad\x5b\xe0\x06\xa2\x02\x00\x00")
Severity: Minor
Found in db/migrations.go by golint

don't use underscores in Go names; var _migrations_20210323185959_createencryptiontable_sql should be _migrations20210323185959CreateencryptiontableSQL
Open

var _migrations_20210323185959_createencryptiontable_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\xce\xc1\x4a\x03\x31\x10\xc6\xf1\x7b\x9e\xe2\xbb\xd5\x22\x7d\x82\x9e\xd6\x76\x0a\x8b\xb5\xad\xd9\x2d\xd8\x53\x89\xc9\xb0\x1d\x8c\x49\x48\x22\xb5\x6f\x2f\x55\x5c\xbd\x08\x1e\xff\xc3\x7c\xf0\x53\xb3\x19\x6e\x87\x18\x0b\x63\x9f\xae\xd1\x3d\xae\x21\x01\x85\x6d\x95\x18\x30\xd9\xa7\x09\xa4\x80\xdf\xd9\xbe\x55\x76\x38\x9f\x38\xa0\x9e\xa4\xe0\x55\x86\x6c\x3e\x9f\xa4\xc0\xa4\xe4\x85\x9d\x5a\x68\x6a\x7a\x42\xdf\xdc\xad\x09\xed\x0a\x9b\x6d\x0f\x7a\x6a\xbb\xbe\x03\x07\x9b\x2f\xa9\xb2\x3b\x26\x6f\x2e\x9c\x0b\x6e\x14\x00\x7c\xd5\x51\x1c\x24\x54\x1e\x38\x63\xa7\xdb\x87\x46\x1f\x70\x4f\x07\x68\x5a\x91\xa6\xcd\x82\x3a\x8c\x33\x71\x53\x35\x9d\xab\x5f\xf6\x65\x3c\x87\x6f\xfd\x48\xbf\x1e\xff\x85\xcf\xd1\x7b\x76\x78\x36\xf6\x45\x2d\xf5\x76\xf7\xc3\xff\x8b\x3e\x57\x1f\x01\x00\x00\xff\xff\xa4\x8b\x71\x26\x39\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

package log
Severity: Minor
Found in log/log.go by gofmt

don't use underscores in Go names; func migrations_20160627155249_createplayermembershipandownershipcount_sql should be migrations20160627155249CreateplayermembershipandownershipcountSQL
Open

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

don't use underscores in Go names; func migrations_20160729184159_createcooldownafterinvitefield_sql should be migrations20160729184159CreatecooldownafterinvitefieldSQL
Open

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