This commit is contained in:
Daniel 2025-06-10 11:36:30 +08:00
parent a79125c236
commit 7dcca464dd
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 80 additions and 34 deletions

View file

@ -554,7 +554,7 @@ func (av *AttributeView) GetBlockKey() (ret *Key) {
return
}
func (av *AttributeView) ShallowClone() (ret *AttributeView) {
func (av *AttributeView) Clone() (ret *AttributeView) {
ret = &AttributeView{}
data, err := gulu.JSON.MarshalJSON(av)
if err != nil {