Stanislav N. aka pztrn
090756ada8
Some checks failed
continuous-integration/drone/push Build is failing
19 lines
444 B
Go
19 lines
444 B
Go
package sec
|
|
|
|
import (
|
|
"reflect"
|
|
)
|
|
|
|
// This structure represents every parsable field that was found while
|
|
// reading passed structure.
|
|
type field struct {
|
|
// Name is a field name. Mostly for debugging purpose.
|
|
Name string
|
|
// EnvVar is a name of environment variable we will try to read.
|
|
EnvVar string
|
|
// Pointer is a pointer to field wrapped in reflect.Value.
|
|
Pointer reflect.Value
|
|
// Kind is a reflect.Kind value.
|
|
Kind reflect.Kind
|
|
}
|