diff options
author | zelig <viktor.tron@gmail.com> | 2014-06-27 01:41:36 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-06-27 01:48:08 +0800 |
commit | ae5ace16190d48bfe7a0364fdb0b51644518ec42 (patch) | |
tree | e676f9b43b874a13fb47f642a27bfce02e425eff /ethereal/flags.go | |
parent | 648c418fcd7a88fc48032c55c2dba87f6bdad8c7 (diff) | |
download | dexon-ae5ace16190d48bfe7a0364fdb0b51644518ec42.tar dexon-ae5ace16190d48bfe7a0364fdb0b51644518ec42.tar.gz dexon-ae5ace16190d48bfe7a0364fdb0b51644518ec42.tar.bz2 dexon-ae5ace16190d48bfe7a0364fdb0b51644518ec42.tar.lz dexon-ae5ace16190d48bfe7a0364fdb0b51644518ec42.tar.xz dexon-ae5ace16190d48bfe7a0364fdb0b51644518ec42.tar.zst dexon-ae5ace16190d48bfe7a0364fdb0b51644518ec42.zip |
go fmt
Diffstat (limited to 'ethereal/flags.go')
-rw-r--r-- | ethereal/flags.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ethereal/flags.go b/ethereal/flags.go index 7e83e355f..9bed38d9f 100644 --- a/ethereal/flags.go +++ b/ethereal/flags.go @@ -1,13 +1,13 @@ package main import ( + "bitbucket.org/kardianos/osext" + "flag" "fmt" + "github.com/ethereum/eth-go/ethlog" "os" - "os/user" - "path" - "github.com/ethereum/eth-go/ethlog" - "flag" - "bitbucket.org/kardianos/osext" + "os/user" + "path" "path/filepath" "runtime" ) @@ -60,8 +60,8 @@ func defaultAssetPath() string { } func defaultDataDir() string { - usr, _ := user.Current() - return path.Join(usr.HomeDir, ".ethereal") + usr, _ := user.Current() + return path.Join(usr.HomeDir, ".ethereal") } var defaultConfigFile = path.Join(defaultDataDir(), "conf.ini") |