chunk serialization
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package util
|
||||
|
||||
func MustOk[T any](v T, ok bool) T {
|
||||
if !ok {
|
||||
panic("not ok")
|
||||
}
|
||||
return v
|
||||
}
|
||||
Reference in New Issue
Block a user