Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Feed + Folder View / Refreshing #30

Merged
merged 5 commits into from
Jan 29, 2017
Merged

Feed + Folder View / Refreshing #30

merged 5 commits into from
Jan 29, 2017

Conversation

fortytw2
Copy link
Owner

@fortytw2 fortytw2 commented Jan 21, 2017

Straight up core functionality right here :p

TODO

  • Reodering of folders + feeds
  • Cleaner/Autocomplete/Better Feed Adding
  • Refresher Completion / Testing

@fortytw2 fortytw2 self-assigned this Jan 21, 2017
@@ -68,7 +68,7 @@ func (fi bindataFileInfo) Sys() interface{} {
return nil
}

var _distHydrocarbonMinCss = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x74\x53\x5b\x6e\xe3\x3a\x0f\xde\x4a\x80\xa2\x98\x17\xba\x70\x32\x99\xa2\x95\x81\x7f\x05\xff\xdb\xac\x80\xb2\x68\x9b\x27\xb4\xa4\x4a\x74\x9a\x8c\xe1\xbd\x1f\xf8\xd2\x36\x3d\xed\x3c\x59\xa6\x4c\xfa\xbb\x11\x01\xad\x4d\x80\x75\x0a\xfe\xda\x03\x3a\x97\x28\x67\xc0\x18\x85\x14\x30\x29\xd7\x42\x80\x99\x1d\x01\x0e\x8e\x03\x58\xb0\xdc\x82\x95\x50\x9f\x5e\x86\xa0\x04\x36\xb8\x2b\xd4\xe8\xcf\x98\xa1\xc6\xa8\x1c\x3c\xd4\xe4\x95\x12\xd4\xac\x04\x75\x70\x04\xce\x81\x23\x01\x47\x8a\x2c\x19\x5c\xe3\xc1\xf1\x19\x9c\x80\x53\xa0\x1e\xa8\xb7\xe4\xa0\x61\x12\x97\x49\xa1\xe1\xf6\x6d\x54\xc3\xed\x90\x08\x9a\x10\xe6\x89\x4d\x48\x3d\x74\x7b\xe8\x0e\xd0\xfd\x84\xee\x08\xdd\x2f\xe8\x1e\xa1\x23\x74\x94\xa0\x6b\x53\x18\x22\x74\xda\x0b\x30\x70\x93\xb0\x27\xe0\xbe\x05\xf6\x19\x4e\xd6\x81\xa0\x25\x01\xa1\x96\xbc\x03\x61\xe8\x31\x9d\xa0\x27\x3f\x80\xc7\x33\x04\xfb\x0f\xd5\x0a\x41\x20\x0c\x1a\x07\x85\x08\x31\x11\xbc\x40\x1a\xec\x15\x32\x64\xec\x23\x64\xaa\x17\x5c\xb9\x47\x11\xc8\x11\x3d\x64\x4d\x7c\xa2\xf9\x11\x7c\x0b\x79\xb0\x90\x87\xbe\xc7\x74\x85\x3c\x44\x50\xb4\x42\xa0\x8b\x4c\xea\x40\x67\x26\xa0\x1d\xe8\x0c\x1a\x94\x7b\x02\x4d\xa0\x0a\x03\x0c\x02\x67\x4c\x70\x66\x47\x61\xec\x31\xb5\xec\x4d\x59\x45\x74\x8e\x7d\x6b\xca\xca\x86\xe4\x28\x99\xb2\x3a\xd3\xec\x0c\x4a\x81\xc2\xad\x37\x16\x33\x09\x7b\xaa\x9a\xe0\xd5\xb0\xef\x28\xb1\x2e\x2f\x45\xe6\x3f\x64\xf6\x65\x79\x3f\x7d\x36\xf3\xcd\x89\xbf\x2a\xfd\x59\xd2\x77\x8d\x36\xfa\xa3\xe3\x1c\x05\xaf\x66\x09\xc2\x34\x93\x1b\x67\x04\x45\x47\xdc\x76\x6a\xf6\x53\x10\x18\x64\x14\xce\x5a\x64\xbd\x0a\x19\x1f\x3c\x4d\x37\xb9\x79\x19\x97\x67\xfe\xef\x85\xc1\x66\xfe\xff\x4d\xc1\x52\x13\x66\x1f\xb6\x9b\x97\xad\x30\xd6\xc1\x2b\x79\x35\x3f\x7e\x54\x6f\xc7\x65\xd6\xa2\xf8\xb8\x8a\x55\xe4\x88\xf5\xad\x7a\x45\x1d\x44\x30\x66\x32\x6f\x87\xe9\x61\x56\xc4\x62\x1a\x5f\xd9\x69\x67\x0e\xe5\xfd\xf4\xb0\x0d\xdc\x4a\x4f\xe5\x7d\xb5\xfa\x51\x08\x35\xba\x7e\xb2\x75\x15\x33\xc7\xef\xf4\xb0\x58\x9f\x66\xf5\xbc\x9b\xff\x19\x92\xb9\x6b\x9a\xa6\xda\x8e\xfb\xe3\xfe\xe9\xf0\x73\xf5\xa8\xc1\x9e\xe5\x6a\x7e\xa3\xcf\xc5\x6f\x4a\xdc\x54\x4a\x17\x2d\x12\x79\x47\x69\xc6\x1e\xa2\x72\xcf\x7f\xe8\xff\xd4\xb2\x65\x61\xbd\x4e\x8e\xcf\xef\x18\xb7\xa4\xec\x13\xf5\x3b\x1c\x34\x54\xaf\x21\xb9\xe2\x35\x61\x34\x36\x11\x9e\x8a\xf9\xbd\x5a\x99\x3c\x97\xf7\xb7\xc1\x78\x8c\x97\xea\x93\x6f\x0f\xc7\x65\xf4\xbc\x67\xe3\x82\x62\x4d\xd8\xba\xd0\x13\x8f\x6b\xef\x62\x28\x2b\x0a\xd7\x53\xb7\x1f\x3f\x06\x1e\x8e\xf1\x32\x75\x87\xdb\x4a\x19\x2f\xd3\x32\x2e\x86\xcc\x73\x76\x4c\x22\x41\xe5\x33\x4d\xec\xe3\xa0\x7f\xab\x1b\xf6\x67\x14\x76\x9b\x91\x66\x1f\x2f\xbb\x1c\x84\xdd\xee\xae\xa6\x83\x3b\x96\xd3\x9a\xd4\x8f\x7e\xb4\x39\xc8\xa0\x54\xa5\x85\xcb\xec\xb8\x6a\xe8\x4d\x59\x2d\xa6\x7d\x6c\xd2\xac\x54\xf5\x85\xdd\xad\x2e\x87\x78\x99\xee\xd6\x15\x18\xc3\x99\x52\x23\xe1\xd5\x74\xec\x1c\xf9\xea\xbb\xc5\xfc\x62\xf5\xe1\xf8\xeb\xf9\xf9\xb1\xfa\xc8\x7f\xa1\xd7\xb8\x2d\x81\xf0\x7b\x5c\xd8\x2f\xea\x2f\xa9\xa9\x1a\x09\xa8\x66\xc6\x3a\x09\x3f\x48\x68\xc3\xaa\xe3\xeb\xea\x8d\x0d\xe2\x28\xbd\xc1\xfa\x9f\xf0\xc3\xc2\x73\x5c\xdb\x96\xf3\xcd\xe5\x0e\x3f\x67\xf2\x83\xfc\x31\x5e\x76\x8b\xf1\x37\xa9\xfc\x2a\xc6\x52\x71\x54\x87\x84\x8b\xb8\x1b\xf2\x1d\x9a\x6e\x16\xe4\x9b\x74\xef\x9b\xa3\x7b\xda\x4f\xff\x06\x00\x00\xff\xff\x70\xe6\x6e\x06\x53\x06\x00\x00")
var _distHydrocarbonMinCss = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x74\x93\x51\x72\xdb\x38\x0c\x86\xaf\x92\x99\x4e\xa6\x2f\x50\x46\x76\xdd\x6c\x43\xcd\xec\x09\xf6\xad\x27\x00\x45\x48\xc2\x1a\x22\x19\x12\x72\xec\x6a\x74\xf7\x1d\x51\x4e\xe2\x6c\xda\x27\x51\xa0\xf8\x0b\xf8\xfe\x9f\x08\x68\x6d\x02\x6c\x53\xf0\x97\x11\xd0\xb9\x44\x39\x03\xc6\x28\xa4\x80\x49\xb9\x15\x02\xcc\xec\x08\x70\x72\x1c\xc0\x82\xe5\x1e\xac\x84\xf6\xf8\x3c\x05\x25\xb0\xc1\x5d\xa0\x45\x7f\xc2\x0c\x2d\x46\xe5\xe0\xa1\x25\xaf\x94\xa0\x65\x25\x68\x83\x23\x70\x0e\x1c\x09\x38\x52\x64\xc9\xe0\x3a\x0f\x8e\x4f\xe0\x04\x9c\x02\x8d\x40\xa3\x25\x07\x1d\x93\xb8\x4c\x0a\x1d\xf7\xaf\x52\x1d\xf7\x53\x22\xe8\x42\x58\x15\xbb\x90\x46\x18\x76\x30\xec\x61\xf8\x06\xc3\x01\x86\xef\x30\x3c\xc2\x40\xe8\x28\xc1\xd0\xa7\x30\x45\x18\x74\x14\x60\xe0\x2e\xe1\x48\xc0\x63\x0f\xec\x33\x1c\xad\x03\x41\x4b\x02\x42\x3d\x79\x07\xc2\x30\x62\x3a\xc2\x48\x7e\x02\x8f\x27\x08\xf6\x5f\x6a\x15\x82\x40\x98\x34\x4e\x0a\x11\x62\x22\x78\x86\x34\xd9\x0b\x64\xc8\x38\x46\xc8\xd4\x96\xbe\xf2\x88\x22\x90\x23\x7a\xc8\x9a\xf8\x48\xeb\x23\xf8\x1e\xf2\x64\x21\x4f\xe3\x88\xe9\x02\x79\x8a\xa0\x68\x85\x40\x0b\x26\x75\xa0\xeb\x24\xa0\x03\xe8\xda\x34\x28\x8f\x04\x9a\x40\x15\x26\x98\x04\x4e\x98\xe0\xc4\x8e\xc2\x3c\x62\xea\xd9\x9b\xba\x89\xe8\x1c\xfb\xde\xd4\x8d\x0d\xc9\x51\x32\x75\x73\xa2\xd5\x19\x94\x0a\x85\x7b\x6f\x2c\x66\x12\xf6\xd4\x74\xc1\xab\x61\x3f\x50\x62\x2d\x2f\x55\xe6\x5f\x64\x76\x75\x7d\xbf\x7c\x34\xf3\xd5\x89\x3f\x92\xfe\x88\xf4\x8d\xd1\x75\xfc\xd9\x71\x8e\x82\x17\x53\x82\xb0\xac\xc3\xcd\x6b\x07\xd5\x40\xdc\x0f\x6a\x76\x4b\x10\x98\x64\x16\xce\x5a\x65\xbd\x08\x19\x1f\x3c\x2d\x37\xb9\x79\x9e\xcb\x33\xff\x7f\xc3\x60\xb7\xfe\xff\xa6\x60\xa9\x0b\xab\x0f\xd7\x9d\xe7\x6b\x61\x6e\x83\x57\xf2\x6a\xbe\x7e\x6d\x5e\x97\x45\xab\x10\x9f\x37\x58\x55\x8e\xd8\xde\xd2\xab\xda\x20\x82\x31\x93\x79\x5d\x2c\x0f\x2b\x11\x8b\x69\x7e\x61\xa7\x83\xf9\x56\xdf\x2f\x0f\x57\xc1\x6b\xe9\xaf\xfa\xbe\xd9\xfc\xa8\x84\x3a\x2d\x9f\x08\xbf\x41\xe8\x84\xce\x1b\x03\x8b\xed\x71\x25\xe6\xdd\xfa\x9f\x90\xcc\x97\xae\xeb\x9a\xeb\x72\x77\xd8\xfd\xd8\x7f\xdb\x7c\xe9\x70\x64\xb9\x98\x9f\xe8\x73\xf5\x93\x12\x77\x8d\xd2\x59\xab\x44\xde\x51\x5a\xfb\x0d\x51\x79\xe4\x5f\xf4\x0f\xf5\x6c\x59\x58\x2f\x8b\xe3\xd3\x5b\x5f\xd7\x74\xec\x12\x8d\x77\x38\x69\x68\x5e\x42\x72\xd5\x4b\xc2\x68\x6c\x22\x3c\x56\xeb\x7b\xb3\x75\xff\x54\xdf\xdf\x86\xe1\x31\x9e\x9b\x0f\x5e\x3d\x1c\x8a\xf4\x7a\xb7\xe6\xd2\xc5\x96\xaa\xed\x12\x2f\x3c\x6f\x67\x8b\x89\xac\x28\xdc\x2e\xc3\x6e\x7e\x17\xdc\x1f\xe2\x79\x19\xf6\xb7\x95\x3a\x9e\x97\x22\x17\x43\xe6\x35\x2f\x26\x91\xa0\xf2\x89\x16\xf6\x71\xd2\x3f\xd5\x0d\xfb\x13\x0a\xbb\xab\x79\x66\x17\xcf\x77\x39\x08\xbb\xbb\x2f\x2d\xed\xdd\xa1\x5e\xb6\x74\xbe\x9f\x47\x9b\x83\x4c\x4a\x4d\x2a\xb3\xac\x2e\xab\x86\xd1\xd4\x4d\x31\xea\xfd\xf6\xac\xa4\x9a\x4f\xd3\xdd\x72\xd9\xc7\xf3\xf2\x65\x8b\xfd\x1c\x4e\x94\x3a\x09\x2f\x66\x60\xe7\xc8\x37\xbf\xbb\x8c\x9f\xac\xde\x1f\xbe\x3f\x3d\x3d\x36\xef\x99\xaf\xf4\x12\xaf\xc1\xbf\x0a\xff\x7d\x93\x1a\xf6\xc5\x85\x12\xf4\xa6\x93\x80\x6a\xd6\x9e\x17\xe1\x07\x09\x7d\xd8\x78\xbe\x6c\x1e\xd9\x20\x8e\xd2\x8d\xca\x43\x99\x77\xde\x8e\x95\xf5\xcd\xe6\x1d\x7e\xbc\x9f\xef\x10\x0e\xf1\x7c\x57\x02\x70\x93\xce\xcf\x50\x4a\xc5\x51\x1b\x12\x16\xc8\x65\x82\x55\xd6\x0c\x2b\x98\xdf\xa4\x7c\xd7\x1d\xdc\x8f\xdd\xf2\x5f\x00\x00\x00\xff\xff\x03\xe5\xcc\xaf\x4f\x06\x00\x00")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: var _distHydrocarbonMinCss should be _distHydrocarbonMinCSS

