go fmt
This commit is contained in:
@@ -89,7 +89,10 @@ func TestBuildFilterNil(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestFmtCount(t *testing.T) {
|
func TestFmtCount(t *testing.T) {
|
||||||
cases := []struct{ n int64; want string }{
|
cases := []struct {
|
||||||
|
n int64
|
||||||
|
want string
|
||||||
|
}{
|
||||||
{0, "0"},
|
{0, "0"},
|
||||||
{999, "999"},
|
{999, "999"},
|
||||||
{1000, "1 000"},
|
{1000, "1 000"},
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
pb "git.ipng.ch/ipng/nginx-logtail/proto/logtailpb"
|
|
||||||
st "git.ipng.ch/ipng/nginx-logtail/internal/store"
|
st "git.ipng.ch/ipng/nginx-logtail/internal/store"
|
||||||
|
pb "git.ipng.ch/ipng/nginx-logtail/proto/logtailpb"
|
||||||
)
|
)
|
||||||
|
|
||||||
const liveMapCap = 100_000 // hard cap on live map entries
|
const liveMapCap = 100_000 // hard cap on live map entries
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
pb "git.ipng.ch/ipng/nginx-logtail/proto/logtailpb"
|
|
||||||
st "git.ipng.ch/ipng/nginx-logtail/internal/store"
|
st "git.ipng.ch/ipng/nginx-logtail/internal/store"
|
||||||
|
pb "git.ipng.ch/ipng/nginx-logtail/proto/logtailpb"
|
||||||
)
|
)
|
||||||
|
|
||||||
func makeStore() *Store {
|
func makeStore() *Store {
|
||||||
|
|||||||
Reference in New Issue
Block a user