mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 19:21:03 +01:00
288 lines
430 KiB
Go
288 lines
430 KiB
Go
|
// Code generated by go-bindata.
|
||
|
// sources:
|
||
|
// assets/css/bootstrap.min.css
|
||
|
// assets/favicon.ico
|
||
|
// assets/js/jquery-2.1.1.js
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
package main
|
||
|
|
||
|
import (
|
||
|
"bytes"
|
||
|
"compress/gzip"
|
||
|
"fmt"
|
||
|
"io"
|
||
|
"io/ioutil"
|
||
|
"os"
|
||
|
"path/filepath"
|
||
|
"strings"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
||
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
||
|
if err != nil {
|
||
|
return nil, fmt.Errorf("Read %q: %v", name, err)
|
||
|
}
|
||
|
|
||
|
var buf bytes.Buffer
|
||
|
_, err = io.Copy(&buf, gz)
|
||
|
clErr := gz.Close()
|
||
|
|
||
|
if err != nil {
|
||
|
return nil, fmt.Errorf("Read %q: %v", name, err)
|
||
|
}
|
||
|
if clErr != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
|
||
|
return buf.Bytes(), nil
|
||
|
}
|
||
|
|
||
|
type asset struct {
|
||
|
bytes []byte
|
||
|
info os.FileInfo
|
||
|
}
|
||
|
|
||
|
type bindataFileInfo struct {
|
||
|
name string
|
||
|
size int64
|
||
|
mode os.FileMode
|
||
|
modTime time.Time
|
||
|
}
|
||
|
|
||
|
func (fi bindataFileInfo) Name() string {
|
||
|
return fi.name
|
||
|
}
|
||
|
func (fi bindataFileInfo) Size() int64 {
|
||
|
return fi.size
|
||
|
}
|
||
|
func (fi bindataFileInfo) Mode() os.FileMode {
|
||
|
return fi.mode
|
||
|
}
|
||
|
func (fi bindataFileInfo) ModTime() time.Time {
|
||
|
return fi.modTime
|
||
|
}
|
||
|
func (fi bindataFileInfo) IsDir() bool {
|
||
|
return false
|
||
|
}
|
||
|
func (fi bindataFileInfo) Sys() interface{} {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
var _assetsCssBootstrapMinCss = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xec\xbd\x5d\xb3\x23\xb9\x91\x18\xfa\x3c\x8a\xe8\xff\xc0\x6d\x85\x62\xba\xd5\x87\x9c\xe2\xf7\xe1\xe9\x98\x73\xed\xbb\x76\x78\x37\xc2\xda\x17\xeb\xc1\x11\xa3\xb9\x37\x8a\xac\xe2\x61\x69\x8a\x2c\xaa\xaa\xd8\x1f\xd2\xb5\x7f\xfb\xc5\x37\x32\x81\x04\x0a\xe4\x61\x8f\xe4\x8d\x75\x7b\x35\x3c\x85\xcc\x44\x22\x91\x48\x24\x12\x40\xe2\x87\xdf\xff\xd3\x9b\xdf\x8c\x7e\x3f\xfa\xbf\x9b\xa6\xef\xfa\x36\x3f\x8f\x3e\xcd\x27\xf3\xc9\x62\xf4\xee\xd0\xf7\xe7\xa7\x1f\x7e\x78\x29\xfb\xad\x2e\x9b\xec\x9a\xe3\x7b\x01\xfe\xcf\xcd\xf9\x6b\x5b\xbd\x1c\xfa\xd1\x2c\x9b\x4e\xc7\xec\x7f\x96\xa3\x3f\x7e\xae\xfa\xbe\x6c\x1f\x46\xff\x7a\xda\x4d\x04\xd4\x7f\xaf\x76\xe5\xa9\x2b\x8b\xd1\xe5\x54\x94\xed\xe8\x0f\xff\xfa\x47\x49\xb6\xe3\x74\xab\xfe\x70\xd9\x72\x8a\x3f\xf4\x9f\xb7\xdd\x0f\xa6\x92\x1f\xb6\x75\xb3\xfd\xe1\x98\x77\x8c\xd6\x0f\xff\xfd\x5f\xff\xf9\xbf\xfe\xdb\xff\xf8\xaf\xa2\xd2\x1f\x46\x8c\xd9\xd1\xa9\x69\x8f\x79\x5d\xfd\xb5\x9c\xec\xba\x8e\x33\x9b\x4d\x66\xa3\xff\x4f\xd0\x56\xd5\xb1\xbf\x18\xf1\x49\xd5\xfc\x60\x60\x19\xf2\x9b\xdf\x1c\xfa\x63\x3d\xfa\xdb\x9b\xdf\x7c\xb7\x6f\x4e\xfd\x78\x9f\x1f\xab\xfa\xeb\xd3\xa8\xcb\x4f\xdd\xb8\x2b\xdb\x6a\xff\x91\x15\x8d\x3f\x97\xdb\x5f\xaa\x7e\xdc\x97\x5f\xfa\x71\xc7\x30\xc7\x79\xf1\xe7\x4b\xd7\x3f\x8d\xa6\x59\xf6\x3b\x01\x71\xec\x02\xa5\x6f\x7e\xf3\xbf\xde\xfc\xe6\xcd\x6f\xb6\x4d\xf1\x55\x54\x73\xcc\xdb\x97\xea\xf4\x34\xca\x54\x41\xde\xf6\xd5\xae\x2e\x1f\x46\x79\x57\x15\xec\x3f\x45\xd9\xe7\x55\xdd\x3d\x8c\xf6\xd5\xcb\x2e\x3f\xf7\x55\x73\x12\xbf\x2f\x2d\x2b\xdc\x33\x71\x70\x59\x1e\xca\xbc\x10\xff\x7d\x69\x9b\xcb\xf9\x41\x90\xad\x18\xdc\xb1\x3c\x5d\x1e\x46\xa7\xfc\xd3\xc3\xa8\x2b\x77\x12\xb7\xbb\x1c\x59\x9d\xb2\xf2\xa2\xea\xce\x75\xce\xda\xc7\xa4\xb9\xfb\x45\x73\x70\x29\xaa\xe6\x61\xb4\xcb\x4f\x9f\x72\x56\xef\xb9\x6d\x5e\xda\xb2\x63\xbf\x3e\x31\x86\x1a\x8c\x57\x9d\xea\xea\x54\x8e\x05\x3a\x6f\xf7\xa7\x92\xb3\x9f\xd7\x63\x26\xd0\x17\xd6\xaa\x6d\xde\x95\x1c\x02\x92\x7e\x3a\x35\xfd\xe8\xdd\x4f\x3b\x26\xdf\xb6\xa9\xbb\x9f\x47\xef\x11\xc9\x53\x73\x2a\x39\xa9\x43\xc9\x35\xc7\x0a\xe6\xa7\x43\x55\x14\xe5\xe9\xe7\x87\x51\x5f\x1e\x19\x68\x5f\x8e\x3c\x3c\x5d\x8d\x28\xd9\xe6\xbb\x5f\xb8\x3c\x4e\xc5\x78\xd7\xd4\x4d\xfb\x34\x62\x8a\x73\xea\xce\x79\x5b\x9e\x7a\x0d\xf9\x94\x33\xb1\x7c\xe2\xe2\x7e\x3a\x34\x8c\x7b\x81\xd9\x5c\x7a\xce\x34\xe8\x94\xed\xb6\xfd\xa9\xaf\xfa\xba\xfc\x59\x92\x6e\x5a\x26\xef\xf1\xb6\xe9\xfb\xe6\xc8\xfa\xf5\xfc\x65\x54\xb0\xdf\x65\xa1\x7b\x97\x89\x99\x35\xee\xf4\x62\x35\xe9\xb3\x6a\xce\x3a\xd3\x44\x8b\xfd\xc9\x16\x77\xfd\xd7\x9a\x55\x58\xf5\x4c\x70\x3b\x05\x70\x98\x22\x0d\x99\xac\xd6\xe5\x71\x94\x7d\x34\x28\x4c\xb5\x9e\x46\xb3\xf2\xa8\xc0\x19\xdc\x2f\x02\x41\xb5\xf6\xb7\x59\x26\x80\xad\x1c\xd8\xb7\xfd\x5e\x57\xdf\x31\xa5\x07\x9a\x2e\xa9\x3d\x1a\x05\xed\x2e\xbc\x11\x97\xb3\x80\x38\x37\x5d\xc5\xb5\xe7\x69\xd4\x96\x4c\xf2\x4c\x60\x0e\x17\xeb\xa5\x50\x7b\xa1\x0c\xa6\xe3\x12\x14\x42\x57\xd0\x37\xe7\xa7\xd1\x78\xb2\x34\x8d\x61\xd5\x2b\x49\x4b\x11\x8f\x27\x33\x5b\x58\x1d\x5f\x40\x37\xd8\x6e\xea\x3e\xbd\x48\xe5\x7a\x6a\xd9\xc0\x90\x7a\xc5\x3b\x75\x5f\x37\x9f\x9f\x46\x52\x7f\x14\xa8\x1c\x41\x48\xbe\x53\x26\xdd\x45\x76\xfe\xa2\xa5\x2f\x75\x01\xb5\x46\x0f\xfc\x6d\xf3\x85\x37\xbc\x3a\xbd\x3c\x8d\xb8\x1e\x33\x85\xe2\xdf\xe4\xc8\x6f\xfe\x1a\x2b\x0f\x14\xa9\x4a\xcf\x8a\x27\xcb\x75\x7e\xe9\x1b\x55\xb8\x6b\xb8\x41\xf8\x65\x5b\xf0\x41\xc9\x7e\x75\xf9\xf1\xec\x9b\xaa\x63\x73\x6a\x98\x92\xef\x18\x80\xf9\xe9\xf4\xd6\xd4\x48\x72\x7b\x61\xe2\x65\x46\xa1\x3a\x9d\x2f\xfd\xc3\xa8\x39\xf7\xd2\x82\x30\x73\x51\x33\x83\xc1\xc7\xda\x97\x9e\x0d\x98\x1c\xdb\x2a\x4d\x8f\x1b\x80\x03\xb3\x8a\xfd\x47\xab\x76\xea\x0b\xaa\xc0\x69\xd3\xa7\xaa\xab\xb6\x75\xe9\xf0\x20\xab\x94\xea\xc0\x4d\xa7\x18\xad\x7b\x66\x9c\xd1\xd8\xd6\xd0\xc2\x4e\x0b\xb6\x7f\xea\xbf\x9e\xcb\x1f\xe5\xf7\x9f\x1f\xe0\x37\x66\xb6\xca\x1e\x7f\x62\x7a\x75\xac\x7a\x39\x8a\x75\x6f\xe6\xe7\x73\x99\xb3\xca\x76\x4c\x34\x92\x8c\x68\xce\xa5\xed\x78\x7b\xce\x4d\xc5\x7a\xa9\x45\xd5\xff\xc4\xac\x4e\xce\x5a\x50\xfc\x8c\x18\x31\x5f\xe5\x30\x54\x04\x8a\x72\x9f\x5f\x6a\x2c\x90\xa7\x27\xa1\x27\xfb\x66\x77\xe9\xc6\xd5\xe
|
||
|
|
||
|
func assetsCssBootstrapMinCssBytes() ([]byte, error) {
|
||
|
return bindataRead(
|
||
|
_assetsCssBootstrapMinCss,
|
||
|
"assets/css/bootstrap.min.css",
|
||
|
)
|
||
|
}
|
||
|
|
||
|
func assetsCssBootstrapMinCss() (*asset, error) {
|
||
|
bytes, err := assetsCssBootstrapMinCssBytes()
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
|
||
|
info := bindataFileInfo{name: "assets/css/bootstrap.min.css", size: 141513, mode: os.FileMode(438), modTime: time.Unix(1468779262, 0)}
|
||
|
a := &asset{bytes: bytes, info: info}
|
||
|
return a, nil
|
||
|
}
|
||
|
|
||
|
var _assetsFaviconIco = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xec\x9d\x07\x9c\x54\xe5\xb9\xff\xb7\x03\x76\x69\x4b\x13\x44\x40\x44\x40\xd9\x9d\x3e\xa7\xcc\x99\xba\x53\xb6\x21\x45\xb0\x20\x16\xec\x8a\xb8\x8d\xd8\x88\x4a\x92\x1b\x8d\xde\x24\x96\xa8\xa1\xec\x2e\xbb\x14\x73\x35\x16\xc4\x34\x4d\x6e\xee\x3f\xf1\xc6\x24\x9a\x44\xa3\x94\x65\x69\x26\xb9\xb9\xf7\x26\x37\xed\x26\xb9\x89\xfa\xfb\x3f\xcf\x3b\x8b\x51\xd8\x19\x66\x11\x9d\xb2\xcf\xf0\xf9\x7e\xb6\x70\x66\xf6\xcc\x99\xf3\x7b\xdf\xe7\x79\xdf\xa7\x14\x15\x15\xd3\x3f\x7e\x14\x17\x9d\x5e\x74\xd6\xe9\x65\x45\xa3\xe9\xfb\xb3\x92\xbf\x28\x2a\x2a\x49\xfe\x3e\xd5\xa3\xc6\xd4\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x82\x20\x08\x83\x81\xa8\xe9\x45\xd4\x70\x23\x6c\xf8\x70\x61\xb4\x0a\x9f\x5d\x36\xb9\x8f\xd3\x85\x41\xc2\xa7\xaf\x98\xac\xb8\x63\xc9\x54\xdc\x34\x7f\x06\x16\xc5\xaa\xe8\x7e\x70\x23\xa2\xf9\xe9\xde\xd0\x09\x2f\x62\xba\x89\xb0\x4f\x43\xc4\xe7\x42\xd4\x97\xfd\xfb\x56\x38\x46\xf8\xe8\xf3\xa5\xaf\xf3\x03\x2e\x3c\xb6\x62\x22\xda\x9b\x2b\x15\x1d\x2d\xa3\x85\x41\xc3\x18\xc5\x86\x95\xa7\x62\x3d\x7d\xed\xa4\xcf\xff\xe1\x1b\x26\x62\xc5\x85\xd3\xb1\xb0\xa6\x1a\x41\xd2\x7c\xd8\xaf\x23\x46\x73\x45\x8c\xc6\x82\xac\xdf\xb3\xc2\x31\x23\x62\xea\x08\x13\xab\x68\xec\xdf\xdc\x7a\x12\x3a\x5a\x47\x29\x3a\x85\xc1\x43\xcb\xc8\x24\xcd\xe3\xd0\xdd\x34\x86\xc6\x80\xe4\xb8\xb0\x79\xe5\x89\x58\x7b\xf3\x38\x7c\x72\xe9\x4c\x2c\x0e\xd9\x10\xa4\xfb\x24\x6a\x19\x34\x67\x78\xb2\x7e\xdf\x0a\xc7\x08\x1f\x8d\xe9\x96\x86\x0d\x6d\x3c\x07\x4c\xc0\x86\x96\x51\xc2\x60\xa3\x75\xb4\x42\x8d\xfd\x2b\x47\xa8\xf9\xbf\x9b\x7e\x5e\x4b\xf7\x43\x3b\x7d\xdd\xb8\x72\x38\x1e\x5e\x31\x1e\x37\x2e\x9c\x85\x3a\x2f\xcf\xff\x46\xf6\xef\x5b\xe1\xd8\x60\x79\xd0\x18\xf2\xa0\x5b\x8d\xff\x64\x03\xd2\x67\xaf\xa0\xf1\x5f\x18\x1c\x74\xb6\x54\x2a\xba\xf9\xf3\xa7\xf9\xbf\x83\x34\xdf\x4e\xbf\xdf\xd8\x3a\x92\xee\x05\x1a\x13\x9a\xc6\xd2\x78\x40\x76\x02\x8d\x0d\x9f\xba\x62\x1a\x1a\xfd\x4e\xf2\x09\x74\xd4\x90\x2f\x10\x21\x5b\x20\x9c\xed\x7b\x58\x38\x7a\xe8\xf3\x9b\x17\x71\xa1\x2b\x07\xee\x43\x21\xb7\x59\xc7\x5f\x57\x8e\xc2\x17\x96\x4f\xc4\xf9\x21\x07\x82\x34\x77\xc4\x69\x0c\x88\x5a\xe2\x0f\xe4\x2b\x3c\x7e\x2f\xaa\x71\x66\xfd\xde\x12\x72\x9f\xf6\x96\x31\x34\x4f\x0c\xc7\x46\xf2\x19\x1e\x59\x31\x8e\xee\x9b\x2a\x04\xc9\x17\x88\x19\x7a\xd6\xef\x63\xe1\x68\xf5\xef\xc5\xa2\x48\x75\xd6\xef\x2d\x21\xf7\xe9\x64\x9a\xc7\x92\x1d\x50\x89\x8d\xe4\x2b\x7c\xe9\x66\x1a\x03\x22\x36\x44\x4c\x77\xd6\xef\x63\xe1\x68\xf5\xaf\xa9\x71\x3c\xdb\xf7\x96\x90\xfb\xb0\x8f\xd8\x4e\x73\x3f\xaf\x05\xb4\xb7\x8e\x40\x77\xf3\x68\x3c\xb2\x7c\x02\xea\x03\x6e\x1a\x03\x34\x44\x69\x2e\xe1\xfd\x24\x8e\x29\xc9\xf6\x7d\x2d\x64\x08\xd9\xff\xe7\x47\xed\x59\xbf\xb7\x84\xfc\xa3\x5d\xed\x13\x8c\xc2\x3f\x5d\x7d\x06\xdd\x4b\x6e\xc4\x48\xfb\x35\x6a\x2d\x40\xf4\x9f\x37\x88\xfe\x85\xa3\xa4\x9d\xb4\xbf\x91\xc7\x80\xb6\x53\xf1\x89\x25\xd3\x11\xd6\x7c\x88\x93\x0d\x10\xf6\xc9\xfe\x60\xde\x20\xfa\x17\x8e\x92\xce\xb6\x11\x6a\xdf\xb0\x8b\x69\x1d\x89\x2b\xea\xab\x10\xd5\x0d\x44\x24\x46\x30\x7f\x10\xfd\x0b\x47\x49\xe7\xcd\x63\xb0\xbe\x6d\x24\xd6\xaf\x1c\x81\xae\xe6\xb1\x78\xa4\x69\x1c\x62\x21\x1b\x12\x66\x32\xa6\x3c\xeb\xf7\xb6\x20\xfa\x17\x3e\x36\x78\x7d\x70\xd5\xa5\xd3\xe0\x27\x1b\x20\xda\x17\x1b\x94\xf5\xfb\x5b\x10\xfd\x0b\x1f\x0b\x5d\xcd\x95\xd8\xf4\x89\x11\x58\x12\xb7\x21\xe2\xd7\x10\xf7\xc9\xbe\x60\xce\x23\xfa\x17\x8e\x11\x9d\x2d\xa3\x54\x0c\xf9\x63\x37\x8e\x47\xdc\xb0\x21\xa6\xcb\x3a\x60\xce\x23\xfa\x17\x8e\x11\x1d\xcd\xf4\x75\x25\xe7\x12\x8e\xc5\xe5\xe
|
||
|
|
||
|
func assetsFaviconIcoBytes() ([]byte, error) {
|
||
|
return bindataRead(
|
||
|
_assetsFaviconIco,
|
||
|
"assets/favicon.ico",
|
||
|
)
|
||
|
}
|
||
|
|
||
|
func assetsFaviconIco() (*asset, error) {
|
||
|
bytes, err := assetsFaviconIcoBytes()
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
|
||
|
info := bindataFileInfo{name: "assets/favicon.ico", size: 270398, mode: os.FileMode(438), modTime: time.Unix(1473656191, 0)}
|
||
|
a := &asset{bytes: bytes, info: info}
|
||
|
return a, nil
|
||
|
}
|
||
|
|
||
|
var _assetsJsJquery211Js = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xcc\xbd\x7b\x7f\xdb\xc6\xb5\x28\xfa\xb7\xfa\xfb\xf9\x3b\x40\x74\x76\x0d\x5a\x24\x25\xd9\x71\x9a\x50\x96\x75\x1d\xdb\x69\x75\x4e\xfc\x68\xec\x34\xfb\x5e\x49\x69\x20\x12\x94\x60\x53\x00\x43\x90\x96\xd5\x48\xfd\xec\x77\x3d\x67\xd6\x0c\x40\x49\x4e\xdb\x7d\x4e\xcf\xd9\x31\x05\x0c\xe6\xb1\x66\xcd\x9a\xf5\x5e\x9b\xf7\xd7\xef\xfc\x21\xb9\x9f\xbc\xff\xeb\x32\x9f\x5f\x24\xff\x2b\xfb\x98\xbd\x1d\xcd\x8b\xd9\x22\xf9\xbe\x38\x9e\x67\xf0\xe8\xe3\x83\xc1\xf6\x60\x9b\x1a\x9d\x2e\x16\xb3\xe1\xe6\xe6\xfb\x5f\xb1\xed\x60\x54\x9d\x6d\xe2\x63\x7a\xb5\x5f\x8e\xa6\xcb\x71\x5e\x27\x6f\x8b\x7f\xfc\x63\x9a\x0f\xde\xd7\xf6\x8b\x9a\x1e\xbe\xaf\xc3\x6f\x9e\x55\xb3\x8b\x79\x71\x72\xba\x48\x1e\x6c\x6d\x3d\xea\xc1\x7f\xb7\xbf\xd4\x89\x7c\x57\x2d\xcb\x71\xb6\x28\xaa\xb2\x87\x7d\x0f\x92\xac\x1c\x27\xd5\xe2\x34\x9f\x27\xa3\xaa\x5c\xcc\x8b\xe3\xe5\xa2\x9a\xf3\x20\x3f\xe4\xd3\x3c\xab\xf3\x71\x02\x9f\xc0\x7b\x68\x94\xbc\xdc\x7f\x97\x4c\x8b\x51\x5e\xd6\x79\xcb\xcc\xab\xf9\xc9\xa6\x79\x4b\x2d\x9e\x67\x8b\x7c\x48\x53\xe8\x6f\x3d\xea\x6f\x6d\xbf\xdb\xfe\xd3\x70\x7b\xfb\xff\xc3\x77\x30\xe3\x3b\x7f\x48\x27\xcb\x72\x84\xf3\x49\x93\x93\x69\x75\x9c\x4d\x7b\xc9\x24\x1b\xc1\x1c\x2e\x92\x6e\xf2\x1b\xb6\x58\x2b\x26\x49\x9a\x2c\x2e\x66\x79\x35\x49\xce\xaa\xf1\x72\x9a\x27\xbb\xbb\xbb\x49\xa7\x3a\x7e\x9f\x8f\x16\x9d\xe4\x8f\x7f\x0c\xdf\x0e\xf2\x4f\xb3\x6a\xbe\xa8\xc3\x56\xd4\xdb\xda\xda\xe6\x26\xc0\x60\x0e\x30\x3a\x3b\xab\xca\xff\xf5\x96\xd6\xaf\x7f\xf4\xa7\xc5\x87\x3c\xc9\xcb\x8f\xc5\xbc\x2a\xcf\xf2\x12\xba\x38\x07\xc8\xe4\x49\x96\xcc\xe6\xd5\x0c\x60\x70\x5e\x94\xe3\xea\x3c\x29\x6a\x78\x90\xd7\xd0\xa2\x27\x7d\xe6\x9f\xf2\xd1\x72\x91\x13\x90\x74\xfe\xd8\xf5\x49\xbe\x10\xd0\x9b\xc1\x83\x11\x16\xa7\xd9\x22\x19\x57\x49\x59\x2d\x92\xa2\xc4\xe1\xca\xc5\xf4\x22\x99\x55\x75\x0d\xdb\x9e\xe9\x90\xe7\xc5\xe2\x14\xfe\x1a\x57\xa3\x25\x7e\x27\xbd\xa5\xf5\x72\x04\x8f\xeb\xe4\x55\x35\x46\xe4\xe8\xf6\x12\x5c\x7c\x8d\x53\xe6\x61\xfb\x67\xd9\x87\xa2\x3c\xf1\x93\xaa\x23\x28\x49\x4f\xef\x4e\x61\x51\xd9\x08\x36\x6f\xb1\x84\x2d\xab\x69\x25\x65\x0e\xbb\x3f\xa9\x78\xef\x47\xf3\x9c\x10\x27\x01\x40\x67\x09\xfc\x31\x95\xb9\x29\x08\x06\x27\x83\xe4\x63\x36\x57\x54\xdb\x85\x36\xbf\x2e\x8b\x79\x9e\x76\x18\x3f\x3a\xdd\x94\x3f\xe8\xee\xc8\x27\x6f\x73\x80\x58\x31\xfa\x00\x40\xba\xbb\xfd\xe5\xa3\x2f\xbf\xa1\xc1\xce\x2a\x00\x79\x51\x4e\x2a\x6c\x15\x6f\xa9\x60\xc9\x40\x01\x91\xec\x61\xab\x35\x59\x9e\x47\xa2\xc5\x7c\x99\xc3\x9e\x0f\xf9\xad\xc3\xb1\x73\xc5\x83\x35\x46\xab\xf5\x73\xdf\x93\x7b\xb3\xb6\x38\x9d\x03\xc8\xcb\xfc\x3c\x79\x31\x9f\x57\xf3\x34\xe9\xc8\x9a\x64\x45\xab\xf7\x05\xf0\x6c\x87\x3b\xb9\xe2\x7f\xe6\xf9\x62\x39\x2f\x13\x37\xbf\x73\x6d\x70\x85\xff\x5c\x25\xf9\x14\x36\x8b\xc6\x8d\x96\xc0\xed\xae\xf0\x04\x00\xa4\xde\x64\x35\x6e\x09\xec\x11\x4c\xdb\x63\x21\x22\xcd\x38\x9f\x14\x25\xec\xd3\x45\x0e\x58\x71\x95\xca\x51\x90\x36\xeb\x78\x04\xf0\xfc\x52\x9b\x4e\xb2\xa7\x2f\x86\xd4\x1b\x1c\x36\x0f\x1a\x7a\xd1\x83\x3e\xff\x2c\x13\xe0\xf3\x07\xa3\x3f\xcb\xca\x7b\x84\xa4\x34\x83\xe3\x7c\x94\x2d\x61\xd6\x75\xfe\x31\x9f\x43\xbb\x6c\x36\x83\x69\x11\xa1\x42\x4c\x7b\xfa\xf6\xcd\xe0\xd5\x8b\x77\xb0\x03\xd9\x28\xa7\xcf\x11\x7b\xea\x45\x36\xfa\x90\x7c\x2c\xb2\x24\x9b\x9f\x10\xa8\x80\x6a\x65\xd3\x69\x3e\xe7\x7f\x72\x3a\x2e\xdf\x01\x70\x27\xd5\xa7\x64\x5c\xe4\xb8\x52\xfa\xfa\xa2\x5a\x42\x5f\x17\xc9\xa2\xe2\x2e\x13\xdc\x9d\xe5\xc9\x29\xac\x0b\x27\x01\x34\x0b\x8f\x37\x76\x92\x8c\x4e\xb3\xa2\xac\x07\x49\x7a\x77\xfb\xe1\xc3\x87\x8f\xba\xf4\xfd\xdb\xe5\x0c\x71\x67\xe8\x3a\xdf\xfe\x7a\x03\x5f\xe0\xda\x10\x5d\xb3\xf9\x1c\xd0\xea\xe0\x68\x47\x1f\xd4\x48\xc3\xe0\x11\xbc\x18\xd0\x6f\xf7\x06\x48\xe4\x08\x4e\x2b\xbf\xe2\x3f\xdc\xbb\xd9\xb2\x3e\x95\x37\xf8\xd3\x3d\x07\xa8\xe6\x9f\x5e\x4f\xe4\x95\xfc\xe5\x7b\x9c\xc2\xc6\x3e\xc0\x3d\x83\x06\xbf\x5d\xb9\xe7\x8b\xea\x2d\x2c\x0c\xa0\xb9\x6b\x9a\x0c\xf4\xa9\x6b\x76\x9a\xd5\xaf\xcf\xcb\xb0\x11\x3f\x7b\x43\x04\x6b\x71\xe1\x57\xc5\x60\xf0\xc3\xc8\x0b\x40\x32\x00\xd2\x8f\x35\xd3\xae\x51\x35\x9f\x03\xb9\x74\xf8\x8c\x24\xa1\x9a\xe3\xbe\x02\x4d\x22\x5c\x17\xfc\xd1\x5d\x04\x12\x04\x1b\x77\x5c\x7d\x02\x60\xaf\xb9\xaf\x76\xa5
|
||
|
|
||
|
func assetsJsJquery211JsBytes() ([]byte, error) {
|
||
|
return bindataRead(
|
||
|
_assetsJsJquery211Js,
|
||
|
"assets/js/jquery-2.1.1.js",
|
||
|
)
|
||
|
}
|
||
|
|
||
|
func assetsJsJquery211Js() (*asset, error) {
|
||
|
bytes, err := assetsJsJquery211JsBytes()
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
|
||
|
info := bindataFileInfo{name: "assets/js/jquery-2.1.1.js", size: 256541, mode: os.FileMode(438), modTime: time.Unix(1468319851, 0)}
|
||
|
a := &asset{bytes: bytes, info: info}
|
||
|
return a, nil
|
||
|
}
|
||
|
|
||
|
// Asset loads and returns the asset for the given name.
|
||
|
// It returns an error if the asset could not be found or
|
||
|
// could not be loaded.
|
||
|
func Asset(name string) ([]byte, error) {
|
||
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
||
|
if f, ok := _bindata[cannonicalName]; ok {
|
||
|
a, err := f()
|
||
|
if err != nil {
|
||
|
return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
|
||
|
}
|
||
|
return a.bytes, nil
|
||
|
}
|
||
|
return nil, fmt.Errorf("Asset %s not found", name)
|
||
|
}
|
||
|
|
||
|
// MustAsset is like Asset but panics when Asset would return an error.
|
||
|
// It simplifies safe initialization of global variables.
|
||
|
func MustAsset(name string) []byte {
|
||
|
a, err := Asset(name)
|
||
|
if err != nil {
|
||
|
panic("asset: Asset(" + name + "): " + err.Error())
|
||
|
}
|
||
|
|
||
|
return a
|
||
|
}
|
||
|
|
||
|
// AssetInfo loads and returns the asset info for the given name.
|
||
|
// It returns an error if the asset could not be found or
|
||
|
// could not be loaded.
|
||
|
func AssetInfo(name string) (os.FileInfo, error) {
|
||
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
||
|
if f, ok := _bindata[cannonicalName]; ok {
|
||
|
a, err := f()
|
||
|
if err != nil {
|
||
|
return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
|
||
|
}
|
||
|
return a.info, nil
|
||
|
}
|
||
|
return nil, fmt.Errorf("AssetInfo %s not found", name)
|
||
|
}
|
||
|
|
||
|
// AssetNames returns the names of the assets.
|
||
|
func AssetNames() []string {
|
||
|
names := make([]string, 0, len(_bindata))
|
||
|
for name := range _bindata {
|
||
|
names = append(names, name)
|
||
|
}
|
||
|
return names
|
||
|
}
|
||
|
|
||
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
||
|
var _bindata = map[string]func() (*asset, error){
|
||
|
"assets/css/bootstrap.min.css": assetsCssBootstrapMinCss,
|
||
|
"assets/favicon.ico": assetsFaviconIco,
|
||
|
"assets/js/jquery-2.1.1.js": assetsJsJquery211Js,
|
||
|
}
|
||
|
|
||
|
// AssetDir returns the file names below a certain
|
||
|
// directory embedded in the file by go-bindata.
|
||
|
// For example if you run go-bindata on data/... and data contains the
|
||
|
// following hierarchy:
|
||
|
// data/
|
||
|
// foo.txt
|
||
|
// img/
|
||
|
// a.png
|
||
|
// b.png
|
||
|
// then AssetDir("data") would return []string{"foo.txt", "img"}
|
||
|
// AssetDir("data/img") would return []string{"a.png", "b.png"}
|
||
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
|
||
|
// AssetDir("") will return []string{"data"}.
|
||
|
func AssetDir(name string) ([]string, error) {
|
||
|
node := _bintree
|
||
|
if len(name) != 0 {
|
||
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
||
|
pathList := strings.Split(cannonicalName, "/")
|
||
|
for _, p := range pathList {
|
||
|
node = node.Children[p]
|
||
|
if node == nil {
|
||
|
return nil, fmt.Errorf("Asset %s not found", name)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
if node.Func != nil {
|
||
|
return nil, fmt.Errorf("Asset %s not found", name)
|
||
|
}
|
||
|
rv := make([]string, 0, len(node.Children))
|
||
|
for childName := range node.Children {
|
||
|
rv = append(rv, childName)
|
||
|
}
|
||
|
return rv, nil
|
||
|
}
|
||
|
|
||
|
type bintree struct {
|
||
|
Func func() (*asset, error)
|
||
|
Children map[string]*bintree
|
||
|
}
|
||
|
|
||
|
var _bintree = &bintree{nil, map[string]*bintree{
|
||
|
"assets": {nil, map[string]*bintree{
|
||
|
"css": {nil, map[string]*bintree{
|
||
|
"bootstrap.min.css": {assetsCssBootstrapMinCss, map[string]*bintree{}},
|
||
|
}},
|
||
|
"favicon.ico": {assetsFaviconIco, map[string]*bintree{}},
|
||
|
"js": {nil, map[string]*bintree{
|
||
|
"jquery-2.1.1.js": {assetsJsJquery211Js, map[string]*bintree{}},
|
||
|
}},
|
||
|
}},
|
||
|
}}
|
||
|
|
||
|
// RestoreAsset restores 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, filepath.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
|
||
|
}
|
||
|
|
||
|
// RestoreAssets restores an asset under the given directory recursively
|
||
|
func RestoreAssets(dir, name string) error {
|
||
|
children, err := AssetDir(name)
|
||
|
// File
|
||
|
if err != nil {
|
||
|
return RestoreAsset(dir, name)
|
||
|
}
|
||
|
// Dir
|
||
|
for _, child := range children {
|
||
|
err = RestoreAssets(dir, filepath.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, "/")...)...)
|
||
|
}
|