service

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrasilAPI

type BrasilAPI struct {
	CEP string
}

func NewBrasilAPIService

func NewBrasilAPIService(CEP string) *BrasilAPI

func (*BrasilAPI) Search

func (c *BrasilAPI) Search(ctx context.Context) (CEPOutput dto.CEPOutput, err error)

Search - busca de clima pelo CEP

type WeatherAPI

type WeatherAPI struct {
	Localidade string
	// contains filtered or unexported fields
}

func NewWeatherAPIService

func NewWeatherAPIService(key string, localidade string) *WeatherAPI

func (*WeatherAPI) Search

func (c *WeatherAPI) Search(ctx context.Context) (weatherAPIOutput dto.WeatherOutput, err error)

Search - busca de clima pelo local

Jump to

Keyboard shortcuts

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