1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-22 15:18:02 +00:00

Split a bit of backend code

This commit is contained in:
2023-01-14 20:47:29 +01:00
parent b7365b739c
commit 9662d46957
15 changed files with 408 additions and 359 deletions

15
internal/app/app.go Normal file
View File

@ -0,0 +1,15 @@
package app
import "context"
type App struct {
ctx context.Context
}
func NewApp() *App {
return &App{}
}
func (a *App) Startup(ctx context.Context) {
a.ctx = ctx
}