Lines Matching refs:f
71 f := defaults.FieldByName(fieldName)
72 if (f == reflect.Value{}) {
76 if reflect.DeepEqual(f.Interface(), reflect.Zero(f.Type()).Interface()) {
80 if f.Kind() == reflect.Interface {
81 f = f.Elem()
84 if f.Kind() == reflect.Ptr {
85 if f.IsNil() {
88 f = f.Elem()
91 if f.Kind() == reflect.Struct {
92 setDefaults(prop.Properties, f)
94 prop.Default = fmt.Sprintf("%v", f.Interface())
190 for _, f := range structType.Fields.List {
191 names := f.Names
195 if t, ok := f.Type.(*ast.Ident); ok {
204 if f.Doc != nil {
205 text = f.Doc.Text()
207 if f.Tag != nil {
208 tag, err = strconv.Unquote(f.Tag.Value)
213 typ, innerProps, err := getType(f.Type)