schema

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compact

func Compact(val string) string

Compact is a function that converts an expanded form of a ontology property into its compact representation. If we are unable to compact the value then we return the input string. This allows this function to be called safely on an already compacted property.

func Expand

func Expand(val string) string

Expand returns the expanded version of a value (either prop or value). If we are unable to expand the value then we return the input string. This allows this function to be called safely on an already expanded property.

Types

This section is empty.

Jump to

Keyboard shortcuts

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