check: Index | Files | Directories

package check

import ""


Package Files


func NoError Uses

func NoError(ctx context.Context, checkPoints []CheckErrFunc) error

NoError returns the first error it got, if all passed, returns nil

func Passed Uses

func Passed(ctx context.Context, checkPoints []CheckFunc) bool

Passed returns true if all check points passed, otherwise, returns false

type CheckErrFunc Uses

type CheckErrFunc func() error

CheckErrFunc returns error if found

type CheckFunc Uses

type CheckFunc func() bool

CheckFunc is the check function only return true or false



Package check imports 2 packages (graph) and is imported by 1 packages. Updated 2018-12-07. Refresh now. Tools for package owners.