实体接口实现

This commit is contained in:
kercylan98 2023-05-05 15:18:34 +08:00
parent 56577b1bdf
commit 2113a7be01
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@ type Actor struct {
guid int64
}
func (slf *Actor) SetGuid(guid int64) {
slf.guid = guid
}
func (slf *Actor) GetGuid() int64 {
return slf.guid
}