Skip to content

Commit fadc61d

Browse files
committed
streams: Number are int
1 parent 9e357d8 commit fadc61d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

streams/types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type Change struct {
55
Branch string `json:"branch,omitempty"`
66
Topic string `json:"topic,omitempty"`
77
ID string `json:"id,omitempty"`
8-
Number string `json:"number,omitempty"`
8+
Number int `json:"number,omitempty"`
99
Subject string `json:"subject,omitempty"`
1010
Owner Account `json:"owner"`
1111
URL string `json:"url,omitempty"`
@@ -39,7 +39,7 @@ type Account struct {
3939
}
4040

4141
type PatchSet struct {
42-
Number string `json:"number,omitempty"`
42+
Number int `json:"number,omitempty"`
4343
Revision string `json:"revision,omitempty"`
4444
Parents []string `json:"parents,omitempty"`
4545
Ref string `json:"ref,omitempty"`
@@ -90,7 +90,7 @@ type Label struct {
9090

9191
type Dependency struct {
9292
ID string `json:"id,omitempty"`
93-
Number string `json:"number,omitempty"`
93+
Number int `json:"number,omitempty"`
9494
Revision string `json:"revision,omitempty"`
9595
Ref string `json:"ref,omitempty"`
9696
IsCurrentPatchSet bool `json:"isCurrentPatchSet,omitempty"`

0 commit comments

Comments
 (0)