added direction to Actor to prevent confusion
This commit is contained in:
parent
ad5ed58296
commit
4b8fd0b78d
@ -9,7 +9,7 @@ type Func func(db *sql.DB)
|
|||||||
|
|
||||||
type Actor struct {
|
type Actor struct {
|
||||||
DB *sql.DB
|
DB *sql.DB
|
||||||
ActionChan chan Func
|
ActionChan <-chan Func
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *Actor) Run(ctx context.Context) error {
|
func (a *Actor) Run(ctx context.Context) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user