dao

package
v0.0.0-...-8d6ec7d Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TriangleDaoImpl

type TriangleDaoImpl struct {
	ConnectorDynamoDb *infrastructure.ConnectorDynamoDb
}

func NewTriangleDAOImpl

func NewTriangleDAOImpl(connectorDynamoDb *infrastructure.ConnectorDynamoDb) *TriangleDaoImpl

func (*TriangleDaoImpl) Save

func (t *TriangleDaoImpl) Save(triangle *domain.Triangle) *domain.Triangle

type TriangleEntity

type TriangleEntity struct {
	ID           string  `json:"id"`
	SideA        float64 `json:"sideA"`
	SideB        float64 `json:"sideB"`
	SideC        float64 `json:"sideC"`
	TriangleType string  `json:"triangleType"`
}

Jump to

Keyboard shortcuts

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