Skip to content

Commit

Permalink
pre-commit: add more comprehensive golang linting rules
Browse files Browse the repository at this point in the history
Signed-off-by: Maryam Tahhan <[email protected]>
  • Loading branch information
maryamtahhan committed Jul 26, 2024
1 parent 879dc7b commit 61d6677
Show file tree
Hide file tree
Showing 33 changed files with 196 additions and 47 deletions.
116 changes: 114 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,118 @@
run:
timeout: 5m
linters-settings:
dupl:
threshold: 150
goconst:
min-len: 2
min-occurrences: 3
gocritic:
enabled-tags:
- diagnostic
- experimental
- opinionated
- performance
- style
disabled-checks:
- dupImport # https://github.com/go-critic/go-critic/issues/845
- ifElseChain
- octalLiteral
goimports:
local-prefixes: github.com/golangci/golangci-lint

govet:
enable:
- shadow
settings:
printf:
funcs:
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
lll:
line-length: 140
misspell:
locale: US

# output configuration options
output:
# The formats used to render issues.
# Formats:
# - `colored-line-number`
# - `line-number`
# - `json`
# - `colored-tab`
# - `tab`
# - `html`
# - `checkstyle`
# - `code-climate`
# - `junit-xml`
# - `github-actions`
# - `teamcity`
# - `sarif`
# Output path can be either `stdout`, `stderr` or path to the file to write to.
#
# For the CLI flag (`--out-format`), multiple formats can be specified by separating them by comma.
# The output can be specified for each of them by separating format name and path by colon symbol.
# Example: "--out-format=checkstyle:report.xml,json:stdout,colored-line-number"
# The CLI flag (`--out-format`) override the configuration file.
#
# Default:
# formats:
# - format: colored-line-number
# path: stdout
formats:
- format: colored-line-number
path: stdout
# Print lines of code with issue.
# Default: true
print-issued-lines: true
# Print linter name in the end of issue text.
# Default: true
print-linter-name: true
# Make issues output unique by line.
# Default: true
uniq-by-line: false
# Add a prefix to the output file references.
# Default: ""
path-prefix: ""
# Sort results by the order defined in `sort-order`.
# Default: false
sort-results: true
# Order to use when sorting results.
# Require `sort-results` to `true`.
# Possible values: `file`, `linter`, and `severity`.
#
# If the severity values are inside the following list, they are ordered in this order:
# 1. error
# 2. warning
# 3. high
# 4. medium
# 5. low
# Either they are sorted alphabetically.
#
# Default: ["file"]
sort-order:
- linter
- severity
- file # filepath, line, and column.
# Show statistics per linter.
# Default: false
show-stats: true
linters:
# # Disable all linters.
# # Default: false
disable-all: true
# # Enable specific linter
# # https://golangci-lint.run/usage/linters/#enabled-by-default
enable:
- dupl
- gofmt
- goimports
- ineffassign
- misspell
- nolintlint
- whitespace
- asciicheck
# # Enable only fast linters from enabled linters set (first run won't be fast)
# # Default: false
fast: true
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ repos:
args: [--toml, cndp-codespell.precommit-toml]
additional_dependencies:
- tomli
exclude: doc/api/doxy-api-index.md|lang/rs/wireguard/patch/*
exclude: doc/api/doxy-api-index.md|^lang/rs/wireguard/patch/000*.*
2 changes: 1 addition & 1 deletion lang/go/bindings/cne/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/CloudNativeDataPlane/cndp/lang/go/bindings/cne

go 1.19
go 1.22

require github.com/tidwall/jsonc v0.3.2

Expand Down
4 changes: 3 additions & 1 deletion lang/go/bindings/examples/distributor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/CloudNativeDataPlane/cndp/lang/go/bindings/examples/distributor

go 1.20
go 1.22

toolchain go1.22.3

require (
github.com/CloudNativeDataPlane/cndp/lang/go/bindings/cne v0.0.0-00010101000000-000000000000
Expand Down
2 changes: 2 additions & 0 deletions lang/go/bindings/examples/distributor/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/gopacket v1.1.19 h1:ves8RnFZPGiFnTS0uPQStjwru6uO6h+nlr9j6fL7kF8=
github.com/google/gopacket v1.1.19/go.mod h1:iJ8V8n6KS+z2U1A8pUwu8bW5SyEMkXJB8Yo/Vo+TKTo=
github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc=
github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
Expand Down
4 changes: 3 additions & 1 deletion lang/go/bindings/examples/fwd/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ replace github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/etimers => ../..

replace github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/colorize => ../../../tools/pkgs/colorize

go 1.18
go 1.22

toolchain go1.22.3

require (
github.com/CloudNativeDataPlane/cndp/lang/go/bindings/cne v0.0.0-00010101000000-000000000000
Expand Down
2 changes: 2 additions & 0 deletions lang/go/bindings/examples/fwd/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ github.com/gdamore/encoding v1.0.0/go.mod h1:alR0ol34c49FCSBLjhosxzcPHQbf2trDkoo
github.com/gdamore/tcell/v2 v2.4.1-0.20210905002822-f057f0a857a1/go.mod h1:Az6Jt+M5idSED2YPGtwnfJV0kXohgdCBPmHGSYc1r04=
github.com/gdamore/tcell/v2 v2.5.2 h1:tKzG29kO9p2V++3oBY2W9zUjYu7IK1MENFeY/BzJSVY=
github.com/gdamore/tcell/v2 v2.5.2/go.mod h1:wSkrPaXoiIWZqW/g7Px4xc79di6FTcpB8tvaKJ6uGBo=
github.com/google/gopacket v1.1.19 h1:ves8RnFZPGiFnTS0uPQStjwru6uO6h+nlr9j6fL7kF8=
github.com/google/gopacket v1.1.19/go.mod h1:iJ8V8n6KS+z2U1A8pUwu8bW5SyEMkXJB8Yo/Vo+TKTo=
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/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU=
Expand Down
4 changes: 3 additions & 1 deletion lang/go/bindings/examples/sampling/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ replace github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/etimers => ../..

replace github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/colorize => ../../../tools/pkgs/colorize

go 1.18
go 1.22

toolchain go1.22.3

require (
github.com/CloudNativeDataPlane/cndp/lang/go/bindings/cne v0.0.0-00010101000000-000000000000
Expand Down
1 change: 1 addition & 0 deletions lang/go/bindings/examples/sampling/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ github.com/gdamore/tcell/v2 v2.4.1-0.20210905002822-f057f0a857a1/go.mod h1:Az6Jt
github.com/gdamore/tcell/v2 v2.5.2 h1:tKzG29kO9p2V++3oBY2W9zUjYu7IK1MENFeY/BzJSVY=
github.com/gdamore/tcell/v2 v2.5.2/go.mod h1:wSkrPaXoiIWZqW/g7Px4xc79di6FTcpB8tvaKJ6uGBo=
github.com/google/gopacket v1.1.19 h1:ves8RnFZPGiFnTS0uPQStjwru6uO6h+nlr9j6fL7kF8=
github.com/google/gopacket v1.1.19/go.mod h1:iJ8V8n6KS+z2U1A8pUwu8bW5SyEMkXJB8Yo/Vo+TKTo=
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/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU=
Expand Down
4 changes: 3 additions & 1 deletion lang/go/bindings/examples/tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ module github.com/CloudNativeDataPlane/cndp/lang/go/bindings/example/tests

replace github.com/CloudNativeDataPlane/cndp/lang/go/bindings/cne => ../../cne

go 1.18
go 1.22

toolchain go1.22.3

require (
github.com/CloudNativeDataPlane/cndp/lang/go/bindings/cne v0.0.0-00010101000000-000000000000
Expand Down
2 changes: 2 additions & 0 deletions lang/go/bindings/examples/tests/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
github.com/franela/goblin v0.0.0-20211003143422-0a4f594942bf h1:NrF81UtW8gG2LBGkXFQFqlfNnvMt9WdB46sfdJY4oqc=
github.com/franela/goblin v0.0.0-20211003143422-0a4f594942bf/go.mod h1:VzmDKDJVZI3aJmnRI9VjAn9nJ8qPPsN1fqzr9dqInIo=
github.com/google/gopacket v1.1.19 h1:ves8RnFZPGiFnTS0uPQStjwru6uO6h+nlr9j6fL7kF8=
github.com/google/gopacket v1.1.19/go.mod h1:iJ8V8n6KS+z2U1A8pUwu8bW5SyEMkXJB8Yo/Vo+TKTo=
github.com/tidwall/jsonc v0.3.2 h1:ZTKrmejRlAJYdn0kcaFqRAKlxxFIC21pYq8vLa4p2Wc=
github.com/tidwall/jsonc v0.3.2/go.mod h1:dw+3CIxqHi+t8eFSpzzMlcVYxKp08UP5CD8/uSFCyJE=
golang.org/x/sys v0.0.0-20220829200755-d48e67d00261 h1:v6hYoSR9T5oet+pMXwUWkbiVqx/63mlHjefrHmxwfeY=
Expand Down
14 changes: 12 additions & 2 deletions lang/go/stats/metrics/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
module github.com/CloudNativeDataPlane/cndp/lang/go/stats/metrics

go 1.18
go 1.22

require github.com/fsnotify/fsnotify v1.5.1
require (
github.com/fsnotify/fsnotify v1.5.1
github.com/stretchr/testify v1.9.0
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
10 changes: 10 additions & 0 deletions lang/go/stats/metrics/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI=
github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c h1:F1jZWGFhYfh0Ci55sIpILtKKK8p3i2/krTr0H1rg74I=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
15 changes: 14 additions & 1 deletion lang/go/stats/prometheus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,22 @@ module github.com/CloudNativeDataPlane/cndp/lang/go/stats/prometheus

replace github.com/CloudNativeDataPlane/cndp/lang/go/stats/metrics => ../metrics

go 1.18
go 1.22

require (
github.com/CloudNativeDataPlane/cndp/lang/go/stats/metrics v0.0.0-00010101000000-000000000000
github.com/prometheus/client_golang v1.12.1
)

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.32.1 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 // indirect
google.golang.org/protobuf v1.26.0 // indirect
)
2 changes: 1 addition & 1 deletion lang/go/tools/cmon/cmon.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
flags "github.com/jessevdk/go-flags"

"github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/etimers"
"github.com/gdamore/tcell/v2"
tcell "github.com/gdamore/tcell/v2"
"github.com/rivo/tview"
)

Expand Down
4 changes: 2 additions & 2 deletions lang/go/tools/cmon/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ replace github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/irq => ../pkgs/i

replace github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/utils => ../pkgs/utils

go 1.18
go 1.22

require (
github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/colorize v0.0.0-00010101000000-000000000000
Expand All @@ -43,7 +43,7 @@ require (
github.com/tklauser/go-sysconf v0.3.10 // indirect
github.com/tklauser/numcpus v0.4.0 // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
golang.org/x/sys v0.1.0 // indirect
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d // indirect
golang.org/x/text v0.3.8 // indirect
)
4 changes: 2 additions & 2 deletions lang/go/tools/cmon/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ golang.org/x/sys v0.0.0-20210309074719-68d13333faf2/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220318055525-2edf467146b5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f h1:v4INt8xihDGvnrfjMDVXGxw9wrfxYyCjk0KbXjhR55s=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d h1:SZxvLBoTP5yHO3Frd4z4vrF+DBX9vMVanchswa69toE=
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
Expand Down
2 changes: 1 addition & 1 deletion lang/go/tools/cmon/helpers_tview.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"

cz "github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/colorize"
"github.com/gdamore/tcell/v2"
tcell "github.com/gdamore/tcell/v2"
"github.com/rivo/tview"
)

Expand Down
2 changes: 1 addition & 1 deletion lang/go/tools/cmon/panel_irq.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strconv"
"strings"

"github.com/gdamore/tcell/v2"
tcell "github.com/gdamore/tcell/v2"

cz "github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/colorize"
"github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/irq"
Expand Down
2 changes: 1 addition & 1 deletion lang/go/tools/cmon/select_window.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"

cz "github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/colorize"
"github.com/gdamore/tcell/v2"
tcell "github.com/gdamore/tcell/v2"
"github.com/rivo/tview"
)

Expand Down
2 changes: 1 addition & 1 deletion lang/go/tools/pkgs/asciichart/cmd/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module github.com/CloudNativeDataPlane/cndp/lang/go/tool/pkgs/asciichart/cmd

replace github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/asciichart => ../../asciichart

go 1.18
go 1.22

require github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/asciichart v0.0.0-00010101000000-000000000000
2 changes: 1 addition & 1 deletion lang/go/tools/pkgs/asciichart/examples/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ replace github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/asciichart => ..

replace github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/ttylog => ../../ttylog

go 1.18
go 1.22

require github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/asciichart v0.0.0-00010101000000-000000000000
2 changes: 1 addition & 1 deletion lang/go/tools/pkgs/asciichart/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/asciichart

go 1.18
go 1.22
2 changes: 1 addition & 1 deletion lang/go/tools/pkgs/colorize/colorize.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"strings"

"github.com/gdamore/tcell/v2"
tcell "github.com/gdamore/tcell/v2"
)

// colorizeInfo structure
Expand Down
2 changes: 1 addition & 1 deletion lang/go/tools/pkgs/colorize/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/colorize

go 1.18
go 1.22

require github.com/gdamore/tcell/v2 v2.4.0

Expand Down
2 changes: 1 addition & 1 deletion lang/go/tools/pkgs/etimers/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/etimers

replace github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/ttylog => ../ttylog

go 1.18
go 1.22

require github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/ttylog v0.0.0-00010101000000-000000000000
2 changes: 1 addition & 1 deletion lang/go/tools/pkgs/graphdata/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ replace github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/asciichart => ..

replace github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/ttylog => ../ttylog

go 1.18
go 1.22

require (
github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/asciichart v0.0.0-00010101000000-000000000000
Expand Down
2 changes: 1 addition & 1 deletion lang/go/tools/pkgs/hexdump/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/CloudNativeDataPlane/cndp/lang/go/tools/pkgs/hexdump

go 1.18
go 1.22
Loading

0 comments on commit 61d6677

Please sign in to comment.