mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
hello world
This commit is contained in:
17
src/cmd/cgrates.go
Normal file
17
src/cmd/cgrates.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"log"
|
||||
)
|
||||
|
||||
var (
|
||||
host = flag.String("host", "localhost:8080", "target host:port")
|
||||
)
|
||||
|
||||
func main() {
|
||||
flag.Parse()
|
||||
fmt.Println(*host)
|
||||
log.Print("Bye!")
|
||||
}
|
||||
Reference in New Issue
Block a user