Этот коммит содержится в:
Chris
2018-01-30 17:23:00 -06:00
коммит произвёл Corey Hulen
родитель ac2e42a480
Коммит 0c8968fb8d
62 изменённых файлов: 430 добавлений и 1235 удалений

Просмотреть файл

@@ -27,12 +27,8 @@ type CommandResponse struct {
}
func (o *CommandResponse) ToJson() string {
b, err := json.Marshal(o)
if err != nil {
return ""
} else {
return string(b)
}
b, _ := json.Marshal(o)
return string(b)
}
func CommandResponseFromHTTPBody(contentType string, body io.Reader) *CommandResponse {