TRIVIAL go fmt

This commit is contained in:
Dan Buch 2012-11-10 20:41:27 -05:00
parent d0fbe716d9
commit 7a626b6a36

View File

@ -1,7 +1,7 @@
package main package main
import ( import (
"fmt" "fmt"
"os" "os"
) )
@ -12,10 +12,10 @@ import (
const USAGE = "Usage: amqpfun-runner (publish|consume)" const USAGE = "Usage: amqpfun-runner (publish|consume)"
func main() { func main() {
if len(os.Args) < 2 { if len(os.Args) < 2 {
fmt.Println(USAGE) fmt.Println(USAGE)
os.Exit(1) os.Exit(1)
} }
if os.Args[1] == "publish" { if os.Args[1] == "publish" {
amqpfun.Publish() amqpfun.Publish()
} else if os.Args[1] == "consume" { } else if os.Args[1] == "consume" {