Kevin Wan
300b124e42
docs: update goctl readme ( #2136 )
2022-07-12 23:16:40 +08:00
Richard Yi
6e50c87dca
fix: generated sql query fields do not match template ( #2004 )
...
* Fix typo
* Match generated sql query fields with template
2022-07-11 23:06:00 +08:00
Kevin Wan
1c09db6d5d
chore: coding style ( #2120 )
2022-07-10 11:05:21 +08:00
LeeDF
96acf1f5a6
fix goctl rpc protoc strings.EqualFold Service.Name GoPackage ( #2046 )
2022-07-09 23:40:32 +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
Kevin Wan
b364c54940
chore: update goctl version to 1.3.9 ( #2111 )
2022-07-08 22:31:50 +08:00
Kevin Wan
e0e3f97c7c
chore: refactor ( #2087 )
2022-07-02 14:03:11 +08:00
taobig
6a2d6786c6
remove legacy code ( #2086 )
2022-07-02 00:22:42 +08:00
taobig
bfd0869ee2
remove legacy code ( #2084 )
2022-07-01 22:41:16 +08:00
taobig
c92400ead2
fix 当表有唯一键时,update()的形参和实参不一致 ( #2010 )
2022-06-30 23:25:54 +08:00
虫子樱桃
76086fc717
fix:typo in readme.md ( #2061 )
...
Co-authored-by: 虫子樱桃 <czyt@w.cn>
2022-06-29 19:38:23 +08:00
Kevin Wan
555c4ecd1a
fix: quickstart wrong package when go.mod exists in parent dir ( #2048 )
...
* chore: fix typo
* fix: quickstart in dir with go.mod
* fix: runner failed
* chore: refine code
* chore: simplify quickstart mono
2022-06-26 22:37:15 +08:00
Kevin Wan
38cd7b7df0
chore: remove lifecycle preStop because sh not exist in scratch ( #2042 )
2022-06-24 21:30:07 +08:00
anqiansong
93b3f5030f
chore: Add command desc & color commands ( #2013 )
...
* Add link & Color sub-commands
* Color sub-commands for unix-like OS
* Remove useless code
* Remove redundant dependency
2022-06-21 20:21:38 +08:00
anqiansong
b44e8f5c75
fix #1977 ( #2034 )
2022-06-21 20:01:42 +08:00
anqiansong
9b6e4c440c
Add fig ( #2008 )
...
Co-authored-by: SH00414ml <sh00414ml@SH00414mldeMacBook-Pro.local>
2022-06-18 18:34:48 +08:00
Kevin Wan
9eea311a4d
feat: support build Dockerfile from current dir ( #2021 )
2022-06-18 18:32:07 +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
swliao425
0f5d8c6be3
feat: add 'imagePullPolicy' parameter for 'goctl kube deploy' ( #1996 )
2022-06-11 09:49:14 +08:00
MarkJoyMa
f2caf9237a
fix goctl api clone template fail ( #1990 )
2022-06-09 23:35:03 +08:00
Kevin Wan
2f0e4e3ebf
chore: update dependencies ( #1985 )
2022-06-09 23:34:06 +08:00
Kevin Wan
2c6b422f6b
chore: update goctl version to 1.3.8 ( #1981 )
2022-06-06 20:07:39 +08:00
Kevin Wan
4d34998338
fix: generate bad Dockerfile on given dir ( #1980 )
2022-06-06 19:50:54 +08:00
anqiansong
8be47b9c99
Fix pg subcommand level error ( #1979 )
2022-06-06 19:42:31 +08:00
Kevin Wan
7868bdf660
Chore/goctl version ( #1962 )
...
* chore: update version to v1.3.7
* docs: update migrate versions
* chore: remove debug prints
* chore: remove debug prints
2022-06-03 20:46:21 +08:00
Kevin Wan
46078e716d
chore: update version ( #1961 )
2022-06-03 20:08:29 +08:00
Kevin Wan
289a325757
chore: refine docker for better compatible with package main ( #1944 )
...
* chore: refine docker for better compatible with package main
* chore: default to current dir on goctl docker command
2022-05-30 13:26:58 +08:00
Kevin Wan
72ebbb9774
feat: update docker alpine package mirror ( #1924 )
...
* feat: update docker alpine package mirror
* chore: format code
2022-05-23 09:13:21 +08:00
anqiansong
f1fdd55b38
Support built-in shorthand flags ( #1925 )
2022-05-23 09:13:12 +08:00
anqiansong
58787746db
fix: Useless delete cache logic in update ( #1923 )
...
* Fix bug: useless delete cache logic in update
* Format code
2022-05-23 09:12:06 +08:00
Kevin Wan
6b1e15cab1
chore: update k8s.io/client-go for security reason, go is upgrade to 1.16 ( #1912 )
...
* chore: fix jwt dependency security issue
* chore: update clickhouse driver
* chore: fix a security issue
* chore: update dependencies
2022-05-21 14:34:01 +08:00
anqiansong
5e7b1f6bfe
Fix process blocking problem during check ( #1911 )
2022-05-17 09:42:18 +08:00
Kevin Wan
7b82eda993
chore: use get for quickstart, plain logs for easy understanding ( #1905 )
2022-05-14 17:01:37 +08:00
Kevin Wan
5d09cd0e7c
use goproxy properly, remove files ( #1903 )
2022-05-14 16:00:20 +08:00
Kevin Wan
c6e2b4a43a
chore: coding style for quickstart ( #1902 )
2022-05-13 23:10:55 +08:00
anqiansong
52f060caae
feat: Add goctl quickstart ( #1889 )
...
* Add goctl quickstart
* Format code
* Format code
2022-05-13 12:23:24 +08:00
anqiansong
f486685e99
Fix code generation ( #1897 )
2022-05-13 00:16:17 +08:00
过客龙门
3ae874d75d
fix ts tpl ( #1879 )
2022-05-11 23:45:32 +08:00
givemeafish
14ca39bc86
fix:tools/goctl/rpc/generator/template_test.go file has wrong parameters ( #1882 )
2022-05-11 23:24:34 +08:00
Kevin Wan
5451d96a81
chore: update some logs ( #1875 )
2022-05-07 23:34:55 +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
全自动盒子
ae2c76765c
fix typo ( #1857 )
2022-05-03 16:25:13 +08:00
Kevin Wan
3bbc90ec24
refactor: move json related header vars to internal ( #1840 )
...
* refactor: move json related header vars to internal
* refactor: use header.ContentType
2022-04-28 15:12:04 +08:00
Kevin Wan
cef83efd4e
fix #1838 ( #1839 )
2022-04-28 11:25:26 +08:00
anqiansong
cc09ab2aba
feat: Support model code generation for multi tables ( #1836 )
...
* Support model code generation for multi tables
* Format code
* Format code
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-04-28 10:01:04 +08:00
Kevin Wan
5bcee4cf7c
fix #1806 ( #1833 )
...
* fix #1806
* chore: refine error text
2022-04-27 00:01:31 +08:00
anqiansong
16c61c6657
chore: Embed unit test data ( #1812 )
...
* Embed unit test data
* Add testdata
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-04-21 21:49:09 +08:00
chowyu12
14bf2f33f7
add go-grpc_opt and go_opt for grpc new command ( #1769 )
...
Co-authored-by: zhouyy <zhouyy@ickey.cn>
2022-04-21 16:45:56 +08:00
anqiansong
305587aa81
fix: Fix issue #1810 ( #1811 )
...
* Fix #1810
* Remove go embed
* Format code
* Remove useless code
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-04-21 15:22:43 +08:00