提交 8c5c9335 作者: Steven Allen

chore: ignore pubsub deprecation warnings

上级 ee42e34e
......@@ -56,6 +56,7 @@ func (api *PubSubAPI) Publish(ctx context.Context, topic string, data []byte) er
return err
}
//nolint deprecated
return api.pubSub.Publish(topic, data)
}
......@@ -70,6 +71,7 @@ func (api *PubSubAPI) Subscribe(ctx context.Context, topic string, opts ...caopt
return nil, err
}
//nolint deprecated
sub, err := api.pubSub.Subscribe(topic)
if err != nil {
return nil, err
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论