From 07db4cf999d07f2ed78455d59663b34a1c378070 Mon Sep 17 00:00:00 2001 From: Colin Henry Date: Fri, 4 Sep 2020 20:24:37 -0700 Subject: [PATCH] dont make it directional --- database/actor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {