diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/context/google/google.go | 6 | ||||
-rw-r--r-- | content/context/userip/userip.go | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/content/context/google/google.go b/content/context/google/google.go index 73778a3..740e6c5 100644 --- a/content/context/google/google.go +++ b/content/context/google/google.go @@ -1,5 +1,11 @@ // Package google provides a function to do Google searches using the Google Web // Search API. See https://developers.google.com/web-search/docs/ +// +// This package is an example to accompany https://blog.golang.org/context. +// It is not intended for use by others. +// +// Google has since disabled its search API, +// and so this package is no longer useful. package google import ( diff --git a/content/context/userip/userip.go b/content/context/userip/userip.go index 4f316b5..49a7522 100644 --- a/content/context/userip/userip.go +++ b/content/context/userip/userip.go @@ -1,5 +1,8 @@ // Package userip provides functions for extracting a user IP address from a // request and associating it with a Context. +// +// This package is an example to accompany https://blog.golang.org/context. +// It is not intended for use by others. package userip import ( |