aboutsummaryrefslogtreecommitdiff
path: root/fs_example_test.go
diff options
context:
space:
mode:
authorGravatar Erik Dubbelboer <erik@dubbelboer.com> 2022-04-01 18:11:16 +0200
committerGravatar GitHub <noreply@github.com> 2022-04-01 18:11:16 +0200
commit7a5afddf5b805a022f8e81281c772c11600da2f4 (patch)
tree76ecbf4981921328d823eb925e57f874f52c34f2 /fs_example_test.go
parentsupport adding/removing clients from LBClient (#1243) (diff)
downloadfasthttp-7a5afddf5b805a022f8e81281c772c11600da2f4.tar.gz
fasthttp-7a5afddf5b805a022f8e81281c772c11600da2f4.tar.bz2
fasthttp-7a5afddf5b805a022f8e81281c772c11600da2f4.zip
Use %v for errors and %q for strings (#1262)v1.35.0
Mostly in tests.
Diffstat (limited to 'fs_example_test.go')
-rw-r--r--fs_example_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs_example_test.go b/fs_example_test.go
index 9073cb1..724e986 100644
--- a/fs_example_test.go
+++ b/fs_example_test.go
@@ -23,6 +23,6 @@ func ExampleFS() {
// Start the server.
if err := fasthttp.ListenAndServe(":8080", h); err != nil {
- log.Fatalf("error in ListenAndServe: %s", err)
+ log.Fatalf("error in ListenAndServe: %v", err)
}
}