mirror of
https://github.com/yusing/godoxy.git
synced 2025-07-06 22:44:03 +02:00
Merge branch 'main' into feat/custom-json-marshaling
This commit is contained in:
commit
24118fa57c
4 changed files with 2 additions and 11 deletions
|
@ -24,6 +24,7 @@ COPY cmd ./cmd
|
||||||
COPY internal ./internal
|
COPY internal ./internal
|
||||||
COPY pkg ./pkg
|
COPY pkg ./pkg
|
||||||
COPY agent ./agent
|
COPY agent ./agent
|
||||||
|
COPY migrations ./migrations
|
||||||
|
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
ENV VERSION=${VERSION}
|
ENV VERSION=${VERSION}
|
||||||
|
|
|
@ -6,7 +6,6 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/yusing/go-proxy/pkg/json"
|
"github.com/yusing/go-proxy/pkg/json"
|
||||||
|
|
||||||
"github.com/yusing/go-proxy/internal/utils/strutils/ansi"
|
"github.com/yusing/go-proxy/internal/utils/strutils/ansi"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -10,14 +10,6 @@ import (
|
||||||
"github.com/yusing/go-proxy/pkg/json"
|
"github.com/yusing/go-proxy/pkg/json"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestPoller(t *testing.T) {
|
|
||||||
for _, query := range allQueries {
|
|
||||||
t.Run(query, func(t *testing.T) {
|
|
||||||
Poller.Test(t, url.Values{"aggregate": []string{query}})
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestExcludeDisks(t *testing.T) {
|
func TestExcludeDisks(t *testing.T) {
|
||||||
tests := []struct {
|
tests := []struct {
|
||||||
name string
|
name string
|
||||||
|
|
|
@ -9,7 +9,6 @@ import (
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
"github.com/yusing/go-proxy/pkg/json"
|
"github.com/yusing/go-proxy/pkg/json"
|
||||||
|
|
||||||
"github.com/yusing/go-proxy/internal/common"
|
"github.com/yusing/go-proxy/internal/common"
|
||||||
"github.com/yusing/go-proxy/internal/gperr"
|
"github.com/yusing/go-proxy/internal/gperr"
|
||||||
"github.com/yusing/go-proxy/internal/net/gphttp/reverseproxy"
|
"github.com/yusing/go-proxy/internal/net/gphttp/reverseproxy"
|
||||||
|
|
Loading…
Add table
Reference in a new issue