package consumer import ( cuc "git.loafle.net/commons/util-go/context" ) type ConsumerCtx interface { cuc.Context } func NewConsumerCtx(parent cuc.Context) ConsumerCtx { return &consumerCtx{ Context: cuc.NewContext(parent), } } type consumerCtx struct { cuc.Context }