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.
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
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
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
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