api: run go fmt

This commit is contained in:
Adhityaa
2018-06-20 09:20:11 +05:30
parent 510257fd8b
commit 1e73c980ef
14 changed files with 24 additions and 24 deletions

View File

@@ -46,8 +46,8 @@ func commentVote(commenterHex string, commentHex string, direction int) error {
func commentVoteHandler(w http.ResponseWriter, r *http.Request) {
type request struct {
CommenterToken *string `json:"commenterToken"`
CommentHex *string `json:"commentHex"`
Direction *int `json:"direction"`
CommentHex *string `json:"commentHex"`
Direction *int `json:"direction"`
}
var x request