mappers

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentMapper

type ComponentMapper interface {
	MapToComponentDTO(componentEntity entities.Component) entities.ComponentDTO
}

func NewComponentMapper

func NewComponentMapper() ComponentMapper

type ComponentMapperImpl

type ComponentMapperImpl struct{}

func (*ComponentMapperImpl) MapToComponentDTO

func (m *ComponentMapperImpl) MapToComponentDTO(componentEntity entities.Component) entities.ComponentDTO

type ResultMapper

type ResultMapper interface {
	MapToResultDTO(result entities.Result) entities.ResultDTO
	MapToResultDTOList(results []entities.Result) []entities.ResultDTO
}

func NewResultMapper

func NewResultMapper(scanossSettings *entities.ScanossSettings) ResultMapper

type ResultMapperImpl

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

func (*ResultMapperImpl) MapToResultDTO

func (m *ResultMapperImpl) MapToResultDTO(result entities.Result) entities.ResultDTO

func (*ResultMapperImpl) MapToResultDTOList

func (m *ResultMapperImpl) MapToResultDTOList(results []entities.Result) []entities.ResultDTO

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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