entity

package
v0.0.0-...-42cee99 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(doc Document) (domain.Document, error)

Types

type Document

type Document struct {
	Id             string    `dynamodbav:"id"`
	Type           string    `dynamodbav:"type"`
	Name           []byte    `dynamodbav:"name"`
	LifecycleState string    `dynamodbav:"lifecycleState"`
	CreationDate   time.Time `dynamodbav:"creationDate"`
}

func Encrypt

func Encrypt(doc domain.Document) (Document, error)

func NewDocument

func NewDocument(Name, DocType string) Document

Jump to

Keyboard shortcuts

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