server.go 311 B

12345678910111213141516171819
  1. package userapi
  2. import "github.com/spf13/cobra"
  3. var (
  4. StartCmd = &cobra.Command{
  5. Use: "serve hx user api",
  6. Short: "汇学api服务",
  7. Long: "启动汇学api服务",
  8. Example: "cecf-hx userapi -c config.yml",
  9. Run: func(cmd *cobra.Command, args []string) {
  10. run()
  11. },
  12. }
  13. )
  14. func run() {
  15. }