default controller folder is 'controller' and default custom types folder is 'type'

This commit is contained in:
Adrien Marquès 2018-07-08 09:56:13 +02:00
parent 94171ab6a9
commit 4b9d64bc85
1 changed files with 2 additions and 2 deletions

View File

@ -13,10 +13,10 @@ func main() {
/* (1) Flags
---------------------------------------------------------*/
/* (1) controller path */
ctlPathFlag := flag.String("c", "root", "Path to controllers' directory")
ctlPathFlag := flag.String("c", "controller", "Path to controllers' directory")
/* (2) types path */
typPathFlag := flag.String("t", "types", "Path to custom types' directory")
typPathFlag := flag.String("t", "type", "Path to custom types' directory")
/* (3) middleware path */
midPathFlag := flag.String("m", "middleware", "Path to middlewares' directory")