diff --git a/database/actor.go b/database/actor.go index ce807ef..ab7f6dc 100644 --- a/database/actor.go +++ b/database/actor.go @@ -9,7 +9,7 @@ type Func func(db *sql.DB) type Actor struct { DB *sql.DB - ActionChan <-chan Func + ActionChan chan Func } func (a *Actor) Run(ctx context.Context) error {