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. Learn more →
Top 6 generic-function Open-Source Projects
-
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.
-
gen
gen is a generic general use Go functions library with the intention of replacing duplicated code where the same functionality is needed across multiple types, and provides a common interface for the functionality. The library is designed to be used in a wide variety of projects and is designed to be easy to use. (by devnw)
-
ll
Generic C99 Singly & Doubly Linked List Implementation with OOP, ranges, custom loops and more. (by a-p-jo)
Project mention: Seeking advice on implementing a tinyurl-like service using Go and gRPC. | /r/golang | 2023-05-24Hello, Those interviews are even crazy for internship. Anyway 1. Try to find a simple CRUD example online. You can check [this](https://tutorialedge.net/golang/go-grpc-beginners-tutorial/) 2. For logging you can check [go-grpc-middleware](https://github.com/grpc-ecosystem/go-grpc-middleware) 3. You can grpc-gateway in case they want some REST endpoints too 4. Use base62 to encode your url. So at least 2 columns in your table **shortenedUrl** and **url** 5. For such a project no need to use an ORM ( it's not advised anyway ). Implement 2 functions, one to insert into the db and the other one to read from the db. Remember to use transaction though 5. For unit tests go with the standard library and mock the 2 functions ( erroneous and valid cases )
This is a lot more possible now that Go has generics (as of 1.18).
I would probably never use these, as I find such libraries are a whole new domain-specific language to learn, and often don't make things much simpler anyway, but here are some libraries where people have done something like this:
* https://github.com/ahmetb/go-linq: modelled after LINQ, but created pre-generics so only recently added some generics features
generic-functions related posts
-
Is it possible to add a NuGet package dependency to a project that points to a GitHub repository?
-
What is the difference between an Applicative and a Monad?
-
Don Syme explains the downsides of type classes and the technical and philosophical reasons for not implementing them in F#
-
Practically speaking, what does F#'s lack of higher-typed kinds mean?
-
F#+ 1.2 Released 🔷🚀
-
polymorphic-functions - Possibly AOT dispatch on argument types with support for optional and keyword argument dispatch
-
gRPC best practices
-
A note from our sponsor - InfluxDB
www.influxdata.com | 12 May 2024
Index
What are some of the best open-source generic-function projects? This list will help you:
Project | Stars | |
---|---|---|
1 | go-grpc-middleware | 6,069 |
2 | go-linq | 3,443 |
3 | FSharpPlus | 825 |
4 | specialization-store | 28 |
5 | gen | 13 |
6 | ll | 5 |
Sponsored