mirror of
https://github.com/prymitive/karma
synced 2026-05-17 04:16:42 +00:00
feat(backend): use github.com/klauspost/compress for gzip
This commit is contained in:
committed by
Łukasz Mierzwa
parent
98ea0dc5fe
commit
fcc9cfc38c
@@ -1,7 +1,6 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"compress/flate"
|
||||
"context"
|
||||
"errors"
|
||||
"fmt"
|
||||
@@ -30,6 +29,7 @@ import (
|
||||
"github.com/go-chi/chi/v5/middleware"
|
||||
"github.com/go-chi/cors"
|
||||
lru "github.com/hashicorp/golang-lru"
|
||||
"github.com/klauspost/compress/flate"
|
||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
|
||||
@@ -2,7 +2,6 @@ package main
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"compress/gzip"
|
||||
"encoding/base64"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
@@ -15,6 +14,7 @@ import (
|
||||
|
||||
"github.com/cnf/structhash"
|
||||
"github.com/fvbommel/sortorder"
|
||||
"github.com/klauspost/compress/gzip"
|
||||
|
||||
"github.com/prymitive/karma/internal/alertmanager"
|
||||
"github.com/prymitive/karma/internal/config"
|
||||
|
||||
Reference in New Issue
Block a user