firasdarwish/ore

View on GitHub
internal/interfaces/some_counter_generic.go

Summary

Maintainability
A
0 mins
Test Coverage
package interfaces

type Numeric interface {
    uint
}

type SomeCounterGeneric[T Numeric] interface {
    Add(number T)
    GetCount() T
}