Documentation ¶
Overview ¶
Package glass provides Glass
Index ¶
Constants ¶
View Source
const GlassVersion = 1
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Glass ¶
type Glass struct { Pathbuilder pathbuilder.Pathbuilder Flags viewer.RenderFlags Cache *sparkl.Cache }
Glass represents a stand-alone representation of a WissKI
func Create ¶
func Create(pathbuilderPath string, nquadsPath string, cacheDir string, flags viewer.RenderFlags, output io.Writer) (drincw Glass, err error)
Create creates a new glass from the given pathbbuilder 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.