func VersionFromContext(ctx context.Context) (string, bool) {
	version, ok := ctx.Value(versionKey).(string)
	return version, ok
}
VersionFromContext get version string value from context
package mid
import (
	"context"
	"net/http"
)
func APIVersionCtx(version string) func(next http.Handler) http.Handler {
	return func(next http.Handler) http.Handler {
		return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
			r = r.WithContext(context.WithValue(r.Context(), versionKey, version))
			next.ServeHTTP(w, r)
		})
	}
}