MCPcopy Create free account
hub / github.com/dreamsofcode-io/zenstats / App

Struct App

internal/app/app.go:18–24  ·  view source on GitHub ↗

App contains all of the application dependencies for the project.

Source from the content-addressed store, hash-verified

16
17// App contains all of the application dependencies for the project.
18type App struct {
19 config Config
20 logger *slog.Logger
21 files fs.FS
22 quotes *quote.Service
23 db *pgxpool.Pool
24}
25
26// New creates a new instance of the application.
27func New(logger *slog.Logger, config Config, files fs.FS) *App {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected