Commit Graph

13 Commits (2a33b74b35b6e8c3fbe5bf71b0b51b3bdf5624ea)

Author SHA1 Message Date
foliet a2df1bb164
fix: modify the generated update function and add return values for update and delete functions (#2793) 2 years ago
foliet 07128213d6
chore: update "DO NOT EDIT" format (#2559)
* chore: update "DO NOT EDIT" format

* Update readme.md

* Update head.go
2 years ago
wuleiming2009 ea52fe2e0d
Fix the wrong key about FindOne in mongo of goctl. (#2523) 2 years ago
anqiansong 1b87f5e30d
Fix mongo insert tpl (#2512) 2 years ago
Kevin Wan 97a171441d
chore: remove blank lines (#2117)
* chore: remove blank lines

* chore: refactor
2 years ago
虫子樱桃 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>
2 years ago
anqiansong c27e00b45c
feat: Replace mongo package with monc & mon (#2002)
* Replace mongo package with monc & mon

* Add terminal whitespace

* format code
2 years ago
Kevin Wan faad6e27e3
feat: use go:embed to embed templates (#1756) 3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
anqiansong a74aaf1823
optimize mongo generation without cache (fix #881) (#882)
* fix #881

* fix #881

Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
anqiansong 453f949638
replace cache key with colon (#746)
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
Kevin Wan 155e6061cb
fix golint issues (#561) 4 years ago
anqiansong dda7666097
Feature mongo gen (#546)
* add feature: mongo code generation

* upgrade version

* update doc

* format code

* update update.tpl of mysql
4 years ago