domain

package
v0.0.0-...-52d1095 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	Get(context.Context, string) (*Template, error)
	List(context.Context, interface{}) ([]*Template, error)
	Add(context.Context, *Template) (*Template, error)
	Update(context.Context, *Template) (*Template, error)
	Delete(context.Context, string) error
}

type Template

type Template struct {
	ID        string
	Name      string
	CreatedAt string
}

Aggregate's Root

Jump to

Keyboard shortcuts

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