diff --git a/database/actor.go b/database/actor.go index ab7f6dc..ce807ef 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 {