validate

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

README

go-sfomuseum-validate

Go package for validating SFO Museum properties Who's On First documents

Documentation

Documentation is incomplete at this time

See also

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(body []byte) error

func ValidatePlacetype

func ValidatePlacetype(body []byte) error

func ValidateRepo added in v0.0.2

func ValidateRepo(body []byte) error

func ValidateSFOLevel

func ValidateSFOLevel(body []byte) error

func ValidateWithOptions

func ValidateWithOptions(body []byte, options *Options) error

Types

type Options

type Options struct {
	ValidatePlacetype bool
	ValidateRepo      bool
	ValidateSFOLevel  bool
}

func DefaultValidateOptions

func DefaultValidateOptions() *Options

Jump to

Keyboard shortcuts

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