Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
5
Task/Enumerations/Go/enumerations-1.go
Normal file
5
Task/Enumerations/Go/enumerations-1.go
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
const (
|
||||
apple = iota
|
||||
banana
|
||||
cherry
|
||||
)
|
||||
5
Task/Enumerations/Go/enumerations-2.go
Normal file
5
Task/Enumerations/Go/enumerations-2.go
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
const (
|
||||
apple = 0
|
||||
banana = 1
|
||||
cherry = 2
|
||||
)
|
||||
7
Task/Enumerations/Go/enumerations-3.go
Normal file
7
Task/Enumerations/Go/enumerations-3.go
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
type fruit int
|
||||
|
||||
const (
|
||||
apple fruit = iota
|
||||
banana
|
||||
cherry
|
||||
)
|
||||
7
Task/Enumerations/Go/enumerations-4.go
Normal file
7
Task/Enumerations/Go/enumerations-4.go
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
type fruit int
|
||||
|
||||
const (
|
||||
apple fruit = 0
|
||||
banana fruit = 1
|
||||
cherry fruit = 2
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue