diff options
author | ferhat elmas <elmas.ferhat@gmail.com> | 2017-11-08 18:45:52 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-11-08 18:45:52 +0800 |
commit | 9619a610248e9630968ba1d9be8e214b645c9c55 (patch) | |
tree | 5844cfbee9a0ac5750dcc803cea461f75969f74e /cmd | |
parent | bfdc0fa3622d7c3b421d2f5a6dda5746be41bfde (diff) | |
download | dexon-9619a610248e9630968ba1d9be8e214b645c9c55.tar dexon-9619a610248e9630968ba1d9be8e214b645c9c55.tar.gz dexon-9619a610248e9630968ba1d9be8e214b645c9c55.tar.bz2 dexon-9619a610248e9630968ba1d9be8e214b645c9c55.tar.lz dexon-9619a610248e9630968ba1d9be8e214b645c9c55.tar.xz dexon-9619a610248e9630968ba1d9be8e214b645c9c55.tar.zst dexon-9619a610248e9630968ba1d9be8e214b645c9c55.zip |
all: gofmt -w -s (#15419)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/faucet/website.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/faucet/website.go b/cmd/faucet/website.go index eeb8e410e..6a99f8c6f 100644 --- a/cmd/faucet/website.go +++ b/cmd/faucet/website.go @@ -182,8 +182,9 @@ type bintree struct { Func func() (*asset, error) Children map[string]*bintree } + var _bintree = &bintree{nil, map[string]*bintree{ - "faucet.html": &bintree{faucetHtml, map[string]*bintree{}}, + "faucet.html": {faucetHtml, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory @@ -232,4 +233,3 @@ func _filePath(dir, name string) string { cannonicalName := strings.Replace(name, "\\", "/", -1) return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...) } - |