mirror of
https://github.com/MedUnes/go-kata.git
synced 2026-03-12 21:55:53 +07:00
feat(add solutions reference for challenge 01-concurrent-aggregator)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package profile
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
type Profile struct {
|
||||
Id int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type Service interface {
|
||||
Get(ctx context.Context, id int) (*Profile, error)
|
||||
}
|
||||
Reference in New Issue
Block a user