8 lines
122 B
Go
8 lines
122 B
Go
package client
|
|
|
|
import "context"
|
|
|
|
type Client[InT, OutT any] interface {
|
|
Do(ctx context.Context, in InT) (OutT, error)
|
|
}
|