⬆️ For table of contents, click the above icon
Frequently needed, stupid simple, packages in Go.
Directory structure follows Go's stdlib where there
are equivalents. E.g. httputils
is found in net/http/httputils/.
Go's stdlib (wisely) doesn't implement higher level/app-level concepts.
Higher-level concepts are in app/ like backoff/retry algorithms or external service related things like AWS wrappers or Prometheus helpers.
- net/http/csrf/ - just use SameSite cookies
- crypto/pkencryptedstream/ - provides confidentiality, but is malleable (ciphertext is not authenticated). Use Age instead.
- log/logex/ - use log/slog i.e. the official solution to pain which our package addressed.