usecase

package
v0.0.0-...-ee2e90e Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetWeather

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

func NewGetWeather

func NewGetWeather(
	locationRepo entity.LocationRepo,
	tempRepo entity.TemperatureRepo,
) GetWeather

func (*GetWeather) Execute

func (gw *GetWeather) Execute(
	ctx context.Context,
	input dto.LocationInput,
) (dto.TemperatureOutput, error)

Jump to

Keyboard shortcuts

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