From 1215bb8b150fc3ddee82a890e0e92bd0ca307497 Mon Sep 17 00:00:00 2001 From: Andrey Meshkov Date: Mon, 17 Dec 2018 12:04:31 +0300 Subject: [PATCH] fix mistake in the doc --- README.md | 2 +- doc.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c38c947..1273ad1 100644 --- a/README.md +++ b/README.md @@ -31,5 +31,5 @@ Unfortunately, I have not found an easy way to use [dnscrypt-proxy](https://gith } // Get the DNS response - reply, rtt, err := client.Exchange(&req, serverInfo) + reply, rtt, err := c.Exchange(&req, serverInfo) ``` \ No newline at end of file diff --git a/doc.go b/doc.go index d7732e6..9c2c4d1 100644 --- a/doc.go +++ b/doc.go @@ -23,7 +23,7 @@ Here is a simple usage example: } // Get the DNS response - reply, rtt, err := client.Exchange(&req, serverInfo) + reply, rtt, err := c.Exchange(&req, serverInfo) Unfortunately, I have not found an easy way to use dnscrypt-proxy as a dependency so here's why this library was created. */