types

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpClientInt

type HttpClientInt interface {
	Do(*http.Request) (*http.Response, error)
}

type LodeInt

type LodeInt interface {
	Run()
	Report()
	ExitWithCode()
}

type LoggerInt

type LoggerInt interface {
	Println(...interface{})
	Printf(string, ...interface{})
	Panicln(...interface{})
	Panicf(string, ...interface{})
	Fatalf(string, ...interface{})
}

type PromptSelectInt added in v0.3.0

type PromptSelectInt interface {
	Run() (int, string, error)
}

type TemplateInt

type TemplateInt interface {
	Parse(text string) (*template.Template, error)
	Execute(wr io.Writer, data interface{}) error
}

Jump to

Keyboard shortcuts

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