-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6f879e9
commit e409f1a
Showing
29 changed files
with
176 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# 自动化package使用指南 | ||
|
||
## 创建package | ||
点击左侧菜单栏的自动化Package进入页面,点击新增打开抽屉 | ||
![image-package](/generator/image-package.png) | ||
|
||
抽屉中关键属性为包名,此处填写小写字母开头的驼峰式命名单词,这是你自动化代码的基础包,所有在创建自动化代码时候选择本package的代码,都会创建在由本功能自动创建出的文件夹下。此处展示以showGva为例,自动生成的文件目录。 | ||
|
||
![image-package](/generator/image-create.png) | ||
创建完成后,会在web和server下创建对应的package文件夹,如下所示 | ||
web/src/api/showGva | ||
web/src/view/showGva | ||
server/api/showGva 内含文件 `enter.go` | ||
server/router/showGva 内含文件 `enter.go` | ||
server/service/showGva 内含文件 `enter.go` | ||
|
||
后续使用自动化代码创建的内容会自动填充进入这些文件夹下 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.