mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-12 18:32:27 +08:00
优化架构
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
func ObjectDeepCopy(src, dest any) error {
|
||||
func DeepCopy(src, dest any) error {
|
||||
var buf bytes.Buffer
|
||||
if err := gob.NewEncoder(&buf).Encode(src); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user