Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for structFieldInfo (0.17 sec)

  1. src/encoding/xml/typeinfo.go

    				return nil, err
    			}
    		}
    	}
    
    	ti, _ := tinfoMap.LoadOrStore(typ, tinfo)
    	return ti.(*typeInfo), nil
    }
    
    // structFieldInfo builds and returns a fieldInfo for f.
    func structFieldInfo(typ reflect.Type, f *reflect.StructField) (*fieldInfo, error) {
    	finfo := &fieldInfo{idx: f.Index}
    
    	// Split the tag from the xml namespace if necessary.
    	tag := f.Tag.Get("xml")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:23:29 UTC 2023
    - 9.6K bytes
    - Viewed (0)
Back to top