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:
parent
20bdcf54ec
commit
79f0509bea
7 changed files with 123 additions and 79 deletions
2
go.sum
2
go.sum
|
|
@ -2,5 +2,3 @@ github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=
|
|||
github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ=
|
||||
github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg=
|
||||
github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
|
||||
github.com/mattn/go-sqlite3 v1.14.32 h1:JD12Ag3oLy1zQA+BNn74xRgaBbdhbNIDYvQUEuuErjs=
|
||||
github.com/mattn/go-sqlite3 v1.14.32/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue