go-oidc-middleware
jennifer
go-oidc-middleware | jennifer | |
---|---|---|
7 | 6 | |
92 | 3,186 | |
- | - | |
6.3 | 3.7 | |
3 days ago | 9 months ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-oidc-middleware
- go-oidc-middleware: Breaking change for claims validation
-
Go 1.18 improved benchmarks too much?
You can see the PR here and I attached the logs for the workflow run that did the comparison between the versions: https://github.com/XenitAB/go-oidc-middleware/pull/158
-
Boilerplate for experienced devs
I’ve built a library to try and make it easier to consume these services and their JWTs that works with net/http, mux, chi, gin, echo and fiber if you don’t want to implement the logic of discovery and validation yourself: https://github.com/XenitAB/go-oidc-middleware
-
Question if generics will help with use case
Source: https://github.com/XenitAB/go-oidc-middleware/blob/main/internal/oidc/cty.go
-
[go-oidc-middleware] separate sub-modules and test provider
You can find the module here: https://github.com/XenitAB/go-oidc-middleware
-
go-oidc-middleware: support for mux, chi, gin, echo & fiber
I’ve been spending some free time building a http middleware to make it easy to validate JWT tokens from OpenID Providers: go-oidc-middleware
- go-oidc-middleware: OpenID Connect (OIDC) http middleware for Go
jennifer
-
How to minimize RAM usage during Go binary compilation
We have a repo/library called fasten-sources which is made up of mostly generated code (using dave/jennifer)
-
Golang’s best-kept secret: ‘executable examples’
Check out my https://github.com/dave/rebecca package for a neat way of building readme docs by embedding Go docs and examples. It generates the readme for https://github.com/dave/jennifer (see https://github.com/dave/jennifer/blob/master/README.md.tpl).
-
Designing a config API for microservices applications built using Go
The design of the wrapper functions meant we couldn’t easily unmarshal the CUE value into the wrapper functions. This meant we needed to generate unmarshalled functions for the config types. We use the excellent Jennifer library by Dave (no really; github.com/dave/jennifer) for generating Go files.
-
Simple code generator tools to explore inner workings of?
I've used https://github.com/dave/jennifer in the past, and been very happy with it.
-
How to choose a golang template rending engine for my project?
If specifically for generating Go code, I would suggest you take a look at Jennifer.
-
Boilerplate for experienced devs
I just spent a few hours writing a crapload of boilerplate code generation code with jennifer, if that helps any.
What are some alternatives?
zap - Blazing fast, structured, leveled logging in Go.
Anakin - Codegeneration tool for isomorphic server and mobile Go apps with gRPC & Protobuf. Share code between your backend, Android & iOS app! :sun_with_face:
ent - An entity framework for Go
gen - Type-driven code generation for Go
go-kit - A standard library for microservices.
go-linq - .NET LINQ capabilities in Go
casbin - An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN
efaceconv
simple_gopher - Boilerplate for writing Go applications without framework using hexagonal application development approach
interfaces - Code generation tools for Go.
service - Starter-kit for writing services in Go using Kubernetes.
goverter - Generate type-safe Go converters by simply defining an interface