Versions in this module Expand all Collapse all v1 v1.4.4 Sep 4, 2024 v1.4.3 Sep 2, 2024 v1.4.2 Aug 29, 2024 v1.4.1 Aug 29, 2024 v1.4.0 Aug 29, 2024 v1.3.0 Aug 28, 2024 v1.2.0 Aug 22, 2024 Changes in this version + const GeoExact + const GeoNone + const GeoOnlyStreet + const GeoOnlyZip + const TypeHotel + const TypePara + func DECtoSEX(angle float64) float64 + func WGS84toCH1903(lng, lat float64) (x, y int) + type Activity struct + ID string + Price string + Text []LangText + type Address struct + Email string + Name1 string + Phone1 string + Place string + Rkey string + Street1 string + Street2 string + Url string + Zip string + type AddressClient struct + Endpoint string + H *resty.Client + func NewAddressClient(endpoint, username, password string) *AddressClient + func (c *AddressClient) Upsert(data map[string]string) (int, error) + type AdventureExecutionDate struct + From string + To string + type AdventureInfo struct + Admin2 cdataString + ExecutionOnRequest bool + ExecutionPlaceFreetext cdataString + ExecutionRkey string + ExecutionUnknown bool + MaxParticipants int + MinParticipants int + NameEntertainer cdataString + OfferLink cdataString + PriceFrom string + PriceNormal string + ReservationEmail bool + ReservationEmailInput cdataString + ReservationOnline int + ReservationTel bool + ReservationTelInput cdataString + Subcat Subcat + func (a *AdventureInfo) GetPrice() float64 + type AdventureOffer struct + Address Adventureaddress + AdventureActivities []Activity + AdventureExecutionDates []AdventureExecutionDate + AdventureInfo AdventureInfo + AdventureLanguages []IDSTRLangText + AdventureSeasons []IDSTRLangText + AdventureSegments []IDSTRLangText + AdventureTravelGroups []IDSTRLangText + AdventureTypes []IDSTRLangText + BookingURL IDSTRLangText + Description []Description + Duration []Leadtext + ID string + Images []Image + InfoURL IDSTRLangText + Leadtext []Leadtext + Title []Title + Weather []Leadtext + func (a *AdventureOffer) GetAdventureSeasons() []string + func (a *AdventureOffer) GetAdventureTypeIDs() []string + type AdventureType struct + ID int + Text []LangText + type Adventureaddress struct + Email cdataString + ID string + Name1 cdataString + Phone1 cdataString + Place cdataString + Rkey string + Street1 cdataString + Street2 cdataString + Url cdataString + Zip cdataString + type AkeyAddress struct + Email cdataString + GeoReference Georeference + ID string + Name cdataString + Phone cdataString + Place cdataString + Resort Resort + Street cdataString + Zip cdataString + type Bookingurl struct + Lang string + Text string + type Client struct + func NewClient(username string, apiKey string, url string) Client + func (c *Client) GetAddresses() ([]AkeyAddress, error) + func (c *Client) GetAdventureOffers() ([]AdventureOffer, error) + func (c *Client) GetOffers() ([]Offer, error) + func (c *Client) GetResorts() ([]Resort, error) + type Description struct + Lang string + Text string + type Format struct + Type string + Url string + type Georeference struct + Altitude float64 + GeoReferenceType string + Lat float64 + Lng float64 + X int + Y int + type GetAddressResult struct + Address []AkeyAddress + Header ResponseHeader + XMLName xml.Name + type GetAdventureOffersResult struct + Header ResponseHeader + Offer []AdventureOffer + XMLName xml.Name + type GetOffersResult struct + Header ResponseHeader + Offer []Offer + XMLName xml.Name + type GetResortsResult struct + Header ResponseHeader + Resort []Resort + XMLName xml.Name + type IDLangText struct + ID int + Text []LangText + type IDSTRLangText struct + ID string + Text []LangText + type Image struct + Imageformat []Imageformat + type Imageformat struct + Format []Format + Type string + type LangText struct + Lang string + Text string + type Leadtext struct + Lang string + Text string + type Offer struct + Address Address + Bookingurl []Bookingurl + Description []Description + ID string + Images []Image + Place Place + PriceFrom float64 + PriceNormal float64 + Roomcategory []Roomcategory + RoomcategoryID int + Subcat Subcat + Title []Title + ValidFrom string + ValidTo string + func (o *Offer) GetPrice() float64 + type Place struct + Place string + type Resort struct + Georeference Georeference + ID uint + Names []TranslatedText + Region string + ResortZips []ResortZip + Searchfield string + Zip string + type ResortZip struct + Canton string + Defaultzip string + Name string + Zip string + type ResponseHeader struct + CurrentPage int + PageSize int + ResultSize int + ResultsInPage int + TotalPages int + type Roomcategory struct + Lang string + Text string + type Subcat struct + Subcat string + type Title struct + Lang string + Text string + type TranslatedText struct + Lang string + Text string