validate

package
v0.0.0-...-9ff59ee Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasRelationships

func HasRelationships(a []string, rs []jsapi.RelationShipLink) error

HasRelationships checks if slice a contains any relationship name in rs slice

func RelationshipResourceType

func RelationshipResourceType(name string, data interface{}) (string, error)

RelationshipResourceType checks if the given resource name matches any type in the relationship rs slice and returns the type name

Types

This section is empty.

Jump to

Keyboard shortcuts

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