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 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.
Click to show internal directories.
Click to hide internal directories.