Commit Graph

30 Commits (edbf1a3b63564cfb7314448d59950898b849e801)

Author SHA1 Message Date
anqiansong 1b51d0ce82
fix: fix #2102, #2108 (#2131)
* g4 code generation

* Update grammar

* g4 code generation

* fix #2108

* fix #2102

* Remove comments
2 years ago
Kevin Wan 1c09db6d5d
chore: coding style (#2120) 2 years ago
Fyn 6d9dfc08f9
feat(goctl): supports api multi-level importing (#1747)
* feat(goctl): supports api  multi-level importing

Resolves: #1744

* fix(goctl): import-cycle, etc.

import-cycle will not be allowed
e.g., a.api -> b.api -> a.api
regular multiple-import will be allowed
e.g., a.api -> b.api -> c.api
                   -> c.api

* refactor(goctl): adds comments to exported var

* fix(goctl): typo in a comment
3 years ago
anqiansong 252fabcc4b
fix nil pointer if group not exists (#1773)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
ronething-bot 18916b5189
[fix] typo (#1655) 3 years ago
chensy c55694d957
Support for referencing types in different API files using format (#1630) 3 years ago
Fyn db949e40f1
feat: supports `importValue` for more path formats (#1569)
`importValueRegex` now can match more path formats

Resolves: #1568
3 years ago
Kevin Wan e0454138e0
update goctl to go 1.16 for io/fs usage (#1571)
* update goctl to go 1.16 for io/fs usage

* feat: support pg serial type for auto_increment (#1563)

* add correct example for pg's url

* 🐞 fix: merge

* 🐞 fix: pg default port

*  feat: support serial type

Co-authored-by: kurimi1 <d0n41df@gmail.com>

* chore: format code

Co-authored-by: toutou_o <33993460+kurimi1@users.noreply.github.com>
Co-authored-by: kurimi1 <d0n41df@gmail.com>
3 years ago
Kevin Wan a40254156f
refactor: refactor yaml unmarshaler (#1517) 3 years ago
Kevin Wan 4b7a680ac5
refactor: rename from tal-tech to zeromicro for goctl (#1481) 3 years ago
anqiansong cdf7ec213c
fix #1468 (#1478)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong 1b14de2ff9
fix: #1318 (#1321)
* fix #1318

* fix #1318

* remove never used code

* fix unit tes

Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan 543d590710
fixes #987 (#1283)
* fixes #987

* chore: fix test failure

* chore: add comments
3 years ago
Kevin Wan 86f9f63b46
Cli (#1272)
* Fix issue 1260 (#1262)

* Fix #1238 (#1266)

* docs: update readme to use goctl@cli (#1255)

* chore: update goctl version

* style: coding style

* docs: update readme to use goctl@cli

* fix #1238

* format code

* format code

Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
Co-authored-by: anqiansong <anqiansong@bytedance.com>

Co-authored-by: anqiansong <anqiansong@gmail.com>
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong a944a7fd7e
Mark deprecated syntax (#1148) 3 years ago
Kevin Wan 65905b914d
ci: add reviewdog (#1096) 3 years ago
Kevin Wan 1fb356f328
refactor goctl (#902) 3 years ago
_ksco cc264dcf55
refactor (#878)
* refactor(tools ): refactor cod

Improve code readability and performance

* fix(tools ): fix len bug

Co-authored-by: ksco <hyang@33.cn>
3 years ago
anqiansong 94417be018
Add document & comment for spec (#703)
* Add document & comment for spec

* remove duplicate field

* use alias
4 years ago
Bo-Yi Wu 73906f996d
chore(format): change by gofumpt tool (#697)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
4 years ago
anqiansong 9f6a574f97
resolve #610 (#684) 4 years ago
anqiansong d28ac35ff7
fix issue: https://github.com/zeromicro/goctl-swagger/issues/6 (#680) 4 years ago
anqiansong df5ae9507f
replace antlr module (#672)
* replace antlr module

* refactor version of antlr
4 years ago
Bo-Yi Wu afd9ff889e
chore: update code format. (#628) 4 years ago
anqiansong 60c7edf8f8
fix spelling (#551) 4 years ago
anqiansong d894b88c3e
feature 1.1.5 (#411) 4 years ago
kingxt e6ef1fca12
Code optimized (#523)
* optimized markdown generator

* optimized markdown generator

* optimized markdown generator

* add more comment

* add comment

* add comment

* add comments for rpc tool

* add comments for model tool

* add comments for model tool

* add comments for model tool

* add comments for config tool

* add comments for config tool

* add comments

* add comments

* add comments

* add comments

* add comment

* remove rpc main head info

* add comment

* optimized

Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
kingxt f98c9246b2
Code optimized (#493) 4 years ago
Kevin Wan 5e969cbef0
fix golint issues, else blocks (#457) 4 years ago
kingxt ee19fb736b
feature: refactor api parse to g4 (#365)
* feature: refactor api parse to g4

* new g4 parser

* add CHANGE_LOG.MD

* refactor

* fix byte bug

* refactor

* optimized

* optimized

* revert

* update readme.md

* update readme.md

* update readme.md

* update readme.md

* remove no need

* fix java gen

* add upgrade

* resolve confilits

Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago