-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Feature request
Method to get the comments of a specified gist ID.
obj := gisty.NewGisty()
listComments, err := obj.GetComments(gistID)
if err != nil {
log.Fatal(err)
}
for _, commentObj := range listComments {
fmt.Println("User ID:", commentObj.User.ID())
fmt.Println("User Name:", commentObj.User.DisplayName())
fmt.Println("Date Post:", commentObj.DatePost())
fmt.Println("Comment ID:", commentObj.CommentID())
fmt.Println("InReplyTo:", commentObj,InReplyTo())
fmt.Println("Comment Raw:", commentObj.Raw()) // Usually markdown
fmt.Println("Comment HTML:", commentObj.HTML()) // Parsed HTML
}
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed