Help us shape the future of Go! Take the 2026 Go Developer Survey

ldtestutil

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contexts

func Contexts() []ldcontext.Document

Contexts returns test JSON-LD contexts.

func DocumentLoader

func DocumentLoader(extraContexts ...ldcontext.Document) (*documentloader.DocumentLoader, error)

DocumentLoader returns JSON-LD document loader preloaded with embedded contexts and provided extra contexts.

func WithDocumentLoader

func WithDocumentLoader(t *testing.T) processor.Opts

WithDocumentLoader returns an option with a custom JSON-LD document loader preloaded with embedded contexts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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