Update aircraft legend to show real ADS-B categories and implement pure Go ICAO country lookup

- Replace imaginary aircraft types (Commercial/Cargo/GA) with actual ADS-B emitter categories
- Add proper weight-based classifications: Light <7000kg, Medium 7000-34000kg, etc.
- Replace SQLite-based ICAO lookup with pure Go implementation using slice of allocations
- Remove SQLite dependency completely for simpler architecture
- Add comprehensive ICAO address allocations based on ICAO Document 8585
- Implement efficient linear search through sorted allocations by start address

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Ole-Morten Duesund 2025-08-24 16:59:20 +02:00
commit 79f0509bea
7 changed files with 123 additions and 79 deletions

2
go.mod
View file

@ -6,5 +6,3 @@ require (
github.com/gorilla/mux v1.8.1
github.com/gorilla/websocket v1.5.3
)
require github.com/mattn/go-sqlite3 v1.14.32 // indirect