mirror of https://github.com/Hilbis/Hilbish
feat: add midnight detection function
parent
40d3933009
commit
7e0812e77a
|
@ -0,0 +1,6 @@
|
|||
//go:build midnight
|
||||
package moonlight
|
||||
|
||||
func IsMidnight() bool {
|
||||
return true
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
//go:build !midnight
|
||||
package moonlight
|
||||
|
||||
func IsMidnight() bool {
|
||||
return false
|
||||
}
|
Loading…
Reference in New Issue