Documentation
¶
Overview ¶
Package glass provides Glass
Index ¶
Constants ¶
View Source
const GlassVersion = 2
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Glass ¶
type Glass struct {
Pathbuilder pathbuilder.Pathbuilder
Cache *sparkl.Cache
Flags viewer.RenderFlags
}
Glass represents a stand-alone representation of a WissKI
func Create ¶
func Create(pathbuilderPath string, nquadsPath string, cacheDir string, flags viewer.RenderFlags, st *stats.Stats) (drincw Glass, err error)
Create creates a new glass from the given pathbuilder and nquads. output is written to output.
func (*Glass) DecodeFrom ¶
DecodeFrom decodes a glass from the given decoder
Click to show internal directories.
Click to hide internal directories.