Refactored how the terms of service and privacy policy are stored, by

allowing changing them with 0 downtime
This commit is contained in:
2025-07-07 18:46:47 +03:00
parent d58c7a20f1
commit 047d33b3ae
10 changed files with 380 additions and 67 deletions

View File

@@ -87,6 +87,10 @@ func Never(message string, args ...any) {
runAssert(message, args...)
}
func Abort(message string, args ...any) {
runAssert(message, args...)
}
func NotNil(value any, message string, args ...any) {
if value == nil || reflect.ValueOf(value).Kind() == reflect.Ptr && reflect.ValueOf(value).IsNil() {
runAssert(message, args...)