lint: fix lack of comment #13
This commit is contained in:
@@ -251,7 +251,8 @@ _currently supported providers are `google`, `facebook` and `github`_
|
||||
type Comment struct {
|
||||
ID string `json:"id"` // comment ID, read only
|
||||
ParentID string `json:"pid"` // parent ID
|
||||
Text string `json:"text"` // comment text
|
||||
Text string `json:"text"` // comment text, after md processing
|
||||
Orig string `json:"orig"` // original comment text
|
||||
User User `json:"user"` // user info, read only
|
||||
Locator Locator `json:"locator"` // post locator
|
||||
Score int `json:"score"` // comment score, read only
|
||||
|
||||
@@ -88,6 +88,7 @@ func (s *Service) Vote(locator Locator, commentID string, userID string, val boo
|
||||
return comment, s.Put(locator, comment)
|
||||
}
|
||||
|
||||
// EditRequest contains fields needed for comment update
|
||||
type EditRequest struct {
|
||||
Text string
|
||||
Orig string
|
||||
|
||||
Reference in New Issue
Block a user