中间件定义好后 必须在main函数中注册才能使用
    譬如

    1. func main() {
    2. goft.Ignite().
    3. Attach(middlewares.NewTokenCheck()).
    4. Mount("v1",controllers.NewIndexController()).
    5. Launch()
    6. }