This commit is contained in:
邹宗楠
2023-12-09 09:11:45 +08:00
parent 148be5b793
commit edebc7ab41
4 changed files with 16 additions and 16 deletions

View File

@@ -9,6 +9,11 @@ import (
"git.rosy.net.cn/baseapi/utils"
)
func TestName(t *testing.T) {
fmt.Println(1 | 2)
fmt.Println(1 | 6)
}
func TestLimitSpeed(t *testing.T) {
limiter := New(map[string]*LimiterConfig{
"limited1persecond": &LimiterConfig{