DefaultName returns the variable name of the default value of this field.
()
| 1110 | |
| 1111 | // DefaultName returns the variable name of the default value of this field. |
| 1112 | func (f Field) DefaultName() string { return "Default" + pascal(f.Name) } |
| 1113 | |
| 1114 | // UpdateDefaultName returns the variable name of the update default value of this field. |
| 1115 | func (f Field) UpdateDefaultName() string { return "Update" + f.DefaultName() } |