diff --git a/reset.go b/reset.go new file mode 100644 index 0000000..21ed2d7 --- /dev/null +++ b/reset.go @@ -0,0 +1,4 @@ +package gox + +// Reset 字段重置回调,用于更新字段 +type Reset[T any] func(*T)