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
This commit is contained in:
@@ -29,9 +29,11 @@ func (s String) IsEmptyOrSpace() bool {
|
||||
func (s String) Lower() string {
|
||||
return strings.ToLower(s.source)
|
||||
}
|
||||
|
||||
func (s String) Upper() string {
|
||||
return strings.ToUpper(s.source)
|
||||
}
|
||||
|
||||
func (s String) Title() string {
|
||||
if s.IsEmptyOrSpace() {
|
||||
return s.source
|
||||
|
||||
Reference in New Issue
Block a user