natsio/subject/bank.go

18 lines
430 B
Go
Raw Permalink 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-21 07:06:59 +00:00
GetBankById string
GetBankBranchById string
CheckBankAndBranchByID string
2022-09-14 07:09:48 +00:00
}{
2022-09-21 07:06:59 +00:00
GetBankById: getBankValue("get_bank_by_id"),
GetBankBranchById: getBankValue("get_bank_branch_by_id"),
CheckBankAndBranchByID: getBankValue("check_bank_and_brach_by_id"),
2022-09-14 07:09:48 +00:00
}