Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 3 additions & 17 deletions cmd/gen-docs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package main

import (
"fmt"
"log/slog"
"os"
"strings"

Expand All @@ -12,11 +13,9 @@ import (
"github.com/reubenmiller/go-c8y-cli/v2/pkg/config"
"github.com/reubenmiller/go-c8y-cli/v2/pkg/console"
"github.com/reubenmiller/go-c8y-cli/v2/pkg/dataview"
"github.com/reubenmiller/go-c8y-cli/v2/pkg/logger"
"github.com/reubenmiller/go-c8y/pkg/c8y"
"github.com/spf13/pflag"
"github.com/spf13/viper"
"go.uber.org/zap/zapcore"
)

func main() {
Expand Down Expand Up @@ -102,18 +101,11 @@ func createCmdRoot() *root.CmdRoot {
var client *c8y.Client
var dataView *dataview.DataView
var consoleHandler *console.Console
var logHandler *logger.Logger
var activityLoggerHandler *activitylogger.ActivityLogger
var configHandler = config.NewConfig(viper.GetViper())

// init logger
logHandler = logger.NewLogger("", logger.Options{
Level: zapcore.WarnLevel,
Debug: false,
})

if _, err := configHandler.ReadConfigFiles(nil); err != nil {
logHandler.Infof("Failed to read configuration. Trying to proceed anyway. %s", err)
slog.Info("Failed to read configuration. Trying to proceed anyway", "err", err)
}

// cmd factory
Expand All @@ -129,12 +121,6 @@ func createCmdRoot() *root.CmdRoot {
}
return client, nil
}
loggerFunc := func() (*logger.Logger, error) {
if logHandler == nil {
return nil, fmt.Errorf("logger is missing")
}
return logHandler, nil
}
activityLoggerFunc := func() (*activitylogger.ActivityLogger, error) {
if activityLoggerHandler == nil {
return nil, fmt.Errorf("activityLogger is missing")
Expand All @@ -153,7 +139,7 @@ func createCmdRoot() *root.CmdRoot {
}
return consoleHandler, nil
}
cmdFactory := factory.New("", "", configFunc, clientFunc, loggerFunc, activityLoggerFunc, dataViewFunc, consoleFunc)
cmdFactory := factory.New("", "", configFunc, clientFunc, activityLoggerFunc, dataViewFunc, consoleFunc)

return root.NewCmdRoot(cmdFactory, "", "")
}
65 changes: 17 additions & 48 deletions cmd/gen-tests/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,63 +4,32 @@ import (
"encoding/json"
"fmt"
"io"
"log"
"log/slog"
"os"
"path"
"path/filepath"
"strconv"
"strings"

"github.com/spf13/cobra"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

"github.com/google/shlex"
"github.com/reubenmiller/go-c8y-cli/v2/internal/integration/models"
"github.com/reubenmiller/go-c8y-cli/v2/pkg/flatten"
"github.com/reubenmiller/go-c8y-cli/v2/pkg/jsonUtilities"
"github.com/reubenmiller/go-c8y-cli/v2/pkg/logger"
"gopkg.in/yaml.v3"
)

var logger *zap.Logger
var loggerS *zap.SugaredLogger

func init() {
createLogger()
}

func createLogger() {
consoleEncCfg := zapcore.EncoderConfig{
// Keys can be anything except the empty string.
TimeKey: "T",
LevelKey: "L",
NameKey: "N",
CallerKey: "C",
FunctionKey: zapcore.OmitKey,
MessageKey: "M",
StacktraceKey: "S",
LineEnding: zapcore.DefaultLineEnding,
EncodeLevel: zapcore.CapitalColorLevelEncoder,
EncodeTime: zapcore.ISO8601TimeEncoder,
EncodeDuration: zapcore.StringDurationEncoder,
EncodeCaller: zapcore.ShortCallerEncoder,
}

consoleLevel := zapcore.InfoLevel
consoleLevelEnabler := zap.LevelEnablerFunc(func(lvl zapcore.Level) bool {
return lvl >= consoleLevel
logger.NewLogger("gen-test", logger.Options{
Level: slog.LevelInfo,
})
var cores []zapcore.Core
cores = append(cores, zapcore.NewCore(
zapcore.NewConsoleEncoder(consoleEncCfg),
zapcore.Lock(zapcore.AddSync(os.Stderr)),
consoleLevelEnabler,
))
core := zapcore.NewTee(cores...)
logger = zap.New(core)
defer func() {
_ = logger.Sync()
}()
loggerS = logger.Sugar()
}

type Generator struct {
Expand All @@ -75,13 +44,13 @@ func NewGenerator(name string, mockConfig *models.MockConfiguration) (gen *Gener
}
contents, err := io.ReadAll(f)
if err != nil {
loggerS.Fatalf("Failed to read spec file. file=%s err=%s", name, err)
log.Fatalf("Failed to read spec file. file=%s err=%s", name, err)
return
}
spec := &models.Specification{}
err = yaml.Unmarshal(contents, spec)
if err != nil {
loggerS.Fatalf("Failed to marshal spec file. file=%s err=%s", name, err)
log.Fatalf("Failed to marshal spec file. file=%s err=%s", name, err)
return
}

Expand Down Expand Up @@ -120,7 +89,7 @@ func (g *Generator) CreateTests(outDir string) error {
testcase.Command = fmt.Sprintf("$TEST_SHELL -c '%s'", command)
}

loggerS.Debugf("Processing endpoint: %s", testcase.Command)
slog.Debug("Processing endpoint", "command", testcase.Command)
testcase.StdOut = buildAssertions(g.Spec.Group.Name, &endpoint, i)

testsuite.Tests[key] = *testcase
Expand All @@ -129,7 +98,7 @@ func (g *Generator) CreateTests(outDir string) error {
suitekey := CreateSuiteKey(g.Spec, &endpoint)

if err := WriteTestSuite(testsuite, suitekey, outDir); err != nil {
loggerS.Fatalf("Failed to write test suite to file. %s", err)
log.Fatalf("Failed to write test suite to file. %s", err)
}
}

Expand Down Expand Up @@ -164,7 +133,7 @@ func CreateFakeCommand(parentCmd string, endpoint *models.Command) *cobra.Comman
cmd.PersistentFlags().String("output", "o", "Output format i.e. table, json, csv, csvheader")

for _, parameter := range endpoint.GetAllParameters() {
loggerS.Debugf("Adding parameter. name=%s", parameter.Name)
slog.Debug("Adding parameter", "name", parameter.Name)
if strings.Contains(parameter.Type, "[]") {
cmd.Flags().StringSlice(parameter.Name, nil, "")
} else if parameter.Type == "boolean" || parameter.Type == "optional_fragment" || parameter.Type == "booleanDefault" {
Expand Down Expand Up @@ -199,7 +168,7 @@ func CreateFakeCommand(parentCmd string, endpoint *models.Command) *cobra.Comman
func parseFakeCommand(parentCmd string, command string, endpoint *models.Command) *cobra.Command {
cmd := CreateFakeCommand(parentCmd, endpoint)
if err := cmd.ParseFlags(parseCommand(parentCmd, command, endpoint)); err != nil {
loggerS.Fatalf("Failed to parse command. command=%s, err=%s", command, err)
log.Fatalf("Failed to parse command. command=%s, err=%s", command, err)
}

return cmd
Expand Down Expand Up @@ -272,7 +241,7 @@ func buildAssertions(parentCmd string, endpoint *models.Command, exampleIdx int)
} else {
for _, parameter := range endpoint.Body {
value := getParameterValue(cmd, &parameter)
loggerS.Debugf("Adding body property. name=%s, value=%s", parameter.Name, value)
slog.Debug("Adding body property", "name", parameter.Name, "value", value)
if value != "" {
switch parameter.Type {
case "attachment", "file", "fileContents":
Expand Down Expand Up @@ -301,7 +270,7 @@ func formatJsonAssertion(jsonAssertion map[string]string, propType string, prop
if strings.HasSuffix(prop, ".data") || strings.EqualFold(propType, "json_custom") {
data := make(map[string]interface{})
if err := jsonUtilities.ParseJSON(values[0], data); err != nil {
loggerS.Warnf("Could not parse shorthand json. error=%s, data=%s", err, values[0])
slog.Warn("Could not parse shorthand json", "err", err, "data", values[0])
return
}

Expand All @@ -311,7 +280,7 @@ func formatJsonAssertion(jsonAssertion map[string]string, propType string, prop
}
flatData, err := flatten.Flatten(data, prefix, flatten.DotStyle)
if err != nil {
loggerS.Fatalf("Could not flatten map. %s", err)
log.Fatalf("Could not flatten map. %s", err)
}
for k, v := range flatData {
switch tv := v.(type) {
Expand Down Expand Up @@ -416,7 +385,7 @@ func substituteVariables(cmd *cobra.Command, endpoint *models.Command) (out stri
}
}

loggerS.Debugf("Detected variables: %v", variableNames)
slog.Debug("Detected variables", "variables", variableNames)
// replace variable values from fake command

for _, parameter := range endpoint.PathParameters {
Expand Down Expand Up @@ -446,7 +415,7 @@ func WriteTestSuite(t *models.TestSuite, id string, outDir string) (err error) {
}

if err := os.MkdirAll(filepath.Dir(outFile), 0755); err != nil {
loggerS.Fatal(err)
log.Fatal(err)
}

f, err := os.OpenFile(outFile, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0644)
Expand Down Expand Up @@ -504,7 +473,7 @@ func main() {

// Ignore skipped specs
if gen.Spec.Group.Skip {
loggerS.Warnf("Specification is marked as skipped. Ignoring. file=%s", os.Args[2])
slog.Warn("Specification is marked as skipped. Ignoring file", "file", os.Args[2])
os.Exit(0)
}

Expand Down
21 changes: 10 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ require (
github.com/olekukonko/ts v0.0.0-20171002115256-78ecb04241c0
github.com/pkg/errors v0.9.1
github.com/pquerna/otp v1.5.0
github.com/reubenmiller/go-c8y v0.37.6
github.com/reubenmiller/go-c8y v0.37.7-0.20250823091328-e9f46442afa8
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1
github.com/spf13/cobra v1.9.1
github.com/spf13/pflag v1.0.6
Expand All @@ -33,9 +33,8 @@ require (
github.com/tidwall/pretty v1.2.1
github.com/tidwall/sjson v1.2.5
github.com/vbauerster/mpb/v6 v6.0.4
go.uber.org/zap v1.27.0
golang.org/x/crypto v0.39.0
golang.org/x/term v0.32.0
golang.org/x/crypto v0.41.0
golang.org/x/term v0.34.0
gopkg.in/yaml.v3 v3.0.1
)

Expand All @@ -44,9 +43,10 @@ require github.com/hashicorp/go-version v1.7.0
require (
github.com/cli/browser v1.3.0
github.com/dustin/go-humanize v1.0.1
github.com/golang-jwt/jwt/v5 v5.2.2
github.com/golang-jwt/jwt/v5 v5.3.0
github.com/hashicorp/go-retryablehttp v0.7.7
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
github.com/lmittmann/tint v1.1.2
github.com/reubenmiller/gojsonq/v2 v2.0.0-20221119213524-0fd921ac20a3
)

Expand Down Expand Up @@ -79,7 +79,6 @@ require (
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
github.com/microcosm-cc/bluemonday v1.0.27 // indirect
github.com/muesli/reflow v0.3.0 // indirect
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 // indirect
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
Expand All @@ -96,14 +95,14 @@ require (
go.mozilla.org/pkcs7 v0.9.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b // indirect
golang.org/x/net v0.41.0 // indirect
golang.org/x/sys v0.33.0 // indirect
golang.org/x/text v0.26.0 // indirect
golang.org/x/net v0.43.0 // indirect
golang.org/x/sys v0.35.0 // indirect
golang.org/x/text v0.28.0 // indirect
gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637 // indirect
rsc.io/qr v0.2.0 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)

go 1.23.7
go 1.24

toolchain go1.24.2
toolchain go1.24.5
36 changes: 16 additions & 20 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ github.com/fsnotify/fsnotify v1.8.0 h1:dAwr6QBTBZIkG8roQaJjGof0pp0EeF+tNV7YBP3F/
github.com/fsnotify/fsnotify v1.8.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss=
github.com/go-viper/mapstructure/v2 v2.2.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
github.com/golang-jwt/jwt/v5 v5.2.2 h1:Rl4B7itRWVtYIHFrSNd7vhTiz9UpLdi6gZhZ3wEeDy8=
github.com/golang-jwt/jwt/v5 v5.2.2/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk=
github.com/golang-jwt/jwt/v5 v5.3.0 h1:pv4AsKCKKZuqlgs5sUmn4x8UlGa0kEVt/puTpKx9vvo=
github.com/golang-jwt/jwt/v5 v5.3.0/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE=
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
Expand Down Expand Up @@ -116,6 +116,8 @@ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/lmittmann/tint v1.1.2 h1:2CQzrL6rslrsyjqLDwD11bZ5OpLBPU+g3G/r5LSfS8w=
github.com/lmittmann/tint v1.1.2/go.mod h1:HIS3gSy7qNwGCj+5oRjAutErFBl4BzdQP6cJZ0NfMwE=
github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
github.com/manifoldco/promptui v0.9.0 h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYthEiA=
Expand Down Expand Up @@ -150,8 +152,6 @@ github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
github.com/olekukonko/ts v0.0.0-20171002115256-78ecb04241c0 h1:LiZB1h0GIcudcDci2bxbqI6DXV8bF8POAnArqvRrIyw=
github.com/olekukonko/ts v0.0.0-20171002115256-78ecb04241c0/go.mod h1:F/7q8/HZz+TXjlsoZQQKVYvXTZaFH4QRa3y+j1p7MS0=
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 h1:lDH9UUVJtmYCjyT0CI4q8xvlXPxeZ0gYCVvWbmPlp88=
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk=
github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M=
github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
Expand All @@ -161,8 +161,8 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/pquerna/otp v1.5.0 h1:NMMR+WrmaqXU4EzdGJEE1aUUI0AMRzsp96fFFWNPwxs=
github.com/pquerna/otp v1.5.0/go.mod h1:dkJfzwRKNiegxyNb54X/3fLwhCynbMspSyWKnvi1AEg=
github.com/reubenmiller/go-c8y v0.37.6 h1:4OLwu9PHLw9sPNMfggQtGuzVh1+gk6U/ZCrIooFUr7g=
github.com/reubenmiller/go-c8y v0.37.6/go.mod h1:63lPvPX6B8xf5GT9PvRrXgM0u5uU5tgZiQRAIfYQDQY=
github.com/reubenmiller/go-c8y v0.37.7-0.20250823091328-e9f46442afa8 h1:NA5pJOaCxdwcM/19JxERbU4Uo8qmVVhBpHiwXwteSD0=
github.com/reubenmiller/go-c8y v0.37.7-0.20250823091328-e9f46442afa8/go.mod h1:u2pwiVXmZr7X687S8h8gUocpFx7jbhm2Oppmn96xB80=
github.com/reubenmiller/gojsonq/v2 v2.0.0-20221119213524-0fd921ac20a3 h1:v8Q77ObTxkm0Wj9iAjcc0VMLxqEzKIdAnaTNPzSiw8Q=
github.com/reubenmiller/gojsonq/v2 v2.0.0-20221119213524-0fd921ac20a3/go.mod h1:QidmUT4ebNVwyjKXAQgx9VFHxpOxBKWs32EEXaXnEfE=
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
Expand Down Expand Up @@ -222,24 +222,20 @@ github.com/yuin/goldmark-emoji v1.0.5 h1:EMVWyCGPlXJfUXBXpuMu+ii3TIaxbVBnEX9uaDC
github.com/yuin/goldmark-emoji v1.0.5/go.mod h1:tTkZEbwu5wkPmgTcitqddVxY9osFZiavD+r4AzQrh1U=
go.mozilla.org/pkcs7 v0.9.0 h1:yM4/HS9dYv7ri2biPtxt8ikvB37a980dg69/pKmS+eI=
go.mozilla.org/pkcs7 v0.9.0/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8=
go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.39.0 h1:SHs+kF4LP+f+p14esP5jAoDpHU8Gu/v9lFRK6IT5imM=
golang.org/x/crypto v0.39.0/go.mod h1:L+Xg3Wf6HoL4Bn4238Z6ft6KfEpN0tJGo53AAPC632U=
golang.org/x/crypto v0.41.0 h1:WKYxWedPGCTVVl5+WHSSrOBT0O8lx32+zxmHxijgXp4=
golang.org/x/crypto v0.41.0/go.mod h1:pO5AFd7FA68rFak7rOAGVuygIISepHftHnr8dr6+sUc=
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b h1:kLiC65FbiHWFAOu+lxwNPujcsl8VYyTYYEZnsOO1WK4=
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.41.0 h1:vBTly1HeNPEn3wtREYfy4GZ/NECgw2Cnl+nK6Nz3uvw=
golang.org/x/net v0.41.0/go.mod h1:B/K4NNqkfmg07DQYrbwvSluqCJOOXwUjeb/5lOisjbA=
golang.org/x/net v0.43.0 h1:lat02VYK2j4aLzMzecihNvTlJNQUq316m2Mr9rnM6YE=
golang.org/x/net v0.43.0/go.mod h1:vhO1fvI4dGsIjh73sWfUVjj3N7CA9WkKJNQm2svM6Jg=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
Expand All @@ -252,18 +248,18 @@ golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw=
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=
golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.32.0 h1:DR4lr0TjUs3epypdhTOkMmuF5CDFJ/8pOnbzMZPQ7bg=
golang.org/x/term v0.32.0/go.mod h1:uZG1FhGx848Sqfsq4/DlJr3xGGsYMu/L5GW4abiaEPQ=
golang.org/x/term v0.34.0 h1:O/2T7POpk0ZZ7MAzMeWFSg6S5IpWd/RXDlM9hgM3DR4=
golang.org/x/term v0.34.0/go.mod h1:5jC53AEywhIVebHgPVeg0mj8OD3VO9OzclacVrqpaAw=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.26.0 h1:P42AVeLghgTYr4+xUnTRKDMqpar+PtX7KWuNQL21L8M=
golang.org/x/text v0.26.0/go.mod h1:QK15LZJUUQVJxhz7wXgxSy/CJaTFjd0G+YLonydOVQA=
golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng=
golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
Expand Down
Loading
Loading