ci: use go1.16rc1

This commit is contained in:
nadoo committed 2021-02-06 00:26:58 +08:00
1 parent 068281cafa
commit 40aadf3e24
14 files changed
+99 -71

No files matched your search

+1 -2
View File
@@ -4,7 +4,6 @@ import (
"bytes"
"fmt"
"io"
"io/ioutil"
"net"
"strings"
@@ -134,7 +133,7 @@ func (s *VLess) readHeader(r io.Reader) (CmdType, string, error) {
// ignore addons
if addonLen := int64(buf[17]); addonLen > 0 {
proxy.CopyN(ioutil.Discard, r, addonLen)
proxy.CopyN(io.Discard, r, addonLen)
}
// cmd