Improve named actor interface

This commit is contained in:
Sasha Koshka 2025-03-09 01:56:09 -05:00
parent 7d0620fe3e
commit f4904884ad

View File

@ -30,7 +30,7 @@ type Actor interface {
} }
// Named is any object with a name. // Named is any object with a name.
type Named() string { type Named interface {
// Name returns the name. This doesn't need to be the same as Type. It // Name returns the name. This doesn't need to be the same as Type. It
// must return the same string every time. It is used to differentiate // must return the same string every time. It is used to differentiate
// actors of the same type in logs. // actors of the same type in logs.