taxonomyio

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadDocumentFromFile

func ReadDocumentFromFile(path string) (*model.Document, error)

ReadDocumentFromFile loads a document model from a JSON or YAML file

func WriteDocumentToFile

func WriteDocumentToFile(doc *model.Document, outPath string) error

WriteDocumentToFile writes a document model to a JSON or YAML file. The format is auto detected by the filename suffix with a fallback to JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

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