Commit Graph

12 Commits (852891dbd8e3285dcfcb4031ca95307186e3db4a)

Author SHA1 Message Date
songmeizi 4d53045c6b
improve data type conversion (#236)
* improve data type conversion

* update doc
4 years ago
Keson 6e57f6c527
feature model interface (#222)
* make variable declaration more concise

* add model interface

* optimize interface methods

* fix: go test failed

* warp returns

* optimize
4 years ago
Keson 24fb29a356
patch model&rpc (#207)
* 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
4 years ago
Keson 2b7545ce11
spell fix (#167) 4 years ago
Keson 41964f9d52
gozero template (#147)
* model/rpc generate code from template cache

* delete unused(deprecated) code

* support template init|update|clean|revert

* model: return the execute result for insert and update operation

* // deprecated: containsAny

* add template test

* add default buildVersion

* update build version
4 years ago
kevin 94645481b1 fix golint issues 4 years ago
miaogaolin ce5961a7d0
fix goctl model (#61) 4 years ago
kevin 8dd93d59a0 refactor code 4 years ago
Keson 3a4e1cbb33
fix bug: miss time import (#36)
* add execute files

* add protoc-osx

* add rpc generation

* add rpc generation

* add: rpc template generation

* optimize gomod cache

* add README.md

* format error

* reactor templatex.go

* update project.go & README.md

* fix bug: miss time import
4 years ago
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
4 years ago
kevin e79c42add1 add go report badge 4 years ago
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
4 years ago