presentation

package
v0.0.0-...-165d855 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dlr

type Dlr struct {
	// contains filtered or unexported fields
}

Dlr is a struct that represents the dto of a dlr basic values.

func NewDlr

func NewDlr(pb *pb.Dlr) *Dlr

NewDlr creates a new *Dlr.

func NewDlrFromEntity

func NewDlrFromEntity(entity me.Dlr) *Dlr

NewDlrFromEntity creates a new *Dlr from entity.

func (*Dlr) String

func (s *Dlr) String() string

String returns a string representation of the Dlr.

func (*Dlr) ToEntity

func (s *Dlr) ToEntity() *me.Dlr

ToEntity returns a entity representation of the Dlr.

func (*Dlr) ToPb

func (s *Dlr) ToPb() *pb.Dlr

ToPb returns a protobuf representation of the Dlr.

type DlrFilter

type DlrFilter struct {
	// contains filtered or unexported fields
}

DlrFilter is a struct that represents the filter dto of a dlr.

func NewDlrFilter

func NewDlrFilter(pb *pb.DlrFilter) *DlrFilter

NewDlrFilter creates a new *DlrFilter.

func NewDlrFilterFromEntity

func NewDlrFilterFromEntity(entity me.DlrFilter) *DlrFilter

NewDlrFilterFromEntity creates a new *DlrFilter from entity.

func (*DlrFilter) String

func (s *DlrFilter) String() string

String returns a string representation of the DlrFilter.

func (*DlrFilter) ToEntity

func (s *DlrFilter) ToEntity() *me.DlrFilter

ToEntity returns a entity representation of the DlrFilter.

type Dlrs

type Dlrs struct {
	Dlrs      []*Dlr `json:"dlrs"`
	TotalRows int64  `json:"total_rows"`
}

func NewDlrFromEntities

func NewDlrFromEntities(entities me.Dlrs) Dlrs

NewDlrsFromEntities creates a new []*Dlr from entities.

func (Dlrs) ToPbs

func (s Dlrs) ToPbs() *pb.Dlrs

ToPbs returns a protobuf representation of the Dlrs.

Jump to

Keyboard shortcuts

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