Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for name (0.14 sec)

  1. doc/go1.17_spec.html

    struct {
    	T1        // field name is T1
    	*T2       // field name is T2
    	P.T3      // field name is T3
    	*P.T4     // field name is T4
    	x, y int  // field names are x and y
    }
    </pre>
    
    <p>
    The following declaration is illegal because field names must be unique
    in a struct type:
    </p>
    
    <pre>
    struct {
    	T     // conflicts with embedded field *T and *P.T
    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)
  2. misc/chrome/gophertool/popup.html

    <small><a href="#" url="https://golang.org/issue">issue</a>,
    <a href="#" url="https://golang.org/cl">codereview</a>,
    <a href="#" url="https://golang.org/change">commit</a>, or
    <a href="#" url="https://golang.org/pkg/">pkg</a> id/name:</small>
    <form style='margin: 0' id='navform'><nobr><input id="inputbox" size=10 tabindex=1 /><input type="submit" value="go" /></nobr></form>
    <small>Also: <a href="#" url="https://build.golang.org">buildbots</a>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 05 02:35:21 GMT 2021
    - 830 bytes
    - Viewed (0)
  3. doc/go_spec.html

    struct {
    	T1        // field name is T1
    	*T2       // field name is T2
    	P.T3      // field name is T3
    	*P.T4     // field name is T4
    	x, y int  // field names are x and y
    }
    </pre>
    
    <p>
    The following declaration is illegal because field names must be unique
    in a struct type:
    </p>
    
    <pre>
    struct {
    	T     // conflicts with embedded field *T and *P.T
    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)
  4. doc/go1.22.html

          In general, identifiers cannot be accurately resolved without type information.
          Consider, for example, the identifier <code>K</code>
          in <code>T{K: ""}</code>: it could be the name of a local variable
          if T is a map type, or the name of a field if T is a struct type.
    
          New programs should use the <a href='/pkg/go/types'>go/types</a>
          package to resolve identifiers; see
    HTML
    - Registered: Tue Feb 06 11:13:10 GMT 2024
    - Last Modified: Wed Jan 31 20:51:56 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  5. doc/asm.html

    is the name <code>foo</code> as an address in memory.
    This form is used to name global functions and data.
    Adding <code>&lt;&gt;</code> to the name, as in <span style="white-space: nowrap"><code>foo&lt;&gt;(SB)</code></span>, makes the name
    visible only in the current source file, like a top-level <code>static</code> declaration in a C file.
    Adding an offset to the name refers to that offset from the symbol's address, so
    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