Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "playground", Short: "A brief description of your application", Long: `A longer description that spans multiple lines and likely contains examples and usage of using your application. For example: Cobra is a CLI library for Go that empowers applications. This application is a tool to generate the needed files to quickly create a Cobra application.`, Run: func(cmd *cobra.Command, args []string) { err := backend.Run(":8080", "localhost") if err != nil { fmt.Println("error: %s", err) } }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type ApiEndpoint ¶
Click to show internal directories.
Click to hide internal directories.