natsio/subject/location.go

14 lines
249 B
Go
Raw Normal View History

2022-08-30 04:03:02 +00:00
package subject
import "fmt"
func getLocationValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.Location, val)
}
var Location = struct {
GetLocationByCode string
}{
GetLocationByCode: getLocationValue("get_location_warehouse"),
}