You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update README and migration guide for final package structure
Reflect the final state: 18 packages, no db/, auth/, testkit/,
or telemetry/otelhttpclient. Update all package tables, dependency
lists, and migration instructions.
HTTP middleware (recovery, request ID, request logging, CORS) is auto-applied using the app's logger.
94
+
HTTP middleware is explicit — use `middleware.DefaultHTTP(logger)` for the standard chain or compose your own. Database connections are managed via `app.WithOnStart` / `app.WithOnStop` hooks.
The config package no longer prints warnings to stdout when a config file is missing. Missing files are silently ignored (env vars and defaults still apply). Parse errors are now returned as errors.
Copy file name to clipboardExpand all lines: README.md
+6-20Lines changed: 6 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
The standard way to build raystack services and CLIs.
8
8
9
-
Salt provides two entry points — `app.Run()` for services and `cli.Execute()` for command-line tools — along with the building blocks they use: configuration, database, telemetry, middleware, terminal output, and more.
9
+
Salt provides two entry points — `app.Run()` for services and `cli.Execute()` for command-line tools — along with the building blocks they use: configuration, middleware, terminal output, and more.
Salt uses `*slog.Logger` from the Go standard library. No custom logger interface — pass `slog.Default()` or any `*slog.Logger` to packages that need it.
0 commit comments