From 468f8d66c7013e5b200ea34babe13743a19e22dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=95=86=E8=AE=AF=E5=9C=A8=E7=BA=BF?= Date: Sat, 23 Aug 2014 10:10:14 +0800 Subject: [PATCH] update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 商讯在线 --- tagfast.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tagfast.go b/tagfast.go index 8de934b..63994e3 100644 --- a/tagfast.go +++ b/tagfast.go @@ -31,7 +31,7 @@ func GetTag(struct_name string, field_name string) (r TagFast, ok bool) { return } -//usage: Tag(typ.Name(),typ.Field(i).Name,typ.Field(i).Tag,"form") +//usage: Tag(m,i,"form") func Tag(i_struct interface{}, field_no int, key string) (tag string) { t := reflect.TypeOf(i_struct) if t.Field(field_no).Tag == "" {