Refactor server modules into main package and improve error handling

This commit is contained in:
adman
2026-02-24 23:27:56 +01:00
parent 85529b965b
commit bd83b9689e
18 changed files with 137 additions and 508 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import (
)
func TestLookUpProtocolVersion(t *testing.T) {
version, err := data.LookUpProtocolVersionByVersion(772)
version, err := data.LookUpVersionByProtocolVersion(772)
if err != nil {
t.Fatalf("Expected to find version 772, got error: %v", err)
}