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-08 15:39:59 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
2f0e4e3ebfcd9bca20055cb747fbbf35b89b080d
go-zero/tools/goctl/model/sql/template/field.go

5 lines
148 B
Go
Raw Normal View History

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
package template
goctl added
2020-07-29 17:11:41 +08:00
Code optimized (#523) * optimized markdown generator * optimized markdown generator * optimized markdown generator * add more comment * add comment * add comment * add comments for rpc tool * add comments for model tool * add comments for model tool * add comments for model tool * add comments for config tool * add comments for config tool * add comments * add comments * add comments * add comments * add comment * remove rpc main head info * add comment * optimized Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-02-26 16:11:47 +08:00
// Field defines a filed template for types
feat: let model customizable (#1738)
2022-04-01 22:19:52 +08:00
const Field = `{{.name}} {{.type}} {{.tag}} {{if .hasComment}}// {{.comment}}{{end}}`
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 232ms 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