func (sg *SweetyGo) USE(middlewares ...HandlerFunc) {
	for i := range middlewares {
		if middlewares[i] != nil {
			sg.Middlewares = append(sg.Middlewares, middlewares[i])
		}
	}
}
USE middlewares for SweetyGo
package sweetygo
import (
	"encoding/base64"
	"fmt"
	"html/template"
	"net/http"
	"sync"
)
type HandlerFunc func(*Context) error
type SweetyGo struct {
	Tree *Trie
	Pool *sync.Pool
	NotFoundHandler         HandlerFunc
	MethodNotAllowedHandler HandlerFunc
	Templates *Templates
	Middlewares []HandlerFunc
}
func New() *SweetyGo {
	tree := &Trie{
		component: "/",
		methods:   make(map[string]HandlerFunc),
	}
	sg := &SweetyGo{Tree: tree,
		NotFoundHandler:         NotFoundHandler,
		MethodNotAllowedHandler: MethodNotAllowedHandler,
		Middlewares:             make([]HandlerFunc, 0),
	}
	sg.Pool = &sync.Pool{
		New: func() interface{} {
			return NewContext(nil, nil, sg)
		},
	}
	return sg
}