找出Activate方法里的bug

来自结构体
Go 1.27 入门 4分钟 找出1处问题

找出Activate正常返回却没有修改调用方的原因。

Go
type Account struct {
    Active bool
}

func (account Account) Activate() {
    account.Active = true
}

func enable(account *Account) {
    account.Activate()
}
在试验场中打开
报告错误