@fortytw2 fortytw2 merged commit 9261717 into master Jan 29, 2017
@fortytw2 fortytw2 deleted the feeds branch January 29, 2017 21:24
}
}

panic("unreachable")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go vet: unreachable code

@@ -70,7 +70,7 @@ func (fi bindataFileInfo) Sys() interface{} {
return nil
}

var _schema1_initSql = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xcc\x56\xc1\x6e\xdb\x30\x0c\xbd\xfb\x2b\x78\x4b\x8a\xf5\x30\xec\x34\x60\xd8\xc1\x4d\x15\xcc\x68\xe2\x74\x8e\x0c\xa4\x1d\x06\x41\xb0\x98\x56\x98\x23\x19\x92\x9c\xb6\x7f\x3f\x48\x4d\xb3\xa4\x76\x32\x27\x68\x8a\x5e\x4d\x52\x24\xdf\x23\x1f\x3d\xc8\x48\x4c\x09\x90\x19\x25\xe9\x34\x99\xa4\x90\x0c\x21\x9d\x50\x20\xb3\x64\x4a\xa7\x50\xdd\x15\xe6\xa9\x72\xfa\x5b\x14\xad\x3c\x69\x7c\x31\x22\x30\x47\x14\x16\xfa\x11\x80\x14\x90\xe7\xc9\x25\x5c\x67\xc9\x38\xce\x6e\xe0\x8a\xdc\xc0\x25\x19\xc6\xf9\x88\xc2\x1d\x2a\x66\xb8\x12\x7a\xc1\xea\x5a\x8a\xfe\xd9\x79\x14\x01\x54\x65\x7d\x27\x15\x50\x32\xa3\x21\x55\x9a\x8f\x46\xe7\xfe\x25\x25\x9d\xe4\x25\xab\x4d\xf9\xda\x18\x01\x14\x06\xb9\x43\xc1\xb8\x03\x9a\x8c\xc9\x94\xc6\xe3\x6b\x7a\xbb\xf6\x59\xe7\x54\xfa\xc1\xe7\x01\xa8\x2b\x71\x58\x80\xc1\xb9\x41\x7b\xdf\x08\xf1\x36\xc5\x17\xb8\x5d\x14\xe4\x69\xf2\x33\x27\xde\x28\xd0\x16\x46\x56\x4e\xea\x46\x57\x11\xc0\x3d\x3e\xb2\x42\x97\xda\xb4\x74\x5c\x68\xb5\xa3\xdd\xc1\x0f\x32\xb8\xea\x93\x19\xcd\xe2\x01\xed\xfb\x6a\x6e\x27\x29\x81\x61\x36\x19\x6f\x40\x71\x06\xdf\xa1\xf7\xb9\x17\xca\xdf\x17\xf1\x0f\x8b\xae\x11\x9b\x60\xbc\xc4\x44\x67\xaf\xc7\xa0\xd2\xd6\x1d\x35\x06\x10\x26\x88\xbd\x44\x65\x64\x48\x32\x92\x0e\xc8\x74\x35\x59\x1f\x88\x7a\xdf\x63\x8b\x21\x02\x70\xd2\x95\xd8\x64\xb5\x41\xe8\xc6\xa8\x14\x5a\x39\x54\xee\x03\x12\xbe\x6e\xf3\x6d\x27\xa4\xb6\x68\x8e\x15\x8a\x53\xf3\x1e\x01\x70\xc5\xcb\x27\x27\x0b\x0b\x17\x93\xc9\x88\xc4\x69\xd3\x79\xce\x4b\x8b\xfe\x75\x5c\x70\xb9\x9b\x59\x54\x41\x29\x51\xb0\x8a\x5b\xfb\xa0\x8d\x68\x21\x99\x17\x4e\x2e\x71\x77\xae\x5e\x48\xd6\x5b\x4d\xca\x5c\x9a\x05\x8a\x43\xbc\xb9\xd7\x20\xe6\xf4\x1f\x6c\xd1\xd7\xf0\x99\x1d\x08\x6a\x04\x60\x9d\x91\x15\xb2\xa2\xb6\x4e\x2f\xd0\xf8\xa5\xdd\x06\x61\x5d\x4f\x28\xa5\xe2\x52\xb0\x5a\x39\x8f\xd5\x7f\x13\xc0\x27\x90\xca\xa1\x59\xf2\x12\x7a\x5f\xbe\x82\xe0\x4f\xb6\x17\xb2\xce\x75\x29\x42\x32\x0b\x0e\x1f\xdd\xaf\xdf\xdd\xd7\xe5\x75\xa3\x9d\x57\x60\x5d\x79\xd7\x88\xb7\x58\xcc\xe6\xce\x3c\xb7\x7e\xa4\xae\xbe\xc3\xd2\x84\x63\xe8\x49\xd9\x1a\xaf\x95\xa0\x1f\x4e\xd7\x69\x40\x34\xc8\x05\xb3\x8e\xbb\xda\xe2\x91\x50\x7a\xed\x6a\x3b\x51\xcf\x9a\xb6\xd9\xbb\x17\x4f\xef\xd9\x70\x7d\x3e\x90\x5b\x50\x84\xc2\x3a\xb3\x23\x70\x29\x0b\x6c\xec\x9c\x37\x95\xba\xe0\x3b\xfe\x39\xf6\xeb\x36\xdf\x8f\x9c\x45\x6b\xa5\x56\x27\x06\xed\x5d\xee\xba\x54\x4b\x5e\xca\xb6\xa0\x50\x00\x3e\x56\xd2\xa0\xed\xf6\xde\x0e\xa9\x5a\xe9\xea\xc9\x2f\xfa\x76\x2b\x9b\xec\xfd\x0d\x00\x00\xff\xff\x1a\x1e\x35\xbd\xc3\x0b\x00\x00")
var _schema1_initSql = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xcc\x56\xd1\x6e\xe2\x3a\x10\x7d\xcf\x57\xcc\x1b\x54\xb7\x95\xae\xee\xd3\x95\x56\xfb\x90\x52\xa3\x8d\x0a\xa1\x1b\x82\x44\xbb\x5a\x45\x56\x3c\x14\xab\xc1\xce\xda\x13\x68\xff\x7e\x65\x97\xb2\xd0\x04\x36\xa0\xa5\xda\xd7\x78\xc6\x73\xe6\xcc\x99\x13\xf7\x12\x16\xa6\x0c\xd8\x34\x65\xf1\x38\x1a\xc5\x10\xf5\x21\x1e\xa5\xc0\xa6\xd1\x38\x1d\x43\xf9\x98\x9b\x97\x92\xf4\xa7\x20\x58\x47\xa6\xe1\xf5\x80\xc1\x0c\x51\x58\xe8\x06\x00\x52\xc0\x64\x12\xdd\xc0\x5d\x12\x0d\xc3\xe4\x1e\x6e\xd9\x3d\xdc\xb0\x7e\x38\x19\xa4\xf0\x88\x2a\x33\x5c\x09\xbd\xc8\xaa\x4a\x8a\xee\xc5\x65\x10\x00\x94\x45\xf5\x28\x15\xa4\x6c\x9a\xfa\x52\xf1\x64\x30\xb8\x74\x37\x29\x49\x92\x17\x59\x65\x8a\xf7\x87\x01\x40\x6e\x90\x13\x8a\x8c\x13\xa4\xd1\x90\x8d\xd3\x70\x78\x97\x3e\x6c\x62\x36\x35\x95\x5e\xb9\x3a\x00\x55\x29\x8e\x4b\x28\xb8\xa5\xcc\xe0\xcc\xa0\x9d\xd7\xf2\x36\x01\xa8\x7e\x54\x58\x35\x9e\x2b\xbe\xc0\x5d\xe4\x30\x89\xa3\xaf\x13\xe6\x0e\x05\xda\xdc\xc8\x92\xa4\xae\xb5\x1e\x00\xcc\xf1\x39\xcb\x75\xa1\x4d\x03\x2d\xb9\x56\x7b\x38\xe9\x7d\x61\xbd\xdb\x2e\x9b\xa6\x49\xd8\x4b\xbb\x0e\xcd\xc3\x28\x66\xd0\x4f\x46\xc3\x2d\xbe\x2e\xe0\x33\x74\xfe\xed\xf8\x1e\x0f\x65\xfc\x22\xac\x6d\x46\x8d\xb1\xa3\x12\xb7\x98\x7c\xcb\x0b\x2e\xde\x0b\xad\xd4\x96\x4e\x12\x1a\x78\x8d\x66\x6f\x59\x09\xeb\xb3\x84\xc5\x3d\x36\x5e\x6b\xf7\x83\xc5\x75\x48\x57\xae\xc7\x86\x83\x00\x80\x24\x15\x58\x97\x44\x4d\x0d\x5b\x3a\xcb\xb5\x22\x54\xf4\x17\xaa\x65\xd3\x66\xdb\x84\x26\x65\xd5\x15\x52\x59\x34\xa7\x5a\xd1\xb9\xe7\x1e\x00\x70\xc5\x8b\x17\x92\xb9\x85\xeb\xd1\x68\xc0\xc2\xb8\x1e\x3c\xe3\x85\x45\x77\x3b\x2e\xb8\xdc\x3f\x59\x54\xde\x8b\x51\x64\x25\xb7\x76\xa5\x8d\x68\x18\x32\xcf\x49\x2e\x71\x7f\xad\x8e\x2f\xd6\x59\x2b\x65\x26\xcd\x02\xc5\x31\xd1\xdc\x19\x58\x46\xfa\x09\x1b\x1c\xdc\x7f\xce\x8e\x24\x35\x00\xb0\x64\x64\x89\x59\x5e\x59\xd2\x0b\x34\x6e\x69\x77\x49\xd8\xe0\xf1\x50\xae\xae\xc0\x22\x01\xcd\x11\x04\xce\x78\x55\x10\x90\x86\x95\x36\x4f\xb0\x92\x34\x5f\x5f\x07\x64\x24\x2f\xdc\x7a\x71\x29\xb2\x4a\x91\xa3\xf6\xb7\x78\xe0\x1f\x90\x8a\xd0\x2c\x79\x01\x9d\xff\xfe\x07\xc1\x5f\x6c\xc7\x83\x9c\xe9\x42\x78\x6c\x16\x08\x9f\xe9\xdb\xf7\xf6\xdb\xf5\x9e\x97\xd6\x1b\xb3\x41\xde\x36\xe3\x4f\xec\x71\x7d\xc5\x5e\x5b\x3f\xd1\x86\x3f\x60\xc7\xfc\x8f\xd7\x0d\x65\x47\x8d\x6b\xff\x3f\x7e\x5c\xe7\x21\xd1\x20\x17\x99\x25\x4e\x95\xc5\x13\xa9\x74\x56\xd7\xf4\x47\x7b\xb5\xc0\xed\xde\x9d\xd7\xba\xc8\x5a\xe8\xeb\xff\x74\x87\x0a\x0f\xac\xf5\x74\x04\x2e\x65\x8e\xb5\x15\xf5\xef\x23\x9d\xf3\x3d\xef\x9b\xc3\x36\xcf\x0f\x33\x67\xd1\x5a\xa9\xd5\x99\x49\xfb\x90\x67\x80\x54\x4b\x5e\xc8\xa6\x24\x0f\x00\x9f\x4b\x69\xd0\xb6\xbb\x6f\x8f\x55\xad\x6d\xf8\xec\x0f\x80\xdd\x56\xb6\xa7\xf7\x33\x00\x00\xff\xff\x38\x4e\xc2\xe5\x54\x0c\x00\x00")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: don't use underscores in Go names; var _schema1_initSql should be _schema1InitSQL

