-
Notifications
You must be signed in to change notification settings - Fork 0
/
sanga_wara.go
49 lines (45 loc) · 941 Bytes
/
sanga_wara.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* Copyright (c) Portalnesia - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Putu Aditya <aditya@portalnesia.com>
*/
package saka
type SangaWara struct {
Dangu Wara
Jangur Wara
Gigis Wara
Nohan Wara
Ogan Wara
Erangan Wara
Urungan Wara
Tulus Wara
Dadi Wara
}
func newSangaWara() SangaWara {
return SangaWara{
Dangu: Wara{0, 5, "Dangu"},
Jangur: Wara{1, 8, "Jangur"},
Gigis: Wara{2, 9, "Gigis"},
Nohan: Wara{3, 3, "Nohan"},
Ogan: Wara{4, 7, "Ogan"},
Erangan: Wara{5, 1, "Erangan"},
Urungan: Wara{6, 4, "Urungan"},
Tulus: Wara{7, 6, "Tulus"},
Dadi: Wara{8, 8, "Dadi"},
}
}
func newSangaWaraSlice() []Wara {
data := newSangaWara()
return []Wara{
data.Dangu,
data.Jangur,
data.Gigis,
data.Nohan,
data.Ogan,
data.Erangan,
data.Urungan,
data.Tulus,
data.Dadi,
}
}