找出 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()
}
在试验场中打开
报告错误