Skip to content

Commit

Permalink
feat(项目): 增加通用回调
Browse files Browse the repository at this point in the history
  • Loading branch information
storezhang committed Nov 20, 2024
1 parent de0138b commit ea2b7a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions reset.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package gox

// Reset 字段重置回调,用于更新字段
type Reset[T any] func(*T)

0 comments on commit ea2b7a2

Please sign in to comment.