aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/json-iterator/go/adapter.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/json-iterator/go/adapter.go')
-rw-r--r--vendor/github.com/json-iterator/go/adapter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/json-iterator/go/adapter.go b/vendor/github.com/json-iterator/go/adapter.go
index e674d0f39..92d2cc4a3 100644
--- a/vendor/github.com/json-iterator/go/adapter.go
+++ b/vendor/github.com/json-iterator/go/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)
}