pkg/roger/rproducer/producer.go
Method Producer.QueueForPublication
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ctx context.Context,
exchange string,
key string,
mandatory bool,
immediate bool,
Method Producer.Publish
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ctx context.Context,
exchange string,
key string,
mandatory bool,
immediate bool,
Method Producer.queueOrder
has 6 return statements (exceeds 4 allowed). Open
Open
func (producer *Producer) queueOrder(order *Publication) error {
// We are going to use a closure to grab and release the lock so we don't hold onto
// it longer than we have to.
err := func() error {
// Put a read hold on closing the order channel so it isn't closed out from