Style: format code by gofumpt (#761)

This commit is contained in:
yuhan6665 authored and GitHub committed 2021-10-20 00:57:14 +08:00
1 parent d77be80b40
commit e286cdcaa8
111 files changed
+293 -291

No files matched your search

-1
View File
@@ -54,7 +54,6 @@ func (r *FullReader) Read(p []byte) (n int, err error) {
// ReadTCPSession reads a Shadowsocks TCP session from the given reader, returns its header and remaining parts.
func ReadTCPSession(validator *Validator, reader io.Reader) (*protocol.RequestHeader, buf.Reader, error) {
hashkdf := hmac.New(sha256.New, []byte("SSBSKDF"))
behaviorSeed := crc32.ChecksumIEEE(hashkdf.Sum(nil))