Documentation
¶
Overview ¶
Package objects provides the base objects used in SWLCS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comment ¶
type Comment struct {
// Resource is the unique identifier of the blog post or page the comment refers to
Resource string
// AuthorName is the name of the author of the comment
AuthorName string
// AuthorEmail is the email of the author of the comment
AuthorEmail string
// Body is the text of the comment
Body string
// Time is the date/time the comment was created
Time time.Time
}
Comment is the structure that contains a comment.
func (Comment) FileContent ¶
FileContent returns the comment in YAML format
type Repository ¶
type Repository struct {
// GitHubClient is the reference to a GitHub client instance
GitHubClient *github.Client
// Owner is the name of the repository Owner on GitHub
Owner string
// Name is the name of the repository on GitHub
Name string
// Branch is the name of the branch that contains the website
Branch string
}
Repository is the structure that contains the information of the GitHub repository where the website is hosted
Click to show internal directories.
Click to hide internal directories.