Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for declarations (0.2 sec)

  1. doc/go1.17_spec.html

    </ol>
    
    <p>
    Blocks nest and influence <a href="#Declarations_and_scope">scoping</a>.
    </p>
    
    
    <h2 id="Declarations_and_scope">Declarations and scope</h2>
    
    <p>
    A <i>declaration</i> binds a non-<a href="#Blank_identifier">blank</a> identifier to a
    <a href="#Constant_declarations">constant</a>,
    <a href="#Type_declarations">type</a>,
    <a href="#Variable_declarations">variable</a>,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    </ol>
    
    <p>
    Blocks nest and influence <a href="#Declarations_and_scope">scoping</a>.
    </p>
    
    
    <h2 id="Declarations_and_scope">Declarations and scope</h2>
    
    <p>
    A <i>declaration</i> binds a non-<a href="#Blank_identifier">blank</a> identifier to a
    <a href="#Constant_declarations">constant</a>,
    <a href="#Type_declarations">type</a>,
    <a href="#Type_parameter_declarations">type parameter</a>,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    Using //export in a file places a restriction on the preamble:
    since it is copied into two different C output files, it must not
    contain any definitions, only declarations. If a file contains both
    definitions and declarations, then the two output files will produce
    duplicate symbols and the linker will fail. To avoid this, definitions
    must be placed in preambles in other files, or in C source files.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. doc/godebug.md

    [`httpmuxgo121` setting](/pkg/net/http/#ServeMux).
    
    Go 1.22 added the [Alias type](/pkg/go/types#Alias) to [go/types](/pkg/go/types)
    for the explicit representation of [type aliases](/ref/spec#Type_declarations).
    Whether the type checker produces `Alias` types or not is controlled by the
    [`gotypesalias` setting](/pkg/go/types#Alias).
    For Go 1.22 it defaults to `gotypesalias=0`.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. src/builtin/builtin.go

    type comparable interface{ comparable }
    
    // iota is a predeclared identifier representing the untyped integer ordinal
    // number of the current const specification in a (usually parenthesized)
    // const declaration. It is zero-indexed.
    const iota = 0 // Untyped int.
    
    // nil is a predeclared identifier representing the zero value for a
    // pointer, channel, func, interface, map, or slice type.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/99-minor/go/types/66559.md

    The [Alias] type now has an [Rhs] method that returns the type on the
    right-hand side of its declaration: given `type A = B`, the `Rhs` of A
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 24 21:50:16 GMT 2024
    - 172 bytes
    - Viewed (0)
Back to top