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