mdm

command module
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

mdm

master data modeling

data source

data model

suppose we are building an online website for searching books. We are going to model this with Book, Author, Publisher.

These data model has the following schema:

DataModel Book {
    id string, required, pk
    name string, required, unique
    authorId string, required, Ref<Author> 
    publisherId string, required, Ref<Publisher>
    publishedAt timestamp 
}

DataModel Author {
    id string, required, pk
    name string, required
}

DataModel Publisher {
    id string, required, pk
    name string, required
}

Relation AuthorPublisher {
    id string, required, pk
    authorId string, required, Ref<Author>
    publisherId string, required, Ref<Publisher>
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
internal
schema
Package schema implements the DataModel management.
Package schema implements the DataModel management.
web
dto

Jump to

Keyboard shortcuts

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