1 Commits

Author SHA1 Message Date
f4904884ad Improve named actor interface 2025-03-09 01:56:09 -05:00

View File

@@ -30,7 +30,7 @@ type Actor interface {
}
// 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
// must return the same string every time. It is used to differentiate
// actors of the same type in logs.