diff options
author | Julien Dessaux | 2024-09-16 23:44:12 +0200 |
---|---|---|
committer | Julien Dessaux | 2024-09-16 23:44:59 +0200 |
commit | aad0157b42d3a0215d011eac2226f4154bec804c (patch) | |
tree | a58e5a73845c60ce05eda743732db05dc30bcdd0 | |
parent | chore(gonf): updated dependencies (diff) | |
download | gonf-aad0157b42d3a0215d011eac2226f4154bec804c.tar.gz gonf-aad0157b42d3a0215d011eac2226f4154bec804c.tar.bz2 gonf-aad0157b42d3a0215d011eac2226f4154bec804c.zip |
chore(gonf): updated dependencies and fixed go.mod version
Diffstat (limited to '')
-rw-r--r-- | go.mod | 4 | ||||
-rw-r--r-- | stdlib/backups/borg/client.go | 2 | ||||
-rw-r--r-- | stdlib/backups/borg/common.go | 2 | ||||
-rw-r--r-- | stdlib/backups/borg/server.go | 2 | ||||
-rw-r--r-- | stdlib/os/debian/apt.go | 2 | ||||
-rw-r--r-- | stdlib/os/debian/debian.go | 6 | ||||
-rw-r--r-- | stdlib/os/linux/useradd.go | 2 | ||||
-rw-r--r-- | stdlib/os/systemd/systemd.go | 2 |
8 files changed, 11 insertions, 11 deletions
@@ -1,6 +1,6 @@ -module git.adyxax.org/adyxax/gonf/v2 +module git.adyxax.org/adyxax/gonf -go 1.23.0 +go 1.23.1 require golang.org/x/crypto v0.27.0 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() { |