From 0fd91468bb94ae8842b1c238a5ea55d0a804b534 Mon Sep 17 00:00:00 2001 From: Stephen Brown <41618330+stephen-obashitech@users.noreply.github.com> Date: Tue, 21 May 2019 12:48:31 +0100 Subject: [PATCH] Fix typo in UnmarshalFromString documentation --- adapter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter.go b/adapter.go index e674d0f..92d2cc4 100644 --- a/adapter.go +++ b/adapter.go @@ -16,7 +16,7 @@ func Unmarshal(data []byte, v interface{}) error { return ConfigDefault.Unmarshal(data, v) } -// UnmarshalFromString convenient method to read from string instead of []byte +// UnmarshalFromString is a convenient method to read from string instead of []byte func UnmarshalFromString(str string, v interface{}) error { return ConfigDefault.UnmarshalFromString(str, v) }