Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepositoryPrinter ¶
type RepositoryPrinter interface {
Print(p hosting.Repository) error
Close() error
}
func FormatPrinter ¶
func FormatPrinter(w io.Writer, format hosting.RepositoryFormat) RepositoryPrinter
func NewRepositoryPrinterJSON ¶
func NewRepositoryPrinterJSON(w io.Writer) RepositoryPrinter
func NewRepositoryPrinterRef ¶
func NewRepositoryPrinterRef(w io.Writer) RepositoryPrinter
func NewRepositoryPrinterURL ¶
func NewRepositoryPrinterURL(w io.Writer) RepositoryPrinter
type RepositoryPrinterFunc ¶
type RepositoryPrinterFunc func(hosting.Repository) error
func (RepositoryPrinterFunc) Close ¶
func (f RepositoryPrinterFunc) Close() error
func (RepositoryPrinterFunc) Print ¶
func (f RepositoryPrinterFunc) Print(r hosting.Repository) error
Click to show internal directories.
Click to hide internal directories.