Mass rewrite imports -> git.wntrmute.dev repo.

This commit is contained in:
2023-05-04 13:58:43 -07:00
parent 0dd4e1c6ca
commit ad03c5f991
30 changed files with 41 additions and 41 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ import (
"io"
"sort"
"git.sr.ht/~kisom/goutils/assert"
"git.wntrmute.dev/kyle/goutils/assert"
"golang.org/x/crypto/blake2b"
"golang.org/x/crypto/blake2s"
"golang.org/x/crypto/md4"
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"fmt"
"testing"
"git.sr.ht/~kisom/goutils/assert"
"git.wntrmute.dev/kyle/goutils/assert"
)
func TestSecureHash(t *testing.T) {
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"fmt"
"regexp"
"git.sr.ht/~kisom/goutils/die"
"git.wntrmute.dev/kyle/goutils/die"
)
var hasPort = regexp.MustCompile(`:\d+$`)
+2 -2
View File
@@ -11,8 +11,8 @@ import (
"time"
"github.com/cloudflare/cfssl/helpers"
"git.sr.ht/~kisom/goutils/die"
"git.sr.ht/~kisom/goutils/lib"
"git.wntrmute.dev/kyle/goutils/die"
"git.wntrmute.dev/kyle/goutils/lib"
)
var warnOnly bool
+2 -2
View File
@@ -10,8 +10,8 @@ import (
"github.com/cloudflare/cfssl/helpers"
"github.com/cloudflare/cfssl/revoke"
"git.sr.ht/~kisom/goutils/die"
"git.sr.ht/~kisom/goutils/lib"
"git.wntrmute.dev/kyle/goutils/die"
"git.wntrmute.dev/kyle/goutils/lib"
)
func printRevocation(cert *x509.Certificate) {
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"strings"
"sync"
"git.sr.ht/~kisom/goutils/lib"
"git.wntrmute.dev/kyle/goutils/lib"
"github.com/pkg/sftp"
"golang.org/x/crypto/ssh"
"golang.org/x/crypto/ssh/agent"
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"os"
"path/filepath"
"git.sr.ht/~kisom/goutils/die"
"git.wntrmute.dev/kyle/goutils/die"
)
var (
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"io/ioutil"
"log"
"git.sr.ht/~kisom/goutils/die"
"git.wntrmute.dev/kyle/goutils/die"
)
func main() {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"flag"
"os"
"git.sr.ht/~kisom/goutils/die"
"git.wntrmute.dev/kyle/goutils/die"
)
// size of a kilobit in bytes
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"path/filepath"
"strconv"
"git.sr.ht/~kisom/goutils/die"
"git.wntrmute.dev/kyle/goutils/die"
)
func init() {
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"io/ioutil"
"os"
"git.sr.ht/~kisom/goutils/lib"
"git.wntrmute.dev/kyle/goutils/lib"
)
func prettify(file string, validateOnly bool) error {
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"sort"
"strings"
"git.sr.ht/~kisom/goutils/die"
"git.wntrmute.dev/kyle/goutils/die"
)
const dbVersion = "1"
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"io/ioutil"
"os"
"git.sr.ht/~kisom/goutils/lib"
"git.wntrmute.dev/kyle/goutils/lib"
)
func main() {
+3 -3
View File
@@ -8,9 +8,9 @@ import (
"io"
"os"
"git.sr.ht/~kisom/goutils/assert"
"git.sr.ht/~kisom/goutils/die"
"git.sr.ht/~kisom/goutils/lib"
"git.wntrmute.dev/kyle/goutils/assert"
"git.wntrmute.dev/kyle/goutils/die"
"git.wntrmute.dev/kyle/goutils/lib"
)
func usage(w io.Writer) {
+2 -2
View File
@@ -11,8 +11,8 @@ import (
"path/filepath"
"strings"
"git.sr.ht/~kisom/goutils/fileutil"
"git.sr.ht/~kisom/goutils/lib"
"git.wntrmute.dev/kyle/goutils/fileutil"
"git.wntrmute.dev/kyle/goutils/lib"
)
func hashName(path, encodedHash string) string {
+3 -3
View File
@@ -9,9 +9,9 @@ import (
"os"
"path/filepath"
"git.sr.ht/~kisom/goutils/ahash"
"git.sr.ht/~kisom/goutils/die"
"git.sr.ht/~kisom/goutils/lib"
"git.wntrmute.dev/kyle/goutils/ahash"
"git.wntrmute.dev/kyle/goutils/die"
"git.wntrmute.dev/kyle/goutils/lib"
)
func usage(w io.Writer) {
+2 -2
View File
@@ -12,8 +12,8 @@ import (
"sort"
"strings"
"git.sr.ht/~kisom/goutils/die"
"git.sr.ht/~kisom/goutils/logging"
"git.wntrmute.dev/kyle/goutils/die"
"git.wntrmute.dev/kyle/goutils/logging"
)
var (
+2 -2
View File
@@ -17,8 +17,8 @@ import (
"os"
"strings"
"git.sr.ht/~kisom/goutils/die"
"git.sr.ht/~kisom/goutils/lib"
"git.wntrmute.dev/kyle/goutils/die"
"git.wntrmute.dev/kyle/goutils/lib"
)
func usage(w io.Writer) {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"log"
"net"
"git.sr.ht/~kisom/goutils/die"
"git.wntrmute.dev/kyle/goutils/die"
)
func proxy(conn net.Conn, inside string) error {
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"net"
"os"
"git.sr.ht/~kisom/goutils/die"
"git.wntrmute.dev/kyle/goutils/die"
)
func main() {
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"net"
"os"
"git.sr.ht/~kisom/goutils/die"
"git.wntrmute.dev/kyle/goutils/die"
)
func main() {
+2 -2
View File
@@ -9,8 +9,8 @@ import (
"io"
"os"
"git.sr.ht/~kisom/goutils/die"
"git.sr.ht/~kisom/goutils/lib"
"git.wntrmute.dev/kyle/goutils/die"
"git.wntrmute.dev/kyle/goutils/lib"
)
func init() {
+1 -1
View File
@@ -15,7 +15,7 @@ import (
"log"
"os"
"git.sr.ht/~kisom/goutils/die"
"git.wntrmute.dev/kyle/goutils/die"
)
var validPEMs = map[string]bool{
+1 -1
View File
@@ -15,7 +15,7 @@ import (
"os"
"strings"
"git.sr.ht/~kisom/goutils/config/iniconf"
"git.wntrmute.dev/kyle/goutils/config/iniconf"
)
// NB: Rather than define a singleton type, everything is defined at
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"os"
"testing"
"git.sr.ht/~kisom/goutils/testio"
"git.wntrmute.dev/kyle/goutils/testio"
"github.com/stretchr/testify/require"
)
+1 -1
View File
@@ -1,4 +1,4 @@
module git.sr.ht/~kisom/goutils
module git.wntrmute.dev/kyle/goutils
go 1.13
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"testing"
"git.sr.ht/~kisom/goutils/assert"
"git.wntrmute.dev/kyle/goutils/assert"
)
// some CA certs I found on my computerbox.
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"os"
"time"
"git.sr.ht/~kisom/goutils/logging"
"git.wntrmute.dev/kyle/goutils/logging"
)
var log = logging.NewConsole()
+1 -1
View File
@@ -3,7 +3,7 @@ package logging_test
import (
"time"
"git.sr.ht/~kisom/goutils/logging"
"git.wntrmute.dev/kyle/goutils/logging"
)
var log = logging.NewConsole()
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"bytes"
"testing"
"git.sr.ht/~kisom/goutils/assert"
"git.sr.ht/~kisom/goutils/testio"
"git.wntrmute.dev/kyle/goutils/assert"
"git.wntrmute.dev/kyle/goutils/testio"
)
func TestMWC(t *testing.T) {