package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Sep 20, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 2
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.