Fix client example (#13)

This commit is contained in:
G 2020-08-03 18:44:32 +08:00 committed by GitHub
parent 3e11dcff04
commit 2ea27a7b34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ import (
func main() { func main() {
res, _ := gopher.Get("gopher://gopher.floodgap.com/") res, _ := gopher.Get("gopher://gopher.floodgap.com/")
bytes, _ = res.Dir.ToText() bytes, _ := res.Dir.ToText()
fmt.Println(string(bytes)) fmt.Println(string(bytes))
} }
``` ```