gosl/cmd/Server.go

23 lines
354 B
Go
Raw Normal View History

2016-01-18 23:19:51 +01:00
package cmd // code.bitsetter.de/fun/gosl/cmd
import (
"fmt"
"github.com/spf13/cobra"
)
var cmdServer = &cobra.Command{
Use: "server",
Short: "Runs Gosl as a server",
Long: "Runs Gosl as a server",
// Run:
}
func runServer(cmd *cobra.Command, args []string) {
fmt.Println("running server ...")
}
func init() {
cmdServer.Run = runServer
}