natsio/subject/bank.go

15 lines
251 B
Go
Raw Normal View History

2022-09-14 07:09:48 +00:00
package subject
import "fmt"
func getBankValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.Bank, val)
}
var Bank = struct {
2022-09-14 10:23:01 +00:00
GetBankById string
GetBankBranchById string
2022-09-14 07:09:48 +00:00
}{
2022-09-14 10:23:01 +00:00
GetBankBranchById: getBankValue("get_bank_by_id"),
2022-09-14 07:09:48 +00:00
}