restruct
kratos
Our great sponsors
restruct | kratos | |
---|---|---|
7 | 10 | |
15 | 22,463 | |
- | 1.3% | |
5.7 | 8.9 | |
4 months ago | about 22 hours 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.
restruct
-
what's your recommended router? chi, mux, something else?
For me it's mux and my personal router restruct but since mux is not maintained anymore, maybe chi will be my goto for new projects that needs more stability in the api. Since restruct is a router based on structs, which I use for fast prototyping.
- Created a minimal JSON API 'framework'
-
Best golang framework for microservice
Not the best, but after using gorilla mux for routing for a while, I've decided to build my own https://github.com/altlimit/restruct
-
Looking for advice for Go Backend REST API for a Front End React/NodeJS
I've always just use gorilla mux and try to stay close to standard handlers as much as possible and code my request response process. As I've done this multiple times and actually been doing things over and over again I've developed my own router based on structs. Most of the time I develop something that's not going to be public api so I just want to easily build endpoints from struct method without defining new routes. I made https://github.com/altlimit/restruct for it. I also made it flexible so it can do a good amount of routing config. Then with same idea on authentication I made gauth. It's under the same org of that repository. Just to make my development for clients faster while sticking close to standards. I can't find myself using those frameworks that keeps introducing their own context somehow. I did use them before but somehow just doesn't feel right.
- Added strongly typed handlers in RESTruct
- Is it possible to write a well-typed controller/handler in Go?
-
RESTruct a rest/route framework based on struct methods.
github.com/altlimit/restruct
kratos
-
Best golang framework for microservice
https://github.com/go-kratos/kratos has good examples for project layout
-
Most Popular GoLang Frameworks
Website: https://go-kratos.dev,
-
why everyone keeps comparing Go with Rust?
Golang ๐ช is a well oiled language for high-performance backend web components. Take Kratos a popular microservices framework.
-
A Command-line tool to statistics the GitHub repositories
$ github-compare zeromicro/go-zero go-kratos/kratos asim/go-micro go-kit/kit โโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโ โ METRICS โ ZEROMICRO/GO-ZERO โ GO-KRATOS/KRATOS โ ASIM/GO-MICRO โ GO-KIT/KIT โ โโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโค โ ๐ homepage โ https://go-zero.dev โ https://go-kratos.dev โ https://go-micro.dev โ https://gokit.io โ โ ๐ language โ Go โ Go โ Go โ Go โ โ ๐ license โ MIT License โ MIT License โ Apache License 2.0 โ MIT License โ โ โฐ age โ 655 days โ 1231 days โ 2688 days โ 2668 days โ โ ๐ stars โ 17778(27/d) โ 17856(14/d) โ 18233(6/d) โ 23084(8/d) โ โ ๐ latestDayStarCount โ 33 (up) โ 7 (down) โ 2 (down) โ 10 (up) โ โ ๐ latestWeekStarCount โ 227 (up) โ 64 (down) โ 31 (down) โ 44 (down) โ โ ๐ latestMonthStarCount โ 916 โ 531 โ 176 โ 235 โ โ ๐ forks โ 2520(3/d) โ 3446(2/d) โ 2087(0/d) โ 2315(0/d) โ โ ๐ watchers โ 266 โ 424 โ 510 โ 690 โ โ ๐ช issues โ 50/741 โ 51/793 โ 76/914 โ 35/548 โ โ ๐ฏ pull requests โ 13/1155 โ 10/1221 โ 0/1513 โ 9/627 โ โ ๐ฅ contributors โ 132 โ 198 โ 166 โ 221 โ โ ๐ releases โ 63 โ 49 โ 206 โ 12 โ โ ๐ญ release circle(avg) โ 10 days โ 25 days โ 13 days โ 222 days โ โ ๐ฏ lastRelease โ 24 day(s) ago โ 1 day(s) ago โ 5 day(s) ago โ 8 month(s) ago โ โ ๐ฆ lastCommit โ 2 day(s) ago โ 2 hour(s) ago โ 5 day(s) ago โ 6 day(s) ago โ โ ๐ lastUpdate โ 47 minute(s) ago โ 16 minute(s) ago โ 1 hour(s) ago โ 1 hour(s) ago โ โโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโ
- Kratos - Your ultimate go microservices framework for the cloud-native era.
- Which microservice framework should I choose?
- Kratos 2.2 Released: A Go Framework for Cloud-Based Microservices
- Show HN: Go-kratos โ Golang microservices framework
-
Don't Panic: Catching Panics in Errgroup
Kratos errgroup
-
Gopher Gold #21 - Wed Nov 25 2020
go-kratos/kratos (Go): Kratosๆฏbilibiliๅผๆบ็ไธๅฅGoๅพฎๆๅกๆกๆถ๏ผๅ ๅซๅคง้ๅพฎๆๅก็ธๅ ณๆกๆถๅๅทฅๅ ทใ
What are some alternatives?
httprouter - A high performance HTTP request router that scales well
go-zero - A cloud-native Go microservices framework with cli tool for productivity.
waggy - The dead simple, easy-to-use library for writing HTTP handlers and routers in Go that can be used in standard HTTP server environments or in WAGI (Web Assembly Gateway Interface) environments
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
flamego - A fantastic modular Go web framework with a slim core but limitless extensibility
go-kit - A standard library for microservices.
snug - Simple stdlib compatible router with shortcuts to dump json api things
go-zero - go-zero is a web and rpc framework written in Go. It's born to ensure the stability of the busy sites with resilient design. Builtin goctl greatly improves the development productivity. [Moved to: https://github.com/zeromicro/go-zero]
Macaron - Package macaron is a high productive and modular web framework in Go.
Fiber - โก๏ธ Express inspired web framework written in Go
oapi-codegen - Generate Go client and server boilerplate from OpenAPI 3 specifications
gin-vue-admin - ๐Vite+Vue3+Gin็ๅผๅๅบ็กๅนณๅฐ๏ผๆฏๆTSๅJSๆทท็จใๅฎ้ๆไบJWT้ดๆใๆ้็ฎก็ใๅจๆ่ทฏ็ฑใๆพ้ๅฏๆง็ปไปถใๅ้กตๅฐ่ฃ ใๅค็น็ปๅฝๆฆๆชใ่ตๆบๆ้ใไธไผ ไธ่ฝฝใไปฃ็ ็ๆๅจใ่กจๅ็ๆๅจๅๅฏ้ ็ฝฎ็ๅฏผๅ ฅๅฏผๅบ็ญๅผๅๅฟ ๅคๅ่ฝใ