lazy

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmptyString

func EmptyString() (string, error)

func False

func False() (bool, error)

func True

func True() (bool, error)

Types

type Bool

type Bool func(*types.Context) BoolValue

func B

func B(b bool) Bool

func BoolVar

func BoolVar(path StringValue) Bool

func WhenExecute

func WhenExecute(expr StringValue) Bool

type BoolValue

type BoolValue func() (bool, error)

type Interface

type Interface func(*types.Context) InterfaceValue

func AnyOutput

func AnyOutput(task, path StringValue) Interface

func AnyVar

func AnyVar(path StringValue) Interface

type InterfaceValue

type InterfaceValue func() (interface{}, error)

type String

type String func(*types.Context) StringValue

func Format

func Format(format StringValue, fs ...InterfaceValue) String

func S

func S(s string) String

func StringOutput

func StringOutput(task, path StringValue) String

func StringVar

func StringVar(path StringValue) String

type StringValue

type StringValue func() (string, error)

Jump to

Keyboard shortcuts

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