package actor import ( "time" ) type Grain[V any] interface { GetId() uint64 GetLastAccess() time.Time GetLastChange() time.Time GetCurrentState() (*V, error) }