diff --git a/assets/assets.go b/assets/assets.go index 582f793..1ffebdb 100644 --- a/assets/assets.go +++ b/assets/assets.go @@ -5,12 +5,12 @@ import ( "compress/gzip" "fmt" "io" - "io/ioutil" + "strings" "os" + "time" + "io/ioutil" "path" "path/filepath" - "strings" - "time" ) func bindata_read(data []byte, name string) ([]byte, error) { @@ -36,9 +36,9 @@ type asset struct { } type bindata_file_info struct { - name string - size int64 - mode os.FileMode + name string + size int64 + mode os.FileMode modTime time.Time } @@ -76,8 +76,8 @@ func assets_assets_go() (*asset, error) { return nil, err } - info := bindata_file_info{name: "assets/assets.go", size: 0, mode: os.FileMode(420), modTime: time.Unix(1423693329, 0)} - a := &asset{bytes: bytes, info: info} + info := bindata_file_info{name: "assets/assets.go", size: 0, mode: os.FileMode(420), modTime: time.Unix(1423776258, 0)} + a := &asset{bytes: bytes, info: info} return a, nil } @@ -96,8 +96,8 @@ func assets_css_style_css() (*asset, error) { return nil, err } - info := bindata_file_info{name: "assets/css/style.css", size: 1976, mode: os.FileMode(436), modTime: time.Unix(1423689503, 0)} - a := &asset{bytes: bytes, info: info} + info := bindata_file_info{name: "assets/css/style.css", size: 1976, mode: os.FileMode(420), modTime: time.Unix(1423776246, 0)} + a := &asset{bytes: bytes, info: info} return a, nil } @@ -116,8 +116,8 @@ func assets_images_github_png() (*asset, error) { return nil, err } - info := bindata_file_info{name: "assets/images/github.png", size: 1714, mode: os.FileMode(420), modTime: time.Unix(1423680495, 0)} - a := &asset{bytes: bytes, info: info} + info := bindata_file_info{name: "assets/images/github.png", size: 1714, mode: os.FileMode(420), modTime: time.Unix(1419439390, 0)} + a := &asset{bytes: bytes, info: info} return a, nil } @@ -136,8 +136,8 @@ func assets_images_hog_png() (*asset, error) { return nil, err } - info := bindata_file_info{name: "assets/images/hog.png", size: 2806, mode: os.FileMode(420), modTime: time.Unix(1423680495, 0)} - a := &asset{bytes: bytes, info: info} + info := bindata_file_info{name: "assets/images/hog.png", size: 2806, mode: os.FileMode(420), modTime: time.Unix(1419439390, 0)} + a := &asset{bytes: bytes, info: info} return a, nil } @@ -156,8 +156,8 @@ func assets_js_controllers_js() (*asset, error) { return nil, err } - info := bindata_file_info{name: "assets/js/controllers.js", size: 13293, mode: os.FileMode(420), modTime: time.Unix(1423689142, 0)} - a := &asset{bytes: bytes, info: info} + info := bindata_file_info{name: "assets/js/controllers.js", size: 13293, mode: os.FileMode(420), modTime: time.Unix(1423776246, 0)} + a := &asset{bytes: bytes, info: info} return a, nil } @@ -176,12 +176,12 @@ func assets_js_strutil_js() (*asset, error) { return nil, err } - info := bindata_file_info{name: "assets/js/strutil.js", size: 31849, mode: os.FileMode(420), modTime: time.Unix(1423686721, 0)} - a := &asset{bytes: bytes, info: info} + info := bindata_file_info{name: "assets/js/strutil.js", size: 31849, mode: os.FileMode(420), modTime: time.Unix(1423776246, 0)} + a := &asset{bytes: bytes, info: info} return a, nil } -var _assets_templates_index_html = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xec\x5a\x5f\x73\xd4\x38\x12\x7f\xe7\x53\x28\xde\x3b\x32\x53\xe0\x99\xb0\xb7\x57\x5c\x65\x67\x0c\x1c\xe1\x0a\xea\x76\x02\xb5\x19\x9e\x28\x1e\x34\xb6\x66\xac\xc5\xb6\xa6\x64\x79\x92\x1c\x9b\xef\x7e\x2d\x59\xf2\x48\xb6\x9c\x78\x80\xa5\xb8\x5b\xb6\x6a\x89\xad\x3f\xad\xee\x5f\xb7\xfa\xd7\xed\x64\x96\xd0\x1d\x8a\x33\x5c\x96\xf3\x40\x30\x96\xad\x30\x0f\x50\xb1\x09\xe9\x7a\x1e\x1c\x6d\x39\xd9\x51\x72\x89\xee\xdf\x47\x47\x25\xc1\x3c\x4e\x69\xb1\x09\xa2\x7b\x08\xcd\x56\x95\x10\xac\x30\x3b\x57\xa2\x40\xf0\x7f\x98\x90\x35\xae\x32\xa1\x24\xc4\x19\x8d\x3f\xcc\x03\x4e\xd6\x9c\x94\xe9\x68\x1c\x20\x41\x45\x46\xe6\xc1\xaf\xf5\x88\x92\x03\x92\xa8\x11\xb2\xc9\xae\xb7\x29\x8d\x41\x6a\xf3\x14\x72\xb3\x76\x36\xa5\xea\xdc\x69\x7d\x70\x74\x4f\xbe\x94\x5b\xdc\xa8\xb0\xad\xb2\x2c\xe4\x74\x93\x0a\x23\xd8\x9e\xcd\x49\x59\xe2\x0d\x09\x63\x56\x15\xa2\x31\x70\x24\x98\xc0\xd9\xa2\x9e\x2b\xd1\xef\xbf\xa3\x93\x31\x3a\x9a\xa3\x13\x2d\x42\x0a\x11\x9c\x15\x9b\xe8\xe3\x47\x54\x0a\xcc\x45\xb3\xf6\x01\x7a\x84\x6e\x6e\x42\xcf\xb8\x3a\xa2\x79\xbf\xb9\x99\x4d\xb5\x0c\x2d\x92\xad\xbb\xb2\x5d\x3d\xda\x7b\xe0\x0d\x4c\x51\x26\x1f\x82\x7c\x99\xb2\xcb\x73\x72\x49\xb8\x85\xbd\x7a\xd7\x8b\xd4\xfe\x8f\xc7\x09\x2d\xf1\x2a\x23\xc9\xf1\xa9\x63\xc9\x6c\x7e\x72\xb3\x87\xe1\x56\x27\xc5\x29\xd9\x81\xb6\x61\x46\xd6\xa2\xf1\x54\xcb\x57\x87\x2a\xfe\x3a\x4b\x1c\xc5\xd5\xfb\x20\xc5\x1f\x38\x0e\x88\xe6\x0e\xb6\x87\x9a\xa4\x03\xca\x63\xd3\xde\x2d\xb3\x29\xdc\x21\x30\xd2\xbe\x4a\xb9\xf1\x25\x08\x13\x98\x16\x84\x87\xeb\xac\xa2\xc9\xa0\xbb\x65\xcb\x29\x37\x19\x2d\x45\xa8\xe5\x21\xce\x2e\x95\x08\x4e\xb6\x04\x8b\xe6\x1c\x44\x0b\x64\x8e\x74\x90\x24\x19\x89\x0d\x16\x23\xbd\x62\x6c\x2e\x88\x75\x4e\xcc\xb2\x30\x4f\xc2\xbf\x35\xf0\xc8\xa0\xe4\xd7\x67\x24\x66\x09\x59\xd0\x9c\x8c\x36\x44\x9c\xd1\x72\x9b\xe1\xeb\x73\x9c\x37\xb2\x26\xcf\xc1\x3e\x52\x88\xc9\x4b\x82\xc1\x41\xe5\xbb\xe0\x5f\x9c\xe5\xc1\xfb\x77\x27\xef\xc7\xf2\x3e\x99\x65\x72\x74\xb2\xc0\x34\x5b\xb1\x2b\xb8\x23\xc1\xd3\x00\xfe\x75\x26\xcf\x58\x0e\x38\x8d\x21\xf8\xef\x19\x0f\x49\xfd\x34\x5c\x7d\xc7\x1d\x2f\xd9\xf1\xfb\x46\xe9\xfd\x1e\x83\x8f\x60\x16\x34\x3d\xbb\xe1\x06\x5f\xcb\x10\x03\x0c\x18\x3f\x45\x3f\x3c\x7e\xfc\xd8\x92\xa8\xa0\x68\x19\xef\x22\x23\xd8\x58\xa9\xdd\xe8\x50\xc7\x83\xf3\xe2\x31\xe9\xe8\xcb\xd8\xb4\x64\x43\x0c\x10\xac\x41\xff\xe6\xe6\x69\x3d\x50\x23\x7e\x97\xe6\x6d\x23\x6e\x8d\x1a\x27\xe7\x96\xd5\xea\x37\x88\x3e\x54\x15\x1c\x2c\x0b\xa2\x4e\x48\xf5\xc6\xd0\x45\xbd\x53\x87\x91\x4a\x87\xea\xa6\x0d\xd1\x05\xe9\x07\xb6\x5e\x97\x44\xc0\xbb\x20\x57\xc2\x21\x06\xe3\xd1\x05\xcb\xe1\xd4\x51\x82\x85\xa5\x0a\xa8\x2a\x48\x32\x1e\x4f\xd6\x10\x94\xe7\xec\x72\xd4\xb8\xb6\xc1\x43\x3f\xf8\xae\x7d\x9b\x41\x5b\x17\x7b\x00\x5f\x69\x57\x6e\x71\x92\x50\xe9\x73\xb9\xe0\x14\xfd\x63\x7b\xe5\xa3\x24\x95\xe9\x2e\xd4\x19\x0d\x79\x44\xe8\x04\x3d\xa9\x49\xa9\x35\x23\x29\xeb\x14\x66\x6b\xda\x1a\xf9\x97\x78\x44\xaa\x8b\x7c\x72\x08\x93\xb5\xa4\x7a\xb7\x7f\x55\x52\x73\x15\xfa\x9f\xa3\x36\x57\xfd\x07\x1e\x1f\x69\x9a\x73\x07\xff\x08\xb2\x3b\xa8\xf6\x5b\xe1\xf8\xc3\x92\xbd\x2a\x20\xed\x58\xf6\xfe\x13\x46\x21\x4e\x90\x1a\x1f\x54\x05\x62\x0e\xbc\xe7\xfa\xc0\xd1\xed\x9b\x28\x46\xad\x34\x00\x50\xc5\xe0\xd2\x68\x9f\xab\xd4\xe5\x8e\x2e\x4c\x3a\x40\x6b\xc6\x1b\xc2\xb6\xae\x4f\x9d\x2f\xfe\x4d\x8b\xc4\xba\x2e\x32\x5d\xd5\x13\x24\x59\x42\x32\xb3\x12\xe2\x27\x95\x1e\x5f\xa4\xda\x28\x9d\x48\xfb\x5e\x73\x7c\xaf\x39\xbe\xd7\x1c\xdf\x46\xcd\xa1\x1b\x8b\x03\xdb\xf4\xaf\x92\xaa\xef\x4e\x93\x83\xf5\x4d\x20\xcb\x08\xf2\xba\x20\x23\x6d\xef\xf8\x67\x64\x5a\xaa\x39\x2a\xa0\xb8\x1a\xa4\xae\xe0\xb8\x37\xa1\xe3\x5e\x35\x34\x3a\x67\xec\xb2\xc8\x18\x84\x19\x4a\x81\x1a\x80\xb7\x3f\xa2\x94\x95\x32\x3f\xe3\x2d\x9d\xee\x1e\x4d\x4d\x2a\x9e\xc2\x8c\x56\x6e\xf2\xea\x0c\xe6\xa7\x89\xd9\x3a\x44\xc9\x12\xef\x88\xa5\x23\x1e\x04\x55\xc3\x6f\x19\xc1\x25\x71\x49\x50\x0d\xd9\xd8\x0d\x53\x23\xc5\x9c\x78\xb0\xf2\x05\xa5\x09\x42\x6f\x50\x5a\xeb\x20\x58\x50\x5a\x5f\xc1\x7e\x86\x78\x64\x7d\x8f\x11\xb2\x2e\xb2\xf2\x94\x58\xb1\xe4\xba\xdd\x54\x3f\xcb\xb2\x97\x8e\x50\xb3\x98\xdb\xaf\x72\x20\x8d\x24\x11\xcc\xa6\xf0\xd0\x9a\x49\xba\xb9\xc3\xb8\xb0\x9f\x7f\x24\xfd\x98\x55\x5e\xfa\x71\x26\xf7\xf4\x03\x0a\x24\x8e\xa6\x53\x57\x55\xaf\xe6\x3a\x63\xf9\x95\xb7\x4b\xf2\x61\x46\x78\x12\x60\x2d\xe2\x93\x94\x5b\x32\xbf\x5e\xce\x80\x87\xf2\xfb\xf5\x03\xd2\x51\xf8\xbe\x7b\x3f\x9e\xfc\xc6\x68\x31\x3a\x7e\x88\x8e\xc7\x36\xe2\x4b\x06\xaa\xf7\x42\x5e\xcf\x5a\x94\xef\xa8\x76\xab\x8d\xf0\x26\xc3\xac\x2f\xec\xee\x8c\x3a\x9b\x49\x47\x75\xb8\x3f\x44\x3b\x9c\x55\x64\x2c\x69\xb5\xc7\xe4\xa0\x8b\x6a\x07\xae\x5a\x98\x0e\xa1\xbb\xe1\x6e\xd3\xfa\x4e\x1e\xaf\x14\x51\x54\xb9\x53\x72\x2c\x3e\xfe\x04\x70\xe0\x75\x7f\x45\x6d\x3e\xef\xde\xeb\x1f\xf7\xd7\x5a\x27\x33\x9a\xcc\x83\x94\x26\x24\x34\x39\xa1\x1f\x62\x2b\xa1\x09\xb6\xd9\x64\x44\x4f\x8c\xd6\x38\x2b\x89\xa4\xb0\xeb\x2d\xe4\xbf\x5a\x70\xd0\x93\x26\xd1\xbe\x0b\x57\xc3\x57\x36\xe8\x2f\x41\x11\x93\x9c\x06\x76\x50\xd5\xd6\x6a\x9f\x3a\x6d\xa2\x6b\xa7\x6c\x05\x3b\x76\x7a\x32\x58\xaf\xa1\x82\x57\x5f\xc4\xce\x8b\x74\x9f\x84\x07\xda\x29\xe9\xab\xc7\x52\xc7\xed\x16\xb3\xdb\x6d\x06\xdc\xd0\x30\xae\x83\xdd\x64\xfd\x2a\x33\xb3\x05\x86\x10\xc5\xbb\x10\xc2\x68\xaf\xe5\x2c\xa3\x06\xa2\x14\x97\x2f\x97\x8b\x5f\xf6\xdc\x65\x77\xce\x08\xc7\x82\xee\xc8\x29\x6a\xaf\x42\xd0\x0c\x03\xa3\xd7\x44\xfd\x83\x1e\x0d\x53\x91\x67\x01\x82\x6a\x0c\x87\x35\xb6\x80\x31\x5e\x05\x91\xdc\x2a\x89\x76\x36\xcd\x68\x4b\x85\xce\x49\x47\xc3\x8e\x82\x42\x9e\x16\xbe\xb3\xde\xc8\x09\x55\x31\x7a\x4e\xf4\x08\x2a\x59\xc5\x63\xe2\x93\x74\xa1\x66\x7a\xf4\xb6\x6e\xd1\x64\xf1\x6a\xf1\xc2\xa7\x63\x0e\x29\xc5\x27\x58\xae\x77\xc5\xce\xa6\x55\xe6\x29\x88\x61\x75\xcb\xb1\xb2\xa8\x58\x73\x68\x60\x3e\xdb\x7d\xf6\x19\x50\x99\x83\xa2\xf2\x16\xb9\x9e\x2c\x79\x9c\xb0\x58\x56\x62\xc6\x54\xfd\x53\x0a\xbb\x01\x19\xd0\xb6\xe6\x19\x54\x65\x48\xe9\xb4\x62\x1c\x82\x7e\x1e\x9c\x34\xed\xcc\x25\x4d\x44\x7a\x8a\x1e\x9d\x9c\xfc\x55\xc5\xb7\x5a\x16\xd9\x9d\x54\x47\x8b\xa1\x31\xe1\xa8\x5b\x47\x43\xa4\x9b\x82\xba\x4c\x54\x81\x60\xed\x70\x53\xb1\xff\x70\x5b\xa6\x0e\x0c\x2d\xb4\x0e\x86\xcf\x10\xa7\x82\xa1\xbf\x23\xdc\x62\x2e\x6c\xf2\x92\x31\x32\x79\x03\x83\x65\xe3\x29\x29\x21\x94\xeb\x5c\x3e\xc4\x87\x97\xcb\x52\xd2\x54\x4a\x92\x53\x7f\xa1\x45\x42\xae\x9c\x2a\x7a\x58\x12\x94\xcf\x65\xde\xa6\xd5\xe1\xa5\xf7\xfe\x3f\x53\xf9\x3b\xa4\x88\x5b\xfd\xaf\xd4\x77\x5f\xbe\x68\x72\x0f\x97\xa0\x69\x53\x2b\x06\x6f\x8b\x0f\x05\xc8\x52\xfa\x07\x60\x12\x1a\x99\x8d\x17\xf4\x3f\x44\x0e\xac\xae\x05\x29\xc7\x43\xdb\xe5\x6e\xa7\x78\x14\x86\x68\xc1\x12\x20\x45\x14\x86\x91\xfb\xa5\x48\x0e\xa3\x35\x28\x58\x7b\x1e\x0c\x5e\x53\x9e\x87\x75\x6f\x15\x62\xdd\x43\x75\xb6\x84\x09\xc5\x19\xdb\x78\x0a\xf6\x7a\xba\x93\x01\x3a\x2b\x6a\xb6\xb1\xa3\x4b\x13\xa3\xd7\x8f\x71\xc6\x4a\x93\x97\x12\x5a\xe6\xb4\x11\x14\x20\xcc\x29\x0e\xa1\x64\x48\x48\x01\x81\xcc\x65\x21\x73\x5f\x40\xb4\x94\x3f\xbb\x94\xa4\x0e\x49\x7f\x72\xd5\x50\x3d\x52\x10\x9d\x29\x7b\x11\xd8\xdb\x7c\x93\x7b\x32\x9b\xa6\x3f\x79\x60\xf6\x19\x23\xab\x1f\xdb\x94\x6d\xf4\x8c\x13\x74\xcd\x2a\x54\x56\xfa\xe1\x12\x17\x42\xf6\xd1\x89\xf7\xa4\xed\xc0\x83\xd6\x8c\x89\xe1\xa8\x75\x3a\x42\x1f\x7e\xd1\x73\x5c\xc4\x24\xf3\x60\x35\x48\x34\x2e\x36\xcd\xa7\x6b\xab\x2d\x87\xea\xe5\x79\x1d\x4b\xa3\xb1\x17\xde\xf6\x79\x43\x02\xf9\x96\xc0\xd5\x1d\x6d\xc8\x0a\xf2\xe7\x88\x58\xdd\xd5\x1b\x3c\x3f\x2b\x58\x97\x0c\x69\xfc\x90\x48\x69\x69\x64\x3e\x44\xf5\x87\x5c\x84\x0b\x74\xb1\x58\xbe\x81\x57\xbe\x23\x1c\x31\x8e\x00\x29\x78\x88\xab\x52\xb0\x1c\x86\x85\xa0\xc5\xa6\x3c\xb5\xe2\x18\xe4\xae\x19\xcf\x11\x67\x92\x53\xe5\xa3\xcb\x00\x96\x56\x72\x32\xdc\x70\x26\x2b\x67\x37\x2f\xeb\xe3\x21\xb6\x40\x73\x92\x99\x0f\xcb\x24\x79\x5d\x89\x0d\xf4\x7f\x1b\xa9\x95\xeb\x7f\xf3\x57\x1e\x4c\xaf\x08\x9c\x53\xa4\x93\x41\xa3\xa0\xd3\x14\xb1\xad\xa0\x4c\xf7\x41\x8a\x96\xca\x89\xfc\xe4\x8a\x64\xc1\x60\x31\x5e\x29\xe9\x8e\xd9\x87\x47\xf6\xda\xd9\xb4\x96\x73\x87\xf8\x20\x7a\x0b\x48\xb7\xc0\xf3\xef\x85\x0e\x5c\x99\xec\xf6\x5e\xad\xf6\xcc\xfe\xbc\xeb\x43\x08\xcd\xe7\xe8\xf8\xb8\x0d\xee\x10\x0f\xb4\x7a\xb6\x94\xc4\x1f\xf6\x5f\x01\x9d\x65\x19\x5e\x91\x4c\xfe\x4e\xa3\xeb\x8a\x9a\x40\x3b\x5b\x24\xef\x16\xdb\xca\x71\x2f\xac\x94\x0a\x5f\xa8\x38\x33\x94\xde\x1c\xeb\x75\x74\xaf\xf4\x0b\x98\x80\x70\x26\x00\xb5\xc1\xb8\xab\xf6\x54\xe9\xdd\x31\xda\xd7\x00\x77\x87\xfc\x08\x36\x9e\x70\x8d\xe9\x9c\x71\x1b\x62\x6a\x4b\x58\x60\x59\x7e\xd5\xfb\x91\x7c\xe9\x53\xb7\xc6\xb1\x46\x4b\x76\x11\x90\x61\x2a\xc1\xd6\x0c\x42\xcc\x1b\xfe\x7e\x20\xed\x43\x6f\xb7\xdd\x1f\x81\x77\x5e\xe7\x5b\x2c\x26\xb2\x21\x0c\xa2\x17\xf2\x07\xc2\x49\xc2\x61\xdc\x6b\xad\x63\x6b\xbd\xeb\x53\x8c\xd5\x3b\xa1\x06\x8f\x49\xca\x32\xd5\x02\x94\x2c\x27\x40\x1f\x4f\xc9\x15\xce\xb7\x19\x99\xc4\xac\x95\xb3\xbe\xea\xbd\xbb\x2d\x3c\x72\xb1\x0d\x65\xdd\x0c\xc1\xb1\x4f\xcb\xc3\x83\x63\x78\x48\x34\x07\xb9\x48\x49\xf0\x26\x7d\x30\x1d\x72\x57\x0e\xb6\x7a\xcb\xb8\xb1\x5a\x3e\x0e\xb1\xb9\xa8\xf2\x95\x4c\x26\x87\x59\xad\x0e\x32\x09\xfb\xc7\xbf\x7f\x3d\x0b\x2b\xf0\x66\x7d\x07\x9f\x55\x90\xbd\x0a\x41\x63\x2c\x79\xa1\xcf\xd4\x2e\x47\x82\x94\x9c\xc4\xe9\x2d\xc6\xc9\x69\x5c\x40\x51\x32\x8c\x1d\xf7\x04\x66\xa2\xdc\x00\x73\xfe\xfa\xfc\x45\x10\x9d\xc3\xad\xe9\xa3\xbe\x0e\xf9\xbd\xf9\xe5\xd9\xab\xf3\x20\x52\x3f\x06\x6f\x7a\xfe\xeb\xb3\xc5\xe2\x0c\xbc\x20\x1f\x42\x78\xea\x65\x5a\x0f\x5f\x7e\x52\xf2\xd6\x20\xca\x3f\x05\x3d\x96\x56\xb6\xaf\xf1\x41\x9e\x7c\xab\x9f\xfe\xa8\x2b\xda\x9c\xb4\xaf\x30\xbe\x01\xfb\xb7\x20\xfc\x92\xf1\xfa\x57\xb0\x8d\x40\x99\x13\xb5\x3b\x8f\xd1\x13\x14\x5c\x90\x98\x13\xb0\xf8\x14\x05\x6f\xcc\x06\x55\x4a\xdd\x0d\x55\x73\xc0\xa1\x77\xbb\xd9\x37\x10\xae\xd6\xc0\x6c\x2a\x0f\xfa\xff\xe9\xd8\x74\xd3\xaf\x3b\x0a\xf3\x67\x1b\x63\x4f\x8f\x71\x68\xcb\xa6\x3e\x3d\xbc\x28\x12\xc4\xd6\x28\xdf\x7f\x81\xf8\x6f\x00\x00\x00\xff\xff\xe4\x7d\xb8\xbf\x72\x2e\x00\x00") +var _assets_templates_index_html = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xec\x5a\x5f\x73\xdb\xb8\x11\x7f\xbf\x4f\x01\xf3\xda\x58\x9a\x84\x92\x73\xb9\x36\x1d\x9f\xc4\x24\x8d\xd3\x49\xa6\x27\x27\x73\x56\x9e\x32\x79\x80\x48\x48\xc4\x85\x24\x34\x20\x28\xdb\xcd\xf9\xbb\x77\x01\x02\x14\x40\x82\x36\x95\xe4\xd2\xb4\xbd\x9b\xb9\x98\xc4\x9f\xfd\xbf\xfb\xdb\xa5\x3d\x4b\xe8\x0e\xc5\x19\x2e\xcb\x79\x20\x18\xcb\x56\x98\x07\xa8\xd8\x84\x74\x3d\x0f\x8e\xb6\x9c\xec\x28\xb9\x44\xf7\xee\xa1\xa3\x92\x60\x1e\xa7\xb4\xd8\x04\xd1\x77\x08\xcd\x56\x95\x10\xac\x30\x37\x57\xa2\x40\xf0\x7f\x98\x90\x35\xae\x32\xa1\x28\xc4\x19\x8d\x3f\xcc\x03\x4e\xd6\x9c\x94\xe9\x68\x1c\x20\x41\x45\x46\xe6\xc1\x2f\xf5\x8a\xa2\x03\x94\xa8\x21\xb2\xc9\xae\xb7\x29\x8d\x81\x6a\xf3\x14\x72\x73\x76\x36\xa5\x8a\xef\xb4\x66\x1c\x7d\x27\x5f\xca\x2d\x6e\x44\xd8\x56\x59\x16\x72\xba\x49\x85\x21\x6c\xef\xe6\xa4\x2c\xf1\x86\x84\x31\xab\x0a\xd1\x28\x38\x12\x4c\xe0\x6c\x51\xef\x95\xe8\xb7\xdf\xd0\xc9\x18\x1d\xcd\xd1\x89\x26\x21\x89\x08\xce\x8a\x4d\xf4\xf1\x23\x2a\x05\xe6\xa2\x39\x7b\x1f\x3d\x44\x37\x37\xa1\x67\x5d\xb1\x68\xde\x6f\x6e\x66\x53\x4d\x43\x93\x64\xeb\x2e\x6d\x57\x8e\xf6\x1d\x78\x03\x55\x94\xca\x87\x58\xbe\x4c\xd9\xe5\x39\xb9\x24\xdc\xb2\xbd\x7a\xd7\x87\xd4\xfd\x8f\xc7\x09\x2d\xf1\x2a\x23\xc9\xf1\xa9\xa3\xc9\x6c\x7e\x72\xb3\x37\xc3\xad\x4e\x8a\x53\xb2\x03\x69\xc3\x8c\xac\x45\xe3\xa9\x96\xaf\x0e\x15\xfc\x75\x96\x38\x82\xab\xf7\x41\x82\xdf\x77\x1c\x10\xcd\x1d\xdb\x1e\xaa\x92\x0e\x28\x8f\x4e\x7b\xb7\xcc\xa6\x90\x43\xa0\xa4\x9d\x4a\xb9\xf1\x25\x10\x13\x98\x16\x84\x87\xeb\xac\xa2\xc9\xa0\xdc\xb2\xe9\x94\x9b\x8c\x96\x22\xd4\xf4\x10\x67\x97\x8a\x04\x27\x5b\x82\x45\xc3\x07\xd1\x02\x19\x96\x8e\x25\x49\x46\x62\x63\x8b\x91\x3e\x31\x36\x09\x62\xf1\x89\x59\x16\xe6\x49\xf8\xa8\x31\x8f\x0c\x4a\x7e\x7d\x46\x62\x96\x90\x05\xcd\xc9\x68\x43\xc4\x19\x2d\xb7\x19\xbe\x3e\xc7\x79\x43\x6b\xf2\x1c\xf4\x23\x85\x98\xbc\x24\x18\x1c\x54\xbe\x0b\xfe\xc1\x59\x1e\xbc\x7f\x77\xf2\x7e\x2c\xf3\xc9\x1c\x93\xab\x93\x05\xa6\xd9\x8a\x5d\x41\x8e\x04\x4f\x03\xf8\xd7\xd9\x3c\x63\x39\xd8\x69\x0c\xc1\xff\x9d\xf1\x90\x94\x4f\x9b\xab\x8f\xdd\xf1\x92\x1d\xbf\x6f\x84\xde\xdf\x31\xf6\x11\xcc\x32\x4d\xcf\x6d\xc8\xe0\x6b\x19\x62\x60\x03\xc6\x4f\xd1\xf7\x8f\x1f\x3f\xb6\x28\x2a\x53\xb4\x94\x77\x2d\x23\xd8\x58\x89\xdd\xc8\x50\xc7\x83\xf3\xe2\x51\xe9\xe8\xcb\xe8\xb4\x64\x43\x14\x10\xac\xb1\xfe\xcd\xcd\xd3\x7a\xa1\xb6\xf8\x5d\x92\xb7\x95\xf0\x44\xcd\x5f\xad\x72\x69\xd5\xdc\xb2\x5a\xfd\x0a\xd1\x87\xaa\x82\x83\x66\x41\xd4\x09\xa9\xde\x18\xba\xa8\x6f\xea\x30\x52\xe5\x50\x65\xda\x00\x59\x1e\x21\x41\xae\x84\x03\x04\xc6\x83\x0b\x96\x03\x97\x51\x82\x85\xc5\x1a\x44\x13\x24\x19\x8f\x27\x6b\x08\xc2\x73\x76\x39\x6a\x5c\xd9\xe8\xaf\x1f\x7c\x69\xde\x46\xcc\x56\x22\x0f\xc0\x27\xed\xba\x2d\x4e\x12\x2a\x7d\x2c\x0f\x9c\xa2\xbf\x6d\xaf\x7c\x10\xa4\x2a\xdb\x85\xe2\xd1\x80\x45\x84\x4e\xd0\x93\x1a\x84\x5a\x3b\x12\xa2\x4e\x61\xb7\x86\xa9\x91\xff\x88\x87\xa4\x4a\xdc\x93\x43\x90\xab\x45\xd5\x7b\xfd\xab\x82\x98\x2b\xd0\x7f\x1d\x94\xb9\xe2\xdf\xf7\xf8\x48\xc3\x9a\xbb\xf8\x7b\x80\xdb\x41\xbd\xde\x0a\xc7\x1f\x96\xec\x55\x01\x65\xc6\xd2\xf7\xef\xb0\x0a\x71\x82\xd4\xfa\xa0\xae\x0f\x73\xc0\x39\xd7\x07\x8e\x6c\xdf\x44\xf3\x69\x95\x01\x30\x55\x0c\x2e\x8d\xf6\xb5\x49\x25\x77\x74\x61\xca\x01\x5a\x33\xde\x00\xb4\x95\x3e\x75\xbd\xf8\x27\x2d\x12\x2b\x5d\x64\xb9\xaa\x37\x48\xb2\x84\x62\x66\x15\xc0\x4f\x6a\x35\xbe\x48\x77\x51\x3a\x91\xf6\x47\x8f\xf1\x47\x8f\xf1\x75\x7b\x8c\x47\xdf\x54\x8f\xa1\x1f\xd8\x7a\x5d\x12\xf1\x1f\xee\x39\xf4\x20\x71\xe0\x58\xfe\x55\x4a\xf5\xdd\x65\x72\xb0\xbc\x09\x54\x19\x41\x5e\x17\x64\xa4\xf5\x1d\xff\x84\xcc\x08\x35\x47\x05\x34\x57\x83\xc4\x15\x1c\xf7\x16\x74\xdc\x2b\x86\xb6\xce\x19\xbb\x2c\x32\x06\x61\x86\x52\x80\x06\xc0\xed\x8f\x28\x65\xa5\xac\xcf\x78\x4b\xa7\xbb\x87\x53\x53\x8a\xa7\xb0\xa3\x85\x9b\xbc\x3a\x83\xfd\x69\x62\xae\x0e\x11\xb2\xc4\x3b\x62\xc9\x88\x07\x99\xaa\xc1\xb7\x8c\xe0\x92\xb8\x20\xa8\x96\x6c\xdb\x0d\x13\x23\xc5\x9c\x78\x6c\xe5\x0b\x4a\x13\x84\xde\xa0\xb4\xce\x41\xb0\xa0\xb4\x4e\xc1\x7e\x84\x78\x68\x7d\x7f\x11\xb2\x2f\xb2\xea\x94\x58\xb1\xe4\xba\x3d\x44\x3f\xcb\xb2\x97\x0e\x51\x73\x98\xdb\xaf\x72\x21\x8d\x24\x10\xcc\xa6\xf0\xd0\xda\x49\xba\xb5\xc3\xb8\xb0\x1f\x7f\x24\xfc\x98\x53\x5e\xf8\x71\x36\xf7\xf0\x03\x02\x24\x8e\xa4\x53\x57\x54\xaf\xe4\xba\x62\xf9\x85\xb7\x5b\xf2\x61\x4a\x78\x0a\x60\x4d\xe2\x93\x84\x5b\x32\xbf\x5c\xce\x82\x07\xf2\xfb\xe5\x03\xd0\x51\xf6\x7d\xf7\x7e\x3c\xf9\x95\xd1\x62\x74\xfc\x00\x1d\x8f\x6d\x8b\x2f\x19\x88\xde\x6b\xf2\x7a\xd7\x82\x7c\x47\xb4\x5b\x75\x84\x37\x19\x66\x7d\x61\x77\x67\xd4\xd9\x48\x3a\xaa\xc3\xfd\x01\xda\xe1\xac\x22\x63\x09\xab\x3d\x2a\x07\x5d\xab\x76\xcc\x55\x13\xd3\x21\x74\xb7\xb9\xdb\xb0\xbe\x93\xec\x95\x20\x0a\x2a\x77\x8a\x8e\x85\xc7\x9f\x60\x1c\x78\xdd\xa7\xa8\x8d\xe7\xdd\xbc\xfe\x61\x9f\xd6\xba\x98\xd1\x64\x1e\xa4\x34\x21\xa1\xa9\x09\xfd\x26\xb6\x0a\x9a\x60\x9b\x4d\x46\xf4\xc6\x68\x8d\xb3\x92\x48\x08\xbb\xde\x42\xfd\xab\x09\x07\x3d\x65\x12\xed\xa7\x70\xb5\x7c\x65\x1b\xfd\x25\x08\x62\x8a\xd3\xc0\x09\xaa\xda\x5a\xe3\x53\x67\x4c\x74\xf5\x94\xa3\x60\x47\x4f\x4f\x05\xeb\x55\x54\xf0\xea\x8b\xe8\x79\x91\xee\x8b\xf0\x40\x3d\x25\x7c\xf5\x68\xea\xb8\xdd\x42\x76\x7b\xcc\x80\x0c\x0d\xe3\x3a\xd8\x4d\xd5\xaf\x32\xb3\x5b\x60\x08\x51\xbc\x0b\x21\x8c\xf6\x52\xce\x32\x6a\x4c\x94\xe2\xf2\xe5\x72\xf1\xf3\x1e\xbb\xec\xc9\x19\xe1\x58\xd0\x1d\x39\x45\xed\x53\x08\x86\x61\x40\xf4\x1a\xa8\xbf\xd7\xab\x61\x2a\xf2\x2c\x40\xd0\x8d\xe1\xb0\xb6\x2d\xd8\x18\xaf\x82\x48\x5e\x95\x40\x3b\x9b\x66\xb4\x25\x42\x87\xd3\xd1\x30\x56\xd0\xc8\xd3\xc2\xc7\xeb\x8d\xdc\x50\x1d\xa3\x87\xa3\x87\x50\xc9\x2a\x1e\x13\x1f\xa5\x0b\xb5\xd3\x23\xb7\x95\x45\x93\xc5\xab\xc5\x0b\x9f\x8c\x39\x94\x14\x1f\x61\x79\xde\x25\x3b\x9b\x56\x99\xa7\x21\x86\xd3\x2d\xc7\xca\xa6\x62\xcd\x61\x80\xf9\x6c\xf7\xd9\x3c\xa0\x33\x07\x41\x65\x16\xb9\x9e\x2c\x79\x9c\xb0\x58\x76\x62\x46\x55\xfd\x53\x12\xbb\x01\x1a\x30\xb6\xe6\x19\x74\x65\x48\xc9\xb4\x62\x1c\x82\x7e\x1e\x9c\x34\xe3\xcc\x25\x4d\x44\x7a\x8a\x1e\x9e\x9c\xfc\x59\xc5\xb7\x3a\x16\xd9\x93\x54\x47\x8a\xa1\x31\xe1\x88\x5b\x47\x43\xa4\x87\x82\xba\x4d\x54\x81\x60\xdd\x70\x4b\xb1\x9f\xb9\x4d\x53\x07\x86\x26\x5a\x07\xc3\x67\x90\x53\xc1\xd0\x3f\x11\x6e\x31\x17\x36\x78\xc9\x18\x99\xbc\x81\xc5\xb2\xf1\x94\xa4\x10\xca\x73\x2e\x1e\xe2\xc3\xdb\x65\x49\x69\x2a\x29\xc9\xad\x3f\xd1\x22\x21\x57\x4e\x17\x3d\xac\x08\xca\xe7\x32\x6f\xc3\xea\xf0\xd6\x7b\xff\x9f\xe9\xfc\x1d\x50\xc4\xad\xf9\x57\xca\xbb\x6f\x5f\x34\xb8\x87\x4b\x90\xb4\xe9\x15\x83\xb7\xc5\x87\x02\x68\x29\xf9\x03\x50\x09\x8d\xcc\xc5\x0b\xfa\x2f\x22\x17\x56\xd7\x82\x94\xe3\xa1\xe3\x72\x77\x52\x3c\x0a\x43\xb4\x60\x09\x80\x22\x0a\xc3\xc8\xfd\x52\x24\x97\xd1\x1a\x04\xac\x3d\x0f\x0a\xaf\x29\xcf\xc3\x7a\xb6\x0a\xb1\x9e\xa1\x3a\x57\xc2\x84\xe2\x8c\x6d\x3c\x0d\x7b\xbd\xdd\xa9\x00\x9d\x13\x35\xda\xd8\xd1\xa5\x81\xd1\xeb\xc7\x38\x63\xa5\xa9\x4b\x09\x2d\x73\xda\x10\x0a\x10\xe6\x14\x87\xd0\x32\x24\xa4\x80\x40\xe6\xb2\x91\xb9\x27\x20\x5a\xca\x9f\x5c\x48\x52\x4c\xd2\x1f\x5d\x31\xd4\x8c\x14\x44\x67\x4a\x5f\x04\xfa\x36\xdf\xe4\x9e\xcc\xa6\xe9\x8f\x1e\x33\xfb\x94\x91\xdd\x8f\xad\xca\x36\x7a\xc6\x09\xba\x66\x15\x2a\x2b\xfd\x70\x89\x0b\x21\xe7\xe8\xc4\xcb\x69\x3b\x90\xd1\x9a\x31\x31\xdc\x6a\x9d\x89\xd0\x67\xbf\xe8\x39\x2e\x62\x92\x79\x6c\x35\x88\x34\x2e\x36\xcd\xa7\x6b\x6b\x2c\x87\xee\xe5\x79\x1d\x4b\xa3\xb1\xd7\xbc\x6d\x7e\x43\x02\xf9\x96\xc0\xd5\x13\x6d\xc8\x0a\xf2\xff\x11\xb1\x7a\xaa\x37\xf6\xfc\xac\x60\x5d\x32\xa4\xed\x87\x44\x4a\x4b\x43\xf3\x01\xaa\x3f\xe4\x22\x5c\xa0\x8b\xc5\xf2\x0d\xbc\xf2\x1d\xe1\x88\x71\x04\x96\x82\x87\xb8\x2a\x05\xcb\x61\x59\x08\x5a\x6c\xca\x53\x2b\x8e\x81\xee\x9a\xf1\x1c\x71\x26\x31\x55\x3e\xba\x08\x60\x49\x25\x37\xc3\x0d\x67\xb2\x73\x76\xeb\xb2\x66\x0f\xb1\x05\x92\x93\xcc\x7c\x58\x26\xc9\xeb\x4a\x6c\x60\xfe\xdb\x48\xa9\x5c\xff\x9b\xbf\xea\x60\xfa\x44\xe0\x70\x91\x4e\x06\x89\x82\xce\x50\xc4\xb6\x82\x32\x3d\x07\x29\x58\x2a\x27\xf2\x93\x2b\x92\x0d\x83\x85\x78\xa5\x84\x3b\x66\x33\x8f\xec\xb3\xb3\x69\x4d\xe7\x0e\xf2\x41\xf4\x16\x2c\xdd\x32\x9e\xff\x2e\x4c\xe0\x4a\x65\x77\xf6\x6a\x8d\x67\xf6\xe7\x5d\x9f\x85\xd0\x7c\x8e\x8e\x8f\xdb\xc6\x1d\xe2\x81\xd6\xcc\x96\x92\xf8\xc3\xfe\x2b\xa0\x73\x2c\xc3\x2b\x92\xc9\xdf\x69\x74\x5d\x51\x03\x68\xe7\x8a\xc4\xdd\x62\x5b\x39\xee\x85\x93\x52\xe0\x0b\x15\x67\x06\xd2\x1b\xb6\x5e\x47\xf7\x52\xbf\x80\x0d\x08\x67\x02\xa6\x36\x36\xee\x8a\x3d\x55\x72\x77\x94\xf6\x0d\xc0\xdd\x25\xbf\x05\x1b\x4f\xb8\xca\x74\x78\xdc\x66\x31\x75\x25\x2c\xb0\x6c\xbf\xea\xfb\x48\xbe\xf4\x89\x5b\xdb\xb1\xb6\x96\x9c\x22\xa0\xc2\x54\x82\xad\x19\x84\x98\x37\xfc\xfd\x86\xb4\x99\xde\xae\xbb\x3f\x02\xef\x4c\xe7\x5b\x34\x26\x72\x20\x0c\xa2\x17\xf2\x07\xc2\x49\xc2\x61\xdd\xab\xad\xa3\x6b\x7d\xeb\x53\x94\xd5\x37\xa1\x07\x8f\x49\xca\x32\x35\x02\x94\x2c\x27\x00\x1f\x4f\xc9\x15\xce\xb7\x19\x99\xc4\xac\x55\xb3\xbe\x6a\xde\xdd\x16\x1e\xb9\xd8\x86\xb2\x6f\x86\xe0\xd8\x97\xe5\xe1\xc1\x31\x3c\x24\x1a\x46\xae\xa5\xa4\xf1\x26\x7d\x66\x3a\x24\x57\x0e\xd6\x7a\xcb\xb8\xd1\x5a\x3e\x0e\xd1\xb9\xa8\xf2\x95\x2c\x26\x87\x69\xad\x18\x99\x82\xfd\xc3\x5f\xbe\x9e\x86\x15\x78\xb3\xce\xc1\x67\x15\x54\xaf\x42\xd0\x18\x4b\x5c\xe8\x53\xb5\x8b\x91\x40\x25\x27\x71\x7a\x8b\x72\x72\x1b\x17\xd0\x94\x0c\x43\xc7\x3d\x80\x99\x28\x37\x86\x39\x7f\x7d\xfe\x22\x88\xce\x21\x6b\xfa\xa0\xaf\x03\x7e\x6f\x7e\x7e\xf6\xea\x3c\x88\xd4\x8f\xc1\x97\x9e\xff\xf2\x6c\xb1\x38\x03\x2f\xc8\x87\x10\x9e\x7a\x91\xd6\x83\x97\x9f\x54\xbc\xb5\x11\xe5\x9f\x7e\x1e\x4b\x2d\xdb\x69\x7c\x90\x27\xdf\xea\xa7\xdf\x2b\x45\x1b\x4e\xfb\x0e\xe3\x1b\xd0\x7f\x0b\xc4\x2f\x19\xaf\x7f\x05\xdb\x10\x94\x35\x51\xbb\xf3\x18\x3d\x41\xc1\x05\x89\x39\x01\x8d\x4f\x51\xf0\xc6\x5c\x50\xad\xd4\xdd\xa6\x6a\x18\x1c\x9a\xdb\xcd\xbd\x81\xe6\x6a\x2d\xcc\xa6\x92\xd1\xff\xce\xc4\xa6\x87\x7e\x3d\x51\x98\x3f\xdb\x18\x7b\x66\x8c\x43\x47\x36\xf5\xe9\xe1\x45\x91\x20\xb6\x46\xf9\xfe\x0b\xc4\xbf\x03\x00\x00\xff\xff\x46\x67\xcd\x9a\x62\x2e\x00\x00") func assets_templates_index_html_bytes() ([]byte, error) { return bindata_read( @@ -196,8 +196,8 @@ func assets_templates_index_html() (*asset, error) { return nil, err } - info := bindata_file_info{name: "assets/templates/index.html", size: 11890, mode: os.FileMode(420), modTime: time.Unix(1423689005, 0)} - a := &asset{bytes: bytes, info: info} + info := bindata_file_info{name: "assets/templates/index.html", size: 11874, mode: os.FileMode(420), modTime: time.Unix(1423776248, 0)} + a := &asset{bytes: bytes, info: info} return a, nil } @@ -216,8 +216,8 @@ func assets_templates_layout_html() (*asset, error) { return nil, err } - info := bindata_file_info{name: "assets/templates/layout.html", size: 6296, mode: os.FileMode(420), modTime: time.Unix(1423689877, 0)} - a := &asset{bytes: bytes, info: info} + info := bindata_file_info{name: "assets/templates/layout.html", size: 6296, mode: os.FileMode(420), modTime: time.Unix(1423776246, 0)} + a := &asset{bytes: bytes, info: info} return a, nil } @@ -262,13 +262,13 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "assets/assets.go": assets_assets_go, - "assets/css/style.css": assets_css_style_css, - "assets/images/github.png": assets_images_github_png, - "assets/images/hog.png": assets_images_hog_png, - "assets/js/controllers.js": assets_js_controllers_js, - "assets/js/strutil.js": assets_js_strutil_js, - "assets/templates/index.html": assets_templates_index_html, + "assets/assets.go": assets_assets_go, + "assets/css/style.css": assets_css_style_css, + "assets/images/github.png": assets_images_github_png, + "assets/images/hog.png": assets_images_hog_png, + "assets/js/controllers.js": assets_js_controllers_js, + "assets/js/strutil.js": assets_js_strutil_js, + "assets/templates/index.html": assets_templates_index_html, "assets/templates/layout.html": assets_templates_layout_html, } @@ -308,73 +308,81 @@ func AssetDir(name string) ([]string, error) { } type _bintree_t struct { - Func func() (*asset, error) + Func func() (*asset, error) Children map[string]*_bintree_t } - var _bintree = &_bintree_t{nil, map[string]*_bintree_t{ "assets": &_bintree_t{nil, map[string]*_bintree_t{ - "assets.go": &_bintree_t{assets_assets_go, map[string]*_bintree_t{}}, + "assets.go": &_bintree_t{assets_assets_go, map[string]*_bintree_t{ + }}, "css": &_bintree_t{nil, map[string]*_bintree_t{ - "style.css": &_bintree_t{assets_css_style_css, map[string]*_bintree_t{}}, + "style.css": &_bintree_t{assets_css_style_css, map[string]*_bintree_t{ + }}, }}, "images": &_bintree_t{nil, map[string]*_bintree_t{ - "github.png": &_bintree_t{assets_images_github_png, map[string]*_bintree_t{}}, - "hog.png": &_bintree_t{assets_images_hog_png, map[string]*_bintree_t{}}, + "github.png": &_bintree_t{assets_images_github_png, map[string]*_bintree_t{ + }}, + "hog.png": &_bintree_t{assets_images_hog_png, map[string]*_bintree_t{ + }}, }}, "js": &_bintree_t{nil, map[string]*_bintree_t{ - "controllers.js": &_bintree_t{assets_js_controllers_js, map[string]*_bintree_t{}}, - "strutil.js": &_bintree_t{assets_js_strutil_js, map[string]*_bintree_t{}}, + "controllers.js": &_bintree_t{assets_js_controllers_js, map[string]*_bintree_t{ + }}, + "strutil.js": &_bintree_t{assets_js_strutil_js, map[string]*_bintree_t{ + }}, }}, "templates": &_bintree_t{nil, map[string]*_bintree_t{ - "index.html": &_bintree_t{assets_templates_index_html, map[string]*_bintree_t{}}, - "layout.html": &_bintree_t{assets_templates_layout_html, map[string]*_bintree_t{}}, + "index.html": &_bintree_t{assets_templates_index_html, map[string]*_bintree_t{ + }}, + "layout.html": &_bintree_t{assets_templates_layout_html, map[string]*_bintree_t{ + }}, }}, }}, }} // Restore an asset under the given directory func RestoreAsset(dir, name string) error { - data, err := Asset(name) - if err != nil { - return err - } - info, err := AssetInfo(name) - if err != nil { - return err - } - err = os.MkdirAll(_filePath(dir, path.Dir(name)), os.FileMode(0755)) - if err != nil { - return err - } - err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) - if err != nil { - return err - } - err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime()) - if err != nil { - return err - } - return nil + data, err := Asset(name) + if err != nil { + return err + } + info, err := AssetInfo(name) + if err != nil { + return err + } + err = os.MkdirAll(_filePath(dir, path.Dir(name)), os.FileMode(0755)) + if err != nil { + return err + } + err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) + if err != nil { + return err + } + err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime()) + if err != nil { + return err + } + return nil } // Restore assets under the given directory recursively func RestoreAssets(dir, name string) error { - children, err := AssetDir(name) - if err != nil { // File - return RestoreAsset(dir, name) - } else { // Dir - for _, child := range children { - err = RestoreAssets(dir, path.Join(name, child)) - if err != nil { - return err - } - } - } - return nil + children, err := AssetDir(name) + if err != nil { // File + return RestoreAsset(dir, name) + } else { // Dir + for _, child := range children { + err = RestoreAssets(dir, path.Join(name, child)) + if err != nil { + return err + } + } + } + return nil } func _filePath(dir, name string) string { - cannonicalName := strings.Replace(name, "\\", "/", -1) - return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...) + cannonicalName := strings.Replace(name, "\\", "/", -1) + return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...) } + diff --git a/assets/templates/index.html b/assets/templates/index.html index c280e7b..0c7e385 100644 --- a/assets/templates/index.html +++ b/assets/templates/index.html @@ -38,11 +38,11 @@ -