OSDN Git Service

optimise code format (#15)
authoroysheng <33340252+oysheng@users.noreply.github.com>
Tue, 9 Oct 2018 02:30:55 +0000 (10:30 +0800)
committerPaladz <yzhu101@uottawa.ca>
Tue, 9 Oct 2018 02:30:55 +0000 (10:30 +0800)
compiler/cmd/equitycmd/equitycmd.go

index ecb0e3c..4524615 100644 (file)
@@ -18,7 +18,7 @@ var (
 
 func main() {
        if len(os.Args) != 2 {
-               fmt.Println("command args: [command] [contract file_path]\n")
+               fmt.Println("command args: [command] [contract file_path]")
                os.Exit(0)
        }
 
@@ -63,9 +63,9 @@ func main() {
        fmt.Fprintf(header, "package instance\n\n")
 
        imports := map[string]bool{
-               "bytes":        true,
-               "encoding/hex": true,
-               "fmt":          true,
+               "bytes":                        true,
+               "encoding/hex":                 true,
+               "fmt":                          true,
                "github.com/equity/compiler":   true,
                "github.com/bytom/protocol/vm": true,
        }