From 047d33b3aede7f0fa50997abf3c20aa2b56ebcda Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Mon, 7 Jul 2025 18:46:47 +0300 Subject: Refactored how the terms of service and privacy policy are stored, by allowing changing them with 0 downtime --- pkg/assert/assert.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/assert') diff --git a/pkg/assert/assert.go b/pkg/assert/assert.go index 083c062..b47041b 100644 --- a/pkg/assert/assert.go +++ b/pkg/assert/assert.go @@ -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...) -- cgit v1.3.1