kumojin / go-echo-mixed-middleware Goto Github PK
View Code? Open in Web Editor NEWA composition middleware for Echo that will succeed if either of the middleware succeeds
License: MIT License
A composition middleware for Echo that will succeed if either of the middleware succeeds
License: MIT License
Add a readme and a code example that explains how it should be used
Unable to pass the CI without any change on the code. See https://github.com/kumojin/go-echo-mixed-middleware/actions/runs/3337371668 and #18
Blocks #14
We should improve the tests to:
Pretty self-explanatory, we should add github actions that ensure the code can be built and is 100% testable.
We should improve the Mixed
middleware so that it can table a params
-type parameter and allow an unlimited number of middlewares to be called one after the other.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
.github/workflows/go.yaml
actions/setup-go v3
actions/checkout v3
golangci/golangci-lint-action v3
go.mod
github.com/labstack/echo/v4 v4.9.1
Actually, as we use a temporary context for running the first middleware, if this middleware set some keys into the context, we lost them.
The problem is that the context.store is private and only expose a Get/Set method on it without a way to list all keys.
...and fix vulnerabilities
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.