Documentation
¶
Overview ¶
Package render provides shared renderers for discussion commands, kept in a standalone package to avoid import cycles between a command group and its subcommands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintComments ¶
func PrintComments(io *iostreams.IOStreams, cs []*api.DiscussionComment)
PrintComments renders a list of discussion comments/replies in human-readable form. Shared by the organization and repository comment commands.
func PrintDiscussion ¶
func PrintDiscussion(io *iostreams.IOStreams, d *api.Discussion)
PrintDiscussion renders a single discussion in human-readable form. Shared by the organization and repository view commands.
func PrintDiscussions ¶
func PrintDiscussions(io *iostreams.IOStreams, discussions []*api.Discussion)
PrintDiscussions renders a list of discussions in human-readable form. Shared by the organization and repository list commands.
Types ¶
This section is empty.
Source Files
¶
- render.go
Click to show internal directories.
Click to hide internal directories.