-
Notifications
You must be signed in to change notification settings - Fork 0
/
pansa_suda.go
35 lines (31 loc) · 994 Bytes
/
pansa_suda.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
/*
* 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 PancaSuda struct {
LebuKatiupAngin Data
WisesaSegara Data
TunggakSemi Data
SatriaWibawa Data
SumurSinaba Data
SatriaWirang Data
BumiKapetak Data
}
func newPancaSuda() PancaSuda {
return PancaSuda{
LebuKatiupAngin: Data{0, "Lebu Katiup Angin"},
WisesaSegara: Data{1, "Wisesa Segara"},
TunggakSemi: Data{2, "Tunggak Semi"},
SatriaWibawa: Data{3, "Satria Wibawa"},
SumurSinaba: Data{4, "Sumur Sinaba"},
SatriaWirang: Data{5, "Satria Wirang"},
BumiKapetak: Data{6, "Bumi Kapetak"},
}
}
func newPancaSudaSlice() []Data {
data := newPancaSuda()
return []Data{data.LebuKatiupAngin, data.WisesaSegara, data.TunggakSemi, data.SatriaWibawa, data.SumurSinaba, data.SatriaWirang, data.BumiKapetak}
}