// AfterHtml parses the html and inserts it after the set of matched elements.
//
// This follows the same rules as Selection.Append.
func (s *Selection) AfterHtml(html string) *Selection {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: method AfterHtml should be AfterHTML

}

// AppendHtml parses the html and appends it to the set of matched elements.
func (s *Selection) AppendHtml(html string) *Selection {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: method AppendHtml should be AppendHTML

// BeforeHtml parses the html and inserts it before the set of matched elements.
//
// This follows the same rules as Selection.Append.
func (s *Selection) BeforeHtml(html string) *Selection {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: method BeforeHtml should be BeforeHTML

}

// PrependHtml parses the html and prepends it to the set of matched elements.
func (s *Selection) PrependHtml(html string) *Selection {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: method PrependHtml should be PrependHTML

// It returns the removed elements.
//
// This follows the same rules as Selection.Append.
func (s *Selection) ReplaceWithHtml(html string) *Selection {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: method ReplaceWithHtml should be ReplaceWithHTML

// most child of the given HTML.
//
// It returns the original set of elements.
func (s *Selection) WrapHtml(html string) *Selection {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: method WrapHtml should be WrapHTML

// document.
//
// It returns the original set of elements.
func (s *Selection) WrapAllHtml(html string) *Selection {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: method WrapAllHtml should be WrapAllHTML

// cloned before being inserted into the document.
//
// It returns the original set of elements.
func (s *Selection) WrapInnerHtml(html string) *Selection {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: method WrapInnerHtml should be WrapInnerHTML

return s
}

func parseHtml(h string) []*html.Node {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: func parseHtml should be parseHTML


// Html gets the HTML contents of the first element in the set of matched
// elements. It includes text and comment nodes.
func (s *Selection) Html() (ret string, e error) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: method Html should be HTML

// document node to manipulate, and can make selections on this document.
type Document struct {
*Selection
Url *url.URL
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: struct field Url should be URL

// Unlike InnerHtml, this is a function and not a method on the Selection,
// because this is not a jQuery method (in javascript-land, this is
// a property provided by the DOM).
func OuterHtml(s *Selection) (string, error) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: func OuterHtml should be OuterHTML

Timestamp time.Time
}

func (f *FakeFile) Name() string {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported method FakeFile.Name should have comment or be unexported

return name
}

func (f *FakeFile) Mode() os.FileMode {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported method FakeFile.Mode should have comment or be unexported

return mode
}

func (f *FakeFile) ModTime() time.Time {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported method FakeFile.ModTime should have comment or be unexported

return f.Timestamp
}

func (f *FakeFile) Size() int64 {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported method FakeFile.Size should have comment or be unexported

return f.Len
}

func (f *FakeFile) IsDir() bool {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported method FakeFile.IsDir should have comment or be unexported

return f.Mode().IsDir()
}

func (f *FakeFile) Sys() interface{} {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported method FakeFile.Sys should have comment or be unexported

FakeFile
}

func NewAssetFile(name string, content []byte, timestamp time.Time) *AssetFile {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported function NewAssetFile should have comment or be unexported

FakeFile{name, false, int64(len(content)), timestamp}}
}

func (f *AssetFile) Readdir(count int) ([]os.FileInfo, error) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported method AssetFile.Readdir should have comment or be unexported

return nil, errors.New("not a directory")
}

func (f *AssetFile) Size() int64 {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported method AssetFile.Size should have comment or be unexported

return f.FakeFile.Size()
}

func (f *AssetFile) Stat() (os.FileInfo, error) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported method AssetFile.Stat should have comment or be unexported

Children []os.FileInfo
}

func NewAssetDirectory(name string, children []string, fs *AssetFS) *AssetDirectory {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported function NewAssetDirectory should have comment or be unexported

fileinfos}
}

func (f *AssetDirectory) Readdir(count int) ([]os.FileInfo, error) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported method AssetDirectory.Readdir should have comment or be unexported

return rv, nil
}

func (f *AssetDirectory) Stat() (os.FileInfo, error) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported method AssetDirectory.Stat should have comment or be unexported

Prefix string
}

