TRIVIAL go fmt
This commit is contained in:
parent
d0fbe716d9
commit
7a626b6a36
@ -1,7 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"fmt"
|
||||
"os"
|
||||
)
|
||||
|
||||
@ -12,10 +12,10 @@ import (
|
||||
const USAGE = "Usage: amqpfun-runner (publish|consume)"
|
||||
|
||||
func main() {
|
||||
if len(os.Args) < 2 {
|
||||
fmt.Println(USAGE)
|
||||
os.Exit(1)
|
||||
}
|
||||
if len(os.Args) < 2 {
|
||||
fmt.Println(USAGE)
|
||||
os.Exit(1)
|
||||
}
|
||||
if os.Args[1] == "publish" {
|
||||
amqpfun.Publish()
|
||||
} else if os.Args[1] == "consume" {
|
||||
|
Loading…
Reference in New Issue
Block a user