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

@@ -23,9 +23,9 @@ import (
"github.com/prometheus/client_golang/prometheus"
"github.com/beego/beego"
"github.com/beego/beego/core/logs"
"github.com/beego/beego/server/web"
"github.com/beego/beego/v2"
"github.com/beego/beego/v2/core/logs"
"github.com/beego/beego/v2/server/web"
)
func PrometheusMiddleWare(next http.Handler) http.Handler {

View File

@@ -22,7 +22,7 @@ import (
"github.com/prometheus/client_golang/prometheus"
"github.com/beego/beego/adapter/context"
"github.com/beego/beego/v2/adapter/context"
)
func TestPrometheusMiddleWare(t *testing.T) {