]> Cypherpunks repositories - gostls13.git/commit
net/http: add Handle example
authoresell <eujon.sellers@gmail.com>
Wed, 26 Sep 2018 16:19:16 +0000 (10:19 -0600)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 2 Oct 2018 16:59:25 +0000 (16:59 +0000)
commit3ee9672955b163075e96d959635d1912952030e6
treefcac145269e86b5bf73be5fb9425928d342d4086
parentde72c43f78cf31e672cfc93474c9bbb8a1eec925
net/http: add Handle example

Currently there is no example for http.Handle in the
documentation. This adds an example.

Change-Id: I66ee9983bea1f5237757e1ef4956eae9a056e963
Reviewed-on: https://go-review.googlesource.com/137715
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/example_handle_test.go [new file with mode: 0644]