chirpnest/bindata.go

362 lines
100 KiB
Go
Raw Normal View History

2019-12-29 08:50:56 +01:00
// Package main Code generated by go-bindata. (@generated) DO NOT EDIT.
// sources:
// data/code.json
// data/code_obj_sub_type.json
// data/code_obj_type.json
2020-01-02 11:04:48 +01:00
// data/config.json
2019-12-29 08:50:56 +01:00
// data/msg_rules.json
2019-12-29 13:25:00 +01:00
// data/obj_item.json
2019-12-26 06:08:00 +01:00
package main
2019-12-29 08:50:56 +01:00
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
}
// Name return file name
func (fi bindataFileInfo) Name() string {
return fi.name
}
// Size return file size
func (fi bindataFileInfo) Size() int64 {
return fi.size
}
// Mode return file mode
func (fi bindataFileInfo) Mode() os.FileMode {
return fi.mode
}
// ModTime return file modify time
func (fi bindataFileInfo) ModTime() time.Time {
return fi.modTime
}
// IsDir return file whether a directory
func (fi bindataFileInfo) IsDir() bool {
return fi.mode&os.ModeDir != 0
}
// Sys return file is sys mode
func (fi bindataFileInfo) Sys() interface{} {
return nil
}
var _dataCodeJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x01\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00")
func dataCodeJsonBytes() ([]byte, error) {
return bindataRead(
_dataCodeJson,
"data/code.json",
)
}
func dataCodeJson() (*asset, error) {
bytes, err := dataCodeJsonBytes()
if err != nil {
return nil, err
}
2020-01-02 11:04:48 +01:00
info := bindataFileInfo{name: "data/code.json", size: 0, mode: os.FileMode(420), modTime: time.Unix(1577935608, 0)}
2019-12-29 08:50:56 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2020-01-02 16:19:43 +01:00
var _dataCode_obj_sub_typeJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x9a\x49\x73\xdb\xb8\x12\xc7\xcf\xf6\xa7\x40\xf9\x9c\x4f\xf0\x6e\x4a\x9c\x38\x79\xf5\x9c\xc5\xcb\xcb\x61\x6a\x8a\x05\x91\x2d\x0a\x09\x08\xd0\x58\x24\xab\xa6\xe6\xbb\x4f\x01\x5c\x05\x80\xb6\xd1\xac\xb9\x76\x53\x3f\xfc\xd1\x40\x63\x69\xe8\x8f\xcb\x8b\xbf\x2e\x2f\x2e\xae\x98\x30\xbc\x60\xd5\xd5\x7f\xc8\x95\xd5\xa0\xae\xde\x39\xa3\xa0\x0d\x38\xcb\xe3\x68\x91\xdb\x5f\x85\x39\xb5\x30\x7e\x77\x79\xf1\xf7\xbb\x18\x51\x5b\xc6\xab\x73\xc6\xcd\x64\x9a\x43\xba\x2f\xd3\x94\x46\xd7\x81\x0e\xf1\x5b\xc8\xa3\x88\x29\xee\xcb\x45\x46\x71\xa4\x41\x7f\x7e\x52\x45\x14\xb4\x52\x99\x5c\x94\x97\x1b\x03\x7d\xe7\x34\x39\xa2\xb9\xdd\xaf\x0a\x05\x4f\xe7\xe0\xef\x9c\x9e\x40\xcd\xc0\x44\xc1\x93\x05\x8d\x6d\x80\x96\xbf\x5f\x6b\x60\xfc\x24\x23\x2a\xaf\xe9\xaf\xc3\xf8\x60\xbb\xf1\x6a\x47\xe2\x96\x10\xfd\xf1\xd2\x0a\x05\xfa\xbc\x89\x1f\xce\x4c\x14\x68\xcb\xb3\x85\x57\x16\x78\xb1\x63\xf5\xde\x9c\x33\xaf\x2d\x70\xe2\xed\x48\xf0\x1e\x94\x8c\xe3\xfe\x19\x94\x24\xda\x36\x0d\x55\x27\x6c\xac\x3d\x39\x8a\xf3\x19\x19\x11\xdb\x06\x96\xd4\xee\xdd\x68\xad\xd4\xdc\xc0\x92\xe2\x33\x3a\x42\x37\x13\x87\x58\xf8\x17\x71\x00\x61\x24\x5e\xaf\xa3\x46\x82\x27\x2a\x42\x67\xcb\x38\xa7\x35\x14\x4c\x94\x41\x82\x74\x0e\xc2\x44\x29\x1b\x26\x6a\x2c\xb8\x96\x69\xee\x60\xcf\x27\x1a\xd6\x80\xb4\x26\x8d\x3d\x73\xe6\xb3\x8f\x4c\xa4\xb9\xa3\x23\x9f\xc9\xa5\xd6\x69\xe8\xe4\x79\x3b\xd5\x28\xb6\xb5\x26\x31\x60\x0f\x9d\x03\x3d\x60\x03\x38\x9a\x5f\x03\x98\x96\x6e\x3b\xe5\x50\xd5\x90\xd8\x99\x5f\x86\x53\x5b\x1a\x26\x45\x41\x85\x90\x56\x94\x70\xde\xc2\xa6\xf3\x92\x73\x6f\x3e\xdd\xb6\x55\x9c\x74\x03\xdc\xb6\x15\x35\x80\xcd\xbc\x79\x13\x51\x84\x82\x26\xa6\x40\x35\x20\xb2\x5b\x72\x33\x38\x31\x08\xac\x01\xb2\x59\x0f\x8e\xc2\xe3\xc1\x77\xc8\xed\x35\xc8\xed\x9b\xfc\x9c\xf6\xd3\x29\xdc\x9a\x27\x5b\x8e\x96\x71\x1f\x7e\x0a\x55\x11\xef\x71\xbd\xcc\xa5\xee\xa8\x36\xa9\x7d\x78\xa3\x40\x50\xe2\xbc\x64\xe6\xcd\x52\x4b\x1d\x22\x52\x3a\xb3\x66\x8c\xac\x6c\x83\x41\x1d\x0c\x39\x5b\xa1\xb0\xe7\x90\xdb\xd1\xf2\x76\xca\xd6\x9e\xe2\x01\xb8\x07\xce\x31\xc1\xd7\xc0\x79\x4c\x7b\x6f\x4f\x18\x98\x54\x15\xa8\xad\x94\xbf\x63\xe2\xb7\xc1\xb5\x8e\x4b\x4b\xbe\xc4\xdd\xe4\x6f\xcc\x47\x66\xf6\x95\xa2\xc7\x58\xee\xcf\xde\x83\x51\x3b\x52\x4b\x59\xc1\x02\xf6\xc3\xe8\xc2\xa8\x2d\x0f\x8b\x6a\x4b\x60\x87\xfc\xad\x43\x1b\x59\x26\x06\xed\xde\x99\x51\xb3\xca\xf3\xa2\x05\xb6\xe3\x21\x06\xaa\x61\xba\x8c\xe5\xdd\x32\x5d\x62\xd4\x79\x5a\x24\xce\xd3\x10\xda\xac\x70\x7b\x56\x74\xff\x7c\x74\xe6\x15\xd7\x4f\x63\x97\x2e\x70\x0f\x8a\x56\x40\x3a\xbe\xbb\x36\xdf\x75\x97\x2a\x44\x20\xc6\x36\x12\xe7\x91\x64\x1b\x88\xf0\x24\x4f\x92\x37\x20\x40\xb1\x12\x7b\x92\x1c\xf7\xa1\x48\xf7\x8d\x24\xdd\x95\x10\xa1\xb4\x56\x92\x83\x4e\xec\x6d\xee\xfe\x4a\xbc\x13\x13\xe4\x1e\x1b\x4b\x9d\x61\x31\x6a\x87\x9c\x4d\x29\x1e\x12\x17\x27\xb8\xcf\x5e\x5e\xee\x17\xd1\x1b\x5e\xee\x57\xb0\xd3\xf9\xdc\xb3\xb1\x69\x3d\x46\x64\x19\x7d\x07\x6b\xc8\x2d\x4d\xa5\x63\x8f\xfe\x4e\x71\x39\xd8\xb3\xa5\x49\x05\xdb\xfb\xc8\x37\xb3\x26\xd6\x54\x9c\x12\x93\xaf\x23\x6f\xc4\x69\xd5\xdc\x5b\x8a\x32\x5a\x6b\xa4\x13\xbd\x65\x6c\xad\x3e\x85\x87\x9a\xc1\x92\x53\xa3\xd3\x4b\x9b\xe3\x1d\x68\x69\x55\x09\x9a\xa0\x7b\xed\x53\x6c\x01\xef\x32\x0c\x9a\x13\x1e\xee\x73\x6c\x01\xee\x53\x0c\x4d\x86\x27\xcb\xda\x25\xf4\x47\xe7\x74\x57\x27\x3c\xbf\x54\x74\x67\xfe\x45\x7e\x47\x86\xa6\x35\xa7\xd4\xf9\xe4\xe3\xe4\xc8\x3e\xf1\xa4\x72\xed\x7e\x55\xaa\x15\x15\xb4\x52\xb3\xd4\xc2\x73\xdd\x79\x50\xf9\x36\x62\xe3\x94\x1b\xb0\x08\xb5\x25\xd5\x86\x43\x41\x8d\xa1\xa9\xb1\xfb\xe0\xdd\x64\xe3\xdd\xa8\x99\x71\xc6\x8f\xa4\x9f\xf3\xf1\xfa\x0d\x55\x35\x24\x22\xde\xf3\x1f\xbc\x7b\x85\xfe\x9e\xbf\xa4\xbf\xe7\xe3\xf5\x57\xb0\x5b\x14\x7f\x0d\x3b\x10\x1a\x56\xa8\x77\xf4\x25\xe9\x03\x1d\xb3\x60\x47\xcc\xf7\x88\x5a\x6b\xaf\x71\xa9\xf7\x2b\xe6\xdc\xd2\x64\xcb\xd7\x08\xcf\xe5\x9e\x8a\x3a\xa1\xf2\x63\xef\x41\xad\xca\x03\x35\x52\x3a\x52\x31\x5a\xfd\x5a\x9f\x5e\x85\xf1\x7b\x47\x2c\xd1\xf3\x50\xb7\xaf\x05\x85\x8f\x9d\x03\xa3\x71\x60\x46\x2a\x07\x26\x42\xa7\x90\x85\x36\xb4\x61\x61\x39\xea\xab\x24\xf7\x73\x3b\xa6\x28\xa2\x81\xaa\x72\xbf\x54\x17\x99\x7b\xf3\xdf\x
2019-12-29 08:50:56 +01:00
func dataCode_obj_sub_typeJsonBytes() ([]byte, error) {
return bindataRead(
_dataCode_obj_sub_typeJson,
"data/code_obj_sub_type.json",
)
}
func dataCode_obj_sub_typeJson() (*asset, error) {
bytes, err := dataCode_obj_sub_typeJsonBytes()
if err != nil {
return nil, err
}
2020-01-02 16:19:43 +01:00
info := bindataFileInfo{name: "data/code_obj_sub_type.json", size: 11883, mode: os.FileMode(420), modTime: time.Unix(1577967149, 0)}
2019-12-29 08:50:56 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2020-01-02 11:37:24 +01:00
var _dataCode_obj_typeJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\xd1\xcf\x6a\x84\x30\x10\xc7\xf1\x73\xf2\x14\x92\xb3\x4f\xd0\x6b\x69\x4b\x0b\x3d\xb4\x28\x3d\x94\x45\x46\x9d\x95\x59\x34\x71\xf3\x07\x85\x65\xdf\x7d\x89\xee\x25\x31\xb9\x7e\xfd\xfc\x60\x24\xff\x9c\xdd\x38\x63\x82\xa4\x1d\x1b\xea\xc5\x4b\x21\x9c\x41\x2d\x4a\x1f\x25\x4c\xe8\x4b\xed\x0b\x67\xf7\xf2\x88\x07\x47\x63\x1f\xea\x8f\x2d\xa5\xf9\x64\x86\x10\x7f\xa3\x31\x30\x60\x86\x2f\x10\x5d\xf2\x07\xb9\x43\x16\xd0\x8d\xc6\x59\x69\x7b\x58\x14\xbf\x7b\x4f\x0f\x2f\xaa\x0d\x17\x5f\xaa\xcd\x50\xb2\x38\x85\xf6\xd3\x97\x34\xee\xc0\xd8\x11\x43\xfe\xba\xb7\xf4\xe0\x0c\x14\xfd\xed\xbb\x2f\x69\xec\x24\x29\x19\xea\x4a\x43\x8f\x45\xbd\x7d\x48\x8f\xac\xa6\xd6\x59\x8c\x67\x7b\x4c\x4f\xd6\x39\xd4\x6f\xeb\x8c\x9a\x50\x76\xb9\xc1\xd5\xa1\x89\x9e\xe0\x67\x4b\x99\x93\x0e\xba\x7a\x62\x7e\x7a\x04\x00\x00\xff\xff\xb7\x4e\x39\xa0\x9c\x02\x00\x00")
2019-12-29 08:50:56 +01:00
func dataCode_obj_typeJsonBytes() ([]byte, error) {
return bindataRead(
_dataCode_obj_typeJson,
"data/code_obj_type.json",
)
}
func dataCode_obj_typeJson() (*asset, error) {
bytes, err := dataCode_obj_typeJsonBytes()
if err != nil {
return nil, err
}
2020-01-02 11:37:24 +01:00
info := bindataFileInfo{name: "data/code_obj_type.json", size: 668, mode: os.FileMode(420), modTime: time.Unix(1577961399, 0)}
2019-12-29 08:50:56 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2020-01-02 11:04:48 +01:00
var _dataConfigJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x01\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00")
func dataConfigJsonBytes() ([]byte, error) {
return bindataRead(
_dataConfigJson,
"data/config.json",
)
}
func dataConfigJson() (*asset, error) {
bytes, err := dataConfigJsonBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "data/config.json", size: 0, mode: os.FileMode(420), modTime: time.Unix(1577935730, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2020-01-02 16:19:43 +01:00
var _dataMsg_rulesJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x6d\x8f\x1d\xc7\x75\x3f\xf8\xda\xfe\x14\x25\x66\x01\xce\x90\x33\x23\x52\x12\xf5\xc0\x0d\xc8\x1d\x8a\x7a\x60\x56\x94\x69\x91\x32\x21\xb3\x65\xa2\x6e\xf7\xb9\xb7\xcb\xb7\xba\xaa\x59\x55\x3d\x97\x2d\xd1\x00\x91\x87\xc5\x2e\xec\x44\x59\x59\x1b\x23\xb6\x0c\xae\x81\xc4\x2f\x16\x01\x62\xe4\xc5\xae\x11\x60\xbf\x0c\xbf\x80\xf9\x11\xfe\x38\xe7\x54\x75\xf7\x7d\x9a\xb9\xa3\xe8\xd2\x92\x63\x21\x31\xef\x74\x57\xd7\xe3\xa9\x53\xe7\xe1\x77\x4e\xdd\xfb\xee\x77\x3e\xfd\xee\x77\xbe\x73\xa6\x76\xca\x9e\xb9\x2c\x2e\x5d\xb8\x70\x61\x0f\xff\x2e\xc0\xe7\xe6\xcc\x65\x71\xe6\x96\x96\x2d\x38\x31\x93\x4e\x38\xa8\xad\x0b\x67\xe8\xbd\x6b\x34\xe0\xeb\x1f\xed\x5c\xbd\xf5\x97\x6f\x4a\x1f\x34\x5c\xb9\xf7\xec\xc9\x3f\xfe\x1f\xcf\x9e\xfc\xf6\xef\x9e\x3d\xf9\xc7\xff\x7c\xf6\xe4\xb7\xff\xfb\xb3\x27\xbf\xfd\xd9\xb3\x27\xff\xfa\xc5\xb3\x27\x3f\xfb\x3f\x3f\xde\xdd\xc9\xb2\x7b\x58\xfa\x9d\x46\xe9\xe2\xca\xbd\xc3\xfd\x1f\x5e\xd8\x7f\xe3\xe3\x4f\x2f\xee\xbd\xfc\x93\xdd\x2c\xfb\x78\xf7\xd3\x0b\x7b\x17\x7f\x82\x05\x3e\xf4\xe0\xae\xec\x60\x01\xb9\xff\xc9\x85\xfd\x37\xc4\xc7\xe7\x76\x77\xc5\xd3\x5f\x7e\x71\x19\xdf\x1e\x86\x20\xf3\xe9\x95\x7b\xf8\xf1\xf9\xdd\xfe\xc9\x4d\x5b\x5c\xc9\xb2\x9d\x9d\xfd\x47\x59\x76\x7e\x97\x5f\x67\xd9\x2e\x57\x2b\x9e\x3d\xf9\xd5\x6f\xe8\xf3\xeb\x30\x06\xe3\x21\x7d\x2f\xde\x3b\xd2\x97\x05\xbe\x78\x0f\x8e\x40\xa7\xc7\x59\x66\x3e\xb2\x0d\x0e\xd9\x37\x3a\x08\x6b\x44\x28\x41\x8c\x64\x08\x1a\xc6\x0a\x74\x71\x39\xcb\xcc\xce\xb3\x27\x5f\xfc\xeb\x5b\x0f\x6b\xfe\xfe\xad\x87\x75\xfa\x3a\x0e\x25\xcb\xcc\xee\xb9\x9d\x67\x4f\x3e\xff\xdd\x3b\x56\x17\x5c\x0a\x7f\x5d\xc9\xb2\x7d\x2a\xb1\xba\xf8\xcf\x7f\x7b\x3b\xd8\x7c\xca\xe5\xe9\xe7\xb1\x1f\x3c\xfd\xf5\xbf\xfc\xe1\xf7\x9f\xbd\x1b\x7b\xf1\xee\x2d\x2c\xbc\xaa\x1c\xd7\x26\x2b\x65\xe4\x15\xec\xf9\x4f\xe3\x1f\x38\xc6\x60\x1d\x14\xbb\x83\xf2\xb4\xaa\x4e\x85\x2b\x3b\x4f\x7f\xf9\x1b\xfc\xa1\x72\xa9\x85\x0f\x4e\x4d\x21\x95\xfb\x9f\x98\x12\x2a\x3f\xb9\x1f\xda\x9a\xa8\x01\x7f\x33\x95\xdc\x97\xf9\xf4\xcc\x77\xbf\xf3\x93\xbd\x93\xe8\xeb\xb0\xc9\x83\xb2\x46\x48\x63\x6c\x93\xc3\x02\x75\xbd\x67\x83\xf8\x0b\x5a\x1d\x1b\xba\x25\xe3\x91\xde\x08\x50\x5d\x39\x38\x87\x4b\xb5\xf3\xfd\x46\x6a\x15\x5a\x7e\x11\xff\x88\xef\xe2\x98\xde\xb4\xa6\x50\xd8\x10\x97\xc1\x3f\xe7\x0a\xdc\x06\xad\xc1\xc5\x39\xa7\xdf\x1b\x12\xb5\xe8\x26\xed\x5e\xff\xed\x89\x24\xce\xc5\x88\xd0\x0f\xce\xf1\xe3\x2c\x33\x6f\x36\xce\x81\x09\xa2\x76\x2a\x07\xee\xcb\x2d\xfc\xd9\x8d\xbc\xb6\x4d\x5e\x66\xd9\x0e\xf8\x2c\xc3\xbe\x5f\x6b\x5a\xea\xf4\xfb\xd6\xc0\x23\x2c\x4e\x0f\xbe\x5a\xcf\xe9\xd3\x13\x3b\x4e\xa5\xe6\xfa\x8d\xfd\x78\xcb\x14\xe2\x30\xc4\x7d\xd0\xcd\xec\xed\x20\x43\xe3\x13\x1d\xe3\x6f\x7c\x11\xc9\xf1\xaa\xbf\x7c\x70\x6e\x77\x35\x09\x49\xa6\x89\xfb\x44\x13\x26\x87\x8d\x08\xe9\x8e\xaa\x16\xa9\xe7\x86\x11\x6f\x96\x32\x88\xbb\xd2\x79\x31\xb3\x4e\x17\xc2\xd8\x59\x24\x6f\x2c\x9f\xe8\x07\x37\x8e\x6d\x1c\xcf\xf3\xa7\x2f\xfd\x64\x97\x58\xc5\x4d\x65\x9a\x00\xfd\xc3\x58\xf2\xba\x6c\xfb\x67\x34\xb8\x9b\xd6\x84\xf2\xca\xc1\x79\xfe\xeb\x23\x90\xa9\xa6\x57\xe8\xa3\x2c\x33\x77\x41\x86\x12\x9c\x18\x5b\x07\xb9\xf4\x21\x56\x15\x1f\x63\x37\x9e\xfe\x6f\x9f\x0f\x9e\xbc\x0f\x0f\x43\xd7\x39\x9a\xa9\x35\xbb\x2d\xa8\x0a\x36\xde\x6b\xb7\x94\xd6\x72\x02\xe2\x86\xc9\x17\x66\xea\x23\xdb\x88\x19\x38\xc0\x2d\x6e\xb5\x56\x66\x22\xa4\xb3\x8d\x29\x90\xf5\xb5\xc8\x09\x4b\xeb\x3c\x88\x59\x09\xf4\xb7\x30\x36\xa8\x1c\x0a\xb1\x31\x53\x67\x26\xcd\x63\x15\x76\x2c\x0e\x3e\xe5\xe7\x91\x58\x77\x6e\x5a\x6b\xb4\x9a\x94\xe1\xd1\x5d\xab\xc7\xb5\xcc\xa7\x8f\xae\x03\xb8\xd2\x3a\xf3\xe8\xba\x93\x13\x6b\x7c\x2e\x35\x3c\xba\x5d\x4a\x37\x0d\x00\xa1\x7c\x74\xcb\x06\x19\xec\xa3\x77\xd5\xa4\x34\xe0\xc3\xee\xae\xe0\xca\x44\x70\x2d\x8e\x20\x58\x51\xc7\x11\x4b\xa1\x2d\x72\xb0\x23\xfe\xfb\x40\xdc\xb1\xc2\x07\x5b\x8b\x52\x55\x22\xd7\x2a\x9f\x8a\x17\x27\x76\xcd\x1c\xc7\x4a\xee\x2b\x93\x6f\x34\xcd\xef\xd8\x85\xd9\x5d\x5f\xf5\xc4\x9e\x6a\xe1\x96\x6a\xc6\x75\xd3\x6a\x1c\x44\x53\xf3\x32\xf9\x99\x75\x85\x90\xa6\x10\x79\x29\x1d\x8e\x3c\xd0\xd1\x75\xa4\xac\x96\xc1\xba\x83\x13\xc6\x78\xca\x0e\xdd\x55\x66\x45\x8f\x7c\x93\xe7\xe0\xfd\xb8\xd1\xba\x15\x
2019-12-29 08:50:56 +01:00
func dataMsg_rulesJsonBytes() ([]byte, error) {
return bindataRead(
_dataMsg_rulesJson,
"data/msg_rules.json",
)
}
func dataMsg_rulesJson() (*asset, error) {
bytes, err := dataMsg_rulesJsonBytes()
if err != nil {
return nil, err
}
2020-01-02 16:19:43 +01:00
info := bindataFileInfo{name: "data/msg_rules.json", size: 62356, mode: os.FileMode(420), modTime: time.Unix(1577978350, 0)}
2019-12-29 13:25:00 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2020-01-02 16:19:43 +01:00
var _dataObj_itemJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x9d\xdb\x6e\x1c\xb7\x96\x86\xaf\x9d\xa7\x20\xfa\xc6\x37\x1a\x6c\xb7\xa4\x96\x0f\x77\x96\x6c\x4b\x49\xac\x44\x5b\xed\x89\x31\x13\x04\x01\x55\xcd\xee\xe2\x56\x55\xb1\x37\xab\x4a\xb2\x76\x60\x60\x30\x98\xbb\xc1\x4c\x80\x09\xe6\xb0\x81\x19\xf8\x72\x5e\x21\xcf\x93\x17\x48\x1e\x61\xa3\xeb\xd4\x5d\xad\xd5\x4e\x91\xff\xa2\x7d\xe5\x62\xeb\xf0\x89\xb5\xc8\x7f\x91\xc5\xf5\xd7\xb7\x9f\x09\xf1\xc3\x67\x42\x08\x31\xd2\x85\x4a\xbf\x2f\xee\x96\x6a\xf4\xac\xb9\xb0\x2a\x1f\xed\xd5\x1f\x46\x66\x56\xb5\x3f\x1a\xb7\x2d\xb7\x4a\x2f\xe2\x62\xd5\xd6\x35\xa9\x77\x51\x2c\xb3\x45\xf5\x85\x7f\x28\xbe\x5f\x7f\xad\x2c\xa3\x42\x9b\x6c\xd5\x3e\x97\x49\xae\xda\xf6\x4c\xa6\x2a\x1f\x3d\x13\xdf\x8e\xde\xc4\x56\xc9\xd9\xe8\xbb\xcf\x84\x78\xbf\xe7\xca\xb4\xef\xc0\xb4\x3f\x9c\x69\x5a\xe8\xe8\xda\x13\xe9\xc0\x01\xe9\x60\x38\xd2\x85\x4a\x0a\x4f\xa2\x43\x07\xa2\xc3\xe1\x44\xc7\x26\x53\x9e\x44\x13\x07\xa2\xc9\x70\xa2\x13\x23\x13\x4f\xa2\x23\x07\xa2\x23\x07\xa2\x58\xda\xc8\x9f\xea\xb1\x03\xd5\x63\x87\x58\x32\xb7\x33\x65\x3d\x99\x9e\xdc\x67\xda\xdf\xc5\xf4\x64\x38\xd3\xe7\xd6\x64\xe2\x6b\xab\x46\x7b\xf5\x7f\x8d\xf5\x0d\xae\xa7\x0e\x9d\xf6\xd4\xe1\x56\x26\xa6\x88\xfd\x90\xc6\x8f\x86\xf7\xd9\xfa\x6b\x07\x4c\x53\x3a\xb9\x51\xb6\xe9\xb5\xe6\xc2\xbb\xdf\xc6\x8f\x08\xca\x47\x14\xa5\x4b\xa0\x95\x51\x2c\xcc\x5c\x9c\x9a\xc4\x73\x8a\x1f\x13\xb2\xb3\xb3\xef\x1c\x64\xe7\x58\x96\xef\x74\xe1\xdb\x57\x84\xee\x90\x50\x2e\x73\x97\x9d\x8d\xbe\x6b\x7f\x8f\x95\xf3\xd5\x0f\xfd\x61\x14\xa5\xb3\xea\x8f\xab\x5a\xbe\xef\x7e\xef\xfa\xdf\x28\x95\x99\x1c\x3d\x13\xe3\x49\xfd\xc9\x83\x07\xcd\x1f\x91\x8f\x9e\x7d\xfb\x43\xf5\xbf\x56\xbd\xc5\xe8\xcf\xa5\xcc\x0a\x5d\xdc\x8d\x9e\x89\xc7\xef\xb7\x7f\x52\xfd\xef\xc1\xfa\x7b\xc6\x4f\xb7\xbe\x67\xfc\xfe\xbb\xf7\x5e\xdd\xe5\xa0\x89\x63\x07\x4d\x3c\x97\x0b\x1d\x89\x69\xb1\x12\xa2\xbd\xe6\x2a\x2f\xbc\x65\x69\x4c\x08\x25\x78\x57\xdf\x1a\x33\x53\x99\x98\xc6\xab\xfb\xb9\xd7\x5e\xe6\xd5\xa5\x1f\x23\x21\x9d\x3b\x87\x83\x83\x74\x4e\xe5\x72\x19\x6b\xef\xb9\x83\x90\xcf\x9d\x54\x0e\xf2\x39\x35\xc9\x8d\xca\x7c\xbb\x8a\x50\xcf\x9d\x50\x0e\xea\x79\x59\x5e\xdd\x79\x12\x39\x68\xe7\xd8\x41\x3b\xcf\xa4\x9d\xa9\xcc\x57\xd1\xc7\x84\x60\xee\xa4\x72\x10\xcc\x69\xa1\x94\x67\xe2\xb3\x4f\x48\xd1\xae\x09\x63\xdf\x41\x30\x5f\x2b\x59\xc4\xbe\xfd\xb4\xef\xb0\x00\xda\x77\x51\x22\x93\x29\xd1\xa4\x64\x7b\xf5\xd5\x12\x48\xd0\xf6\x1d\xd6\x44\xfb\x4e\x6b\x22\xab\xb3\x85\x27\x93\x83\x00\xec\x3b\x08\xc0\x89\xb9\xf6\x9c\xb1\xf6\x87\x2e\x8a\x1c\x92\x9d\xd2\xea\xb9\x56\xb3\xf5\xbd\xec\x5a\xa0\xfb\x49\xcc\xf8\x07\x18\x69\x93\x2a\x3e\x4f\x12\x73\xb7\xce\x1c\x65\x75\xe9\xc7\x38\x74\xaa\x75\x9c\x3d\xc4\xf9\x2a\x6f\xdc\x6b\x2e\x52\xef\x24\x72\x7f\xe8\xc4\xeb\xdc\x87\x2d\x60\x7d\x05\x10\x12\x93\x30\x78\x97\x8f\x13\x19\x5d\xe7\xa9\x2e\x62\xf1\xca\xca\x74\x95\x22\x6d\x34\xcd\xab\x26\x2f\xd6\x03\x62\x76\x06\x59\x9f\xdb\x42\xe7\x32\xeb\x40\xdb\x6b\x84\xd2\x61\xba\x3e\x70\x98\xae\x2f\xcd\xd2\x97\x88\x7f\xd5\xd0\xc4\x5d\xdb\x6d\xcd\x25\xd2\x6b\xc4\x4c\xbd\x2b\x19\x38\x70\x49\xd5\x55\x21\x13\x71\x91\xc8\xa2\x4a\xd5\xab\xab\x65\x75\xe5\x87\x39\x34\x55\x5f\x61\x3a\xec\x69\x55\x60\x89\x8e\xc4\x2b\x7d\x55\x4d\xe1\x5d\xc3\xbc\x6a\xf0\x83\x75\xd8\xee\x3a\x70\xd9\xee\x5a\xad\x09\xd5\x4c\xb4\x59\xcd\x5e\xd7\x92\x20\x79\xce\xc1\xd0\x64\x7e\x38\xe9\x1f\x4b\x99\xe8\xe2\x4e\x00\x7b\x28\x07\x84\xc4\xf0\x4d\x90\xe7\xde\x13\xf7\x01\x21\x2d\x4c\x93\xe1\x40\x28\x99\x44\xf1\x3d\x2a\x87\x4d\xb0\x03\xa7\x9c\x5e\x67\xd7\x77\x62\x5a\xa6\x32\xf2\x44\x3b\x74\xc8\xed\x0f\x1d\x72\xfb\x73\x65\xa3\x3b\x31\x95\x79\x2e\xe7\x56\xe6\xbe\x74\x0e\xaa\x71\xe8\xa0\x1a\x27\x89\x9e\xcf\xc5\x65\x39\x64\xbe\x23\xb9\x1c\xb2\xfa\x43\x87\xac\xfe\xb5\xb9\x51\xe2\xc4\x2a\xb5\x1c\x34\x5d\x90\x68\x0e\xc9\xfd\xa1\x83\x64\xbc\x35\xc9\x5c\x5c\x1a\x33\x64\xf9\x4f\x72\x39\x3c\xf7\x38\x74\xd0\x88\xe9\xad\x4c\x97\xe2\xb5\xbc\x51\xd9\xb0\xa4\x9e\x84\x73\xd0\x84\x43\x07\x4d\x78\x1b\xeb\x42\x89\xe3\xc4\xe4\xb9\x49\x7d\xd9\x1c\x1e\x86\x1c\x3a\xec\xe6\x7c\x9e\xc8\x1b\xe5\x3d\x30\x1d\x9e\x85\x1c\x3a\xec\xe6\xbc\x5c\xc6\xfa\x4f\xc6\x4a\x5f\x2c\x62\xfa\xdf\x89\xe5\xb0\xa5\x33\x2d\x8c\x4d\xc
2019-12-29 13:25:00 +01:00
func dataObj_itemJsonBytes() ([]byte, error) {
return bindataRead(
_dataObj_itemJson,
"data/obj_item.json",
)
}
func dataObj_itemJson() (*asset, error) {
bytes, err := dataObj_itemJsonBytes()
if err != nil {
return nil, err
}
2020-01-02 16:19:43 +01:00
info := bindataFileInfo{name: "data/obj_item.json", size: 83570, mode: os.FileMode(420), modTime: time.Unix(1577965716, 0)}
2019-12-29 08:50:56 +01:00
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){
"data/code.json": dataCodeJson,
"data/code_obj_sub_type.json": dataCode_obj_sub_typeJson,
"data/code_obj_type.json": dataCode_obj_typeJson,
2020-01-02 11:04:48 +01:00
"data/config.json": dataConfigJson,
2019-12-29 08:50:56 +01:00
"data/msg_rules.json": dataMsg_rulesJson,
2019-12-29 13:25:00 +01:00
"data/obj_item.json": dataObj_itemJson,
2019-12-29 08:50:56 +01:00
}
// 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{
"data": &bintree{nil, map[string]*bintree{
"code.json": &bintree{dataCodeJson, map[string]*bintree{}},
"code_obj_sub_type.json": &bintree{dataCode_obj_sub_typeJson, map[string]*bintree{}},
"code_obj_type.json": &bintree{dataCode_obj_typeJson, map[string]*bintree{}},
2020-01-02 11:04:48 +01:00
"config.json": &bintree{dataConfigJson, map[string]*bintree{}},
2019-12-29 08:50:56 +01:00
"msg_rules.json": &bintree{dataMsg_rulesJson, map[string]*bintree{}},
2019-12-29 13:25:00 +01:00
"obj_item.json": &bintree{dataObj_itemJson, map[string]*bintree{}},
2019-12-29 08:50:56 +01:00
}},
}}
// 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, "/")...)...)
}