Add Customer Discovery
This commit is contained in:
@@ -32,6 +32,7 @@ type Config struct {
|
||||
Brevo Brevo `mapstructure:"brevo"`
|
||||
Email Email `mapstructure:"email"`
|
||||
Withdraw Withdraw `mapstructure:"withdrawal"`
|
||||
Discovery Discovery `mapstructure:"discovery"`
|
||||
}
|
||||
|
||||
var (
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
package config
|
||||
|
||||
type Discovery struct {
|
||||
ExploreDestinations []ExploreDestination `mapstructure:"explore_destinations"`
|
||||
ExploreRegions []ExploreRegion `mapstructure:"explore_regions"`
|
||||
}
|
||||
|
||||
type ExploreDestinations []ExploreDestination
|
||||
|
||||
type ExploreDestination struct {
|
||||
Name string `mapstructure:"name"`
|
||||
ImageURL string `mapstructure:"image_url"`
|
||||
}
|
||||
|
||||
type ExploreRegion struct {
|
||||
Name string `mapstructure:"name"`
|
||||
}
|
||||
Reference in New Issue
Block a user