schema

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate() (*serializers.Schema, error)

Generate a schema from migrations on the filesystem and write it to disk

func Link(force bool) error

Link a schema to the user's home dir

func Read

func Read() (*serializers.Schema, error)

Read a schema from disk or generate one

func ReadMerged

func ReadMerged() (*serializers.Schema, error)

ReadMerged merges schemas linked at ~/testtrack/schemas into a single virtual schema

func SortAlphabetically

func SortAlphabetically(schema *serializers.Schema)

SortAlphabetically sorts the schema's resource slices by their natural keys

func Write

func Write(schema *serializers.Schema) error

Write a schema to disk after alpha-sorting its resources

Types

This section is empty.

Jump to

Keyboard shortcuts

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