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