summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorJulien Dessaux2024-09-16 23:44:12 +0200
committerJulien Dessaux2024-09-16 23:44:59 +0200
commitaad0157b42d3a0215d011eac2226f4154bec804c (patch)
treea58e5a73845c60ce05eda743732db05dc30bcdd0 /stdlib
parentchore(gonf): updated dependencies (diff)
downloadgonf-aad0157b42d3a0215d011eac2226f4154bec804c.tar.gz
gonf-aad0157b42d3a0215d011eac2226f4154bec804c.tar.bz2
gonf-aad0157b42d3a0215d011eac2226f4154bec804c.zip
chore(gonf): updated dependencies and fixed go.mod version
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/backups/borg/client.go2
-rw-r--r--stdlib/backups/borg/common.go2
-rw-r--r--stdlib/backups/borg/server.go2
-rw-r--r--stdlib/os/debian/apt.go2
-rw-r--r--stdlib/os/debian/debian.go6
-rw-r--r--stdlib/os/linux/useradd.go2
-rw-r--r--stdlib/os/systemd/systemd.go2
7 files changed, 9 insertions, 9 deletions
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() {