Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ContainerID defines the gapp/fs package container service id base // string. ContainerID = gapp.ContainerID + ".fs" )
Variables ¶
View Source
var ( // ErrNilPointer defines a nil pointer argument error ErrNilPointer = gapp.ErrNilPointer // ErrConversion defines a type conversion error ErrConversion = gapp.ErrConversion )
Functions ¶
func GetFileSystem ¶ added in v1.3.2
func GetFileSystem(c gapp.ServiceContainer) (afero.Fs, error)
GetFileSystem wii try to retrieve the registered file system adapter from the application service container.
Types ¶
type Provider ¶ added in v1.1.0
type Provider struct{}
Provider defines the gapp/fs module service provider to be used on the application initialization to register the file system adapter service.
Click to show internal directories.
Click to hide internal directories.