File tree 3 files changed +7
-0
lines changed
3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
module github.com/ekzyis/snappy
2
2
3
3
go 1.20
4
+
5
+ require gopkg.in/guregu/null.v4 v4.0.0 // indirect
Original file line number Diff line number Diff line change
1
+ gopkg.in/guregu/null.v4 v4.0.0 h1:1Wm3S1WEA2I26Kq+6vcW+w0gcDo44YKYD7YIEJNHDjg =
2
+ gopkg.in/guregu/null.v4 v4.0.0 /go.mod h1:YoQhUrADuG3i9WqesrCmpNRwm1ypAgSHYqoOcTu/JrI =
Original file line number Diff line number Diff line change 4
4
"encoding/json"
5
5
"fmt"
6
6
"time"
7
+
8
+ "gopkg.in/guregu/null.v4"
7
9
)
8
10
9
11
type Item struct {
@@ -14,6 +16,7 @@ type Item struct {
14
16
Text string `json:"text"`
15
17
Sats int `json:"sats"`
16
18
CreatedAt time.Time `json:"createdAt"`
19
+ DeletedAt null.Time `json:"deletedAt"`
17
20
Comments []Comment `json:"comments"`
18
21
NComments int `json:"ncomments"`
19
22
User User `json:"user"`
You can’t perform that action at this time.
0 commit comments