Versions in this module Expand all Collapse all v0 v0.3.0 Jun 17, 2018 Changes in this version type Client + func NewWithAPIEndpoint(username, password, apiEndpoint string) (*Client, error) v0.2.2 May 19, 2018 v0.2.1 May 19, 2018 v0.2.0 Jun 5, 2017 Changes in this version type Client + DebugHTTPRequests bool v0.1.1 May 7, 2016 v0.1.0 May 7, 2016 Changes in this version + type Changeset struct + ClosedAt time.Time + CommentCount int64 + CreatedAt time.Time + ID int64 + MaxLat float64 + MaxLon float64 + MinLat float64 + MinLon float64 + Open bool + Tags []Tag + UID int64 + User string + XMLName xml.Name + type Client struct + APIBaseURL string + CurrentUser *User + HTTPClient *http.Client + func New(username, password string, useDevServer bool) (*Client, error) + func (c *Client) CreateChangeset() (*Changeset, error) + func (c *Client) GetMyChangesets(onlyOpen bool) ([]*Changeset, error) + func (c *Client) RetrieveMapObjects(minLat, minLon, maxLat, maxLon float64) (*Wrap, error) + func (c *Client) SaveChangeset(cs *Changeset) error + func (c *Client) SaveNode(n *Node, cs *Changeset) error + type Node struct + Changeset int64 + ID int64 + Latitude float64 + Longitude float64 + Tags []Tag + UID int64 + User string + Version int64 + XMLName xml.Name + type Tag struct + Key string + Value string + XMLName xml.Name + type User struct + AccountCreated time.Time + Description string + DisplayName string + ID int64 + XMLName xml.Name + type Wrap struct + Changesets []*Changeset + Nodes []*Node + User *User + XMLName xml.Name