mirror of
https://github.com/Kyren223/eko.git
synced 2026-08-27 18:01:31 +00:00
Refactored how the terms of service and privacy policy are stored, by
allowing changing them with 0 downtime
This commit is contained in:
@@ -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...)
|
||||
|
||||
Reference in New Issue
Block a user