The systemd service backend imported github.com/coreos/go-systemd while calling v22-only API, and compiled only because of a local replace onto the v22 module. Replace directives are ignored outside the main module, so every consumer had to mirror that replace, and a consumer that also requires go-systemd/v22 directly could not build at all: Go rejects one module serving two import paths. Import github.com/coreos/go-systemd/v22/dbus directly and drop the replace.
28 lines
804 B
Modula-2
28 lines
804 B
Modula-2
module github.com/grmrgecko/go-network-configurator
|
|
|
|
go 1.24.2
|
|
|
|
require (
|
|
dario.cat/mergo v1.0.2
|
|
github.com/Wifx/gonetworkmanager/v3 v3.2.0
|
|
github.com/coreos/go-systemd/v22 v22.5.0
|
|
github.com/godbus/dbus/v5 v5.1.0
|
|
github.com/kylelemons/godebug v1.1.0
|
|
github.com/prometheus-community/pro-bing v0.7.0
|
|
github.com/sirupsen/logrus v1.9.3
|
|
github.com/stretchr/testify v1.10.0
|
|
github.com/vishvananda/netlink v1.3.1
|
|
github.com/vishvananda/netns v0.0.5
|
|
golang.org/x/sys v0.37.0
|
|
golang.zx2c4.com/wireguard/windows v0.5.3
|
|
gopkg.in/ini.v1 v1.67.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
golang.org/x/net v0.46.0 // indirect
|
|
golang.org/x/sync v0.17.0 // indirect
|
|
)
|