12345678910111213141516171819202122232425262728293031323334 |
- package main
- import "fmt"
- const pi = 3.141
- const (
- hello = "Привет"
- e = 2.718
- )
- const (
- zero = iota
- _
- two
- three
- )
- const (
- _ = iota
- KB uint64 = 1 << (10 * iota)
- MB
- )
- const (
-
- year = 2017
-
- yearTyped int = 2017
- )
- func main() {
- var month int32 = 13
- fmt.Println(month + year)
-
-
- }
|