This commit is contained in:
katefort 2025-04-21 16:56:58 -05:00
parent 51a34008f1
commit 2dd8cc3d2b
9 changed files with 92 additions and 73 deletions

15
internal/utils/io.go Normal file
View 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