feat(add solutions reference for challenge 01-concurrent-aggregator)

This commit is contained in:
medunes
2026-01-22 01:14:03 +01:00
committed by Mohamed Younes
parent d44f1a86d9
commit ccd2ec1cce
14 changed files with 769 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
package order
import "context"
type Order struct {
Id int `json:"id"`
UserId int `json:"user_id"`
Cost float64 `json:"cost"`
}
type Service interface {
GetAll(ctx context.Context, userId int) ([]*Order, error)
}