mirror of
https://github.com/Xevion/banner.git
synced 2025-12-10 06:06:33 -06:00
Fix location/YearDayRange init order
This commit is contained in:
4
term.go
4
term.go
@@ -23,7 +23,7 @@ type Term struct {
|
||||
}
|
||||
|
||||
var (
|
||||
SpringRange, SummerRange, FallRange = GetYearDayRange(uint16(time.Now().Year()))
|
||||
SpringRange, SummerRange, FallRange YearDayRange
|
||||
CentralTime *time.Location
|
||||
)
|
||||
|
||||
@@ -33,6 +33,8 @@ func init() {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
SpringRange, SummerRange, FallRange = GetYearDayRange(uint16(time.Now().Year()))
|
||||
}
|
||||
|
||||
type YearDayRange struct {
|
||||
|
||||
Reference in New Issue
Block a user