Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TypeArgs (0.06 sec)

  1. doc/go_spec.html

    A type may also be specified using a <i>type literal</i>, which composes a type
    from existing types.
    </p>
    
    <pre class="ebnf">
    Type      = TypeName [ TypeArgs ] | TypeLit | "(" Type ")" .
    TypeName  = identifier | QualifiedIdent .
    TypeArgs  = "[" TypeList [ "," ] "]" .
    TypeList  = Type { "," Type } .
    TypeLit   = ArrayType | StructType | PointerType | FunctionType | InterfaceType |
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top