Style: use gofumpt for fmt

This commit is contained in:
Dreamacro
2021-10-10 23:44:09 +08:00
parent 4ce35870fe
commit f1cf7e9269
34 changed files with 78 additions and 84 deletions

View File

@ -184,7 +184,7 @@ func isReservedIP(ip net.IP) bool {
}
func readUntilNull(r io.Reader) ([]byte, error) {
var buf = &bytes.Buffer{}
buf := &bytes.Buffer{}
var data [1]byte
for {