mycheck

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = New()

Functions

func Assert

func Assert(t *testing.T) *assert.Assertions

func Body

func Body() string

func Bool2

func Bool2(retCtx any, ok bool) bool

func Error

func Error(err any) bool

func Error2

func Error2(retCtx any, err error) (ok bool)

func List

func List() []_ErrorList

func Object

func Object() error

Types

type Interface

type Interface interface {

	//input password for sudo exec
	Error(err any) bool
	Bool2(retCtx any, ok bool) bool
	Error2(retCtx any, err error) (ok bool)
	Body() string
	List() []_ErrorList
	Object() error
}

func New

func New() Interface

Directories

Path Synopsis
internal
table
package table prettifies tab/line text tables to aligned/formatted/sorted/rearranged and justified text tables.
package table prettifies tab/line text tables to aligned/formatted/sorted/rearranged and justified text tables.

Jump to

Keyboard shortcuts

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