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-15 04:20:34 +00:00
|
|
|
GetBankById: getBankValue("get_bank_by_id"),
|
|
|
|
GetBankBranchById: getBankValue("get_bank_branch_by_id"),
|
2022-09-14 07:09:48 +00:00
|
|
|
}
|