From ff2d1f161e6854bb3b3dfd1bd6dab803ae91209d Mon Sep 17 00:00:00 2001 From: "Derrick J. Wippler" Date: Mon, 10 Jun 2019 15:35:07 -0500 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d3e3aa0..c45963a 100644 --- a/README.md +++ b/README.md @@ -93,13 +93,13 @@ import ( ) func ExampleUsage() { - // Keep track of peers in our cluster and add our instance to the pool `http://localhost:8080` - pool := groupcache.NewHTTPPoolOpts("http://localhost:8080", &groupcache.HTTPPoolOptions{}) + // Keep track of peers in our cluster and add our instance to the pool `http://localhost:8080` + pool := groupcache.NewHTTPPoolOpts("http://localhost:8080", &groupcache.HTTPPoolOptions{}) - // Add more peers to the cluster - pool.Set("http://peer1:8080", "http://peer2:8080") + // Add more peers to the cluster + pool.Set("http://peer1:8080", "http://peer2:8080") - server := http.Server{ + server := http.Server{ Addr: "localhost:8080", Handler: pool, }