natsio/subject/affiliate.go

14 lines
243 B
Go
Raw Normal View History

2022-12-04 13:43:54 +00:00
package subject
import "fmt"
func getAffiliateValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.Affiliate, val)
}
var Affiliate = struct {
GetTransactions string
}{
GetTransactions: getAffiliateValue("get_transactions"),
}