natsio/subject/bank.go

16 lines
335 B
Go
Raw 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-10-11 07:13:15 +00:00
CheckBankAndBranchByID string
}{
2022-11-08 06:53:52 +00:00
GetBankInfo: getBankValue("get_bank_info"),
CheckBankAndBranchByID: getBankValue("check_bank_and_branch_by_id"),
2022-10-11 07:13:15 +00:00
}