瀏覽代碼

Fix typo in UnmarshalFromString documentation

Stephen Brown 6 年之前
父節點
當前提交
0fd91468bb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      adapter.go

+ 1 - 1
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)
 }