literal

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2017 License: MIT Imports: 6 Imported by: 6

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.

Jump to

Keyboard shortcuts

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