fix(eventstore): tests

This commit is contained in:
adlerhurst
2020-11-26 09:19:14 +01:00
parent 4bb9650f27
commit 246d4294cf
10 changed files with 97 additions and 65 deletions

View File

@@ -6,8 +6,8 @@ type serviceKey struct{}
var key *serviceKey = (*serviceKey)(nil)
func WithService(partent context.Context, serviceName string) context.Context {
return context.WithValue(partent, key, serviceName)
func WithService(parent context.Context, serviceName string) context.Context {
return context.WithValue(parent, key, serviceName)
}
func FromContext(ctx context.Context) string {