- Add
String() string
method toMessage
struct. - Change functions names for error messages: from
Create...
toReport...
normal message example | error handling message example |
---|---|
func CreateLastDatePayBill(date time.Time) (m *Message) | func ReportErrUserAccessDenied() (m *MessageError) |
- Change the default package name in generated files: from
package messages
topackage tarjem
# e.g translations
tarjem -package translations