Skip to content

Commit

Permalink
Merge pull request #27 from Felixoid/update-deps
Browse files Browse the repository at this point in the history
Update deps
  • Loading branch information
Felixoid authored Dec 19, 2024
2 parents 9944759 + 51bf0e7 commit 3e12559
Show file tree
Hide file tree
Showing 694 changed files with 94 additions and 262,123 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ SUM_FILES = build/sha256sum build/md5sum
MODULE = github.com/innogames/$(NAME)

GO ?= go
export GOFLAGS += -mod=vendor
export GO111MODULE := on

.PHONY: all clean docker test version
Expand Down
41 changes: 27 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,20 +1,33 @@
module github.com/innogames/graphite-ch-optimizer

go 1.13
go 1.22.0

toolchain go1.23.3

require (
github.com/ClickHouse/clickhouse-go v1.4.3
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/magiconair/properties v1.8.4 // indirect
github.com/mitchellh/mapstructure v1.3.3 // indirect
github.com/pelletier/go-toml v1.8.1
github.com/sirupsen/logrus v1.7.0
github.com/spf13/afero v1.4.1 // indirect
github.com/spf13/cast v1.3.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/ClickHouse/clickhouse-go v1.5.4
github.com/pelletier/go-toml/v2 v2.2.3
github.com/sirupsen/logrus v1.9.3
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.7.1
golang.org/x/sys v0.0.0-20201027140754-0fcbb8f4928c // indirect
gopkg.in/ini.v1 v1.62.0 // indirect
gopkg.in/yaml.v2 v2.3.0 // indirect
github.com/spf13/viper v1.19.0
)

require (
github.com/cloudflare/golz4 v0.0.0-20240916140612-caecf3c00c06 // indirect
github.com/fsnotify/fsnotify v1.8.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/sagikazarmark/locafero v0.6.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.7.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect
golang.org/x/sys v0.27.0 // indirect
golang.org/x/text v0.20.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
392 changes: 61 additions & 331 deletions go.sum

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions graphite-ch-optimizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"time"

"github.com/ClickHouse/clickhouse-go"
"github.com/pelletier/go-toml"
"github.com/pelletier/go-toml/v2"
"github.com/sirupsen/logrus"
"github.com/spf13/pflag"
"github.com/spf13/viper"
Expand Down Expand Up @@ -267,7 +267,11 @@ func getConfig() Config {
logrus.Fatal("Can't get '--print-defaults' value")
}
if printDefaults {
t, err := toml.TreeFromMap(defaultConfig)
t := new(strings.Builder)
encoder := toml.NewEncoder(t)
encoder.SetIndentSymbol(" ")
encoder.SetIndentTables(true)
err := encoder.Encode(defaultConfig)
if err != nil {
logrus.Fatal(err)
}
Expand Down
28 changes: 0 additions & 28 deletions vendor/github.com/ClickHouse/clickhouse-go/.gitignore

This file was deleted.

25 changes: 0 additions & 25 deletions vendor/github.com/ClickHouse/clickhouse-go/.travis.yml

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/github.com/ClickHouse/clickhouse-go/CONTRIBUTING.md

This file was deleted.

21 changes: 0 additions & 21 deletions vendor/github.com/ClickHouse/clickhouse-go/LICENSE

This file was deleted.

8 changes: 0 additions & 8 deletions vendor/github.com/ClickHouse/clickhouse-go/Makefile

This file was deleted.

190 changes: 0 additions & 190 deletions vendor/github.com/ClickHouse/clickhouse-go/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions vendor/github.com/ClickHouse/clickhouse-go/array.go

This file was deleted.

Loading

0 comments on commit 3e12559

Please sign in to comment.