Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Larson (0.24 sec)

  1. doc/go1.17_spec.html

    </p>
    
    <pre>
    type Person struct {
    	Name    string
    	Address *struct {
    		Street string
    		City   string
    	}
    }
    
    var data *struct {
    	Name    string `json:"name"`
    	Address *struct {
    		Street string `json:"street"`
    		City   string `json:"city"`
    	} `json:"address"`
    }
    
    var person = (*Person)(data)  // ignoring tags, the underlying types are identical
    HTML
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    </p>
    
    <pre>
    type Person struct {
    	Name    string
    	Address *struct {
    		Street string
    		City   string
    	}
    }
    
    var data *struct {
    	Name    string `json:"name"`
    	Address *struct {
    		Street string `json:"street"`
    		City   string `json:"city"`
    	} `json:"address"`
    }
    
    var person = (*Person)(data)  // ignoring tags, the underlying types are identical
    HTML
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
Back to top