chirpnest/bindata.go

362 lines
101 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-04 02:57:38 +01:00
info := bindataFileInfo{name: "data/code.json", size: 0, mode: os.FileMode(420), modTime: time.Unix(1578102970, 0)}
2019-12-29 08:50:56 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2020-01-02 16:25:30 +01:00
var _dataCode_obj_sub_typeJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x9a\x5b\x73\x1b\xa9\x12\xc7\x9f\xed\x4f\x41\xf9\x39\x9f\xe0\xbc\x29\x71\xe2\xe4\xd4\x71\x2e\xbe\x9c\x3c\x6c\x6d\x4d\xa1\x99\x96\x44\xc2\xc0\x98\x8b\x64\xd5\xd6\x7e\xf7\x2d\x98\x3b\x30\xb6\xe9\xa9\x7d\xed\x1e\xfd\xf8\xd3\xd0\x5c\x1a\xfd\x71\x79\xf1\xd7\xe5\xc5\xc5\x15\x13\x86\x17\xac\xba\xfa\x0f\xb9\xb2\x1a\xd4\xd5\x3b\x67\x14\xb4\x06\x67\x79\x1c\x2c\x72\xfb\xab\x30\xe7\x06\x86\xef\x2e\x2f\xfe\x7e\x17\x23\xf6\x96\xf1\x6a\xce\xb8\x19\x4d\x53\x48\xfb\x65\x9a\x52\xeb\x7d\xa0\x43\xfc\x16\xf2\x24\x62\x8a\xfb\x72\x91\x51\x9c\x68\xd0\x9f\x9f\x54\x11\x05\x8d\x54\x26\x17\xe5\xe5\xc6\x40\xdf\x39\x4d\x4e\x68\x6e\xfb\xab\x42\xc1\xd3\x1c\xfc\x9d\xd3\x33\xa8\x09\x98\x28\x78\xb2\xa0\xb1\x0d\xd0\xf2\xf7\x6b\x0d\x0c\x9f\x64\x44\xe5\x35\xfd\xfb\x30\x3e\xd8\x6e\xbc\xda\x91\xb8\x25\x44\x7f\xbc\xb4\x42\x81\x9e\x37\xf1\xc3\x99\x89\x02\x6d\x79\xb6\xf0\xca\x02\x2f\x76\x6c\x7f\x30\x73\xe6\xb5\x05\x4e\xbc\x1d\x09\x3e\x80\x92\x71\xdc\x3f\x83\x92\x44\xdb\xba\xa6\xea\x8c\x8d\xb5\x27\x47\x71\x9e\x91\x11\xb1\xad\x61\x49\xed\xc1\x8d\xd6\x4a\xcd\x35\x2c\x29\x9e\xd1\x11\xba\x99\x38\xc6\xc2\xbf\x88\x23\x08\x23\xf1\x7a\x1d\x35\x12\x3c\x52\x11\x3a\x1b\xc6\x39\xdd\x43\xc1\x44\x19\x24\x48\xeb\x20\x4c\x94\xb2\x66\x62\x8f\x05\xef\x65\x9a\xdb\xdb\xf3\x89\x86\xd5\x20\xad\x49\x63\x67\xce\x7c\xf6\x89\x89\x34\x77\x70\xe4\x33\xb9\xd4\x3a\x0d\x1d\x3d\x6f\xa7\x1a\xc5\xb6\xd6\x24\x06\xec\xa1\x75\xa0\x07\xac\x07\x47\xf3\xab\x07\xd3\xd2\x6d\xa7\x1c\xaa\x3d\x24\x76\xe6\x97\xe1\xd4\x96\x86\x49\x51\x50\x21\xa4\x15\x25\xcc\x5b\xd8\xb4\x5e\x32\xf7\xe6\xd3\x6d\x53\xc5\x49\xd7\xc3\x6d\x53\x51\x03\xd8\xcc\x9b\x36\x11\x45\x28\x68\x62\x0c\x54\x0d\x22\xbb\x25\x37\x83\x13\x83\xc0\x6a\x20\x9b\xf5\xe0\x28\x3c\x1e\x7c\x87\xdc\x5e\x83\xdc\xbe\xc9\xcf\x69\x3f\x9d\xc2\xad\x79\xb4\xe5\x68\x19\xf6\xe1\xa7\x50\x15\xf1\x1e\xd7\xcb\x5c\xea\x8e\x6a\x93\xda\x87\x37\x0a\x04\x25\xce\x4b\x26\xde\x2c\xb5\xd4\x21\x22\xa5\x13\x6b\xc6\xc8\xca\x26\x31\xb0\xb2\xc9\xdf\x0e\x85\x9d\x43\x6e\x07\xcb\xdb\x29\x5b\x7b\x8e\xd5\xdc\x03\xe7\x98\x01\xd0\xc0\x79\x4c\x7b\x6f\xcf\x18\x98\x54\x15\xa8\xad\x94\xbf\x63\xe2\xb7\xde\xb5\x8e\x4b\x4b\xbe\xc4\xdd\xe4\x6f\xce\x27\x66\x0e\x95\xa2\xa7\x58\xee\xcf\xce\x83\x51\x3b\x50\x4b\x59\xc1\x02\xf6\xc3\xe0\xc2\xa8\x2d\x8f\x8b\x6a\x4b\x60\xc7\xfc\xed\x43\x1b\x59\x26\x06\xed\xde\x99\x51\xb3\xca\xf3\xa2\x45\xb6\xe5\x21\x06\xaa\x66\xba\x8c\xe5\xdd\x32\x5d\x62\xd4\x79\x5a\x24\xce\xd3\x10\xda\xac\x70\xfb\x56\x74\x07\x7d\x74\xe6\x15\x57\x50\x63\x97\x2e\x71\x0f\x8a\x56\x40\x5a\xbe\xbb\x3a\xdf\xb5\x17\x2b\x44\x20\x86\x36\x12\x67\x92\x64\x1b\x88\xf0\x24\x4f\x93\x37\x20\x40\xb1\x12\x7b\x9a\x1c\xf6\xa2\x48\xf7\x8d\x24\xed\xb5\x10\xa1\x74\xaf\x24\x07\x9d\xd8\xdf\xdc\x1d\x96\x78\x27\x26\xc8\x1d\x36\x96\x3a\xc1\x62\xd4\xf6\x39\x9b\x52\xdc\x27\x2e\x4e\x70\x97\xbd\xbc\x3c\x2c\xa2\x37\xbc\x3c\xac\x60\xa7\xf3\xb9\x63\x63\xd3\x7a\x88\xc8\x32\xfa\x0e\xd6\x90\x1b\x9a\x4a\xc7\x0e\xfd\x9d\xe2\x72\xb0\x63\x4b\x93\x0a\xb6\xf7\x91\x6f\x66\x4d\xac\xa9\x38\x27\x26\x5f\x4b\xde\x88\xf3\xaa\xb9\xb7\x14\x65\xb4\xd6\x48\x27\x7a\xcb\xd8\x5a\x7d\x0e\x0f\x35\xbd\x25\xa7\x4e\xa7\x97\x36\xc7\x3b\xd0\xd2\xaa\x12\x34\x41\xf7\xda\xa7\xd8\x02\xde\x65\x18\xd4\x67\x3c\xdc\xe7\xd8\x02\xdc\xa7\x18\x9a\x0c\x4f\x96\x35\x4b\xe8\x8f\xce\xe9\xae\x4f\x78\x7e\xa9\xe8\xce\xfc\x8b\xfc\x96\x0c\x75\x63\xce\xa9\xf3\xc9\xc7\xd1\x91\x7d\xe2\x49\xe5\xda\xfd\xaa\x54\x2b\x2a\x68\xa4\x66\xa9\x85\xe7\xba\xf5\xa0\xf2\x6d\xc0\xc6\x29\xd7\x63\x11\x6a\x4b\xaa\x0d\x87\x82\x1a\x43\x53\x63\xf7\xc1\xbb\xc9\xc6\xbb\x51\x33\x63\xc6\x8f\xa4\xcf\xf9\x78\xfd\x86\xaa\x3d\x24\x22\xde\xf1\x1f\xbc\x7b\x85\xfe\x8e\xbf\xa4\xbf\xe3\xe3\xf5\x57\xb0\x5b\x14\x7f\x0d\x3b\x10\x1a\x56\xa8\x77\xf4\x25\xe9\x3d\x1d\xb3\x60\x47\xcc\xf7\x88\x7a\x6b\xa7\x71\xa9\xf7\x2b\xe6\xdc\xd2\x64\xcb\xd7\x08\xcf\xe5\x81\x8a\x7d\x42\xe5\xc7\xce\x83\x5a\x95\x7b\x6a\xa4\x74\xa0\x62\xb4\xfa\xb5\x3e\xbd\x0a\xe3\xf7\x8e\x58\xa2\xe7\xa1\x6e\x5f\x0b\x0a\x1f\x5b\x07\x46\x63\xcf\x8c\x54\xf6\x4c\x84\x4e\x21\x0b\x6d\x68\xcd\xc2\x92\xd4\x57\x49\xee\xa7\x76\x4c\x51\x44\x03\x55\xe5\x61\xa9\x2e\x32\xf5\xe6\xbf\xb9\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-04 02:57:38 +01:00
info := bindataFileInfo{name: "data/code_obj_sub_type.json", size: 11887, mode: os.FileMode(420), modTime: time.Unix(1578102970, 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-04 02:57:38 +01:00
info := bindataFileInfo{name: "data/code_obj_type.json", size: 668, mode: os.FileMode(420), modTime: time.Unix(1578102970, 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
}
2020-01-04 02:57:38 +01:00
info := bindataFileInfo{name: "data/config.json", size: 0, mode: os.FileMode(420), modTime: time.Unix(1578102970, 0)}
2020-01-02 11:04:48 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2020-01-04 02:57:38 +01:00
var _dataMsg_rulesJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x6d\x8f\x1d\xc7\x75\x27\xfe\xda\xfe\x14\x25\xe6\x0f\x70\x86\x9c\x19\x91\x92\xa8\x07\xfe\x03\x72\x87\xa2\x1e\x98\x15\x65\x5a\xa4\x4c\xc8\x6c\x85\xa8\xdb\x7d\xee\xed\xf2\xad\xae\x6a\x56\x55\xcf\x65\x4b\x34\x40\xe4\x61\xb1\x0b\x3b\x51\x56\xd6\xc6\x88\x2d\x83\x6b\x20\xf1\x8b\x45\x80\x18\x79\xb1\x6b\x04\xd8\x2f\xc3\x2f\x60\x7e\x84\xc5\x39\xa7\xaa\xbb\xef\xd3\xcc\x1d\xc5\x97\x96\x1c\x0b\x89\x79\xa7\xbb\xba\x1e\x4f\x9d\x3a\x0f\xbf\x73\xea\xde\xb7\xbf\xf5\xe9\xb7\xbf\xf5\xad\x33\xb5\x53\xf6\xcc\x65\x71\xe9\xc2\x85\x0b\x7b\xf8\x77\x01\x3e\x37\x67\x2e\x8b\x33\xb7\xb4\x6c\xc1\x89\x99\x74\xc2\x41\x6d\x5d\x38\x43\xef\x5d\xa3\x01\x5f\xff\xf9\xce\xd5\x5b\x7f\xfa\xa6\xf4\x41\xc3\x95\x7b\xcf\x9e\xfc\xdd\x7f\x7b\xf6\xe4\x57\x7f\xfd\xec\xc9\xdf\xfd\xdb\xb3\x27\xbf\xfa\xaf\xcf\x9e\xfc\xea\xc7\xcf\x9e\xfc\xd3\x17\xcf\x9e\xfc\xf8\xbf\x7f\xbc\xbb\x93\x65\xf7\xb0\xf4\x3b\x8d\xd2\xc5\x95\x7b\x87\xfb\xdf\xbf\xb0\xff\xc6\xc7\x9f\x5e\xdc\x7b\xf9\x87\xbb\x59\xf6\xf1\xee\xa7\x17\xf6\x2e\xfe\x10\x0b\x7c\xe8\xc1\x5d\xd9\xc1\x02\x72\xff\x93\x0b\xfb\x6f\x88\x8f\xcf\xed\xee\x8a\xa7\x3f\xfb\xe2\x32\xbe\x3d\x0c\x41\xe6\xd3\x2b\xf7\xf0\xe3\xf3\xbb\xfd\x93\x9b\xb6\xb8\x92\x65\x3b\x3b\xfb\x8f\xb2\xec\xfc\x2e\xbf\xce\xb2\x5d\xae\x56\x3c\x7b\xf2\xf3\x5f\xd2\xe7\xd7\x61\x0c\xc6\x43\xfa\x5e\xbc\x77\xa4\x2f\x0b\x7c\xf1\x1e\x1c\x81\x4e\x8f\xb3\xcc\x7c\x64\x1b\x1c\xb2\x6f\x74\x10\xd6\x88\x50\x82\x18\xc9\x10\x34\x8c\x15\xe8\xe2\x72\x96\x99\x9d\x67\x4f\xbe\xf8\xa7\xb7\x1e\xd6\xfc\xfd\x5b\x0f\xeb\xf4\x75\x1c\x4a\x96\x99\xdd\x73\x3b\xcf\x9e\x7c\xfe\xeb\x77\xac\x2e\xb8\x14\xfe\xba\x92\x65\xfb\x54\x62\x75\xf1\x9f\xfc\xea\x76\xb0\xf9\x94\xcb\xd3\xcf\x63\x3f\x78\xfa\x8b\x7f\xfc\xed\x6f\x3e\x7b\x37\xf6\xe2\xdd\x5b\x58\x78\x55\x39\xae\x4d\x56\xca\xc8\x2b\xd8\xf3\x1f\xc5\x3f\x70\x8c\xc1\x3a\x28\x76\x07\xe5\x69\x55\x9d\x0a\x57\x76\x9e\xfe\xec\x97\xf8\x43\xe5\x52\x0b\x1f\x9c\x9a\x42\x2a\xf7\xff\x31\x25\x54\x7e\x72\x3f\xb4\x35\x51\x03\xfe\x66\x2a\xb9\x2f\xf3\xe9\x99\x6f\x7f\xeb\x87\x7b\x27\xd1\xd7\x61\x93\x07\x65\x8d\x90\xc6\xd8\x26\x87\x05\xea\x7a\xcf\x06\xf1\x27\xb4\x3a\x36\x74\x4b\xc6\x23\xbd\x11\xa0\xba\x72\x70\x0e\x97\x6a\xe7\xbb\x8d\xd4\x2a\xb4\xfc\x22\xfe\x11\xdf\xc5\x31\xbd\x69\x4d\xa1\xb0\x21\x2e\x83\x7f\xce\x15\xb8\x0d\x5a\x83\x8b\x73\x4e\xbf\x37\x24\x6a\xd1\x4d\xda\xbd\xfe\xdb\x13\x49\x9c\x8b\x11\xa1\x1f\x9c\xe3\xc7\x59\x66\xde\x6c\x9c\x03\x13\x44\xed\x54\x0e\xdc\x97\x5b\xf8\xb3\x1b\x79\x6d\x9b\xbc\xcc\xb2\x1d\xf0\x59\x86\x7d\xbf\xd6\xb4\xd4\xe9\xf7\xad\x81\x47\x58\x9c\x1e\x7c\xb5\x9e\xd3\xa7\x27\x76\x9c\x4a\xcd\xf5\x1b\xfb\xf1\x96\x29\xc4\x61\x88\xfb\xa0\x9b\xd9\xdb\x41\x86\xc6\x27\x3a\xc6\xdf\xf8\x22\x92\xe3\x55\x7f\xf9\xe0\xdc\xee\x6a\x12\x92\x4c\x13\xf7\x89\x26\x4c\x0e\x1b\x11\xd2\x1d\x55\x2d\x52\xcf\x0d\x23\xde\x2c\x65\x10\x77\xa5\xf3\x62\x66\x9d\x2e\x84\xb1\xb3\x48\xde\x58\x3e\xd1\x0f\x6e\x1c\xdb\x38\x9e\xe7\x4f\x5f\xfa\xe1\x2e\xb1\x8a\x9b\xca\x34\x01\xfa\x87\xb1\xe4\x75\xd9\xf6\xcf\x68\x70\x37\xad\x09\xe5\x95\x83\xf3\xfc\xd7\x47\x20\x53\x4d\xaf\xd0\x47\x59\x66\xee\x82\x0c\x25\x38\x31\xb6\x0e\x72\xe9\x43\xac\x2a\x3e\xc6\x6e\x3c\xfd\x2f\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-04 02:57:38 +01:00
info := bindataFileInfo{name: "data/msg_rules.json", size: 62377, mode: os.FileMode(420), modTime: time.Unix(1578102970, 0)}
2019-12-29 13:25:00 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2020-01-04 02:57:38 +01:00
var _dataObj_itemJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x9d\xdd\x6e\x1b\x49\x76\xc7\xef\xfd\x14\x05\xdd\xf8\x46\xc1\x9a\x92\x48\xcb\xbe\xb3\xe4\x0f\xcd\x8e\x35\xa3\x15\x9d\x31\x92\xc5\x60\x50\x22\x8b\xec\x5a\x75\x77\x71\xab\xbb\x25\x2b\x8b\x01\x82\xdc\x06\xc9\x02\x19\xe4\x63\x81\x00\xbe\xcc\x2b\xec\xf3\xcc\x0b\xac\x1f\x21\x60\x77\x93\x6c\x36\x4f\xcb\x5d\x3c\xff\xaa\xbb\x71\x15\xa7\xf5\xab\x8f\x53\xff\xfa\x3a\xa7\x7e\xff\x44\x88\x3f\x3d\x11\x42\x88\x03\x9d\xab\xe4\xa7\xfc\x61\xa1\x0e\x5e\xd6\xff\xb0\x2a\x3b\x38\xac\x32\x27\x66\x5a\xa6\x3f\x1b\xac\x52\xee\x95\x9e\x47\xf9\x32\x6d\x9d\xa4\x3e\x4d\x22\x99\xce\xcb\x1f\xfe\x26\xff\x69\xf3\x5b\x59\x4c\x72\x6d\xd2\x65\xfa\x4c\xc6\x99\x5a\xa5\xa7\x32\x51\xd9\xc1\x4b\xf1\xfb\xf2\x9f\x42\x1c\x7c\x88\xac\x92\xd3\x83\xf2\x9f\x3f\x3e\x11\xe2\xe7\x43\x57\xbe\x23\x07\xbe\x23\x67\xbe\x71\xae\x27\xb7\x1c\xbc\x63\x07\xbc\x63\x67\xbc\x2b\x15\xe7\x1c\xba\x13\x07\xba\x13\x67\xba\x33\x93\x2a\x0e\xdd\xd0\x81\x6e\xe8\x4c\x77\x6e\x64\xcc\xa1\x1b\x39\xd0\x8d\xdc\xe9\x22\x69\x27\x4c\xc2\xe7\x0e\x84\xcf\xdd\xfb\x9e\xb9\x9f\x2a\xcb\xe1\x3b\xdd\xe5\x3b\xea\xe2\x3b\x75\xe6\xfb\xc6\x9a\x54\x7c\x6f\x57\x3f\x58\xa5\x18\xcb\xea\x93\x2f\x1c\xea\xf4\x85\x7b\xab\xc7\x26\x8f\x18\x78\x83\x67\xfd\xab\x74\xf3\xdb\xfe\xa3\xa1\x8e\xef\x94\xdd\xae\xd4\x3a\x8d\x57\xad\x83\x67\x04\xf8\x33\x0a\x7c\x8f\x6e\x5a\x4c\x22\x61\x66\xe2\x9d\x89\x39\x42\x33\x20\x84\xb0\xb3\x6a\xdd\x85\xf0\x4c\x16\x9f\x74\xce\xaa\x43\x42\x09\x49\xc0\x3d\x46\x4a\xbb\xaa\xb9\xd5\xdf\xb4\x72\xb6\xfc\x03\x7f\x5a\xfd\x64\x92\x4c\xcb\xb2\x97\x19\x3f\xad\x51\x84\x38\x48\x64\x2a\x0f\x5e\x8a\xc1\x70\x9d\xb2\x2c\x40\xf3\xfb\x62\xfd\x99\x75\xf6\xd6\xcc\xa3\x4e\xff\x63\x21\xd3\x5c\xe7\x0f\x07\x2f\xc5\xf3\x75\xfa\xcf\x87\x8f\x7f\x64\xf0\xa2\xf3\x23\x83\xcd\x47\xea\xff\xfa\xf1\xc9\xea\x5f\xee\x95\xef\xa0\xf3\x03\x77\x9d\xbf\x94\x73\x3d\x11\xe3\x7c\x29\xa8\x87\xdb\x89\x59\xce\x53\xd9\x01\x31\x07\xc0\x74\x9b\x8f\xc6\x4c\x55\x2a\xc6\xd1\xb2\xaf\x1c\xb6\x52\xb3\x32\x95\x81\x4d\x4c\x0e\x3a\xcd\xd1\x7d\x72\x30\x96\x8b\x45\xa4\x79\x63\x1a\x31\x41\xe8\x24\x74\x9f\x20\x8c\x4d\x7c\xa7\x52\x56\x15\x12\xf3\x83\x4e\x40\xf7\xf9\xc1\x75\x71\xf3\xc0\xa1\x73\x98\x1d\x0c\xdc\x67\x07\x17\xd2\x4e\x55\xca\x9a\xbf\x0c\x88\xb9\x40\x27\xa1\xfb\x5c\x60\x9c\x2b\xc5\x99\xfe\x1d\x11\x92\xda\x35\x24\x1d\xb9\xcf\x05\xde\x2b\x99\x47\xac\xfa\x3b\x72\x58\x5a\x1e\xed\xa1\xa8\x26\x55\xa2\x9e\xa4\x1e\x6e\x25\x2e\xb8\x33\xd7\x23\x87\x45\xe7\xd1\x3e\x8b\x4e\xab\xd3\x39\x87\xcf\x41\x8d\x8e\xdc\xd5\xe8\xdc\xdc\x72\x06\xc6\xa3\xbe\xab\x4e\xf7\xb9\x5e\x61\xf5\x4c\xab\xe9\x4e\xb3\xaf\x33\xf8\x4d\x4f\xe8\xce\x31\x04\xbe\x9e\x48\xbf\x8a\x63\xf3\xb0\x33\xbd\x96\x65\x2a\x03\xbb\xef\x58\xbf\xdf\x30\x25\x2e\x97\x93\xeb\xc3\xed\xb4\x84\x37\xe1\x3e\xea\x2b\x00\xfb\xd6\x74\x8b\xb9\x4a\xe4\x42\x13\x9a\x80\xe9\x1e\x67\xb1\x9c\xdc\x66\x89\xce\x23\xf1\xd6\xca\xa4\x31\x0f\x6c\xe4\xcc\xca\x9c\xfd\xf1\x8f\x09\xcd\xc0\xe0\xbf\xb2\xb9\xce\x64\xda\x66\x5f\x25\xb3\xc1\x1d\xb4\xe4\xd8\x5d\x4b\xae\xcd\x82\x45\xe7\x6d\x69\x56\xf7\xda\x56\xad\xd6\xa9\xec\x4a\x25\x64\xa4\x6b\x82\x73\xbc\xc7\xa2\x46\xe5\x32\x16\x57\xb1\xcc\x9b\x8b\x9a\x32\x71\x51\x26\x32\xc8\xfb\x2e\x6a\x96\xe4\xee\x1b\x9b\x25\x64\xac\x27\xe2\xad\xbe\x69\xca\xcc\x3a\x7d\x56\xa6\x33\xf8\x1d\xb6\x3e\x8f\xf7\xd8\xfa\x5c\xae\xd2\xd5\x54\xac\xe6\x70\x87\xed\x8c\x98\x3d\xb9\x3b\xee\xbb\xfa\x71\x86\xff\x5d\x21\x63\x9d\x3f\x08\xee\x5e\xd9\x31\x21\x89\xf0\xa1\xfa\x92\x27\x27\xc7\x84\x06\x62\xc7\x63\x17\x40\x19\x4f\xa2\x1d\x42\x87\x0d\xd1\xe3\x7d\x16\x41\x3a\xbd\x7d\x10\xe3\x22\x91\x13\x0e\xe6\x89\xc3\x62\xe8\xc4\x7d\x31\x74\xa9\xec\xe4\x41\x8c\x65\x96\xc9\x99\x95\x19\x8b\xd4\x41\xc9\x4e\xdc\x95\xec\x3c\xd6\xb3\x99\xb8\x2e\x7a\x8f\xae\x24\xa3\xc3\xfa\xe7\xc4\x7d\xfd\xf3\xde\xdc\x29\x71\x6e\x95\x5a\xf4\x1f\x82\x48\x4c\x87\x65\xd0\x89\xbb\x7e\x7d\x34\xf1\x4c\x5c\x1b\xd3\x7b\x0f\x86\x64\x74\x38\x82\x3b\x71\x57\xaa\xf1\xbd\x4c\x16\xe2\xbd\xbc\x53\xa9\xc3\xba\x87\x04\x75\x90\xa4\x13\x77\x49\xfa\x18\xe9\x5c\x89\xb3\xd8\x64\x99\x49\x58\x9c\x0e\xe7\x72\x27\xee\xdb\x6e\xdf\xc4\xf2\x4e\xf1\x0c\xdc\xe1\x58\xee\xc4\x7d\xdb\xed\xcd\x22\xd2\x7f\x30\x56\xb2\x10\x0
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-04 02:57:38 +01:00
info := bindataFileInfo{name: "data/obj_item.json", size: 92842, mode: os.FileMode(420), modTime: time.Unix(1578103026, 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, "/")...)...)
}