package
Version:
v0.4.2
Opens a new window with list of versions in this module.
Published: Oct 13, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
disk
import "github.com/coralproject/shelf/cmd/sponge/disk"
Overview
Index
Package files
disk.go
func LoadDir(dir string, loader func(string) error) error
LoadDir loadsup a given directory, calling a load function for each valid
json file found.
func LoadItem(context interface{}, path string) (*item.Item, error)
LoadItem serializes the content of Items from a file using the
given file path. Returns the serialized Item value.
Generated by godoc2md
Documentation
¶
LoadDir loadsup a given directory, calling a load function for each valid
json file found.
LoadItem serializes the content of Items from a file using the
given file path. Returns the serialized Item value.
LoadPattern serializes the content of a Pattern from a file using the
given file path. Returns the serialized Pattern value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.