Our great sponsors
-
The previous post briefly introduced a high-performance Go HTTP framework - Hertz. This article is based on a demo from the Hertz open-source repository. tree/main/bizdemo/hertz_jwt), which describes how to use Hertz to complete the JWT authentication and authorization process.
-
It should be noted here that hertz-jwt is one of many external extensions to Hertz, and that Hertz's rich extension ecosystem is a great convenience for developers and worth exploring beyond this article.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Hertz uses the open-source library go-tagexpr for parameter binding and validation, which the current demo uses for user registration and login.
-
git clone https://github.com/cloudwego/hertz-examples.git cd bizdemo/hertz_jwt
-
For more information on Gorm's operation of MySQL, please refer to Gorm
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Related posts
- High Performance Web Framework Tasting-Database Operations
- Go overtook Ruby and ranked #3 among the most used backend languages for pull requests since 2021
- Which framework and ORM should we choose?
- [Hiring] Remote Golang job: Senior Backend Engineer (Go) at Horizon (Toronto, Canada)
- How to Build REST API using Go Fiber and Gorm ORM