comments.go
func (client *Client) CreateComment(handle, message string) (*Comment, error) {
	var out reqComment
	comment := Comment{Message: String(message)}
	if len(handle) > 0 {
		comment.Handle = String(handle)
	}
	if err := client.doJsonRequest("POST", "/v1/comments", &comment, &out); err != nil {
		return nil, err
	}
	return out.Comment, nil
}
func (client *Client) CreateComment(handle, message string) (*Comment, error) {
	var out reqComment
	comment := Comment{Message: String(message)}
	if len(handle) > 0 {
		comment.Handle = String(handle)
	}
	if err := client.doJsonRequest("POST", "/v1/comments", &comment, &out); err != nil {
		return nil, err
	}
	return out.Comment, nil
}
func ( client * Client ) CreateComment ( handle , message string ) ( * Comment , error ) { var out reqComment comment := Comment { Message : String ( message ) } if len ( handle ) > 0 { comment . Handle = String ( handle ) } if err := client . doJsonRequest ( " " , " " , & comment , & out ) ; err != nil { return nil , err } return out . Comment , nil }
// CreateComment adds a new comment to the system.
CreateComment adds a new comment to the system .