mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-01-19 05:27:57 +00:00
16 lines
172 B
Go
16 lines
172 B
Go
|
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
|
||
|
}
|