rename to v2

This commit is contained in:
Ming Deng
2020-12-14 11:12:00 +08:00
parent a70f7fc920
commit 7bc6010604
241 changed files with 489 additions and 489 deletions

View File

@@ -22,7 +22,7 @@
// "net/http"
// "os"
//
// "github.com/beego/beego/grace"
// "github.com/beego/beego/v2/grace"
// )
//
// func handler(w http.ResponseWriter, r *http.Request) {
@@ -46,7 +46,7 @@ import (
"net/http"
"time"
"github.com/beego/beego/server/web/grace"
"github.com/beego/beego/v2/server/web/grace"
)
const (

View File

@@ -3,7 +3,7 @@ package grace
import (
"os"
"github.com/beego/beego/server/web/grace"
"github.com/beego/beego/v2/server/web/grace"
)
// Server embedded http.Server