From aad0157b42d3a0215d011eac2226f4154bec804c Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 16 Sep 2024 23:44:12 +0200 Subject: chore(gonf): updated dependencies and fixed go.mod version --- stdlib/backups/borg/client.go | 2 +- stdlib/backups/borg/common.go | 2 +- stdlib/backups/borg/server.go | 2 +- stdlib/os/debian/apt.go | 2 +- stdlib/os/debian/debian.go | 6 +++--- stdlib/os/linux/useradd.go | 2 +- stdlib/os/systemd/systemd.go | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) (limited to 'stdlib') diff --git a/stdlib/backups/borg/client.go b/stdlib/backups/borg/client.go index 95d8d0d..b0c8292 100644 --- a/stdlib/backups/borg/client.go +++ b/stdlib/backups/borg/client.go @@ -8,7 +8,7 @@ import ( "log/slog" "path/filepath" - gonf "git.adyxax.org/adyxax/gonf/v2/pkg" + gonf "git.adyxax.org/adyxax/gonf/pkg" ) //go:embed borg-script-template diff --git a/stdlib/backups/borg/common.go b/stdlib/backups/borg/common.go index 60d14f2..bc27558 100644 --- a/stdlib/backups/borg/common.go +++ b/stdlib/backups/borg/common.go @@ -1,6 +1,6 @@ package borg -import gonf "git.adyxax.org/adyxax/gonf/v2/pkg" +import gonf "git.adyxax.org/adyxax/gonf/pkg" func installBorgPackage() gonf.Status { packag := gonf.Package("borgbackup") diff --git a/stdlib/backups/borg/server.go b/stdlib/backups/borg/server.go index 29794d8..d699485 100644 --- a/stdlib/backups/borg/server.go +++ b/stdlib/backups/borg/server.go @@ -4,7 +4,7 @@ import ( "log/slog" "path/filepath" - gonf "git.adyxax.org/adyxax/gonf/v2/pkg" + gonf "git.adyxax.org/adyxax/gonf/pkg" ) type BorgServer struct { diff --git a/stdlib/os/debian/apt.go b/stdlib/os/debian/apt.go index 3b72b9f..6b3baa2 100644 --- a/stdlib/os/debian/apt.go +++ b/stdlib/os/debian/apt.go @@ -8,7 +8,7 @@ import ( "os/exec" "strings" - gonf "git.adyxax.org/adyxax/gonf/v2/pkg" + gonf "git.adyxax.org/adyxax/gonf/pkg" ) var packages map[string]string diff --git a/stdlib/os/debian/debian.go b/stdlib/os/debian/debian.go index 95af85d..8820f8d 100644 --- a/stdlib/os/debian/debian.go +++ b/stdlib/os/debian/debian.go @@ -3,9 +3,9 @@ package debian import ( _ "embed" - gonf "git.adyxax.org/adyxax/gonf/v2/pkg" - "git.adyxax.org/adyxax/gonf/v2/stdlib/os/linux" - "git.adyxax.org/adyxax/gonf/v2/stdlib/os/systemd" + gonf "git.adyxax.org/adyxax/gonf/pkg" + "git.adyxax.org/adyxax/gonf/stdlib/os/linux" + "git.adyxax.org/adyxax/gonf/stdlib/os/systemd" ) //go:embed apt-norecommends diff --git a/stdlib/os/linux/useradd.go b/stdlib/os/linux/useradd.go index 8dfee8b..34c26e6 100644 --- a/stdlib/os/linux/useradd.go +++ b/stdlib/os/linux/useradd.go @@ -1,7 +1,7 @@ package linux import ( - "git.adyxax.org/adyxax/gonf/v2/pkg" + "git.adyxax.org/adyxax/gonf/pkg" "os/exec" ) diff --git a/stdlib/os/systemd/systemd.go b/stdlib/os/systemd/systemd.go index 46a35da..8e34f28 100644 --- a/stdlib/os/systemd/systemd.go +++ b/stdlib/os/systemd/systemd.go @@ -4,7 +4,7 @@ import ( "fmt" "os/exec" - gonf "git.adyxax.org/adyxax/gonf/v2/pkg" + gonf "git.adyxax.org/adyxax/gonf/pkg" ) func Promise() { -- cgit v1.2.3