Skip to content
Permalink
Browse files
修正getArgType的反射取值逻辑
  • Loading branch information
Changeden committed Sep 6, 2021
1 parent 8679ff8 commit 07f2058e85abd9cac6571d7d9a58bee832d0765f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -103,7 +103,7 @@ func getArgType(v interface{}) string {
default:
t := reflect.TypeOf(v)
if reflect.Ptr == t.Kind() {
t = reflect.TypeOf(reflect.ValueOf(v).Elem())
t = t.Elem()
}
switch t.Kind() {
case reflect.Struct:

0 comments on commit 07f2058

Please sign in to comment.