tiny-url-ex/cmd/test/main.go

22 lines
287 B
Go

package main
import (
"git.xdrm.io/go/xb-api"
"log"
)
func main() {
srv, err := gfw.Init("manifest.json", nil)
if err != nil {
log.Fatal(err)
}
log.Printf("Server up and running\n")
err = srv.Launch(4444)
if err != nil {
log.Fatalf("*** server failed (%s)\n", err)
}
}