Started work on the Education page
[resumebuilder.git] / bindata.go
1 // Code generated by go-bindata.
2 // sources:
3 // resources/resumebuilder.glade
4 // DO NOT EDIT!
5
6 package main
7
8 import (
9 "bytes"
10 "compress/gzip"
11 "fmt"
12 "io"
13 "io/ioutil"
14 "os"
15 "path/filepath"
16 "strings"
17 "time"
18 )
19
20 func bindataRead(data []byte, name string) ([]byte, error) {
21 gz, err := gzip.NewReader(bytes.NewBuffer(data))
22 if err != nil {
23 return nil, fmt.Errorf("Read %q: %v", name, err)
24 }
25
26 var buf bytes.Buffer
27 _, err = io.Copy(&buf, gz)
28 clErr := gz.Close()
29
30 if err != nil {
31 return nil, fmt.Errorf("Read %q: %v", name, err)
32 }
33 if clErr != nil {
34 return nil, err
35 }
36
37 return buf.Bytes(), nil
38 }
39
40 type asset struct {
41 bytes []byte
42 info os.FileInfo
43 }
44
45 type bindataFileInfo struct {
46 name string
47 size int64
48 mode os.FileMode
49 modTime time.Time
50 }
51
52 func (fi bindataFileInfo) Name() string {
53 return fi.name
54 }
55 func (fi bindataFileInfo) Size() int64 {
56 return fi.size
57 }
58 func (fi bindataFileInfo) Mode() os.FileMode {
59 return fi.mode
60 }
61 func (fi bindataFileInfo) ModTime() time.Time {
62 return fi.modTime
63 }
64 func (fi bindataFileInfo) IsDir() bool {
65 return false
66 }
67 func (fi bindataFileInfo) Sys() interface{} {
68 return nil
69 }
70
71 var _resourcesResumebuilderGlade = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5c\xdd\x6f\xe2\xba\x12\x7f\xdf\xbf\xc2\x37\xaf\x57\x94\x02\xed\x6e\x2b\x01\xab\xdb\xaf\xd5\x4a\xdd\xed\xde\xa5\xe7\x1c\xed\x13\x32\xf1\x10\x7c\x6a\xec\x1c\xdb\x69\xe1\xbf\x3f\x72\xc2\x47\x80\x7c\x43\x93\xa0\xe5\xa5\x52\x89\x67\x3c\x9e\xf9\xfd\xc6\xf1\xd8\x4e\xf7\xf3\x6c\xca\xd0\x2b\x48\x45\x05\xef\x59\xad\xb3\x73\x0b\x01\xb7\x05\xa1\xdc\xe9\x59\x7f\x3c\x3f\x34\xae\xac\xcf\xfd\x0f\xdd\xff\x34\x1a\xe8\x0b\x70\x90\x58\x03\x41\x6f\x54\x4f\x90\xc3\x30\x01\xd4\x39\x6b\xb7\xcf\x5a\xa8\xd1\xe8\x7f\xe8\x52\xae\x41\x8e\xb1\x0d\xfd\x0f\x08\x75\x25\xfc\xe3\x51\x09\x0a\x31\x3a\xea\x59\x8e\x7e\xf9\xaf\xb5\xee\xa8\x73\xd6\x3e\xb7\x9a\x7e\x3b\x31\xfa\x1b\x6c\x8d\x6c\x86\x95\xea\x59\x5f\xf4\xcb\x23\x55\x7a\xa0\x85\x04\x0b\x51\xd2\xb3\xee\x89\x67\x63\x4d\x05\x0f\x7e\x33\x32\x08\x75\x6d\xc1\xbc\x29\x57\xc1\x7f\x08\xf9\x06\x06\xbf\x35\x38\x9e\x02\xfa\xbf\x87\x19\x1d\xd3\x40\xd2\x37\x6f\xd1\x30\x68\x84\xf4\xdc\x85\x9e\xe5\xd8\x13\x2c\xb1\x94\x78\x1e\x18\x13\xa9\xea\x2b\x57\x9a\x6a\x6f\x7f\x45\xbf\x00\xcb\xa7\xf1\x0f\xac\x14\xe5\x4e\xbc\x2a\x8f\x72\x9d\xa0\xe5\x8b\xc4\x04\x7e\x80\xb4\x81\x6b\xec\x40\x0e\x93\xba\xcd\x90\xd7\xba\xcd\xc0\xf1\xd1\x31\xf8\x8b\x72\x22\xde\x82\x00\x7c\xc3\x94\x2f\xfe\x5f\xe8\x71\xa5\x70\x41\xea\x39\x32\x06\xf5\x2c\xf3\xd7\xea\xaf\x9b\x75\x9b\xcb\x06\xd1\xed\x6d\xcc\x87\x63\x61\x7b\xca\xea\x3f\x60\xa6\x20\xad\xfd\x9b\xaf\x75\xe8\x0a\x45\x4d\x10\xac\xbe\x19\x3a\xc8\x86\xe0\x0d\x17\x4b\xe0\x7a\x47\x81\x3d\xa1\x8c\xac\xdc\xe2\x32\x6c\xc3\x44\x30\x02\x72\xed\x89\x75\x8b\xad\xd6\x3b\xbe\xf8\x2e\x34\x8c\x84\x78\xb1\x96\x4d\x76\x2d\x7c\xa5\x8a\x8e\x18\x58\xfd\x67\xe9\xed\x0c\x27\xc5\x05\x59\x45\x94\x2d\x05\x63\x38\xb9\x9b\x8d\xa1\x44\x0f\xe7\x81\xce\x80\x58\xe1\x36\x05\xc6\x53\x24\xac\xf1\x46\x46\x1b\x7a\xcf\xb5\x9c\x07\x10\x7c\xa0\x52\xe9\xef\x3e\xcc\xb6\xc4\xa2\xd0\x42\xf4\x64\x68\xb2\x0f\x28\x6d\xf5\xdb\xed\xcb\x38\x43\x0a\x8f\xbc\x60\x44\xe3\x44\x29\x77\x3d\x3d\x74\x3d\xe9\x0a\x05\x56\xdf\xfc\x18\x2f\x1e\xe6\xed\xa6\x52\x6c\xbf\x50\xee\xa4\x77\x37\x33\x4e\x69\xe5\x31\x70\x6e\xf5\x5b\x09\x02\xdd\x66\x64\xdf\x1b\x24\x5b\xfd\x98\x31\xf8\x8f\x78\x04\x2c\x43\xb4\x0f\x11\xaf\x44\xb4\x46\xc9\x32\xdf\x38\xa4\x25\xe6\x8a\x61\x6d\x38\xd9\xb3\xe6\x60\x54\x19\xa0\xa2\x12\x22\xd8\xf9\x94\x37\x80\x57\xa7\x00\x66\x08\xe0\x23\xae\x69\xfc\x2e\x13\x04\xde\x23\x7e\xa1\xec\x6b\x7c\x72\x4a\xbe\xa8\xba\xe4\x7b\x79\x5e\x4f\xee\x6e\x47\xfb\x22\xcf\xb8\x26\x40\x9d\x89\x0e\x49\x27\x0c\xb2\xf6\x69\x63\x00\xb3\xba\x25\x8c\xf6\x55\x42\x38\xde\x03\x35\x3f\x31\xa1\xe2\xc6\xd3\x5a\xf0\xe5\xc2\x81\x65\xc9\x19\xf1\x5e\x35\x0a\xf2\x8c\x7a\x0b\x8f\x97\xd7\x7b\xe1\x31\x17\x9a\xab\x48\x5d\x12\x6c\xa0\xaf\xa0\x86\x04\xc6\xd8\x63\xba\x00\xa2\xb1\xad\xe9\x6b\x01\xab\x89\xc4\x6f\x43\xca\x89\x59\x60\x0b\x99\x41\x5e\x51\x87\x63\xb6\x90\xd6\xc2\x71\x18\x10\x0b\x4d\x30\x27\x0c\x64\xcf\x1a\xc0\xcc\x04\x7b\x00\x0c\x6c\x6d\x9e\xa8\x37\xec\xba\x40\x7a\x16\x17\xeb\xb5\xf0\x4a\xdb\x61\xd2\x70\xc2\x1b\x51\x0c\xa3\xda\x15\x33\xea\x01\xa6\xfb\x72\x2a\x50\xb1\x07\xab\x3e\xe5\x9a\xd2\x4f\xac\x7a\x4f\x56\x6d\xc9\x3b\x52\x78\x6e\x86\xb4\x99\x4e\xc6\x00\x25\x65\xd2\xb1\x73\x9e\x0b\x57\x55\xd3\x71\x1f\x0a\x3e\xe9\x09\xc8\x3d\x18\xf8\x71\x3f\x06\x7e\x3c\x31\x30\x56\xae\x3e\x0c\xf4\x41\x52\x2a\x01\xaf\x13\xe8\x54\x0f\x02\x1e\x69\x4d\xe1\x0e\x6b\x40\x62\x8c\x6e\xa8\xd4\x93\xba\x2d\x13\xae\x4b\xae\x2b\x84\x5f\x67\x06\xf8\x15\x0e\x90\x4f\x8d\x9a\x3d\xd2\x69\xab\x93\x6b\xe5\xb9\x9d\x4f\x3b\x47\xf8\x46\x93\xef\x75\xdd\x66\xd4\x7e\xd9\xcc\x4f\xab\xc0\xdd\x2e\x9f\x95\x90\xa0\xda\x79\xb1\x7d\x71\xdd\x29\x17\xdc\xb7\x98\x01\x27\x58\x06\xf0\x36\xbc\x7f\x1a\xfb\xac\x2f\x50\x4c\x49\x2a\xd8\xa6\xa3\xb2\x75\x55\x7a\x39\x25\xaf\xe8\x1c\xb0\xb4\xfa\xed\xf3\x7c\x03\x9d\x0a\x6e\xdc\x99\x6b\x69\x4f\xf0\x3c\x75\xe5\xb1\x81\x78\x82\xe7\x0d\xb5\x9a\x7b\x57\xb0\xbf\x13\x37\xe5\xae\x50\x73\xa5\x16\x93\xcc\x4b\x2e\xf9\x1c\xe9\x84\xfc\x3f\x42\x24\x28\x85\xc6\x42\x22\x5b\x4c\xa7\x1e\x5f\x1c\x14\xa8\xdb\xe4\xdc\x49\x7a\x59\x7f\x8f\x80\x3e\xc8\x82\x75\xfe\xbd\xa6\xd0\xf2\x73\x55\x31\x30\x0d\x67\x98\x51\x87\x5b\xfd\x5c\xf6\xaa\x09\x26\xe2\x6d\xa8\xe7\x2e\x58\x7d\x2e\x78\x72\xbf\x91\x81\x8a\x0e\xd6\xc0\x3f\x11\x00\x64\xe3\x70\xc6\xc1\xbc\x97\xe2\xc1\x22\xe2\x1b\x9e\xa0\x09\x6c\x4b\xf3\x45\xb4\x3f\x9e\x61\xa6\xff\xa4\xb0\x38\xb6\xb2\x20\x79\x8c\x5b\xf6\x76\xcd\x01\xdc\x13\xa5\x02\xdb\x36\xb8\x5a\x0d\x35\x1e\x65\x40\xe9\x42\x47\x4c\x6e\x5a\x3e\x8d\x87\x54\xac\x60\xac\x50\x10\x93\xc5\x11\xa3\x80\x14\x54\xc3\x34\xd2\xcb\x11\x07\x6f\x32\xf4\x51\xd1\xd4\xd9\xe9\x9c\x4e\x38\x64\x99\x3b\x6f\x05\xd7\xd8\xd6\xe8\xbb\x37\x1d\x25\x55\xb1\xaa\x99\x30\x2f\xda\x25\xbf\xf1\x87\xb6\xc9\x17\x9e\x09\x1c\x53\xfa\x1c\x5a\xff\x65\xe8\xd6\x4e\xbb\x3b\x49\x9c\x0a\x2b\x4a\x03\x17\xad\x84\xe2\x6a\x8d\xf6\xda\x2f\xf7\x5a\x1d\x1e\xf5\x5e\xfb\x7d\xe3\x1b\xa6\x0c\x7d\xbd\xab\x5d\xf2\xf9\x58\xf2\xf2\x2b\x94\x7c\xee\xa7\x98\x16\x39\xb2\x91\xef\x2c\xca\xd1\x27\x1d\x30\x6e\xaa\x5f\xd2\xb9\x3c\x08\x70\xa2\xac\x8f\xb6\x7c\xdb\x06\x8d\x47\xc3\x31\x65\x2c\x91\xa7\x11\x86\xec\x18\xb1\xf1\x7a\xe8\xbf\xc3\x86\x15\x64\x4a\x7e\x85\x50\x53\x34\xf3\x64\xcf\x3a\x37\x58\x51\x1b\xdd\x81\xc6\x94\xa9\x38\x07\xd5\xc4\xff\xc9\x4e\x3f\x9a\x03\xe0\x05\x8b\x11\x17\xf9\x12\xf7\xce\xdc\x98\xb4\x10\xa8\xd3\xe4\x78\xaa\x46\xd4\xbb\x1a\x21\x01\xd6\xd5\x88\xd5\x2d\xa6\x47\x6a\x40\x96\xb9\x1e\xb0\x85\xed\xce\x75\xe2\x7b\x5f\x9c\x96\xdd\x33\x00\x89\x98\x89\x53\x53\x87\x02\xc9\x54\x10\x33\x65\x6c\xde\x0a\x2b\xa2\x48\x01\x96\xf6\x64\x18\x5c\x89\x4a\x21\x51\x9c\x0e\xe0\x66\x86\x18\x3a\x92\x92\x21\xa3\xdc\xcc\x13\x23\x91\xb4\xc7\x1b\x52\x15\xcc\x94\xfe\x9d\x39\x8e\x59\xc3\xff\xd7\x58\xc5\xc0\x0e\x6e\x39\xc5\x8a\xc6\xa1\x6d\xb0\x92\x8d\xa8\xb6\xac\x44\xe3\xcb\x41\x61\xc3\xf2\xf7\x6e\xb0\x7e\x1b\x38\x73\xb1\x1c\x66\x1b\x97\xf0\x12\x07\x14\x31\x25\x52\xcd\x20\x72\x26\xde\xd0\x9a\xc5\xd5\xd9\x46\x15\x3d\xb2\x5b\x60\xec\x27\x70\x02\x12\xe4\x33\xcc\x74\x30\x36\x63\x42\x92\x93\x17\xda\xb0\xd6\x92\x8e\x3c\x0d\x2a\xad\x69\xb8\xf1\xd2\x01\xa6\x37\x03\xcb\xd5\x83\xd4\xfe\x9a\x59\x3b\x4c\x05\x41\x5a\x51\x31\x93\x92\x03\x22\x29\x74\x07\xf3\x60\x38\x0a\xe9\xac\x06\x45\x81\x01\xe5\xe0\xa8\x75\xc2\x91\xc1\xd1\x2f\xc0\x52\x2c\xaf\xe0\x1e\x0c\x49\x46\x2b\x12\x63\xb4\xd0\x5b\x0d\x9a\x8c\x11\xc6\x80\x72\xf0\xd4\x3e\xe1\xc9\xf2\x6f\x62\x3f\xc9\xf5\x5d\xec\x83\x01\xca\xd7\xdc\x5c\x2b\xae\x06\x51\xab\x9b\xe6\xe5\x40\xaa\x73\xb4\x90\x3a\x6d\xc0\xed\x14\xc1\x72\xdf\xad\x68\x9d\xce\x92\x66\x29\x43\x6d\x7e\xd7\xe2\xd9\x64\x90\xf7\x2e\x83\xe7\xbd\xad\xd8\xa9\x6e\x0b\x6e\xc3\x3b\xbe\x73\x0a\x94\xc4\xaf\xf6\xda\x5a\xa9\x5b\x49\xfc\x20\x18\x68\xe5\xbb\x4a\x67\xf8\x5c\xd3\x6d\xb4\x9a\xd1\x39\xd3\x1a\xa4\x1a\x1a\x7f\x2a\xf9\x3c\x44\x88\xc6\x21\xaf\x14\xbc\x77\x7e\xb5\x57\x09\xf8\xc4\x61\x1f\x01\x65\x6f\x67\x1e\x29\x87\x33\xaf\xfe\xaa\xe1\x71\xab\x55\xf2\xd7\x03\x42\x44\x5e\xae\x49\xa3\x17\xdb\xbf\x17\x89\x53\xf7\xa6\x09\x75\xa8\x8e\xd9\x5a\x44\xd5\x65\x81\xd6\xf9\x29\x0d\x64\x49\x03\xd9\xd7\xec\x15\xe5\x81\xcb\x92\x57\x58\xa1\x3c\xb0\x5d\x29\x39\x25\x83\x63\x4d\x06\x17\x15\x9f\x54\x59\x7f\x04\x30\x06\xff\xbf\xf7\x29\x95\xd5\xb6\xe8\xa1\x4f\xa8\xa4\xfa\xbd\xdc\x43\x2d\xd1\x85\xad\x9c\x81\xce\xa4\x64\xd3\x65\xa1\x87\xeb\x07\xdd\x66\xe8\xcb\xa7\xff\x06\x00\x00\xff\xff\xf0\x94\x85\x6e\x52\x55\x00\x00")
72
73 func resourcesResumebuilderGladeBytes() ([]byte, error) {
74 return bindataRead(
75 _resourcesResumebuilderGlade,
76 "resources/resumebuilder.glade",
77 )
78 }
79
80 func resourcesResumebuilderGlade() (*asset, error) {
81 bytes, err := resourcesResumebuilderGladeBytes()
82 if err != nil {
83 return nil, err
84 }
85
86 info := bindataFileInfo{name: "resources/resumebuilder.glade", size: 21842, mode: os.FileMode(436), modTime: time.Unix(1540565039, 0)}
87 a := &asset{bytes: bytes, info: info}
88 return a, nil
89 }
90
91 // Asset loads and returns the asset for the given name.
92 // It returns an error if the asset could not be found or
93 // could not be loaded.
94 func Asset(name string) ([]byte, error) {
95 cannonicalName := strings.Replace(name, "\\", "/", -1)
96 if f, ok := _bindata[cannonicalName]; ok {
97 a, err := f()
98 if err != nil {
99 return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
100 }
101 return a.bytes, nil
102 }
103 return nil, fmt.Errorf("Asset %s not found", name)
104 }
105
106 // MustAsset is like Asset but panics when Asset would return an error.
107 // It simplifies safe initialization of global variables.
108 func MustAsset(name string) []byte {
109 a, err := Asset(name)
110 if err != nil {
111 panic("asset: Asset(" + name + "): " + err.Error())
112 }
113
114 return a
115 }
116
117 // AssetInfo loads and returns the asset info for the given name.
118 // It returns an error if the asset could not be found or
119 // could not be loaded.
120 func AssetInfo(name string) (os.FileInfo, error) {
121 cannonicalName := strings.Replace(name, "\\", "/", -1)
122 if f, ok := _bindata[cannonicalName]; ok {
123 a, err := f()
124 if err != nil {
125 return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
126 }
127 return a.info, nil
128 }
129 return nil, fmt.Errorf("AssetInfo %s not found", name)
130 }
131
132 // AssetNames returns the names of the assets.
133 func AssetNames() []string {
134 names := make([]string, 0, len(_bindata))
135 for name := range _bindata {
136 names = append(names, name)
137 }
138 return names
139 }
140
141 // _bindata is a table, holding each asset generator, mapped to its name.
142 var _bindata = map[string]func() (*asset, error){
143 "resources/resumebuilder.glade": resourcesResumebuilderGlade,
144 }
145
146 // AssetDir returns the file names below a certain
147 // directory embedded in the file by go-bindata.
148 // For example if you run go-bindata on data/... and data contains the
149 // following hierarchy:
150 // data/
151 // foo.txt
152 // img/
153 // a.png
154 // b.png
155 // then AssetDir("data") would return []string{"foo.txt", "img"}
156 // AssetDir("data/img") would return []string{"a.png", "b.png"}
157 // AssetDir("foo.txt") and AssetDir("notexist") would return an error
158 // AssetDir("") will return []string{"data"}.
159 func AssetDir(name string) ([]string, error) {
160 node := _bintree
161 if len(name) != 0 {
162 cannonicalName := strings.Replace(name, "\\", "/", -1)
163 pathList := strings.Split(cannonicalName, "/")
164 for _, p := range pathList {
165 node = node.Children[p]
166 if node == nil {
167 return nil, fmt.Errorf("Asset %s not found", name)
168 }
169 }
170 }
171 if node.Func != nil {
172 return nil, fmt.Errorf("Asset %s not found", name)
173 }
174 rv := make([]string, 0, len(node.Children))
175 for childName := range node.Children {
176 rv = append(rv, childName)
177 }
178 return rv, nil
179 }
180
181 type bintree struct {
182 Func func() (*asset, error)
183 Children map[string]*bintree
184 }
185 var _bintree = &bintree{nil, map[string]*bintree{
186 "resources": &bintree{nil, map[string]*bintree{
187 "resumebuilder.glade": &bintree{resourcesResumebuilderGlade, map[string]*bintree{}},
188 }},
189 }}
190
191 // RestoreAsset restores an asset under the given directory
192 func RestoreAsset(dir, name string) error {
193 data, err := Asset(name)
194 if err != nil {
195 return err
196 }
197 info, err := AssetInfo(name)
198 if err != nil {
199 return err
200 }
201 err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
202 if err != nil {
203 return err
204 }
205 err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
206 if err != nil {
207 return err
208 }
209 err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
210 if err != nil {
211 return err
212 }
213 return nil
214 }
215
216 // RestoreAssets restores an asset under the given directory recursively
217 func RestoreAssets(dir, name string) error {
218 children, err := AssetDir(name)
219 // File
220 if err != nil {
221 return RestoreAsset(dir, name)
222 }
223 // Dir
224 for _, child := range children {
225 err = RestoreAssets(dir, filepath.Join(name, child))
226 if err != nil {
227 return err
228 }
229 }
230 return nil
231 }
232
233 func _filePath(dir, name string) string {
234 cannonicalName := strings.Replace(name, "\\", "/", -1)
235 return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
236 }
237