messy
This commit is contained in:
parent
51a34008f1
commit
2dd8cc3d2b
9 changed files with 92 additions and 73 deletions
15
internal/utils/io.go
Normal file
15
internal/utils/io.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
package utils
|
||||
|
||||
import (
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/vingarcia/ksql"
|
||||
)
|
||||
|
||||
// TODO Figure out where this should be
|
||||
// This exists so that you don't have to individually pass around the logger and database.
|
||||
type ApiService struct {
|
||||
db *ksql.DB
|
||||
log *logrus.Logger
|
||||
}
|
||||
|
||||
var s *ApiService
|
Loading…
Add table
Add a link
Reference in a new issue