protocol: rename VersionNumber to Version (#4295)

This commit is contained in:
Marten Seemann
2024-02-01 12:57:33 +07:00
committed by GitHub
parent 69ba7acb9f
commit fbaa941ea1
81 changed files with 368 additions and 364 deletions

View File

@@ -64,7 +64,7 @@ func (c category) String() string {
}
}
type versionNumber protocol.VersionNumber
type versionNumber protocol.Version
func (v versionNumber) String() string {
return fmt.Sprintf("%x", uint32(v))