-
sortedset
An ordered collection implemented in Golang with O(log(N)) time complexity on adding / searching / removing
-
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.
I'm using Goyave. It's a full package for reliable REST API development, so you can focus on business logic.
If you want a particular horror story, the comments service uses an implementation of a sorted set (https://github.com/wangjia184/sortedset), and creates a wrapper which basically implements an in-memory interface identical to redis ZRANGE/ZREVRANGE that lists comments in ascending/descending order. The main issue is that the sorted set implementation is 1-based, and I missed some edge cases which resulted various issues like duplicated results, or being able to paginate results beyond the size of the set. Everything was unit tested, but you know, tests only tell you that something works for that particular set of inputs ;)... even this isn't much of a horror story, it's basically just a bug that was detected after many months of production use.
For OpenAPI instrumentation please have a look at https://github.com/swaggest/rest. This library leverages chi router and declarative use case interactors to automate OpenAPI reflection. Disclaimer: I'm the author.
Related posts
-
What is the recommended/preferred web architecture for web applications / services written in Go?
-
Create Production-Ready SDKs with Goa
-
[Request] Library Recommendation for Auto Swagger/OpenAPIv3 Documentation
-
Is there a way to generate controller from swagger through build tools?
-
Building web-based SaaS with Go as a solo entrepreneur. What should I be aware of?