From 10c1506f87de1cb3dbcc9b9f3d03427c91a7caad Mon Sep 17 00:00:00 2001 From: nifei Date: Mon, 5 Jun 2017 19:38:34 +0800 Subject: [PATCH] link test --- feature_adapter.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/feature_adapter.go b/feature_adapter.go index 3cfbc21..3ed0bc7 100644 --- a/feature_adapter.go +++ b/feature_adapter.go @@ -8,6 +8,9 @@ import ( // Unmarshal adapts to json/encoding Unmarshal API // // Unmarshal parses the JSON-encoded data and stores the result in the value pointed to by v. +// https://godoc.org/encoding/json#Unmarshal +// linktest: https://godoc.org/encoding/json#Unmarshal +// link test func Unmarshal(data []byte, v interface{}) error { data = data[:lastNotSpacePos(data)] iter := ParseBytes(data)