dtoutils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromRecord

func FromRecord(r *models.Record, output any) error

func ToRecord

func ToRecord(r *models.Record, input any) error

Types

type BaseModel

type BaseModel struct {
	Id      string         `json:"id,omitempty" mapstructure:"id,omitempty"`
	Created types.DateTime `json:"created,omitempty" mapstructure:"created,omitempty"`
	Updated types.DateTime `json:"updated,omitempty" mapstructure:"updated,omitempty"`
}

Jump to

Keyboard shortcuts

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