Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CEPValidation ¶
Types ¶
type LocationRepo ¶
type Temperature ¶
type Temperature struct {
// contains filtered or unexported fields
}
func NewTemperature ¶
func NewTemperature(celsius float64) *Temperature
func (*Temperature) Celsius ¶
func (t *Temperature) Celsius() float64
func (*Temperature) Fahrenheit ¶
func (t *Temperature) Fahrenheit() float64
func (*Temperature) Kelvin ¶
func (t *Temperature) Kelvin() float64
type TemperatureRepo ¶
type TemperatureRepo interface {
Get(ctx context.Context, location string) (Temperature, error)
}
Click to show internal directories.
Click to hide internal directories.