From 4b9d64bc85212d6270f7388b670e8a0a0bea82db Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 8 Jul 2018 09:56:13 +0200 Subject: [PATCH] default controller folder is 'controller' and default custom types folder is 'type' --- cmd/aicra/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/aicra/main.go b/cmd/aicra/main.go index 2eb2f53..6f46105 100644 --- a/cmd/aicra/main.go +++ b/cmd/aicra/main.go @@ -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")