package
0.0.0-20240603153513-85a4060560ea
Repository: https://github.com/adamcolton/luce.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

CanElem returns true if it is safe to call Elem on k.
CanNil reports wether k is a nilable kind.
Elem calls t.Elem if it is safe to do so.
EnsurePointer check the Kind of v and if it is not a pointer, returns a pointer to v.
IsNil reports whether its argument t is nil.
No description provided by the author
MethodOn get a Method by name.
MethodsOn returns all the methods on the interface provided.
No description provided by the author
ReturnsErrCheck checks the return values from a function call to see if the last value is an error.
No description provided by the author
ToType returns reflect.Type unless it is already an instance reflect.Type.
ToValue returns reflect.Value of i unless it is already an instance of reflect.Value.
Type creates a reflect.Type from the generic type without allocating memory.

# Constants

ErrExpectedPtr is returned if the type is not a pointer.
No description provided by the author
ErrParserSet is returned when reflect.Value.Set fails.

# Structs

ErrParserNotFound is returned when a parser does not contain a given Type.
Method captures the reflection values that are useful when doing reflection on a method.

# Type aliases

Methods on a single value - at least that's the intention.
Parser is used to parse one data type into many.
No description provided by the author