2019-07-04 11:11:41 +08:00
|
|
|
// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved.
|
|
|
|
//
|
|
|
|
// This Source Code Form is subject to the terms of the MIT License.
|
|
|
|
// If a copy of the MIT was not distributed with this file,
|
|
|
|
// You can obtain one at https://github.com/gogf/gf.
|
|
|
|
|
|
|
|
// Package structs provides functions for struct conversion.
|
|
|
|
package structs
|
|
|
|
|
2020-04-30 16:53:47 +08:00
|
|
|
import "github.com/gqcn/structs"
|
2019-07-04 11:11:41 +08:00
|
|
|
|
|
|
|
// Field is alias of structs.Field.
|
2019-12-12 23:38:46 +08:00
|
|
|
type Field struct {
|
|
|
|
*structs.Field
|
|
|
|
// Retrieved tag name. There might be more than one tags in the field,
|
|
|
|
// but only one can be retrieved according to calling function rules.
|
|
|
|
Tag string
|
|
|
|
}
|