TRIVIAL go fmt
This commit is contained in:
@@ -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" {
|
||||||
|
Reference in New Issue
Block a user