Commit Graph

202 Commits

Author SHA1 Message Date
Keson
0f97b2019a
rpc generation support windows (#28)
* add execute files

* add protoc-osx

* add rpc generation

* add rpc generation

* add: rpc template generation

* update usage

* fixed env prepare for project in go path

* optimize gomod cache

* add README.md

* format error

* reactor templatex.go

* remove waste code

* update project.go & README.md

* update project.go & README.md

* rpc generation supports windows
2020-08-29 14:30:17 +08:00
kevin
3affe62ae4 update shorturl doc 2020-08-29 00:28:57 +08:00
Keson
0734bbcab3
update handler generation (#27)
* add execute files

* add protoc-osx

* add rpc generation

* add rpc generation

* add: rpc template generation

* update usage

* fixed env prepare for project in go path

* optimize gomod cache

* add README.md

* format error

* reactor templatex.go

* remove waste code

* update project.go & README.md

* update project.go & README.md
2020-08-29 00:15:15 +08:00
kevin
f411178a4f refine rpc generator 2020-08-28 22:44:41 +08:00
kevin
72132ce399 refine goctl rpc generator 2020-08-28 21:22:35 +08:00
Keson
db16115037
rpc service generation (#26)
* add execute files

* add protoc-osx

* add rpc generation

* add rpc generation

* add: rpc template generation

* update usage

* fixed env prepare for project in go path

* optimize gomod cache

* add README.md

* format error

* reactor templatex.go

* remove waste code
2020-08-28 19:24:58 +08:00
kevin
77e23ad65d add quick example 2020-08-27 22:54:18 +08:00
kingxt
38806e7237
fix config yaml gen (#25)
* optimized

* format

Co-authored-by: kingxt <dream4kingxt@163.com>
2020-08-27 15:23:19 +08:00
kevin
a987d12237 sort imports on api generation 2020-08-27 14:40:05 +08:00
kevin
33208e6ef6 return zero value instead of nil on generated logic 2020-08-27 13:49:31 +08:00
kevin
1c24e71568 use yaml, and detect go.mod in current dir 2020-08-27 11:44:35 +08:00
kingxt
73b61e09ed
fix format (#23)
* fir format

* fix bug

Co-authored-by: kingxt <dream4kingxt@163.com>
2020-08-26 11:32:55 +08:00
kingxt
0efa28ddbd
fix generate api demo (#19)
Co-authored-by: kingxt <dream4kingxt@163.com>
2020-08-21 13:47:35 +08:00
kevin
267a283328 reorg imports 2020-08-20 10:46:39 +08:00
Keson
db83843558
gocctl model v20200819 (#18)
* rename snake、came method

* new: generate model from data source

* add change log md

* update model doc

* update  doc

* beauty code
2020-08-20 10:29:18 +08:00
kevin
e79c42add1 add go report badge 2020-08-19 16:10:43 +08:00
kevin
9e14820698 fix golint warnings 2020-08-19 16:00:55 +08:00
Keson
d21d770b5b
goctl model reactor (#15)
* reactor sql generation

* reactor sql generation

* add console & example

* optimize unit test & add document

* modify default config

* remove test file

* Revert "remove test file"

This reverts commit 81041f9e

* fix stringx.go & optimize example

* remove unused code
2020-08-19 10:41:19 +08:00
Steven Zack
1252bd9cde
goctl生成Kotlin代码优化 (#16)
* 修复Kotlin连接失败抛出Exception;添加Kotlin连接超时

* 修复路径参数导致生成的Kotlin函数名带有:问题

* Added HTTP Patch Method

* kotlin-add-patch-support

* format-imports
2020-08-18 21:49:31 +08:00
stevenzack
d4e38cb7f0 rename-Api 2020-08-17 16:54:56 +08:00
stevenzack
693a8b627a fix-log-fatal 2020-08-17 16:54:56 +08:00
stevenzack
701208b6f4 fix FileNotFoundException when response code is 4xx or 5xx 2020-08-17 16:54:56 +08:00
stevenzack
b65fcc5512 fix-lang-must-not-found 2020-08-17 16:54:56 +08:00
stevenzack
3321ed3519 multi-http-method-support 2020-08-17 16:54:56 +08:00
stevenzack
5e007c1f9f remove-logx 2020-08-17 16:54:56 +08:00
stevenzack
de2f8c06fb fix-break-line 2020-08-17 16:54:56 +08:00
stevenzack
926d746df5 Add goctl kotlin support 2020-08-17 16:54:56 +08:00
kevin
8745039877 move lang.Must into logx.Must to make sure output fatal message as json 2020-08-14 15:08:06 +08:00
kingxt
cfa6644b0c auto generate go mod if need 2020-08-12 15:02:56 +08:00
kevin
7da31921c7 remove unused method 2020-08-12 14:15:59 +08:00
kim
47440964cd fix windows slash 2020-08-12 14:15:59 +08:00
kingxt
19888b7d11 fix windows bug 2020-08-12 10:23:49 +08:00
kevin
4f59fd306a use fmt.Println instead of println 2020-08-12 10:00:59 +08:00
kevin
f77c73eec1 remove unused method 2020-08-12 10:00:59 +08:00
kim
9b0b958f43 fix windows slash 2020-08-11 11:07:47 +08:00
kingxt
952de5eacd remove deprecated model generator 2020-08-10 18:18:13 +08:00
kingxt
a71a11b7c5 remove deprecated 2020-08-10 18:18:13 +08:00
kevin
ba636187ce fix goctl path issue on windows 2020-08-10 17:26:47 +08:00
kim
2012ac3204 correct parent packet for gomod 2020-08-10 15:31:51 +08:00
kevin
3b5b8283db update goctl go generator 2020-08-10 10:35:53 +08:00
kim
18a80efd70 remote auto import 2020-08-08 17:05:42 +08:00
kevin
0a7e0cce77 update package reference 2020-08-08 16:40:10 +08:00
kim
b1e8dd62da add runner 2020-08-08 15:46:50 +08:00
kim
44290aa4d6 refactor 2020-07-31 17:11:59 +08:00
kim
2f4505d856 format 2020-07-31 17:09:47 +08:00
kim
3ea0d8e7f6 format 2020-07-31 17:05:49 +08:00
kim
cf8e0a118f refactor ngin to rest 2020-07-31 17:03:19 +08:00
kevin
f372ded63c rename ngin to rest 2020-07-31 11:45:16 +08:00
kevin
0897f60c5d rename ngin to rest 2020-07-31 11:14:48 +08:00
kevin
dc744766a9 rename mapreduce to mr 2020-07-29 22:34:37 +08:00
kevin
ffddfa62bb fix compile errors 2020-07-29 18:02:15 +08:00
kim
121323b8c3 goctl added 2020-07-29 17:12:04 +08:00