* use sdktrace instead of trace for opentelemetry to avoid conflicts
* disable opentelemetry for right now
* use os.ModeSymlink instead of fs.ModeSymlink for backward compatibility
* feat: 解决goreportcard的警报
ps: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
* feat: 优化golint警告,将processFieldPrimitiveWithJsonNumber 改成 processFieldPrimitiveWithJSONNumber
unmarshaler.go:248:23: method processFieldPrimitiveWithJsonNumber should be processFieldPrimitiveWithJSONNumber
* feat: 添加 WithCanonicalKeyFunc 注释
* feat: 添加DisableStat的注释
* feat: 添加 RegisterGoctlHome 注释
* feat: 添加 PostgreSqlJoin 注释
* feat: 解决goline警告should not use basic type string as key in context.WithValue问题
* feat: 解决golint警告信息: should not use basic type string as key in context.WithValue
* fix: 定义自定义字段类型,导致go test fail 问题
* update: 恢复原有测试用例
* fix golint warning
* Support postgresql generate
* Update template Var
* Support to generate postgresql model
* Support to generate postgresql model
* Update template
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
* fix sql builderx adding raw string quotation marks incompatibility bug
* add unit test
* remove comments
* fix sql builderx adding raw string quotation marks incompatibility bug
* change column to read from information_schema
* reactor generate mode from datasource
* reactor generate mode from datasource
* add primary key check logic
* resolve rebase conflicts
* add naming style
* add filename test case
* resolve rebase conflicts
* reactor test
* add test case
* change shell script to makefile
* update rpc new
* update gen_test.go
* format code
* format code
* update test
* generates alias
* nest type should not supported
* nest type should not supported
* nest type should not supported
* nest type should not supported
* new test
* new test
* add comment support
* add comment support
* 1. group support multi level folder
2. remove force flag
* bug fix
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* support type def without struct token
* support type def without struct token
* support type def without struct token
* support type def without struct token
* support type def without struct token
* support type def without struct token
* support type def without struct token
* optimized
* optimized
* optimized
Co-authored-by: kim <xutao@xiaoheiban.cn>
* add comment support
* add comment support
* 1. group support multi level folder
2. remove force flag
* bug fix
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
Co-authored-by: kim <xutao@xiaoheiban.cn>
* add comment support
* add comment support
* 1. group support multi level folder
2. remove force flag
* bug fix
Co-authored-by: kim <xutao@xiaoheiban.cn>
* new test
* import bug when with quotation
* new test
* add test condition
* rpc template command use -o param
Co-authored-by: kim <xutao@xiaoheiban.cn>
* add stdin flag to use stdin receive api doc and use stdout output formatted result
* optimize code and output error through stderr
* fix mistake
* add dir parameter legality verify
* replace quote
* rpc disable override main.go
* reactor template
* add model flag -style
* add model flag -style
* reactor model template name of error
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* remove no need
* remove no need
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl support import
* goctl support import
* support return ()
* revert
* refactor and rename folder to group
* remove no need
* add anonymous annotation
* optimized
* rename
* rename
* update test
* api add middleware support: usage:
@server(
middleware: M1, M2
)
* api add middleware support: usage:
@server(
middleware: M1, M2
)
* simple logic
* optimized
* optimized generator formatted code
* optimized generator formatted code
* add more test
* refactor middleware generator
* revert test
* revert test
* revert test
* revert test
* revert test
Co-authored-by: kingxt <dream4kingxt@163.com>
* fix: api handler generate incompletely while has no request
* fix: api handler generate incompletely while has no request
* add handler generate test
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* remove no need
* remove no need
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl support import
* goctl support import
* support return ()
* revert
* refactor and rename folder to group
* remove no need
* add anonymous annotation
* optimized
* rename
* rename
* update test
* api add middleware support: usage:
@server(
middleware: M1, M2
)
* api add middleware support: usage:
@server(
middleware: M1, M2
)
* simple logic
* optimized
* optimized generator formatted code
* optimized generator formatted code
* add more test
* ignore black between bracket and service tag
* use join instead
* format
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* remove no need
* remove no need
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl support import
* goctl support import
* support return ()
* revert
* refactor and rename folder to group
* remove no need
* add anonymous annotation
* optimized
* rename
* rename
* update test
* api add middleware support: usage:
@server(
middleware: M1, M2
)
* api add middleware support: usage:
@server(
middleware: M1, M2
)
* simple logic
* optimized
* optimized generator formatted code
* optimized generator formatted code
* add more test
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* remove no need
* remove no need
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl support import
* goctl support import
* support return ()
* revert
* refactor and rename folder to group
* remove no need
* add anonymous annotation
* optimized
* rename
* rename
* update test
* api add middleware support: usage:
@server(
middleware: M1, M2
)
* api add middleware support: usage:
@server(
middleware: M1, M2
)
* simple logic
* optimized
* bugs fix for name typo and format with newline
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* remove no need
* remove no need
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl support import
* goctl support import
* support return ()
* revert
* refactor and rename folder to group
* remove no need
* add anonymous annotation
* optimized
* rename
* rename
* update test
* api add middleware support: usage:
@server(
middleware: M1, M2
)
* api add middleware support: usage:
@server(
middleware: M1, M2
)
* simple logic
* should reverse middlewares
* optimized
* optimized
* rename
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* remove no need
* remove no need
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl support import
* goctl support import
* support return ()
* revert
* refactor and rename folder to group
* remove no need
* add anonymous annotation
* optimized
* rename
* rename
* update test
* optimized new command
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* remove no need
* remove no need
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl support import
* goctl support import
* support return ()
* revert
* refactor and rename folder to group
* print more error info when parse error
* remove no need
* refactor
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* remove no need
* remove no need
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl support import
* goctl support import
* support return ()
* revert
* refactor and rename folder to group
* parser add test
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* remove no need
* remove no need
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl support import
* goctl support import
* support return ()
* support return ()
* revert
* format api
* refactor and rename folder to group
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* remove no need
* remove no need
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl support import
* goctl support import
* support return ()
* support return ()
* remove pwd for windows not support
* revert
* remove no need
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* remove no need
* remove no need
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl support import
* goctl support import
* rename
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* remove no need
* remove no need
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl support import
* goctl support import
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* remove no need
* remove no need
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
* goctl add jwt support
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* remove no need
* remove no need
* add jwt doc
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* api support empty request or empty response
* update readme
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* optimized route parser
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* update doc
* remove update
* optimized api new with absolute path like: goctl api new $PWD/xxxx
* optimized api new with absolute path like: goctl api new $PWD/xxxx
* optimized api new with absolute path like: goctl api new $PWD/xxxx
* optimized api new with absolute path like: goctl api new $PWD/xxxx
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* add fast create api demo: goctl api new
* refactor
* refactor
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* optimized go path logic
Co-authored-by: kingxt <dream4kingxt@163.com>
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* refactor gomod module logic
Co-authored-by: kingxt <dream4kingxt@163.com>