Documentation ¶
Overview ¶
Package file provides an inject.Injector for file input. The tag value is used as the filename. Values of type *os.File will be set normally. Other values will be depending on the file type. File type is derived from the file extension, or optionally overridden by a tag option. Supported types include: txt, json, xml, gob
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Injector = inject.InjectorFunc(Inject)
Injector is an inject.Injector for file input.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.