aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Aliaksandr Valialkin <valyala@gmail.com> 2016-05-11 20:40:03 +0300
committerGravatar Aliaksandr Valialkin <valyala@gmail.com> 2016-05-11 20:40:03 +0300
commit4e35fde934e99a24e62aa50417d9097e8ee2e898 (patch)
tree2ab56004c097def5edab4a82b315d9ea6b6aa8c5 /README.md
parentFixed a typo (diff)
downloadfasthttp-4e35fde934e99a24e62aa50417d9097e8ee2e898.tar.gz
fasthttp-4e35fde934e99a24e62aa50417d9097e8ee2e898.tar.bz2
fasthttp-4e35fde934e99a24e62aa50417d9097e8ee2e898.zip
Issue #95: added an installation section to README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4385d74..9f00ccf 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,8 @@ connections per physical server.
[Client Benchmarks](#http-client-comparison-with-nethttp)
+[Install](#install)
+
[Documentation](https://godoc.org/github.com/valyala/fasthttp)
[Examples from docs](https://godoc.org/github.com/valyala/fasthttp#pkg-examples)
@@ -152,6 +154,14 @@ BenchmarkClientGetEndToEnd100Inmemory-4 10000000 1329 ns/
BenchmarkClientGetEndToEnd1000Inmemory-4 10000000 1316 ns/op 5 B/op 0 allocs/op
```
+
+# Install
+
+```
+go get -u github.com/valyala/fasthttp
+```
+
+
# Switching from net/http to fasthttp
Unfortunately, fasthttp doesn't provide API identical to net/http.