chore(gonf): updated dependencies and fixed go.mod version
This commit is contained in:
parent
e2cd47cb18
commit
aad0157b42
8 changed files with 11 additions and 11 deletions
4
go.mod
4
go.mod
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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")
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue