https://github.com/function61/gokit
Frequently needed, stupid simple, packages in Go
https://github.com/function61/gokit
Last synced: 2 months ago
JSON representation
Frequently needed, stupid simple, packages in Go
- Host: GitHub
- URL: https://github.com/function61/gokit
- Owner: function61
- License: apache-2.0
- Created: 2018-10-06T16:08:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-06-30T08:47:09.000Z (7 months ago)
- Last Synced: 2025-06-30T09:36:25.403Z (7 months ago)
- Language: Go
- Homepage: https://function61.com/
- Size: 546 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
⬆️ For table of contents, click the above icon

[](https://godoc.org/github.com/function61/gokit)
Frequently needed, stupid simple, packages in Go.

Directory structure
-------------------
### Low-level packages
Directory structure follows [Go's stdlib](https://pkg.go.dev/std?tab=packages) where there
are equivalents. E.g. `httputils` is found in [net/http/httputils/](net/http/httputils/).
### Higher-level, "app", packages
Go's stdlib (wisely) doesn't implement higher level/app-level concepts.
Higher-level concepts are in [app/](app/) like backoff/retry algorithms or external service
related things like AWS wrappers or Prometheus helpers.
Deprecations
------------
- [net/http/csrf/](net/http/csrf/) - just use SameSite cookies
- [crypto/pkencryptedstream/](crypto/pkencryptedstream/) - provides confidentiality, but is malleable (ciphertext is not authenticated). Use Age instead.
- [log/logex/](log/logex/) - use [log/slog](https://go.dev/blog/slog) i.e. the official solution to pain which our package addressed.