Skip to content

Commit 347f56a

Browse files
author
cheikhshift
committed
Add initial support for vet and linting programs
1 parent 481e22d commit 347f56a

File tree

6 files changed

+60
-16
lines changed

6 files changed

+60
-16
lines changed

api/assets/bindata.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17404,7 +17404,7 @@ func tmplUiUserPanelWebrooteditTmpl() (*asset, error) {
1740417404
return a, nil
1740517405
}
1740617406

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

1740917409
func tmplUiUserPanelWebtwoTmplBytes() ([]byte, error) {
1741017410
return bindataRead(
@@ -17419,7 +17419,7 @@ func tmplUiUserPanelWebtwoTmpl() (*asset, error) {
1741917419
return nil, err
1742017420
}
1742117421

17422-
info := bindataFileInfo{name: "tmpl/ui/user/panel/webtwo.tmpl", size: 4745, mode: os.FileMode(436), modTime: time.Unix(1659444147, 0)}
17422+
info := bindataFileInfo{name: "tmpl/ui/user/panel/webtwo.tmpl", size: 5496, mode: os.FileMode(436), modTime: time.Unix(1659447410, 0)}
1742317423
a := &asset{bytes: bytes, info: info}
1742417424
return a, nil
1742517425
}

api/handlers/middleware_fApiGet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ import (
1313
"github.com/cheikhshift/gos/core"
1414
"github.com/gorilla/sessions"
1515
templates "github.com/thestrukture/IDE/api/templates"
16+
"gopkg.in/mgo.v2/bson"
1617

1718
methods "github.com/thestrukture/IDE/api/methods"
1819

1920
"github.com/thestrukture/IDE/api/globals"
2021
types "github.com/thestrukture/IDE/types"
21-
"gopkg.in/mgo.v2/bson"
2222
)
2323

2424
//

api/handlers/rest_POSTApiGolint.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"path/filepath"
1010

1111
"github.com/gorilla/sessions"
12+
types "github.com/thestrukture/IDE/types"
1213
)
1314

1415
//
@@ -21,7 +22,9 @@ func POSTApiGolint(w http.ResponseWriter, r *http.Request, session *sessions.Ses
2122
cmd := exec.Command("golint", path)
2223
stOut, _ := cmd.CombinedOutput()
2324

24-
response = string(stOut)
25+
res := types.Dex{Text: string(stOut)}
26+
27+
response = mResponse(res)
2528

2629
callmet = true
2730
return

api/handlers/rest_POSTApiGovet.go

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,22 @@ import (
99
"path/filepath"
1010

1111
"github.com/gorilla/sessions"
12+
types "github.com/thestrukture/IDE/types"
1213
)
1314

1415
//
1516
func POSTApiGovet(w http.ResponseWriter, r *http.Request, session *sessions.Session) (response string, callmet bool) {
1617

1718
pkg := r.FormValue("pkg")
18-
file := r.FormValue("path")
19-
path := filepath.Join(os.ExpandEnv("$GOPATH"), "src", pkg, file)
19+
path := filepath.Join(os.ExpandEnv("$GOPATH"), "src", pkg)
2020

21-
cmd := exec.Command("go", "vet", path)
21+
os.Chdir(path)
22+
cmd := exec.Command("go", "vet")
2223
stOut, _ := cmd.CombinedOutput()
2324

24-
response = string(stOut)
25+
res := types.Dex{Text: string(stOut)}
26+
27+
response = mResponse(res)
2528

2629
callmet = true
2730
return

gos.gxml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -662,24 +662,28 @@
662662
pkg := r.FormValue("pkg")
663663
file := r.FormValue("path")
664664
path := filepath.Join(os.ExpandEnv("$GOPATH"), "src", pkg, file)
665-
665+
666666
cmd := exec.Command("golint", path)
667667
stOut, _ := cmd.CombinedOutput()
668668

669-
response = string(stOut)
669+
res := Dex{ Text : string(stOut) }
670+
671+
response = mResponse (res)
670672

671673
</end>
672674

673675
<end path="/api/govet" type="POST" >
674676

675677
pkg := r.FormValue("pkg")
676-
file := r.FormValue("path")
677-
path := filepath.Join(os.ExpandEnv("$GOPATH"), "src", pkg, file)
678-
679-
cmd := exec.Command("go", "vet", path)
678+
path := filepath.Join(os.ExpandEnv("$GOPATH"), "src", pkg)
679+
680+
os.Chdir(path)
681+
cmd := exec.Command("go", "vet")
680682
stOut, _ := cmd.CombinedOutput()
681683

682-
response = string(stOut)
684+
res := Dex{ Text : string(stOut) }
685+
686+
response = mResponse (res)
683687

684688
</end>
685689

tmpl/ui/user/panel/webtwo.tmpl

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,43 @@
130130

131131
editorPaths['{{.PKG}} - {{.SavesTo}}'.replace("\\", "/")] = editors["{{.ID}}"];
132132

133-
133+
function vetAndLint(){
134+
let file = {{ .SavesTo }}
135+
$.ajax({type : "POST", data : {
136+
pkg : {{ .PKG }}
137+
} ,url: "/api/govet", success:function(html){
138+
139+
let cText = html.Text.split("\n")
140+
141+
for(var i = 1; i < cText.length;i++){
142+
143+
let line = cText[i]
144+
145+
if ( line.includes(file) ){
146+
let lineParts = line.split(":")
147+
if( lineParts[2] ){
148+
let lastBit = lineParts[ lineParts.length - 1]
149+
console.log(lineParts[2], lastBit)
150+
151+
}
152+
}
153+
}
154+
} });
155+
156+
157+
$.ajax({type : "POST", data : {
158+
pkg : {{ .PKG }},
159+
path : {{ .SavesTo }}
160+
},url: "/api/golint", success:function(html){
161+
console.log(html)
162+
} });
163+
}
134164

135165
setTimeout(function(){
166+
167+
168+
vetAndLint()
169+
136170

137171
$.ajax({url: "/api/pkg-bugs?pkg=" + {{.PKG}}, success:function(html){
138172
//console.log(html)

0 commit comments

Comments
 (0)