From eda27ff2bfe0d4a88d43d9cf0ed3c0013be2464c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santiago=20Nu=C3=B1ez-Cacho?= Date: Tue, 17 Dec 2024 18:45:18 +0100 Subject: [PATCH] add new import package --- go.mod | 3 ++- go.sum | 2 ++ pkg/main.go | 6 +++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index f1cefa7..937cb7f 100644 --- a/go.mod +++ b/go.mod @@ -21,6 +21,7 @@ require ( github.com/rakyll/gotest v0.0.6 // indirect github.com/stretchr/objx v0.5.2 // indirect github.com/vektra/mockery v1.1.2 // indirect + go.uber.org/automaxprocs v1.6.0 // indirect golang.org/x/mod v0.21.0 // indirect golang.org/x/net v0.29.0 // indirect golang.org/x/sync v0.8.0 // indirect @@ -32,4 +33,4 @@ require ( gopkg.in/yaml.v3 v3.0.1 // indirect ) -go 1.23 +go 1.23.0 diff --git a/go.sum b/go.sum index 854c979..0bb1d4d 100644 --- a/go.sum +++ b/go.sum @@ -47,6 +47,8 @@ github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8 github.com/vektra/mockery v1.1.2 h1:uc0Yn67rJpjt8U/mAZimdCKn9AeA97BOkjpmtBSlfP4= github.com/vektra/mockery v1.1.2/go.mod h1:VcfZjKaFOPO+MpN4ZvwPjs4c48lkq1o3Ym8yHZJu0jU= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +go.uber.org/automaxprocs v1.6.0 h1:O3y2/QNTOdbF+e/dpXNNW7Rx2hZ4sTIPyybbxyNqTUs= +go.uber.org/automaxprocs v1.6.0/go.mod h1:ifeIMSnPZuznNm6jmdzmU3/bfk01Fe2fotchwEFJ8r8= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= diff --git a/pkg/main.go b/pkg/main.go index 4a59f9a..5e46d46 100644 --- a/pkg/main.go +++ b/pkg/main.go @@ -4,12 +4,16 @@ import ( "os" "strconv" + // Third-party packages, with a blank line separator + "k8s.io/klog" + _ "go.uber.org/automaxprocs" + "github.com/softonic/homing-pigeon/pkg/helpers" "github.com/softonic/homing-pigeon/pkg/messages" "github.com/softonic/homing-pigeon/pkg/middleware" "github.com/softonic/homing-pigeon/pkg/readers" "github.com/softonic/homing-pigeon/pkg/writers" - "k8s.io/klog" + ) func main() {