diff --git a/moonlight/midnight_clua.go b/moonlight/midnight_clua.go new file mode 100644 index 0000000..f0aa0c1 --- /dev/null +++ b/moonlight/midnight_clua.go @@ -0,0 +1,6 @@ +//go:build midnight +package moonlight + +func IsMidnight() bool { + return true +} diff --git a/moonlight/midnight_golua.go b/moonlight/midnight_golua.go new file mode 100644 index 0000000..bfd7b68 --- /dev/null +++ b/moonlight/midnight_golua.go @@ -0,0 +1,6 @@ +//go:build !midnight +package moonlight + +func IsMidnight() bool { + return false +}