---
---
{{/* literals */}}

{{/* integer literal */}}
{{`https://golang.org/ref/spec#Integer_literals` | markdownify}}
{{ 42             }}
{{ 0600           }}
{{ 0xBadFace      }}
{{ 1701411834604  }}


{{/* floating-point literal */}}
{{`https://golang.org/ref/spec#Floating-point_literals` | markdownify}}
{{ 0.          }}
{{ 72.40       }}
{{ 072.40      }}
{{ 2.71828     }}
{{ 1.e+0       }}
{{ 6.67428e-11 }}
{{ 1E6         }}
{{ .25         }}
{{ .12345E+5   }}


{{/* imaginaryliteral */}}
{{`https://golang.org/ref/spec#Imaginary_literals` | markdownify}}
{{ 0i           }}
{{ 011i         }}
{{ 0.i          }}
{{ 2.71828i     }}
{{ 1.e+0i       }}
{{ 6.67428e-11i }}
{{ 1E6i         }}
{{ .25i         }}
{{ .12345E+5i   }}

{{/* rune literal  */}}
{{`https://golang.org/ref/spec#Rune_literals` | markdownify}}
{{ 'a'           }}
{{ 'ä'           }}
{{ '本'          }}
{{ '\t'          }}
{{ '\000'        }}
{{ '\007'        }}
{{ '\377'        }}
{{ '\x07'        }}
{{ '\xff'        }}
{{ '\u12e4'      }}
{{ '\U00101234'  }}

{{/* string literal */}}
{{`https://golang.org/ref/spec#String_literals` | markdownify}}
{{ `abc`                   }}
{{ `\n
\n`                        }}
{{ "\n"                    }}
{{ "\""                    }} {{`" (editor fix) `}}
{{ "Hello, world!\n"       }}
{{ "日本語"                }}
{{ "\u65e5本\U00008a9e"    }}
{{ "\xff\U0001f609"        }}

{{`all the same`}}
{{ "日本語"                }}
{{ `日本語`                }}
{{ "\u65e5\u672c\u8a9e"    }}
{{ "\U000065e5\U0000672c\U00008a9e"       }}
{{ "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e" }}

{{/* boolean */}}
{{`https://golang.org/ref/spec#Boolean_types` | markdownify}}
{{ true }}
{{ false }}

{{`
The default type of an untyped constant is bool, rune, int, float64,
complex128 or string respectively
`}}




https://golang.org/ref/spec#Integer_literals
42
384
195951310
1701411834604



https://golang.org/ref/spec#Floating-point_literals
0
72.4
72.4
2.71828
1
6.67428e-11
1e+06
0.25
12345



https://golang.org/ref/spec#Imaginary_literals
(0+0i)
(0+11i)
(0+0i)
(0+2.71828i)
(0+1i)
(0+6.67428e-11i)
(0+1e+06i)
(0+0.25i)
(0+12345i)


https://golang.org/ref/spec#Rune_literals
97
228
26412
9
0
7
255
7
255
4836
1053236


https://golang.org/ref/spec#String_literals
abc
\n
\n


" " (editor fix) 
Hello, world!

日本語
日本語
ÿ😉

all the same
日本語
日本語
日本語
日本語
日本語


https://golang.org/ref/spec#Boolean_types
true
false


The default type of an untyped constant is bool, rune, int, float64,
complex128 or string respectively