Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for person (0.17 sec)

  1. 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 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  2. 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 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. doc/asm.html

    package path followed by a period and the symbol name:
    <code>fmt.Printf</code> or <code>math/rand.Int</code>.
    Because the assembler's parser treats period and slash as punctuation,
    those strings cannot be used directly as identifier names.
    Instead, the assembler allows the middle dot character U+00B7
    and the division slash U+2215 in identifiers and rewrites them to
    plain period and slash.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top