chore(gonf): updated dependencies and fixed go.mod version

This commit is contained in:
Julien Dessaux 2024-09-16 23:44:12 +02:00
parent e2cd47cb18
commit aad0157b42
Signed by: adyxax
GPG key ID: F92E51B86E07177E
8 changed files with 11 additions and 11 deletions

4
go.mod
View file

@ -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 require golang.org/x/crypto v0.27.0

View file

@ -8,7 +8,7 @@ import (
"log/slog" "log/slog"
"path/filepath" "path/filepath"
gonf "git.adyxax.org/adyxax/gonf/v2/pkg" gonf "git.adyxax.org/adyxax/gonf/pkg"
) )
//go:embed borg-script-template //go:embed borg-script-template

View file

@ -1,6 +1,6 @@
package borg package borg
import gonf "git.adyxax.org/adyxax/gonf/v2/pkg" import gonf "git.adyxax.org/adyxax/gonf/pkg"
func installBorgPackage() gonf.Status { func installBorgPackage() gonf.Status {
packag := gonf.Package("borgbackup") packag := gonf.Package("borgbackup")

View file

@ -4,7 +4,7 @@ import (
"log/slog" "log/slog"
"path/filepath" "path/filepath"
gonf "git.adyxax.org/adyxax/gonf/v2/pkg" gonf "git.adyxax.org/adyxax/gonf/pkg"
) )
type BorgServer struct { type BorgServer struct {

View file

@ -8,7 +8,7 @@ import (
"os/exec" "os/exec"
"strings" "strings"
gonf "git.adyxax.org/adyxax/gonf/v2/pkg" gonf "git.adyxax.org/adyxax/gonf/pkg"
) )
var packages map[string]string var packages map[string]string

View file

@ -3,9 +3,9 @@ package debian
import ( import (
_ "embed" _ "embed"
gonf "git.adyxax.org/adyxax/gonf/v2/pkg" gonf "git.adyxax.org/adyxax/gonf/pkg"
"git.adyxax.org/adyxax/gonf/v2/stdlib/os/linux" "git.adyxax.org/adyxax/gonf/stdlib/os/linux"
"git.adyxax.org/adyxax/gonf/v2/stdlib/os/systemd" "git.adyxax.org/adyxax/gonf/stdlib/os/systemd"
) )
//go:embed apt-norecommends //go:embed apt-norecommends

View file

@ -1,7 +1,7 @@
package linux package linux
import ( import (
"git.adyxax.org/adyxax/gonf/v2/pkg" "git.adyxax.org/adyxax/gonf/pkg"
"os/exec" "os/exec"
) )

View file

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"os/exec" "os/exec"
gonf "git.adyxax.org/adyxax/gonf/v2/pkg" gonf "git.adyxax.org/adyxax/gonf/pkg"
) )
func Promise() { func Promise() {