Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

模板文件struct.go.tpl中怎么获取prefix #31

Open
scholar-ink opened this issue Mar 12, 2018 · 0 comments
Open

模板文件struct.go.tpl中怎么获取prefix #31

scholar-ink opened this issue Mar 12, 2018 · 0 comments

Comments

@scholar-ink
Copy link

func (t {{Mapper .Name}}) TableName() string { return "ty_{{$table.Name}}" }
代码中ty_是prefix 但是不知道怎么获取

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant