Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustDone ¶
func MustDone(err error)
MustDone panics if error occurs Ensures critical operations complete without errors
MustDone 在发生错误时触发 panic 确保关键操作无错误完成
func MustSame ¶ added in v1.0.42
func MustSame[T comparable](want, data T)
MustSame compares two values and panics if different Prints both values before panicking to aid debugging
MustSame 比较两个值,如果不同则发生 panic 在 panic 前打印两个值以辅助调试
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.