dont do raw.New, instead add raw.Raw.Refresh explicit

This commit is contained in:
bel
2023-03-25 10:17:36 -06:00
parent de261ae400
commit 2cae3c6d28
6 changed files with 14 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ import (
type Raw interface {
Read() []byte
Close()
Refresh()
}
func New(ctx context.Context) Raw {