cmd

package
v0.0.0-...-4d4b9d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2017 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "ecom",
	Short: "Ecom is a ecommerce api ",
	Long:  `Ecom a less usefull ecommerce api server for anyone who loves to code`,
	Run: func(cmd *cobra.Command, args []string) {
		loadconfig()
		database.InitDB()

		server.StartServer(config.Config.Port)
	},
}

RootCmd base commnad for ecom

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL