package subject import "fmt" func getNotificationValue(val string) string { return fmt.Sprintf("%s.%s", prefixes.Notification, val) } var Notification = struct { SupplierChangeBalanceRequestApproved string }{ SupplierChangeBalanceRequestApproved: getNotificationValue("supplier_change_balance_request_approved"), }