-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from solufit/13-anemoseventtype-struct
13 anemoseventtype struct
- Loading branch information
Showing
1 changed file
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
package libanemos | ||
|
||
type Forecast struct { | ||
weather_today string | ||
weather_tommorow string | ||
max_temp int | ||
min_temp int | ||
rain_percent_now int | ||
rain_percent_6h int | ||
rain_percent_12h int | ||
rain_percent_18h int | ||
rain_percent_24h int | ||
publishing_office string | ||
reported_time string | ||
} | ||
|
||
type Earthquake struct { | ||
event_id string | ||
entry_id string | ||
editorial_office string | ||
publishing_office string | ||
category string | ||
datetime string | ||
headline string | ||
hypocenter string | ||
region_code string | ||
max_int string | ||
magnitude string | ||
} | ||
|
||
type Warning struct { | ||
entryid string | ||
editorial_office string | ||
publishing_office string | ||
category string | ||
datetime string | ||
headline string | ||
pref string | ||
} | ||
|
||
type WeatherForecast struct { | ||
id string | ||
object_type string | ||
areacode string | ||
title string | ||
status string | ||
detail Forecast | ||
reported_at string | ||
info_domain string | ||
info_object_id string | ||
} | ||
|
||
type WeatherEarthquake struct { | ||
id string | ||
object_type string | ||
areacode string | ||
title string | ||
status string | ||
detail Earthquake | ||
reported_at string | ||
info_domain string | ||
info_object_id string | ||
} | ||
|
||
type WeatherWarning struct { | ||
id string | ||
object_type string | ||
areacode string | ||
title string | ||
status string | ||
detail Warning | ||
reported_at string | ||
info_domain string | ||
info_object_id string | ||
} |