Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdNew = &commands.Command{ UsageLine: "new [appname] [-gopath=false] [-radiant=v1.12.3]", Short: "Creates a radiant application", Long: ` Creates a radiant application for the given app name in the current directory. now default supoort generate a go modules project The command 'new' creates a folder named [appname] [-gopath=false] [-radiant=v1.12.3] and generates the following structure: ├── main.go ├── go.mod ├── {{"conf"|foldername}} │ └── app.conf ├── {{"controllers"|foldername}} │ └── default.go ├── {{"models"|foldername}} ├── {{"routers"|foldername}} │ └── router.go ├── {{"tests"|foldername}} │ └── default_test.go ├── {{"static"|foldername}} │ └── {{"js"|foldername}} │ └── {{"css"|foldername}} │ └── {{"img"|foldername}} └── {{"views"|foldername}} └── index.tpl `, PreRun: nil, Run: CreateApp, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.