Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion node.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type Node struct {
UserID UserID `xml:"uid,attr" json:"uid,omitempty"`
Visible bool `xml:"visible,attr" json:"visible"`
Version int `xml:"version,attr,omitempty" json:"version,omitempty"`
ChangesetID ChangesetID `xml:"changeset,attr,omitempty" json:"changeset,omitempty"`
ChangesetID ChangesetID `xml:"changeset,attr" json:"changeset"`
Timestamp time.Time `xml:"timestamp,attr" json:"timestamp"`
Tags Tags `xml:"tag" json:"tags,omitempty"`

Expand Down
2 changes: 1 addition & 1 deletion relation.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type Relation struct {
UserID UserID `xml:"uid,attr" json:"uid,omitempty"`
Visible bool `xml:"visible,attr" json:"visible"`
Version int `xml:"version,attr,omitempty" json:"version,omitempty"`
ChangesetID ChangesetID `xml:"changeset,attr,omitempty" json:"changeset,omitempty"`
ChangesetID ChangesetID `xml:"changeset,attr" json:"changeset"`
Timestamp time.Time `xml:"timestamp,attr" json:"timestamp,omitempty"`

Tags Tags `xml:"tag" json:"tags,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion way.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type Way struct {
UserID UserID `xml:"uid,attr" json:"uid,omitempty"`
Visible bool `xml:"visible,attr" json:"visible"`
Version int `xml:"version,attr,omitempty" json:"version,omitempty"`
ChangesetID ChangesetID `xml:"changeset,attr,omitempty" json:"changeset,omitempty"`
ChangesetID ChangesetID `xml:"changeset,attr" json:"changeset"`
Timestamp time.Time `xml:"timestamp,attr" json:"timestamp"`
Nodes WayNodes `xml:"nd" json:"nodes"`
Tags Tags `xml:"tag" json:"tags,omitempty"`
Expand Down