natsio/subject/bank.go

16 lines
335 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-10-27 04:30:17 +00:00
GetBankInfo string
CheckBankAndBranchByID string
2022-09-14 07:09:48 +00:00
}{
2022-10-27 04:30:17 +00:00
GetBankInfo: getBankValue("get_bank_info"),
CheckBankAndBranchByID: getBankValue("check_bank_and_branch_by_id"),
2022-09-14 07:09:48 +00:00
}