github.com/searKing/golang/go@v1.2.117/encoding/defaults/convert_func.go (about)

     1  // Copyright 2020 The searKing Author. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package defaults
     6  
     7  import "reflect"
     8  
     9  type convertFunc func(v reflect.Value, tag reflect.StructTag) (isUserDefined bool, err error)