Documentation ¶ Index ¶ Variables func NewTool(c Client, opts contract.ToolOptions[Client]) *defaultTool type Client func NewClient() Client Constants ¶ This section is empty. Variables ¶ View Source var ( ErrInvalidType = errors.New("only structs or pointers to structs can be registered in the factory") ErrStructNotFound = errors.New("no struct registered with the given name") ) Functions ¶ func NewTool ¶ func NewTool(c Client, opts contract.ToolOptions[Client]) *defaultTool Types ¶ type Client ¶ type Client interface { contract.FactoryOperator } func NewClient ¶ func NewClient() Client Source Files ¶ View all Source files client.gotool.goutil.go Click to show internal directories. Click to hide internal directories.