Kevin Wan
2b9fc26c38
refactor: guard timeout on API files ( #1726 )
3 years ago
Xiaoju Jiang
321dc2d410
Added support for setting the parameter size accepted by the interface and custom timeout and maxbytes in API file ( #1713 )
...
* Added support for setting the parameter size accepted by the interface
* support custom timeout and maxbytes in API file
* support timeout used unit
* remove goctl maxBytes
3 years ago
Fyn
500bd87c85
fix(goctl): api format with reader input ( #1722 )
...
resolves #1721
3 years ago
Kevin Wan
3febb1a5d0
chore: refactor code ( #1700 )
3 years ago
Mikael
d8054d8def
fix -cache=true insert no clean cache ( #1672 )
...
* fix -cache=true insert no clean cache
* fix -cache=true insert no clean cache
3 years ago
anqiansong
0aeb49a6b0
Add verbose flag ( #1696 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong
5c169f4f49
Remove debug log ( #1669 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan
d29dfa12e3
feat: support -base to specify base image for goctl docker ( #1668 )
...
* feat: support -base to specify base image for goctl docker
* chore: update usage
3 years ago
anqiansong
194f55e08e
Remove unused code ( #1667 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan
c0f9892fe3
feat: add Dockerfile for goctl ( #1666 )
3 years ago
anqiansong
227104d7d7
feat: Remove command `goctl rpc proto` ( #1665 )
...
* Fix goctl completion expression
* Fix code generation error if the pkg of pb/grpc is same to zrpc call client pkg
* Remove deprecated comment on action goctl rpc new
* Remove zrpc code generation on action goctl rpc proto
* Remove zrpc code generation on action goctl rpc proto
* Remove Generator interface
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong
448029aa4b
Mkdir if not exists ( #1659 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Fyn
17e0afeac0
fix(goctl): model method FindOneCtx should be FindOne ( #1656 )
3 years ago
ronething-bot
18916b5189
[fix] typo ( #1655 )
3 years ago
Kevin Wan
c11a09be23
chore: remove unnecessary env ( #1654 )
3 years ago
ronething-bot
56e1ecf2f3
fix: typo ( #1646 )
3 years ago
xybingbing
09e6d94f9e
FindOneBy 漏 Context ( #1642 )
3 years ago
anqiansong
cc9d16f505
fix: Update unix-like path regex ( #1637 )
...
* Revert import value regex
* Update linux path regex
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
chensy
c55694d957
Support for referencing types in different API files using format ( #1630 )
3 years ago
Ziyi Zhang
209ffb934b
fix(goctl): kotlin code generation ( #1632 )
...
Signed-off-by: Ziyi Zhang <soasurs@gmail.com>
3 years ago
Kevin Wan
26a33932cd
feat: support scratch as the base docker image ( #1634 )
3 years ago
Kevin Wan
d6a692971f
chore: reduce the docker image size ( #1633 )
...
* chore: reduce the docker image size
* chore: format dockerfile
3 years ago
anqiansong
4624390e54
Fix #1585 #1547 ( #1624 )
3 years ago
Kevin Wan
63b7d292c1
chore: update goctl version to 1.3.3, change docker build temp dir ( #1621 )
3 years ago
Fyn
365c569d7c
fix(goctl): dart gen user defined struct array ( #1620 )
3 years ago
anqiansong
68a81fea8a
Fix #1609 ( #1617 )
3 years ago
anqiansong
08a8bd7ef7
Fix #1614 ( #1616 )
3 years ago
Kevin Wan
3b7ca86e4f
chore: add unit tests ( #1615 )
...
* test: add more tests
* test: add more tests
3 years ago
Fyn
0c35f39a7d
fix: fix(gctl): apiparser_parser auto format ( #1607 )
3 years ago
Fyn
6a66dde0a1
feat(goctl): api dart support flutter v2 ( #1603 )
...
0. support null-safety code gen
1. supports -legacy flag for legacy code gen
2. supports -hostname flag for server hostname
3. use dart official format
4. fix some some bugs
Resolves : #1602
3 years ago
Kevin Wan
f15a4f9188
chore: update go-zero to v1.3.1 in goctl ( #1599 )
3 years ago
Kevin Wan
e31128650e
Revert " 🐞 fix(gen): pg gen of insert ( #1591 )" ( #1598 )
...
This reverts commit cc4c4928e0
.
3 years ago
toutou_o
cc4c4928e0
🐞 fix(gen): pg gen of insert ( #1591 )
...
Co-authored-by: kurimi1 <d0n41df@gmail.com>
3 years ago
Fyn
fba6543b23
fix: goctl api dart support `form` tag ( #1596 )
3 years ago
Kevin Wan
259a5a13e7
chore: fix data race ( #1593 )
3 years ago
Fyn
cf7c7cb392
build: update goctl dependency ddl-parser to v1.0.3 ( #1586 )
...
* build: update goctl dependency ddl-parser to v1.0.3
* fix: race condition when testing logx
Resolves : #1587
3 years ago
anqiansong
ffd69a2f5e
Fix bug int overflow while build goctl on arch 386 ( #1582 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan
66f10bb5e6
chore: add goctl command help ( #1578 )
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
toutou_o
3b07ed1b97
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>
3 years ago
anqiansong
daa98f5a27
Feature: Add goctl env ( #1557 )
3 years ago
Kevin Wan
aa29036cb3
feat: support ctx in sql model generation ( #1551 )
3 years ago
Kevin Wan
607bae27fa
feat: support ctx in sqlx/sqlc, listed in ROADMAP ( #1535 )
...
* feat: support ctx in sqlx/sqlc
* chore: update roadmap
* fix: context.Canceled should be acceptable
* use %w to wrap errors
* chore: remove unused vars
3 years ago
Kevin Wan
bd105474ca
chore: update help message ( #1544 )
3 years ago
Mikael
a078f5d764
add the serviceAccount of deployment ( #1543 )
...
Co-authored-by: 977231903@qq.com <>
3 years ago
mlr3000
50b1928502
chore:use struct pointer ( #1538 )
3 years ago
Kevin Wan
6deb80625d
fix issue of default migrate version ( #1536 )
...
* fix issue of default migrate version
* chore: update console colors
3 years ago
Kevin Wan
84ddc660c4
chore: goctl format issue ( #1531 )
3 years ago
Kevin Wan
0ce85376bf
chore: update goctl version to 1.3.2 ( #1524 )
3 years ago