mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Fmt
This commit is contained in:
+2
-2
@@ -14,7 +14,7 @@ const (
|
||||
)
|
||||
|
||||
func randByte(len int) []byte {
|
||||
b := make([]byte, len / 2)
|
||||
b := make([]byte, len/2)
|
||||
rand.Read(b)
|
||||
|
||||
h := make([]byte, len)
|
||||
@@ -100,7 +100,7 @@ func payloadID(payload []byte) []byte {
|
||||
return []byte{}
|
||||
}
|
||||
|
||||
return payload[2: 2 + idx]
|
||||
return payload[2 : 2+idx]
|
||||
}
|
||||
|
||||
func isOriginPayload(payload []byte) bool {
|
||||
|
||||
Reference in New Issue
Block a user