package
Version:
v1.4.10
Opens a new window with list of versions in this module.
Published: Sep 28, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
func Assert(f func() bool, exData ...any)
Assert 只能模拟断言,在debug模式下会被求值,release模式下不会求值.所以不能在func里面写下可影响逻辑数据的代码
func EnSureNoErr(e error, exData ...any)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.