ots/assets.go

284 lines
21 KiB
Go
Raw Normal View History

// Code generated by go-bindata.
// sources:
// frontend/application.coffee
// frontend/application.js
// frontend/index.html
// 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 _frontendApplicationCoffee = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x55\x5d\x6f\xdb\x3a\x0c\x7d\xd7\xaf\xe0\x4d\x0a\xc8\x06\x72\xdd\xb4\xb7\x77\x0f\x01\x3c\x60\xeb\xbe\x1e\xda\x62\x68\x37\xec\x61\x28\x06\xc5\xa2\x63\xb5\x8e\x64\x48\xf4\xd2\xa1\xcd\x7f\x1f\x64\xd9\x8e\x93\xa6\x45\x9b\x97\x58\x3c\x24\x45\x9f\x43\xd2\x0e\xb3\xda\xe2\x57\xe1\xdc\xca\x58\x09\x29\xe8\xba\x2c\x19\xcb\x2c\x0a\xc2\x2b\xcc\x2c\x12\xa4\x10\xc5\xf0\xef\x5b\x06\xe0\x3a\xc3\x41\xc4\xc7\xb9\xb1\xcb\xd3\x81\x1f\x8f\x93\x5c\x69\x19\x71\xc2\x3b\x12\x16\x05\x8f\x93\xdf\xa2\x8c\x62\xc6\x00\x54\xde\xc4\xe0\x1d\x59\x6f\xaf\xac\xa9\x80\x67\x05\x66\xb7\x28\x39\x03\x68\x72\x6f\x57\x72\x2e\xa8\x48\xac\xd0\xd2\x2c\xa3\x38\x21\x73\x45\x56\xe9\x45\xf4\xdf\x9b\x38\x71\xf5\xdc\x85\xd3\x71\xdc\x05\x87\xc2\x3e\xab\xf9\x1c\xad\x72\xc5\xbb\x8f\x57\x09\xea\x2c\x0a\xc8\x64\x27\x7d\x53\xd3\x41\x22\x6e\xc4\x1d\x70\x51\xa9\xc3\xf0\xc2\x7c\xd2\x64\x93\x82\xc4\xac\x79\xea\x32\xcf\xda\xff\x1e\xfe\xf6\xa7\xc2\x19\x8c\x6e\x9c\xd1\xa3\x50\x01\x09\xaa\xdd\xa9\x91\xd8\x45\x1e\x4f\x8f\xba\xb0\x40\x93\x6c\x81\x93\xe9\x74\x06\xce\x2c\x91\x0a\xa5\x17\x3f\xac\xd1\x8b\x16\xf9\xff\x49\xe4\x64\x7a\x32\xeb\x65\x08\xbf\x31\x9c\x9b\xec\x16\x72\x63\x41\x69\x42\x9b\x8b\x0c\x81\xd0\x91\xea\xa3\x60\xef\xfd\x1b\xfb\x2f\x25\x67\xc0\x73\x63\xe6\xc2\x72\x4f\x49\x2e\x4a\x87\x8c\xf9\x37\xbc\x30\xf4\xc9\xd4\x5a\x0e\xe4\xf7\x0a\x6a\x43\xb9\x37\xf3\x38\x71\x85\x59\x79\x75\x0b\xe1\x8a\x33\x23\x86\x9e\xde\x04\x29\xac\x94\x96\x66\x95\x94\x26\x13\xa4\x8c\x4e\xbc\x39\x34\x83\x7f\x4a\x4a\xd4\x0b\x2a\x20\x4d\x61\xda\x94\x66\x91\x6a\xab\x7d\x1d\x95\xb0\xe4\x20\x0d\x6e\xae\x2a\x15\x01\x7f\xe0\x21\xb4\xc1\x06\xb1\xc7\x4d\x6c\x7b\x63\x03\xfe\x9c\x5e\xef\x6f\xa9\x80\x1e\x5d\x37\x1d\x29\xfb\xfc\x7d\x37\x1d\xc5\x9b\xb6\x18\xf9\xb6\x58\x20\x1d\x8e\xef\x95\x5c\x8f\x26\xaf\x91\xbe\x51\x6b\x48\x62\xdf\x12\x5e\xdf\xc2\xac\x3e\x08\x12\x8c\x29\xad\xe8\xbd\xd2\xd2\xed\x70\xbc\x67\xb2\xe6\x4a\x4b\xe0\xae\x9e\x2f\x15\xf1\x09\x0c\xe7\xb3\x13\x06\x57\x3b\xde\x59\xa9\xb2\x5b\x3e\x81\x1e\x69\x3c\x83\x26\x9d\x8f\x27\x20\x2b\x84\x5e\x20\x9f\x40\x27\x24\x63\x7d\xc8\xa0\xb2\x8d\x8a\x16\x73\x48\xb7\xcf\x41\xa4\x88\x8f\x79\x1c\xd8\x6f\x3b\x69\xab\xff\x7c\x32\xcf\xca\xd6\x36\xf9\x12\x84\xf3\xf6\xa4\xef\xca\xa0\xf4\x8e\x7e\xff\xb4\xdb\x69\xd3\xbf\x6d\xec\x68\x7c\xbf\x39\xaf\x1f\x9a\xd3\x20\x70\xed\x65\xaa\x6d\x19\x3c\x9f\x29\x7b\x3d\xde\x4a\x34\x62\x2d\xb5\x95\xd0\x58\x5e\x0c\xf8\x2d\x94\xc4\x28\x1e\xa2\x01\xfa\x7e\x79\xb6\x99\x8b\x27\xd0\xb0\x23\x95\xae\x6a\x0a\x0b\xd2\x97\xf6\x32\xe7\xdc\x64\xb5\x7b\x69\x66\x87\x25\x66\xe4\xe7\xb3\x6b\xb8\xbd\xf4\x43\x0a\x43\xee\x5f\x48\xfc\xee\xa6\x95\xf8\xfc\xa6\x7d\x3d\x89\x8f\xd1\x4b\x14\xb2\x0f\x7e\xcc\xf1\x16\xbc\xef\x43\xd4\xad\x70\xb6\xbd\x60\x77\x66\xaf\x07\x57\x1e\x1c\x6c\x39\x76\x10\x9c\xfa\xa1\x6d\xae\xef\x46\x26\x8a\xd9\xdf\x00\x00\x00\xff\xff\xee\xd9\xc9\x0f\x4b\x07\x00\x00")
func frontendApplicationCoffeeBytes() ([]byte, error) {
return bindataRead(
_frontendApplicationCoffee,
"frontend/application.coffee",
)
}
func frontendApplicationCoffee() (*asset, error) {
bytes, err := frontendApplicationCoffeeBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "frontend/application.coffee", size: 1867, mode: os.FileMode(436), modTime: time.Unix(1501782248, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _frontendApplicationJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x56\x5f\x6f\xdb\x36\x10\x7f\xf7\xa7\xb8\x39\x01\x44\xa1\x82\x62\x67\xd9\x1e\x6c\xe8\x61\xcb\xb6\xf6\xa1\x2b\x86\x66\xc3\x1e\x86\x62\xa0\xc5\x93\xc5\x56\x21\x05\x92\xaa\x53\xb4\xfe\xee\x03\x49\x51\xa2\x54\xa5\xe9\xea\x07\x0b\xe4\xfd\xee\x8f\xee\x7e\x77\xa7\xab\x2b\x78\x8e\x02\x15\x35\xc8\xe0\xf0\x01\x6e\x65\x55\x21\xde\x95\x8a\xb7\x06\xb6\xf9\xf6\x3a\xbf\x59\x91\xaa\x13\xa5\xe1\x52\x90\x14\x3e\xae\x00\xde\x53\x05\xa5\x42\x6a\xf0\x0e\x4b\x85\x26\x03\x46\x0d\x7d\x25\xcd\x6f\xb2\x13\x2c\x83\x9a\xea\xfa\xa5\xa4\x2c\x03\x2e\xb8\xf9\x99\x0b\xa6\x33\x10\x78\x0a\x68\xed\x9e\xb7\xce\x02\x73\xc7\x4e\xe1\x1f\x54\xeb\x93\x54\xf6\x5c\xcb\xd3\x2f\xd4\xd0\x0c\xb4\xbc\x47\x53\x73\x71\xfc\x5b\x49\x71\xdc\xaf\x56\x30\x03\x43\x01\xa2\x6b\x1a\x27\x89\x23\x82\x02\x66\x31\xfb\xa8\xbd\xe7\xbd\x3b\xeb\x80\xbc\x24\xc9\x45\x25\xd5\xfd\x6d\x64\x20\x49\xf3\x8a\x0b\x46\x12\x83\x0f\x86\x2a\xa4\x49\x9a\xbf\xa7\x0d\x49\xbd\x2e\xaf\x80\x58\x35\x7c\x30\xca\x8a\x5a\x25\x5b\x92\x94\x35\x96\xef\x90\x25\x69\x70\xb9\x10\xee\xef\xd4\xd4\xb9\xa2\x82\xc9\x7b\x92\xe6\x46\xde\x19\xc5\xc5\x91\x7c\xff\x63\x9a\xeb\xee\xa0\xfd\xe9\xba\x77\x13\x05\xf9\x9c\x1f\x0e\xa8\xb8\xae\x7f\xfa\xf5\x2e\x47\x51\x12\x3d\x26\x33\xf2\xd0\x2b\x9e\xdd\xff\x65\x4e\xdf\xd2\x07\x92\xd0\x96\x5f\xf9\xec\x24\xd9\x10\x99\x2d\xd9\x6e\x38\x05\x4f\xbb\xfe\xd9\x5f\x9f\xb3\x08\xfd\xe7\x87\x16\x77\xb0\x7e\xab\xa5\x58\x87\x7b\x6d\xa8\xe9\xf4\xad\x64\x18\xdb\xba\xde\x6c\x77\xb3\x2a\x0f\xb2\x9b\xcd\x66\x37\x2b\xec\x28\xfc\xe1\x4b\xc2\x9b\xcd\xcd\xee\xf3\xb2\xfa\x9f\x42\xd3\x29\x31\xf5\x49\x62\x40\x78\xc1\x7f\x39\xdb\x41\x52\x49\x79\xa0\x2a\x89\xe4\xe7\x21\xe5\x21\x7b\xe1\x19\x24\xbd\x8b\x8a\x36\x1a\xed\xcd\xd9\xb1\x2e\x66\xfe\x12\xeb\x7a\x2d\x4b\x16\x21\x4d\x65\x61\x49\x9a\x5b\x8a\x7b\x2e\x79\x2b\xa1\x63\x1e\xe3\xad\x95\x67\xc0\x59\x06\x2d\x55\x46\xfb\x80\xec\x25\x14\x70\xe2\x82\xc9\x53\xde\xc8\x92\x5a\xbd\xdc\x5e\x8f\x2c\xb5\xa7\xbc\x41\x71\x34\x35\x14\x45\x01\x9b\x31\x6f\x3e\xb4\x98\x30\xce\x38\x14\xce\x72\xae\xdb\x86\x1b\x92\x7c\x4a\x22\xce\x3b\x40\x6c\xee\x7a\x34\xd7\x87\xe3\x20\xff\x6c\xde\xec\x1f\xeb\x00\x0f\xd8\xbe\x89\x1d\x73\x36\x78\x1d\x9a\x60\x3b\xcd\x7b\x4f\xe6\xb5\x25\xf3\x11\xcd\xd5\x1a\x9e\xb9\x84\x7c\xfc\x26\x86\x3a\x2e\x4d\xa6\x56\x44\x5e\xcb\xc1\x7e\x06\x2d\x30\xc1\x57\x6c\x98\x6c\x4b\x25\x7b\x64\xa2\x1c\xdc\x44\xd1\xdd\xe1\x9e\x9b\x24\x9b\x0c\xac\xfe\x5d\x1d\x4d\xc2\xa0\x1c\x34\xca\x86\x97\xef\x92\x68\x84\xce\x32\x43\x3c\x05\x02\xdc\xe6\xb1\xac\xa9\x38\xda\x76\x0f\xcc\x8a\x42\x1f\xcc\x2c\x85\x3e\xd2\x48\x61\x05\xc5\xf4\x1c\x38\x71\x91\xa4\x43\x85\x97\xdb\x62\xd2\x88\xb1\x1f\x9b\xf3\xcf\x27\xf2\x0b\xc7\xef\x4e\x35\xf1\x68\x7e\xe1\x09\x65\x35\xf2\xa1\x79\x47\x2e\xce\x88\xf5\x5d\xe1\x77\xc1\x64\xf6\x8e\x56\xa2\xc3\x33\x58\x7f\xb2\xec\x99\x1a\x88\xe9\xd8\xa9\x06\x0a\x20\x5f\x78\xf7\xd4\x5a\xb9\xe8\xad\xf4\x86\xc7\x12\xb6\x54\x60\xf3\x2a\xaa\x63\xcd\x19\x92\x74\x06\xf0\xd2\xbf\x5e\xbf\x9c\x0c\x84\x47\x00\x7e\x1b\x71\xd1\x76\xa6\x5f\x45\x9d\x6a\xbe\x5e\xa1\x92\x65\xa7\xc9\x9c\x37\x4f\xaa\x69\x6c\xb0\x34\xf1\xa4\x0a\x8d\xf1\x74\x4d\x67\x5b\x36\x2a\xe3\xff\xae\xe1\x7c\xff\x31\xfc\xba\xfd\xf7\x4d\xa5\x58\x04\xbc\x46\xca\x06\x13\x71\xb1\xe6\xb9\x9c\x00\x17\x3f\x21\xf4\xd8\xc2\x7d\x4a\x27\xfb\xee\x89\x25\x32\x80\x4f\x16\xbc\xb0\x4a\x2e\xe7\x5f\x6b\xd1\xac\x9a\x05\x1d\x66\x43\xaf\x9e\xee\x57\xab\x73\x9a\x97\xb4\x69\x88\xa9\xb9\x4e\xf7\xab\xff\x02\x00\x00\xff\xff\x95\x08\x8a\x8c\x1e\x0a\x00\x00")
func frontendApplicationJsBytes() ([]byte, error) {
return bindataRead(
_frontendApplicationJs,
"frontend/application.js",
)
}
func frontendApplicationJs() (*asset, error) {
bytes, err := frontendApplicationJsBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "frontend/application.js", size: 2590, mode: os.FileMode(436), modTime: time.Unix(1501782251, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _frontendIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x58\x6b\x53\xdc\xb8\x12\xfd\x4c\x7e\x45\xe3\x54\xdd\xec\x66\xb1\xcd\x30\x01\x12\xe2\x99\x2a\x5e\x4b\x20\x3c\xc2\x23\x90\x61\x6b\x3f\xc8\x56\xdb\xd6\x20\x4b\x46\x92\x67\x98\xdc\xba\xff\xfd\x96\xfc\x18\xe6\x45\xc2\x26\xd9\x54\x85\x19\x6b\x5a\xdd\x3a\xa7\x4f\xb7\x64\x05\xcb\x7b\x67\xbb\x57\xbd\x4f\xfb\x90\x9a\x8c\x77\x5f\x04\xf6\x03\x38\x11\x49\xc7\x41\xe1\x74\x5f\x00\x04\x29\x12\x6a\xbf\x00\x04\x19\x1a\x02\x51\x4a\x94\x46\xd3\x71\x0a\x13\xbb\x6f\x9d\xc9\x9f\x52\x63\x72\x17\xef\x0b\x36\xe8\x38\x5f\xdc\xcf\xdb\xee\xae\xcc\x72\x62\x58\xc8\xd1\x81\x48\x0a\x83\xc2\x74\x9c\xc3\xfd\x0e\xd2\x04\xa7\x66\x0a\x92\x61\xc7\x19\x30\x1c\xe6\x52\x99\x09\xe3\x21\xa3\x26\xed\x50\x1c\xb0\x08\xdd\xf2\x61\x05\x98\x60\x86\x11\xee\xea\x88\x70\xec\xb4\x1a\x47\xcb\xae\x0b\x57\x29\x02\x09\xe5\x00\xa1\x0d\xa5\x63\x43\x12\x0d\xaf\xb3\x42\x9b\xd7\x10\xc9\x0c\x21\x66\x4a\x1b\x60\x02\x4c\x8a\x60\xb1\xbd\x07\x22\x46\x20\x4d\x8a\xaa\x7c\x6e\x62\x83\x9d\x54\xcd\x79\x4d\x62\x83\xea\xb5\x9d\xa2\xb1\x72\xe9\xba\x75\x54\xc3\x0c\xc7\xee\xd9\xd5\x25\xb8\x70\x26\x10\xae\x58\x86\x70\x89\x91\x42\xa3\x03\xbf\xfa\xf5\xc5\xe3\x02\x77\xa4\x34\xda\x28\x92\x97\x1e\x96\x96\x02\xce\xc4\x1d\x28\xe4\x1d\x47\x9b\x11\x47\x9d\x22\x1a\x07\x52\x85\x71\xc7\xb1\x7c\xea\x2d\xdf\x8f\xa8\xe8\x6b\x2f\xe2\xb2\xa0\x31\x27\x0a\xbd\x48\x66\x3e\xe9\x93\x07\x9f\xb3\x50\xfb\xa1\xf5\x39\x24\x26\x4a\xfd\xb6\xd7\xf6\x36\xfd\x98\x13\xc3\x47\xd5\xb8\x8d\xe5\x65\x4c\x78\x91\xd6\x4e\xb9\x8e\xea\x1f\x13\x06\x13\xc5\xcc\xa8\xe3\xe8\x94\xac\xad\x6f\xb8\xaa\x75\xc3\xfa\x37\xfe\xe5\xe9\x49\x72\x36\xbc\x5b\x3f\xde\xbb\xdb\x3c\xbf\xf8\xa0\x36\xe4\x75\xaf\x17\xf6\x6e\x4e\x86\x7e\xeb\xee\xec\x4b\xdc\x3b\x8a\x93\x8e\x03\x91\x92\x5a\x4b\xc5\x12\x26\x3a\x0e\x11\x52\x8c\x32\x59\x68\x07\xfc\x9a\x97\x5f\x80\x2b\x96\xc2\xb8\x64\x88\x5a\x66\xe8\xbf\xf1\x36\xbd\x55\x3f\xd2\xd3\xc3\xcf\x43\x86\xb7\x4a\x1d\x45\xc3\xbd\xc8\x6f\x17\x7b\xa9\xa6\x66\xa3\xa5\x8f\xd7\xe4\xd9\x4e\xaf\xbd\xb1\x76\x7f\xd2\xe6\x52\xb4\x92\xd1\xfe\xc3\xdd\xf1\xea\xb7\x91\x3d\xe6\xf1\xc3\xd5\xc9\xf1\x3a\xe8\x94\x65\x40\x04\x85\x0b\xd4\xb9\x14\xd4\xeb\x6b\x88\xa5\x82\xc3\xfd\xb7\xa0\x8b\xdc\x6a\x19\x64\x5c\x1b\x23\xc7\x0c\x85\xd1\xe5\x84\x0c\x29\x23\x70\x5f\xa0\x62\x38\xa1\x26\xeb\xfa\x66\xfb\xe2\xf4\xf0\xf4\x60\x6b\xd2\x29\x95\xa8\xc5\x2b\x03\x43\xa9\xee\x80\xc5\x30\x92\x05\xd8\x6a\x29\x55\x9c\x93\x04\x61\xc0\x08\xc4\x8c\xe3\x96\xef\x4f\xb9\xfb\x8b\xc5\xc0\x0d\x1c\xee\xc3\xbb\xbf\xbb\x35\x4b\x81\x8e\x14\xcb\x0d\x68\x15\x3d\x3b\x19\xb6\x33\xac\xeb\x94\x0d\xfc\xb6\xb7\xe9\xb5\x1f\x9f\xcb\x14\xf4\xa7\x32\xb0\x38\x0b\xed\xa3\x91\x7f\x10\x5e\x1e\xab\x64\x55\xbe\x1b\xad\xdf\xae\x8b\x56\x31\x5c\xbd\x7f\xb8\xdd\xdf\xfd\xb0\xb9\xbb\x71\x76\x9e\x5f\xef\x24\xa7\x7f\xf6\xc8\xea\x37\xf4\xd5\x0d\xfc\x6a\xf1\x3f\x83\x45\x8d\x89\xf5\x5b\xde\x1b\x6f\x6d\x3c\xf0\x5c\x28\xc9\x06\xdb\x8e\x07\xb7\xf9\x1f\x62\xef\x7c\xed\x8a\x5e\x5d\xf8\xd7\xd7\x1f\x8f\xe2\x76\x78\xa0\xe4\x9b\x22\x5c\x8f\x07\x37\x97\x37\xd7\x17\x6c\xed\x74\xff\xd9\x50\x82\xe5\xbf\x50\x50\x16\xff\x6d\xb3\x57\x8d\x94\x95\xd3\x00\x7d\x69\xf5\x6e\x52\x26\x92\xa1\x92\x22\x59\x81\x97\x42\x9a\x58\x16\x82\xae\xc0\xcb\x9c\x08\xe4\x17\x48\x68\xd5\x79\x9a\x91\xea\xe9\xf3\xc5\x31\xfc\x77\x8c\x89\x32\x9d\x73\x32\xda\x02\x21\x05\xbe\xaf\x87\xff\x57\x05\xf4\xc7\x11\x03\xbf\xe9\xfb\x41\x28\xe9\xa8\x6c\x55\x82\x0c\x20\xe2\x44\xeb\x8e\x23\xc8\x20\x24\x0a\xaa\x0f\x97\x62\x4c\x0a\x6e\x1c\x6b\xb5\x14\x50\x36\x36\xb3\xad\x94\x30\x81\xca\x8d\x79\xc1\x68\x65\xb0\x54\x35\x42\x65\xcb\xc0\xfe\x37\x32\x49\x38\x42\x82\x06\x12\x25\x8b\x1c\x69\x59\x43\x21\x1a\x83\x0a\x32\x19\x32\x8e\xcd\xaa\xeb\xae\x39\x1d\xa5\x5e\x85\x5d\x30\xaa\x3a\xc6\x52\x10\x16\xc6\x48\x01\x66\x94\x63\xc7\xa9\x1e\x9c\x99\x19\x75\xe4\x48\x72\x4e\x72\x8d\xd4\x01\x4a\x0c\xa9\x87\xed\xea\xab\xf1\x66\x98\xa8\xc4\xee\x7b\x2f\x43\xed\xe2\x03\xc9\x72\x8e\x6e\xed\xa8\xb1\x74\x5b\x0e\x10\xc5\x88\x8b\x0f\x39\x11\x14\x69\xc7\x89\x09\xd7\xd8\x2c\x6a\x29\xd0\x39\x11\xcd\x2a\xb4\x72\xa5\xe0\x23\xa7\x7b\x55\xad\x43\x90\x01\x4b\x88\x61\x52\x04\xbe\xb5\x5b\x38\x89\x45\x52\xb8\x21\x51\xa5\x7c\xfe\x0d\x
func frontendIndexHtmlBytes() ([]byte, error) {
return bindataRead(
_frontendIndexHtml,
"frontend/index.html",
)
}
func frontendIndexHtml() (*asset, error) {
bytes, err := frontendIndexHtmlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "frontend/index.html", size: 6155, mode: os.FileMode(436), modTime: time.Unix(1501773470, 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){
"frontend/application.coffee": frontendApplicationCoffee,
"frontend/application.js": frontendApplicationJs,
"frontend/index.html": frontendIndexHtml,
}
// 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{
"frontend": &bintree{nil, map[string]*bintree{
"application.coffee": &bintree{frontendApplicationCoffee, map[string]*bintree{}},
"application.js": &bintree{frontendApplicationJs, map[string]*bintree{}},
"index.html": &bintree{frontendIndexHtml, 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, "/")...)...)
}