From 20036597bf540d81c518e8a2387a1bbc5ad3ce30 Mon Sep 17 00:00:00 2001 From: kaiwentan Date: Sat, 21 Jan 2017 00:05:33 +0800 Subject: [PATCH] fix some misspells Signed-off-by: kaiwentan --- configuration/configuration.go | 2 +- context/doc.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration/configuration.go b/configuration/configuration.go index d72fe7d1..4cbe8a01 100644 --- a/configuration/configuration.go +++ b/configuration/configuration.go @@ -329,7 +329,7 @@ type Health struct { type v0_1Configuration Configuration // UnmarshalYAML implements the yaml.Unmarshaler interface -// Unmarshals a string of the form X.Y into a Version, validating that X and Y can represent uints +// Unmarshals a string of the form X.Y into a Version, validating that X and Y can represent unsigned integers func (version *Version) UnmarshalYAML(unmarshal func(interface{}) error) error { var versionString string err := unmarshal(&versionString) diff --git a/context/doc.go b/context/doc.go index 3b4ab888..9b623074 100644 --- a/context/doc.go +++ b/context/doc.go @@ -64,7 +64,7 @@ // Note that this only affects the new context, the previous context, with the // version field, can be used independently. Put another way, the new logger, // added to the request context, is unique to that context and can have -// request scoped varaibles. +// request scoped variables. // // HTTP Requests //