From 3386e5941048c5d74a74f191cd47d02c48033646 Mon Sep 17 00:00:00 2001 From: bogem Date: Sat, 20 Aug 2016 10:34:48 +0500 Subject: [PATCH] Fix typo in description of UnmarshalExact --- viper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viper.go b/viper.go index f17790e..3efb301 100644 --- a/viper.go +++ b/viper.go @@ -654,7 +654,7 @@ func weakDecodeExact(input, output interface{}) error { return decoder.Decode(input) } -// Unmarshals the config into a Struct, erroring if a field is non-existant +// Unmarshals the config into a Struct, erroring if a field is nonexistent // in the destination struct func (v *Viper) UnmarshalExact(rawVal interface{}) error { err := weakDecodeExact(v.AllSettings(), rawVal)