Logo
Explore Help
Register Sign In
zlei6/go-zero
1
0
Fork 0
You've already forked go-zero
mirror of https://github.com/zeromicro/go-zero.git synced 2026-05-13 09:50:00 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
d1129e3974a174e8afc4f4ca01e9ee91966f7565
go-zero/tools/goctl/model/sql/gen/imports.go

14 lines
218 B
Go
Raw Normal View History

goctl added
2020-07-29 17:11:41 +08:00
package gen
import (
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
"github.com/tal-tech/go-zero/tools/goctl/model/sql/template"
goctl added
2020-07-29 17:11:41 +08:00
)
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
func genImports(withCache bool) string {
if withCache {
return template.Imports
} else {
return template.ImportsNoCache
goctl added
2020-07-29 17:11:41 +08:00
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 27ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API