Skip to content

Commit

Permalink
feat: UpdateMsg 增加通用返回参数 time_ms
Browse files Browse the repository at this point in the history
  • Loading branch information
nizonglong committed Nov 24, 2022
1 parent 090ee71 commit c0070e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions go/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v0.3.0

2022-11-22

- add common response field `time_ms` for time of message created

## v0.2.8

2022-10-21
Expand Down
1 change: 1 addition & 0 deletions go/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (

type UpdateMsg struct {
Time int64 `json:"time"`
TimeMs int64 `json:"time_ms"`
Id *int64 `json:"id,omitempty"`
Channel string `json:"channel"`
Event string `json:"event"`
Expand Down

0 comments on commit c0070e6

Please sign in to comment.