This commit is contained in:
zhaoyupeng
2025-06-12 14:12:16 +08:00
commit 4eb256bc78
21 changed files with 1135 additions and 0 deletions

11
tool/must.go Normal file
View File

@ -0,0 +1,11 @@
package tool
import "github.com/loveuer/nf/nft/log"
func Must(errs ...error) {
for _, err := range errs {
if err != nil {
log.Panic(err.Error())
}
}
}