Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LiteralType (0.29 sec)

  1. doc/go_spec.html

    They consist of the type of the literal followed by a brace-bound list of elements.
    Each element may optionally be preceded by a corresponding key.
    </p>
    
    <pre class="ebnf">
    CompositeLit  = LiteralType LiteralValue .
    LiteralType   = StructType | ArrayType | "[" "..." "]" ElementType |
                    SliceType | MapType | TypeName [ TypeArgs ] .
    LiteralValue  = "{" [ ElementList [ "," ] ] "}" .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
Back to top