package models func GetComments() ([]string, error) { return client.LRange(client.Context(), "comments", 0, 10).Result() } func PostComment(comment string) error { return client.LPush("comments", comment).Err() }