Documentation ¶
Overview ¶
Package idiomaticgo contains functionality for rendering /idiomatic-go page.
Index ¶
- Constants
- func RenderBodyInnerHTML(ctx context.Context, w io.Writer, issuesService issues.Service, ...) error
- type IssuesReactions
- func (ir IssuesReactions) Get(ctx context.Context, uri string, id string) ([]reactions.Reaction, error)
- func (ir IssuesReactions) List(ctx context.Context, uri string) (map[string][]reactions.Reaction, error)
- func (ir IssuesReactions) Toggle(ctx context.Context, uri string, id string, tr reactions.ToggleRequest) ([]reactions.Reaction, error)
Constants ¶
View Source
const ReactableURL = idiomaticGoURI
ReactableURL is the URL for reactionable items on the Idiomatic Go page.
Variables ¶
This section is empty.
Functions ¶
func RenderBodyInnerHTML ¶
func RenderBodyInnerHTML(ctx context.Context, w io.Writer, issuesService issues.Service, notification notification.Service, authenticatedUser users.User, returnURL string) error
RenderBodyInnerHTML renders the inner HTML of the <body> element of the Idiomatic Go page. It's safe for concurrent use.
Types ¶
Click to show internal directories.
Click to hide internal directories.