-
Notifications
You must be signed in to change notification settings - Fork 0
/
pratithi_samut_pada.go
58 lines (54 loc) · 1.22 KB
/
pratithi_samut_pada.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
50
51
52
53
54
55
56
57
58
/*
* 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 PratithiSamutPada struct {
Tresna Data
Upadana Data
Bhawa Data
Jati Data
Jaramarana Data
Awidya Data
Saskara Data
Widnyana Data
Namarupa Data
Sadayatana Data
Separsa Data
Wedana Data
}
func newPratithiSamutPada() PratithiSamutPada {
return PratithiSamutPada{
Tresna: Data{0, "Tresna"},
Upadana: Data{1, "Upadana"},
Bhawa: Data{2, "Bhawa"},
Jati: Data{3, "Jati"},
Jaramarana: Data{4, "Jaramarana"},
Awidya: Data{5, "Awidya"},
Saskara: Data{6, "Saskara"},
Widnyana: Data{7, "Widnyana"},
Namarupa: Data{8, "Namarupa"},
Sadayatana: Data{9, "Sadayatana"},
Separsa: Data{10, "Separsa"},
Wedana: Data{11, "Wedana"},
}
}
func newPratithiSamutPadaSlice() []Data {
data := newPratithiSamutPada()
return []Data{
data.Tresna,
data.Upadana,
data.Bhawa,
data.Jati,
data.Jaramarana,
data.Awidya,
data.Saskara,
data.Widnyana,
data.Namarupa,
data.Sadayatana,
data.Separsa,
data.Wedana,
}
}