natsio/subject/bank.go

18 lines
429 B
Go
Raw Permalink Normal View History

2022-10-11 07:13:15 +00:00
package subject
import "fmt"
func getBankValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.Bank, val)
}
var Bank = struct {
2022-11-08 06:53:52 +00:00
GetBankInfo string
2022-11-09 07:28:10 +00:00
GetBankInfoDetail string
2022-10-11 07:13:15 +00:00
CheckBankAndBranchByID string
}{
2022-11-08 06:53:52 +00:00
GetBankInfo: getBankValue("get_bank_info"),
2022-11-09 07:28:10 +00:00
GetBankInfoDetail: getBankValue("get_bank_info_detail"),
2022-11-08 06:53:52 +00:00
CheckBankAndBranchByID: getBankValue("check_bank_and_branch_by_id"),
2022-10-11 07:13:15 +00:00
}