Exemplo n.º 1
0
func Initdashboard(driver gxui.Driver) {
	Theme = flags.CreateTheme(driver)
	Windashboard = Createwindashboard(Theme)
	data.DBAnakKost = data.Createdbanakkost()
	data.DBSetoran = data.Createdatasetoran()
	data.DBPengeluaran = data.Createdatapengeluaran()
}
Exemplo n.º 2
0
func main() {
	var Arr []int
	Arr = append(Arr, 1)
	Arr = append(Arr, 2)
	for i := 0; i < 10; i++ {
		Arr = append(Arr, i)
		fmt.Println(i)

	}
	fmt.Println(Arr)
	var arrkor []Kordinat

	for i := 0; i < 10; i++ {
		var kor Kordinat
		kor.X = i
		kor.Y = kor.X * 10
		arrkor = append(arrkor, kor)

	}
	fmt.Println(arrkor)
	arrgalon := data.Createdatapengeluaran()
	fmt.Println(arrgalon)
}