result

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kind

type Kind int
const (
	Undefined Kind = iota
	Done
	Error
	Message
	Url
	Repos
)

type Result

type Result struct {
	ID      string
	Kind    Kind
	Content interface{}
}

func DoneResult

func DoneResult() Result

func EmptyResult

func EmptyResult() Result

func ErrorResult

func ErrorResult(err error) Result

func MessageResult

func MessageResult(text string) Result

Jump to

Keyboard shortcuts

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