diff --git a/flock/go.mod b/flock/go.mod deleted file mode 100644 index d62500e..0000000 --- a/flock/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module git.crumpington.com/lib/flock - -go 1.23.0 diff --git a/flock/go.sum b/flock/go.sum deleted file mode 100644 index e69de29..0000000 diff --git a/httpconn/go.mod b/httpconn/go.mod deleted file mode 100644 index cf6a02b..0000000 --- a/httpconn/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module git.crumpington.com/lib/httpconn - -go 1.23.2 - -require golang.org/x/net v0.30.0 diff --git a/httpconn/go.sum b/httpconn/go.sum deleted file mode 100644 index b338806..0000000 --- a/httpconn/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4= -golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU= diff --git a/idgen/go.mod b/idgen/go.mod deleted file mode 100644 index 65e2186..0000000 --- a/idgen/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module git.crumpington.com/lib/idgen - -go 1.23.2 diff --git a/keyedmutex/go.mod b/keyedmutex/go.mod deleted file mode 100644 index dae5dde..0000000 --- a/keyedmutex/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module git.crumpington.com/lib/keyedmutex - -go 1.23.2 diff --git a/kvmemcache/cache.go b/kvmemcache/cache.go index 1648047..50eab4c 100644 --- a/kvmemcache/cache.go +++ b/kvmemcache/cache.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "git.crumpington.com/lib/keyedmutex" + "git.crumpington.com/lib/go/keyedmutex" ) type Cache[K comparable, V any] struct { diff --git a/kvmemcache/go.mod b/kvmemcache/go.mod deleted file mode 100644 index 1f3d823..0000000 --- a/kvmemcache/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module git.crumpington.com/lib/kvmemcache - -go 1.23.2 - -require git.crumpington.com/lib/keyedmutex v1.0.1 diff --git a/kvmemcache/go.sum b/kvmemcache/go.sum deleted file mode 100644 index 1581bac..0000000 --- a/kvmemcache/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -git.crumpington.com/lib/keyedmutex v1.0.1 h1:5ylwGXQzL9ojZIhlqkut6dpa4yt6Wz6bOWbf/tQBAMQ= -git.crumpington.com/lib/keyedmutex v1.0.1/go.mod h1:VxxJRU/XvvF61IuJZG7kUIv954Q8+Rh8bnVpEzGYrQ4= diff --git a/mmap/go.mod b/mmap/go.mod deleted file mode 100644 index c265826..0000000 --- a/mmap/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module git.crumpington.com/lib/mmap - -go 1.23.2 diff --git a/mmap/go.sum b/mmap/go.sum deleted file mode 100644 index e69de29..0000000 diff --git a/pgutil/go.mod b/pgutil/go.mod deleted file mode 100644 index 6cab6ef..0000000 --- a/pgutil/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module git.crumpington.com/git/pgutil - -go 1.23.2 - -require github.com/lib/pq v1.10.9 diff --git a/pgutil/go.sum b/pgutil/go.sum deleted file mode 100644 index aeddeae..0000000 --- a/pgutil/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= -github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= diff --git a/ratelimiter/go.mod b/ratelimiter/go.mod deleted file mode 100644 index b6a02db..0000000 --- a/ratelimiter/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module git.crumpington.com/lib/ratelimiter - -go 1.23.2 diff --git a/sqlgen/README.md b/sqlgen/README.md index 27e99cf..360f886 100644 --- a/sqlgen/README.md +++ b/sqlgen/README.md @@ -3,7 +3,7 @@ ## Installing ``` -go install git.crumpington.com/lib/sqlgen/cmd/sqlgen@latest +go install git.crumpington.com/lib/go/sqlgen/cmd/sqlgen@latest ``` ## Usage diff --git a/sqlgen/cmd/sqlgen/main.go b/sqlgen/cmd/sqlgen/main.go index 958cb62..ef054e1 100644 --- a/sqlgen/cmd/sqlgen/main.go +++ b/sqlgen/cmd/sqlgen/main.go @@ -1,6 +1,6 @@ package main -import "git.crumpington.com/lib/sqlgen" +import "git.crumpington.com/lib/go/sqlgen" func main() { sqlgen.Main() diff --git a/sqlgen/go.mod b/sqlgen/go.mod deleted file mode 100644 index d8275a5..0000000 --- a/sqlgen/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module git.crumpington.com/lib/sqlgen - -go 1.23.2 diff --git a/sqliteutil/go.mod b/sqliteutil/go.mod deleted file mode 100644 index 91f0673..0000000 --- a/sqliteutil/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module git.crumpington.com/lib/sqliteutil - -go 1.23.2 - -require github.com/mattn/go-sqlite3 v1.14.24 // indirect diff --git a/sqliteutil/go.sum b/sqliteutil/go.sum deleted file mode 100644 index 9dcdc9b..0000000 --- a/sqliteutil/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -github.com/mattn/go-sqlite3 v1.14.24 h1:tpSp2G2KyMnnQu99ngJ47EIkWVmliIizyZBfPrBWDRM= -github.com/mattn/go-sqlite3 v1.14.24/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= diff --git a/tagengine/go.mod b/tagengine/go.mod deleted file mode 100644 index 0d28550..0000000 --- a/tagengine/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module git.crumpington.com/lib/tagengine - -go 1.23.2 diff --git a/tagengine/go.sum b/tagengine/go.sum deleted file mode 100644 index e69de29..0000000 diff --git a/tagengine/sanitize.go b/tagengine/sanitize.go index 3928c3b..f520c2e 100644 --- a/tagengine/sanitize.go +++ b/tagengine/sanitize.go @@ -3,7 +3,7 @@ package tagengine import ( "strings" - "git.crumpington.com/lib/tagengine/sanitize" + "git.crumpington.com/lib/go/tagengine/sanitize" ) // The basic sanitizer: diff --git a/webutil/go.mod b/webutil/go.mod deleted file mode 100644 index 3eed7f5..0000000 --- a/webutil/go.mod +++ /dev/null @@ -1,10 +0,0 @@ -module git.crumpington.com/lib/webutil - -go 1.23.2 - -require golang.org/x/crypto v0.28.0 - -require ( - golang.org/x/net v0.21.0 // indirect - golang.org/x/text v0.19.0 // indirect -) diff --git a/webutil/go.sum b/webutil/go.sum deleted file mode 100644 index 50ea1d3..0000000 --- a/webutil/go.sum +++ /dev/null @@ -1,6 +0,0 @@ -golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= -golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= -golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4= -golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= -golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM= -golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=