package domain import "context" type Repository[T Entity] interface { All(context.Context) []T Find(context.Context, ID) T Save(context.Context, T) error }