docs: spelling: e.g.

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2020-10-13 17:49:58 -04:00 committed by Nick Craig-Wood
parent d4f38d45a5
commit e4a87f772f
113 changed files with 325 additions and 325 deletions

View file

@ -40,7 +40,7 @@ func SetFrom(a, b interface{}) {
//
// This copies the public members only from b to a. This is useful if
// you can't just use a struct copy because it contains a private
// mutex, eg as http.Transport.
// mutex, e.g. as http.Transport.
func SetDefaults(a, b interface{}) {
pt := reflect.TypeOf(a)
t := pt.Elem()