guangwu
63368d8b0c
io/ioutil deprecated ( #3217 )
2023-05-06 09:50:54 +00:00
Kevin Wan
eab904af64
chore: update goctl interface{} to any ( #2819 )
...
* chore: update goctl interface{} to any
* chore: update goctl interface{} to any
2023-01-24 17:51:03 +08:00
foliet
a2df1bb164
fix: modify the generated update function and add return values for update and delete functions ( #2793 )
2023-01-15 22:11:08 +08:00
foliet
07128213d6
chore: update "DO NOT EDIT" format ( #2559 )
...
* chore: update "DO NOT EDIT" format
* Update readme.md
* Update head.go
2022-10-27 19:41:24 +08:00
wuleiming2009
ea52fe2e0d
Fix the wrong key about FindOne in mongo of goctl. ( #2523 )
2022-10-17 19:58:57 +08:00
anqiansong
1b87f5e30d
Fix mongo insert tpl ( #2512 )
2022-10-14 12:27:04 +08:00
foliet
b51339b69b
fix(mongo): fix file name generation errors ( #2479 )
...
Before this, no matter what style is used, lowercase file names without underscores will be generated.
2022-10-04 18:09:03 +08:00
Kevin Wan
97a171441d
chore: remove blank lines ( #2117 )
...
* chore: remove blank lines
* chore: refactor
2022-07-09 15:59:25 +08:00
虫子樱桃
725e6056e1
feat:goctl model mongo
add easy
flag for easy declare. ( #2073 )
...
* fix:typo in readme.md
* feat:`goctl model mongo ` add `easy` flag to generate code with Auto generated CollectionName for easy declare.
* fix:`goctl api doc ` when referenced api file contains no route,will generate an empty markdown file.
* code: adjust code.
Co-authored-by: 虫子樱桃 <czyt@w.cn>
2022-07-09 15:34:01 +08:00
虫子樱桃
76086fc717
fix:typo in readme.md ( #2061 )
...
Co-authored-by: 虫子樱桃 <czyt@w.cn>
2022-06-29 19:38:23 +08:00
anqiansong
c27e00b45c
feat: Replace mongo package with monc & mon ( #2002 )
...
* Replace mongo package with monc & mon
* Add terminal whitespace
* format code
2022-06-12 23:02:34 +08:00
anqiansong
5383e29ce6
feat: Replace cli to cobra ( #1855 )
...
* Replace cli
* Replace cli
* Replace cli
* Format code
* Add compare case
* Add compare case
* Add compare case
* Support go style flag
* Support go style flag
* Add test case
2022-05-07 15:40:11 +08:00
Kevin Wan
faad6e27e3
feat: use go:embed to embed templates ( #1756 )
2022-04-04 13:12:05 +08:00
anqiansong
68a81fea8a
Fix #1609 ( #1617 )
2022-03-05 22:52:32 +08:00
Kevin Wan
a40254156f
refactor: refactor yaml unmarshaler ( #1517 )
2022-02-09 17:22:52 +08:00
Kevin Wan
50174960e4
chore: update command comment ( #1501 )
2022-02-02 22:02:08 +08:00
Kevin Wan
ec299085f5
docs: update tal-tech to zeromico in docs ( #1498 )
2022-02-01 13:03:30 +08:00
Kevin Wan
4b7a680ac5
refactor: rename from tal-tech to zeromicro for goctl ( #1481 )
2022-01-25 23:15:07 +08:00
Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro ( #1413 )
2022-01-04 15:51:32 +08:00
anqiansong
89ce5e492b
refactor file|path ( #1409 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-01-03 21:32:40 +08:00
anqiansong
b8ea16a88e
feat: Add --remote ( #1387 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2021-12-29 18:16:42 +08:00
Kevin Wan
2e12cd2c99
coding style ( #1083 )
2021-09-23 11:19:57 +08:00
anqiansong
9a724fe907
Add MustTempDir ( #1069 )
2021-09-21 10:13:43 +08:00
anqiansong
a74aaf1823
optimize mongo generation without cache ( fix #881 ) ( #882 )
...
* fix #881
* fix #881
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-08-09 11:33:01 +08:00
anqiansong
9f4a882a1b
fix issue #831 ( #850 )
...
* fix issue #831
* fix typo
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-07-28 16:32:15 +08:00
anqiansong
453f949638
replace cache key with colon ( #746 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-06-02 10:37:49 +08:00
Bo-Yi Wu
afd9ff889e
chore: update code format. ( #628 )
2021-04-15 19:49:17 +08:00
Kevin Wan
155e6061cb
fix golint issues ( #561 )
2021-03-12 23:08:04 +08:00
anqiansong
dda7666097
Feature mongo gen ( #546 )
...
* add feature: mongo code generation
* upgrade version
* update doc
* format code
* update update.tpl of mysql
2021-03-12 17:49:28 +08:00