turtle

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

Parser parses a turtle knowledge base.

func NewParser

func NewParser(r io.Reader) *Parser

NewParser create a new parser instance.

func (*Parser) Parse

func (parser *Parser) Parse(f func(string, string, string) error) (err error)

Parse reads the triples in the turtle file and calls the callback function for each encountered triple.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL