{"action":"opened","issue":{"url":"https://api.github.com/repos/larkjs/lark/issues/112","labels_url":"https://api.github.com/repos/larkjs/lark/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/larkjs/lark/issues/112/comments","events_url":"https://api.github.com/repos/larkjs/lark/issues/112/events","html_url":"https://github.com/larkjs/lark/issues/112","id":63917366,"number":112,"title":"往koa中middlewares stack 前面插入中间件的方法","user":{"login":"zezhou","id":242065,"avatar_url":"https://avatars.githubusercontent.com/u/242065?v=3","gravatar_id":"","url":"https://api.github.com/users/zezhou","html_url":"https://github.com/zezhou","followers_url":"https://api.github.com/users/zezhou/followers","following_url":"https://api.github.com/users/zezhou/following{/other_user}","gists_url":"https://api.github.com/users/zezhou/gists{/gist_id}","starred_url":"https://api.github.com/users/zezhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zezhou/subscriptions","organizations_url":"https://api.github.com/users/zezhou/orgs","repos_url":"https://api.github.com/users/zezhou/repos","events_url":"https://api.github.com/users/zezhou/events{/privacy}","received_events_url":"https://api.github.com/users/zezhou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-24T06:45:03Z","updated_at":"2015-03-24T06:45:03Z","closed_at":null,"body":"koa.use 插入中间件的执行顺序是后入先出 \r\n这导致 lark 默认的中间件不能被后面的设置覆盖（因为后入先出的原因）\r\n所以lark可以新增一个 insert 方法，该方法功能与 use 类似，但是每次插在stack 的最前面"}}