Commit graph

11 commits

Author SHA1 Message Date
Winni Neessen e7f8662347
Update precision constants in station.go
Refined precision constants in station.go for better clarity and maintainability. Comment descriptions for each precision level have been expanded for better understanding. Strings have been introduced as constants to represent each precision level, enhancing code readability and preventing inconsistencies. Changes are also done to the UnmarshalJSON() and String() of the Precision type to use these new string constants improving overall code quality.
2023-06-27 19:21:24 +02:00
Winni Neessen 8cb9754f69
Added SnowHeight and corrected comments 2023-06-26 12:21:36 +02:00
Winni Neessen dec578e751
Added CODE_OF_CONDUCT.md, CONTRIBUTING.md and updated mail address in CopyrightText 2023-05-21 11:46:23 +02:00
Winni Neessen 18cf41f940
More observation data and test coverage 2023-05-16 12:02:19 +02:00
Winni Neessen a5b95d8a20
More work on Observations 2023-05-15 21:52:14 +02:00
Winni Neessen 97ca43a0c9
Started adding Station Observations 2023-05-15 21:23:35 +02:00
Winni Neessen 5d278c9fd8
Renamed GeoLocation lookup methods since we don't only search by city name but rather by any kind of name 2023-05-15 16:30:23 +02:00
Winni Neessen 1fbbaf0a7b
Added mock API support 2023-05-15 16:02:04 +02:00
Winni Neessen 877d2497ce
Added test coverage for station.go 2023-05-14 15:18:44 +02:00
Winni Neessen 8441b60d15
Minor changes
- Non-negative HTTP response handling
- Renamed station method names and comments
2023-05-13 18:44:29 +02:00
Winni Neessen 1265d9eea5
Added station search 2023-05-13 17:10:00 +02:00