Versions in this module Expand all Collapse all v1 v1.5.6 Mar 27, 2022 Changes in this version + var ErrNoClue = errors.New("not enough information for making a decision") + func Close(obj interface{}) error + func CreateObject(ctx context.Context, config interface{}) (interface{}, error) + func Error2(v interface{}, err error) error + func GetGOBIN() string + func GetGOPATH() string + func GetModuleName(pathToProjectRoot string) (string, error) + func GetRuntimeEnv(key string) (string, error) + func Interrupt(obj interface{}) error + func Must(err error) + func Must2(v interface{}, err error) interface + func RegisterConfig(config interface{}, configCreator ConfigCreator) error + type ChainedClosable []Closable + func (cc ChainedClosable) Close() error + type Closable interface + Close func() error + type ConfigCreator func(ctx context.Context, config interface{}) (interface{}, error) + type HasType interface + Type func() interface{} + type Interruptible interface + Interrupt func() + type Runnable interface + Start func() error