cmd
cmd copied to clipboard
模板文件struct.go.tpl中怎么获取prefix
func (t {{Mapper .Name}}) TableName() string { return "ty_{{$table.Name}}" }
代码中ty_是prefix 但是不知道怎么获取