usecase

package
v0.0.0-...-3c92c33 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetLatLonByCEP

type GetLatLonByCEP struct{}

func NewGetLatLonByCEPUseCase

func NewGetLatLonByCEPUseCase() *GetLatLonByCEP

func (*GetLatLonByCEP) Execute

func (c *GetLatLonByCEP) Execute(ctx context.Context, CEP string) (output dto.CEPOutput, err error)

Execute - busca de latitude e longitude pelo CEP

type GetWeatherUseCase

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

func NewGetWeatherUseCase

func NewGetWeatherUseCase(key string) *GetWeatherUseCase

func (*GetWeatherUseCase) Execute

func (c *GetWeatherUseCase) Execute(ctx context.Context, weatherInput dto.WeatherInput) (output dto.WeatherOutput, err error)

Execute - busca de clima pelo local

Jump to

Keyboard shortcuts

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