jwx
bob
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.
jwx
-
Are there any OIDC Provider libraries for Golang?
I made a custom OIDC provider for integ tests using https://github.com/lestrrat-go/jwx, and a server than served out a .well-known/openid-configuration file and a jwks.json referenced by the openid-configuration.
-
Golang RESTAPI boilerplate repository
Out of github.com/lestrrat-go/jwx, I only use the jwk part. It's been a month or so that I did that part, I don't recall what was the challenge either way. Time to review...
-
go-jwt parse without validation
Check this lib: https://github.com/lestrrat-go/jwx
-
Fast & simple JWT for Go (v4.0.0 released)
IMHO, lestrrat-go/jwx is the best JOSE (that means "JWS/JWE/JWK/JWA/JWT") library for Go. If you're using JWT I recommend using jwx. The last time I looked at golang-jwt/jwt it ignored most of JOSE. lestrrat-go/jwxis better written comprehensive.
-
Can I use `context.Background()` in production?
Can I, similar to this code snippet, use context.Background() but in production code:
-
How can I correctly decode a jwt securecookie?
...then that's the JWT. You need to decode it using a JWT library. I suggest github.com/lestrrat-go/jwx.
bob
-
how to avoid writing dreadful SQL statements
Use something that does codegen, like sqlc or Bob.
-
Golang RESTAPI boilerplate repository
Also hout out to https://github.com/stephenafamo/bob
-
Go famous/standard frameworks and libraries ?
If you want to read the schema from the DB, use Bob. https://github.com/stephenafamo/bob
-
Synchronize / generate enums from a SQL table
Generation for enums is done if you use Bob to generate your ORM.
-
How do you define your database schema?
Bob (https://github.com/stephenafamo/bob) generates models for a database schema, and for ease of use, I think it makes sense to be able to work with whatever format the schema is defined with.
-
Golang tech stack
Bob ORM for DB access
-
What framework to build heavy i/o rest api?
For an ORM recommendation, I'm heavily biased towards Bob (https://github.com/stephenafamo/bob) since I created it.
-
Bob v0.16.0: Generate from Atlas schema files
Website
-
Comparing Bob to other ORMs
Bob's GitHub Repository
-
I want to participate in a golang open source projects. Have any suggestions or recommendations?
I would definitely appreciate contributions to Bob: https://github.com/stephenafamo/bob
What are some alternatives?
go - The Go programming language
pgroll - PostgreSQL zero-downtime migrations made easy
go-jose - An implementation of JOSE standards (JWE, JWS, JWT) in Go
go-ora - Pure go oracle client
jwt - Safe, simple and fast JSON Web Tokens for Go
graph - A library for creating generic graph data structures and modifying, analyzing, and visualizing them.
Squirrel - Fluent SQL generation for golang
golang-database-library-orm-example - Examples of using various popular database libraries and ORM in Go.
benches - Me throwing my benchs, nothing else (╯°□°)╯︵ ┻━┻
uuid - A UUID package originally forked from github.com/satori/go.uuid
Facecontrol - Simple authentication, single sign-on and (optinal) authorization solution.
scan - Scan provides the ability to to scan sql rows directly to any defined structure.