/
var.go
45 lines (34 loc) · 787 Bytes
/
var.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
package main
import (
_ "embed"
"time"
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/widget"
)
//go:embed src/NanumGothicBold.ttf
var fontNanumGothicBold []byte
//go:embed src/tab_food_icon.png
var iconTabFood []byte
var (
resourceNanumGothicBold = &fyne.StaticResource{
StaticName: "NanumGothicBold.ttf",
StaticContent: fontNanumGothicBold,
}
resourceIconTabFood = &fyne.StaticResource{
StaticName: "tab_food_icon.png",
StaticContent: iconTabFood,
}
)
var (
ticker *time.Ticker
totalWOVProgress *widget.ProgressBar
enterArmyDate string
dischargeArmyDate string
vacationDay int
enterArmyDateTime time.Time
dischargeArmyDateTime time.Time
totalArmyDateNanoSeconds int64
totalWOVArmyDateNanoSeconds int64
diff float64
diffWOV float64
)