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