实体接口实现
This commit is contained in:
parent
56577b1bdf
commit
2113a7be01
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue