2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-21 04:53:24 +00:00

feat: add midnight detection function

This commit is contained in:
sammyette 2024-12-22 11:57:28 -04:00
parent 40d3933009
commit 7e0812e77a
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,6 @@
//go:build midnight
package moonlight
func IsMidnight() bool {
return true
}

View File

@ -0,0 +1,6 @@
//go:build !midnight
package moonlight
func IsMidnight() bool {
return false
}