|
|
|
@ -1,8 +1,7 @@ |
|
|
|
|
// Code generated by go-bindata. DO NOT EDIT.
|
|
|
|
|
// Package deps Code generated by go-bindata. (@generated) DO NOT EDIT.
|
|
|
|
|
// sources:
|
|
|
|
|
// bignumber.js
|
|
|
|
|
// web3.js
|
|
|
|
|
|
|
|
|
|
package deps |
|
|
|
|
|
|
|
|
|
import ( |
|
|
|
@ -20,7 +19,7 @@ import ( |
|
|
|
|
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) |
|
|
|
|
return nil, fmt.Errorf("read %q: %v", name, err) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var buf bytes.Buffer |
|
|
|
@ -28,7 +27,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { |
|
|
|
|
clErr := gz.Close() |
|
|
|
|
|
|
|
|
|
if err != nil { |
|
|
|
|
return nil, fmt.Errorf("Read %q: %v", name, err) |
|
|
|
|
return nil, fmt.Errorf("read %q: %v", name, err) |
|
|
|
|
} |
|
|
|
|
if clErr != nil { |
|
|
|
|
return nil, err |
|
|
|
@ -49,21 +48,32 @@ type bindataFileInfo struct { |
|
|
|
|
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 false |
|
|
|
|
return fi.mode&os.ModeDir != 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Sys return file is sys mode
|
|
|
|
|
func (fi bindataFileInfo) Sys() interface{} { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
@ -161,8 +171,7 @@ func AssetNames() []string { |
|
|
|
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
|
|
|
|
var _bindata = map[string]func() (*asset, error){ |
|
|
|
|
"bignumber.js": bignumberJs, |
|
|
|
|
|
|
|
|
|
"web3.js": web3Js, |
|
|
|
|
"web3.js": web3Js, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// AssetDir returns the file names below a certain
|
|
|
|
@ -228,7 +237,11 @@ func RestoreAsset(dir, name string) error { |
|
|
|
|
if err != nil { |
|
|
|
|
return err |
|
|
|
|
} |
|
|
|
|
return os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime()) |
|
|
|
|
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
|
|
|
|
|