This works:
func addThem[N int](a N, b N) N{
c := a + b
return c
}
This won’t compile:
func (c Client) FindAllTransactions[S any](dbUniqueIdentifier database.DBUniqueIdentifier, schema S) (interface{}, error)...
interface method must have no type parameters
I have installed the latest version of Go