Skip to content

Commit

Permalink
修改代码
Browse files Browse the repository at this point in the history
  • Loading branch information
pangdogs committed Jun 1, 2024
1 parent 406caf7 commit 5081731
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/iface/face.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ func MakeFaceT[T any](iface T) Face[T] {
}
}

// MakeFaceAny 创建FaceAny
func MakeFaceAny[T any](iface T) FaceAny {
// MakeFaceAny 创建FaceAny,使用Cache,不使用接口
func MakeFaceAny[C any](iface C) FaceAny {
return Face[any]{
Iface: iface,
Cache: Iface2Cache[T](iface),
Cache: Iface2Cache[C](iface),
}
}

Expand Down

0 comments on commit 5081731

Please sign in to comment.