convert package name to lowercase: Bilibili -> bilibili

pull/105/head
程飞 6 years ago
parent 9917255196
commit b45e3390a6
  1. 10
      pkg/net/http/blademaster/ratelimit.go
  2. 8
      pkg/net/rpc/warden/internal/ratelimiter/ratelimiter.go
  3. 16
      pkg/ratelimit/bbr/bbr.go
  4. 4
      pkg/ratelimit/bbr/bbr_test.go

@ -4,11 +4,11 @@ import (
"fmt"
"sync/atomic"
"time"
"github.com/Bilibili/kratos/pkg/log"
limit "github.com/Bilibili/kratos/pkg/ratelimit"
"github.com/Bilibili/kratos/pkg/ratelimit/bbr"
"github.com/Bilibili/kratos/pkg/stat/prom"
"github.com/bilibili/kratos/pkg/log"
limit "github.com/bilibili/kratos/pkg/ratelimit"
"github.com/bilibili/kratos/pkg/ratelimit/bbr"
"github.com/bilibili/kratos/pkg/stat/prom"
)
const (

@ -5,10 +5,10 @@ import (
"sync/atomic"
"time"
"github.com/Bilibili/kratos/pkg/log"
limit "github.com/Bilibili/kratos/pkg/ratelimit"
"github.com/Bilibili/kratos/pkg/ratelimit/bbr"
"github.com/Bilibili/kratos/pkg/stat/prom"
"github.com/bilibili/kratos/pkg/log"
limit "github.com/bilibili/kratos/pkg/ratelimit"
"github.com/bilibili/kratos/pkg/ratelimit/bbr"
"github.com/bilibili/kratos/pkg/stat/prom"
"google.golang.org/grpc"
)

@ -5,14 +5,14 @@ import (
"math"
"sync/atomic"
"time"
"github.com/Bilibili/kratos/pkg/container/group"
"github.com/Bilibili/kratos/pkg/ecode"
"github.com/Bilibili/kratos/pkg/log"
limit "github.com/Bilibili/kratos/pkg/ratelimit"
"github.com/Bilibili/kratos/pkg/stat/metric"
cpustat "github.com/Bilibili/kratos/pkg/stat/sys/cpu"
"github.com/bilibili/kratos/pkg/container/group"
"github.com/bilibili/kratos/pkg/ecode"
"github.com/bilibili/kratos/pkg/log"
limit "github.com/bilibili/kratos/pkg/ratelimit"
"github.com/bilibili/kratos/pkg/stat/metric"
cpustat "github.com/bilibili/kratos/pkg/stat/sys/cpu"
)
var (

@ -10,8 +10,8 @@ import (
"testing"
"time"
limit "github.com/Bilibili/kratos/pkg/ratelimit"
"github.com/Bilibili/kratos/pkg/stat/metric"
limit "github.com/bilibili/kratos/pkg/ratelimit"
"github.com/bilibili/kratos/pkg/stat/metric"
"github.com/stretchr/testify/assert"
)

Loading…
Cancel
Save