-
I don't think so. Not in the AWS API. They're used in places where no unset is possible. Here's one example: accessing s3, the name of the bucket you're accessing is not optional. Yet, from github.com/aws/aws-sdk-go/services/s3/api.go (which is too large a file for github to render and allow me to link to the right line, so I'll just quote the relevant part here) it's passed in as a *string:
-
InfluxDB
Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
-
surf
CLI Text Search across your infrastructure platforms, Universal Ctrl+F for infra (by Isan-Rivkin)
I created an open source CLI tool I’ve always wanted and based it on generics https://github.com/Isan-Rivkin/surf
-
The same old story we had even if DI pattern is not supported in Go. But some cant live without it and they need libs like https://github.com/google/wire to auto-generate that code.
-
https://github.com/soypat/mu8 machine learning library which returns the optimized user type generically instead of as a interface{}. See Champion() method
-
https://github.com/soypat/go-maquina finite state machine which takes user callbacks with a generically defined input argument to the callback. See fringeFunc[T]
-
My example: https://github.com/num8er/golang-generics-dao-example
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
mapreduce
A in-process MapReduce library to help you optimizing service response time or concurrent task processing. (by kevwan)
https://github.com/kevwan/mapreduce (finished, and some users are using it)
-
https://github.com/kevwan/stream (cannot be done with generics, due to lack of template method support)
-
https://github.com/zeromicro/go-zero (because we support early to Go 1.15, generics is impossible to be used at the moment)