remove string encoding for numbers in qlog

This commit is contained in:
Marten Seemann
2020-03-13 15:43:01 +07:00
parent 699c988917
commit 7309a10482
9 changed files with 65 additions and 72 deletions

View File

@@ -2,15 +2,10 @@ package qlog
import (
"fmt"
"strconv"
"github.com/lucas-clemente/quic-go/internal/protocol"
)
func toString(i int64) string {
return strconv.FormatInt(i, 10)
}
type versionNumber protocol.VersionNumber
func (v versionNumber) String() string {