From eb6b019e74b2893a86fbac8a20b9affc9c4d43d2 Mon Sep 17 00:00:00 2001 From: bth Date: Sun, 6 Sep 2026 16:55:46 -0700 Subject: [PATCH] git.bth.moi/bth/um --- cat/cat.go | 6 +++--- flags/help.go | 2 +- go.mod | 3 ++- go.sum | 1 + last/last.go | 4 ++-- mv/mv.go | 10 +++++----- next/next.go | 6 +++--- sort/sort.go | 6 +++--- tag/parse.go | 2 +- tag/tag.go | 6 +++--- um.go | 14 +++++++------- 11 files changed, 31 insertions(+), 29 deletions(-) diff --git a/cat/cat.go b/cat/cat.go index 2b8dfd8..ee96b5e 100644 --- a/cat/cat.go +++ b/cat/cat.go @@ -9,9 +9,9 @@ import ( "regexp" "strings" - "github.com/brtholomy/um/go/cmd" - "github.com/brtholomy/um/go/flags" - "github.com/brtholomy/um/go/pipe" + "git.bth.moi/bth/um/cmd" + "git.bth.moi/bth/um/flags" + "git.bth.moi/bth/um/pipe" ) const ( diff --git a/flags/help.go b/flags/help.go index 5ec106c..7ea80f1 100644 --- a/flags/help.go +++ b/flags/help.go @@ -7,7 +7,7 @@ import ( "strings" "text/tabwriter" - "github.com/brtholomy/um/go/cmd" + "git.bth.moi/bth/um/cmd" ) type HelpError struct { diff --git a/go.mod b/go.mod index 45527f1..5bdfc62 100644 --- a/go.mod +++ b/go.mod @@ -2,9 +2,10 @@ module git.bth.moi/bth/um go 1.25.4 +require github.com/stretchr/testify v1.11.1 + require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/stretchr/testify v1.11.1 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index cc8b3f4..c4c1710 100644 --- a/go.sum +++ b/go.sum @@ -4,6 +4,7 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/last/last.go b/last/last.go index 17b0890..b1a4a28 100644 --- a/last/last.go +++ b/last/last.go @@ -6,8 +6,8 @@ import ( "log" "path/filepath" - "github.com/brtholomy/um/go/cmd" - "github.com/brtholomy/um/go/flags" + "git.bth.moi/bth/um/cmd" + "git.bth.moi/bth/um/flags" ) const ( diff --git a/mv/mv.go b/mv/mv.go index 7d27825..47f91e3 100644 --- a/mv/mv.go +++ b/mv/mv.go @@ -7,11 +7,11 @@ import ( "os" "strings" - "github.com/brtholomy/um/go/cat" - "github.com/brtholomy/um/go/cmd" - "github.com/brtholomy/um/go/flags" - "github.com/brtholomy/um/go/next" - "github.com/brtholomy/um/go/pipe" + "git.bth.moi/bth/um/cat" + "git.bth.moi/bth/um/cmd" + "git.bth.moi/bth/um/flags" + "git.bth.moi/bth/um/next" + "git.bth.moi/bth/um/pipe" ) const ( diff --git a/next/next.go b/next/next.go index a80ec39..eb857c8 100644 --- a/next/next.go +++ b/next/next.go @@ -10,9 +10,9 @@ import ( "strings" "time" - "github.com/brtholomy/um/go/cmd" - "github.com/brtholomy/um/go/flags" - "github.com/brtholomy/um/go/last" + "git.bth.moi/bth/um/cmd" + "git.bth.moi/bth/um/flags" + "git.bth.moi/bth/um/last" ) const ( diff --git a/sort/sort.go b/sort/sort.go index 7f67c1f..b2b0a22 100644 --- a/sort/sort.go +++ b/sort/sort.go @@ -8,9 +8,9 @@ import ( "slices" "strings" - "github.com/brtholomy/um/go/cmd" - "github.com/brtholomy/um/go/flags" - "github.com/brtholomy/um/go/pipe" + "git.bth.moi/bth/um/cmd" + "git.bth.moi/bth/um/flags" + "git.bth.moi/bth/um/pipe" ) const ( diff --git a/tag/parse.go b/tag/parse.go index 897f774..f0cb868 100644 --- a/tag/parse.go +++ b/tag/parse.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "github.com/brtholomy/um/go/pipe" + "git.bth.moi/bth/um/pipe" ) const ( diff --git a/tag/tag.go b/tag/tag.go index 5436fce..ea20698 100644 --- a/tag/tag.go +++ b/tag/tag.go @@ -6,9 +6,9 @@ import ( "log" "os" - "github.com/brtholomy/um/go/cmd" - "github.com/brtholomy/um/go/flags" - "github.com/brtholomy/um/go/last" + "git.bth.moi/bth/um/cmd" + "git.bth.moi/bth/um/flags" + "git.bth.moi/bth/um/last" ) const ( diff --git a/um.go b/um.go index 5c139d8..20eb32b 100644 --- a/um.go +++ b/um.go @@ -5,13 +5,13 @@ import ( "log" "os" - "github.com/brtholomy/um/go/cat" - "github.com/brtholomy/um/go/cmd" - "github.com/brtholomy/um/go/last" - "github.com/brtholomy/um/go/mv" - "github.com/brtholomy/um/go/next" - "github.com/brtholomy/um/go/sort" - "github.com/brtholomy/um/go/tag" + "git.bth.moi/bth/um/cat" + "git.bth.moi/bth/um/cmd" + "git.bth.moi/bth/um/last" + "git.bth.moi/bth/um/mv" + "git.bth.moi/bth/um/next" + "git.bth.moi/bth/um/sort" + "git.bth.moi/bth/um/tag" ) var helpShort string = fmt.Sprintf("um [%s | %s | %s | %s | %s | %s | %s]", cmd.Next, cmd.Last, cmd.Tag, cmd.Cat, cmd.Sort, cmd.Mv, cmd.Help)