Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateStructTag (0.32 sec)

  1. src/reflect/type.go

    // the value returned by Lookup is unspecified.
    func (tag StructTag) Lookup(key string) (value string, ok bool) {
    	// When modifying this code, also update the validateStructTag code
    	// in cmd/vet/structtag.go.
    
    	for tag != "" {
    		// Skip leading space.
    		i := 0
    		for i < len(tag) && tag[i] == ' ' {
    			i++
    		}
    		tag = tag[i:]
    		if tag == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top