render

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL