github.com/omniscale/go-osm@v0.3.1/changeset.go (about) 1 package osm 2 3 import ( 4 "time" 5 ) 6 7 // A Changeset contains metadata about a single OSM changeset. 8 type Changeset struct { 9 ID int64 10 CreatedAt time.Time 11 ClosedAt time.Time 12 Open bool 13 UserID int32 14 UserName string 15 NumChanges int32 16 MaxExtent [4]float64 17 Comments []Comment 18 Tags Tags 19 } 20 21 // A Comment contains a single comment made to a Changeset. 22 type Comment struct { 23 UserID int32 24 UserName string 25 CreatedAt time.Time 26 Text string 27 }