Documentation
¶
Overview ¶
Package literal provides an inject.Injector that parses string literals into values.
Supported Kinds: Bool, Int, Uint, Float, Complex, Chan; Slice and Array (of supported Kinds); Func (parameterless, single return, with string assignable/convertible to the return type); Interface, Struct (if string is assignable/convertible); Ptr, Uintptr, UnsafePointer
Maps are not supported
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Injector = inject.TypedInjector(&valueMaker{})
Injector is an inject.Injector for parsing string literals.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.