Now ID in Reply could be rendered as JSON.
This commit is contained in:
parent
b94b5caf4c
commit
6c08e4cb16
@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
type Reply struct {
|
||||
ID int64 `json:"-"`
|
||||
ID int64 `json:"id,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
Message string `json:"message"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user