From 4b8fd0b78d908c197efdf0daca248f06927b1f2d Mon Sep 17 00:00:00 2001 From: Colin Henry Date: Sat, 22 Aug 2020 18:45:15 -0700 Subject: [PATCH] added direction to Actor to prevent confusion --- database/actor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {