10 lines
189 B
Go
10 lines
189 B
Go
package api
|
|
|
|
import "weather-data/weathersource"
|
|
|
|
//WeatherAPI is the common interface for different apis
|
|
type WeatherAPI interface {
|
|
Start() error
|
|
Close()
|
|
weathersource.WeatherSource
|
|
}
|