func (fs *AssetFS) Open(name string) (http.File, error) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported method AssetFS.Open should have comment or be unexported

}
if children, err := fs.AssetDir(name); err == nil {
return NewAssetDirectory(name, children, fs), nil
} else {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)

@@ -0,0 +1,13 @@
// assetfs allows packages to serve static content embedded
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: package comment should be of the form "Package assetfs ..."

)

var (
ErrPasswordTooShort = errors.New("passwords must be 8 characters or greater")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported var ErrPasswordTooShort should have comment or be unexported

flag.Parse()
}

type TestingT interface {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: exported type TestingT should have comment or be unexported

"runtime"
)

// The maximum number of stackframes on any error.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: comment on exported var MaxStackDepth should be of the form "MaxStackDepth ..."

buf buffer
netConn net.Conn
affectedRows uint64
insertId uint64
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: struct field insertId should be insertID


// MySQLDriver is exported to make the driver directly accessible.
// In general the driver is used via the database/sql package.
type MySQLDriver struct{}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: type name will be used as mysql.MySQLDriver by other packages, and that stutters; consider calling this Driver

ErrMalformPkt = errors.New("malformed packet")
ErrNoTLS = errors.New("TLS requested but server does not support TLS")
ErrCleartextPassword = errors.New("this user requires clear text authentication. If you still want to use it, please add 'allowCleartextPasswords=1' to your DSN")
ErrNativePassword = errors.New("this user requires mysql native password authentication.")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: error strings should not be capitalized or end with punctuation or a newline

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant