func MessageFromContext(ctx context.Context) (*Message, bool) {
	value, ok := ctx.Value(msgkey).(*Message)
	return value, ok
}
MessageFromContext - Returns nsq message from context.
package consumer
import (
	"context"
	"encoding/json"
	"github.com/nsqio/go-nsq"
)
type Message struct {
	*nsq.Message
}
var msgkey = "nsqmsg"
func WithMessage(ctx context.Context, msg *Message) context.Context {
	return context.WithValue(ctx, msgkey, msg)
}