Skip to content

kalo-build/morphe-go

Repository files navigation

morphe-go

Implementation wrapper to work with Morphe specification data in the Go programming language.

Quick Start

  1. Create your .mod and .ent YAML definition files in your project.
  2. Install the morphe-go package via go get github.com/kalo-build/morphe-go.
  3. Initialize the registry instance with r := registry.NewRegistry().
  4. Load models / entities with registry methods:
    • modelsErr := r.LoadModelsFromDirectory(<modelsDirPath>)
    • entitiesErr := r.LoadEntitiesFromDirectory(<entitiesDirPath>)
  5. Access the registry model / entity definitions by name <model|entity>, exists := r[<name>]

About

Implementation wrapper to work with Morphe specification data in the Go programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages