diff --git a/BUILD.bazel b/BUILD.bazel index c29d136..53b06b1 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -10,3 +10,13 @@ go_library( importpath = "git.wntrmute.dev/kyle/goutils", visibility = ["//visibility:public"], ) + +gazelle( + name = "gazelle-update-repos", + args = [ + "-from_file=go.mod", + "-to_macro=deps.bzl%go_dependencies", + "-prune", + ], + command = "update-repos", +) diff --git a/ahash/BUILD.bazel b/ahash/BUILD.bazel index f57a52e..03b2093 100644 --- a/ahash/BUILD.bazel +++ b/ahash/BUILD.bazel @@ -6,7 +6,7 @@ go_library( importpath = "git.wntrmute.dev/kyle/goutils/ahash", visibility = ["//visibility:public"], deps = [ - "@ht_sr_git_kisom_goutils//assert:go_default_library", + "//assert", "@org_golang_x_crypto//blake2b", "@org_golang_x_crypto//blake2s", "@org_golang_x_crypto//md4", @@ -17,7 +17,8 @@ go_library( go_test( name = "ahash_test", + size = "small", srcs = ["ahash_test.go"], embed = [":ahash"], - deps = ["@ht_sr_git_kisom_goutils//assert:go_default_library"], + deps = ["//assert"], ) diff --git a/cmd/certchain/BUILD.bazel b/cmd/certchain/BUILD.bazel index 8f52448..08e1511 100644 --- a/cmd/certchain/BUILD.bazel +++ b/cmd/certchain/BUILD.bazel @@ -5,7 +5,7 @@ go_library( srcs = ["certchain.go"], importpath = "git.wntrmute.dev/kyle/goutils/cmd/certchain", visibility = ["//visibility:private"], - deps = ["@ht_sr_git_kisom_goutils//die:go_default_library"], + deps = ["//die"], ) go_binary( diff --git a/cmd/certexpiry/BUILD.bazel b/cmd/certexpiry/BUILD.bazel index 1fbd180..f236109 100644 --- a/cmd/certexpiry/BUILD.bazel +++ b/cmd/certexpiry/BUILD.bazel @@ -6,9 +6,9 @@ go_library( importpath = "git.wntrmute.dev/kyle/goutils/cmd/certexpiry", visibility = ["//visibility:private"], deps = [ + "//die", + "//lib", "@com_github_cloudflare_cfssl//helpers", - "@ht_sr_git_kisom_goutils//die:go_default_library", - "@ht_sr_git_kisom_goutils//lib:go_default_library", ], ) diff --git a/cmd/certverify/BUILD.bazel b/cmd/certverify/BUILD.bazel index ca403fd..957f782 100644 --- a/cmd/certverify/BUILD.bazel +++ b/cmd/certverify/BUILD.bazel @@ -6,10 +6,10 @@ go_library( importpath = "git.wntrmute.dev/kyle/goutils/cmd/certverify", visibility = ["//visibility:private"], deps = [ + "//die", + "//lib", "@com_github_cloudflare_cfssl//helpers", "@com_github_cloudflare_cfssl//revoke", - "@ht_sr_git_kisom_goutils//die:go_default_library", - "@ht_sr_git_kisom_goutils//lib:go_default_library", ], ) diff --git a/cmd/clustersh/BUILD.bazel b/cmd/clustersh/BUILD.bazel index 8490736..3136b81 100644 --- a/cmd/clustersh/BUILD.bazel +++ b/cmd/clustersh/BUILD.bazel @@ -6,8 +6,8 @@ go_library( importpath = "git.wntrmute.dev/kyle/goutils/cmd/clustersh", visibility = ["//visibility:private"], deps = [ + "//lib", "@com_github_pkg_sftp//:sftp", - "@ht_sr_git_kisom_goutils//lib:go_default_library", "@org_golang_x_crypto//ssh", "@org_golang_x_crypto//ssh/agent", ], diff --git a/cmd/cruntar/BUILD.bazel b/cmd/cruntar/BUILD.bazel index c2c0fa9..0eeec9f 100644 --- a/cmd/cruntar/BUILD.bazel +++ b/cmd/cruntar/BUILD.bazel @@ -5,7 +5,7 @@ go_library( srcs = ["main.go"], importpath = "git.wntrmute.dev/kyle/goutils/cmd/cruntar", visibility = ["//visibility:private"], - deps = ["@ht_sr_git_kisom_goutils//die:go_default_library"], + deps = ["//die"], ) go_binary( diff --git a/cmd/csrpubdump/BUILD.bazel b/cmd/csrpubdump/BUILD.bazel index 54df914..daa652f 100644 --- a/cmd/csrpubdump/BUILD.bazel +++ b/cmd/csrpubdump/BUILD.bazel @@ -5,7 +5,7 @@ go_library( srcs = ["pubdump.go"], importpath = "git.wntrmute.dev/kyle/goutils/cmd/csrpubdump", visibility = ["//visibility:private"], - deps = ["@ht_sr_git_kisom_goutils//die:go_default_library"], + deps = ["//die"], ) go_binary( diff --git a/cmd/eig/BUILD.bazel b/cmd/eig/BUILD.bazel index 7bb114e..b002fdd 100644 --- a/cmd/eig/BUILD.bazel +++ b/cmd/eig/BUILD.bazel @@ -5,7 +5,7 @@ go_library( srcs = ["main.go"], importpath = "git.wntrmute.dev/kyle/goutils/cmd/eig", visibility = ["//visibility:private"], - deps = ["@ht_sr_git_kisom_goutils//die:go_default_library"], + deps = ["//die"], ) go_binary( diff --git a/cmd/fragment/BUILD.bazel b/cmd/fragment/BUILD.bazel index cbd00b5..114d914 100644 --- a/cmd/fragment/BUILD.bazel +++ b/cmd/fragment/BUILD.bazel @@ -5,7 +5,7 @@ go_library( srcs = ["fragment.go"], importpath = "git.wntrmute.dev/kyle/goutils/cmd/fragment", visibility = ["//visibility:private"], - deps = ["@ht_sr_git_kisom_goutils//die:go_default_library"], + deps = ["//die"], ) go_binary( diff --git a/cmd/jlp/BUILD.bazel b/cmd/jlp/BUILD.bazel index 9a1cb59..a1b7acd 100644 --- a/cmd/jlp/BUILD.bazel +++ b/cmd/jlp/BUILD.bazel @@ -5,7 +5,7 @@ go_library( srcs = ["jlp.go"], importpath = "git.wntrmute.dev/kyle/goutils/cmd/jlp", visibility = ["//visibility:private"], - deps = ["@ht_sr_git_kisom_goutils//lib:go_default_library"], + deps = ["//lib"], ) go_binary( diff --git a/cmd/parts/BUILD.bazel b/cmd/parts/BUILD.bazel index 6fb66cf..4b5171d 100644 --- a/cmd/parts/BUILD.bazel +++ b/cmd/parts/BUILD.bazel @@ -5,7 +5,7 @@ go_library( srcs = ["main.go"], importpath = "git.wntrmute.dev/kyle/goutils/cmd/parts", visibility = ["//visibility:private"], - deps = ["@ht_sr_git_kisom_goutils//die:go_default_library"], + deps = ["//die"], ) go_binary( diff --git a/cmd/pembody/BUILD.bazel b/cmd/pembody/BUILD.bazel index 05c2b07..45fabb4 100644 --- a/cmd/pembody/BUILD.bazel +++ b/cmd/pembody/BUILD.bazel @@ -5,7 +5,7 @@ go_library( srcs = ["pembody.go"], importpath = "git.wntrmute.dev/kyle/goutils/cmd/pembody", visibility = ["//visibility:private"], - deps = ["@ht_sr_git_kisom_goutils//lib:go_default_library"], + deps = ["//lib"], ) go_binary( diff --git a/cmd/pemit/BUILD.bazel b/cmd/pemit/BUILD.bazel index 37ca13e..3bbc077 100644 --- a/cmd/pemit/BUILD.bazel +++ b/cmd/pemit/BUILD.bazel @@ -6,9 +6,9 @@ go_library( importpath = "git.wntrmute.dev/kyle/goutils/cmd/pemit", visibility = ["//visibility:private"], deps = [ - "@ht_sr_git_kisom_goutils//assert:go_default_library", - "@ht_sr_git_kisom_goutils//die:go_default_library", - "@ht_sr_git_kisom_goutils//lib:go_default_library", + "//assert", + "//die", + "//lib", ], ) diff --git a/cmd/renfnv/BUILD.bazel b/cmd/renfnv/BUILD.bazel index 884fd1a..e39ed78 100644 --- a/cmd/renfnv/BUILD.bazel +++ b/cmd/renfnv/BUILD.bazel @@ -6,8 +6,8 @@ go_library( importpath = "git.wntrmute.dev/kyle/goutils/cmd/renfnv", visibility = ["//visibility:private"], deps = [ - "@ht_sr_git_kisom_goutils//fileutil:go_default_library", - "@ht_sr_git_kisom_goutils//lib:go_default_library", + "//fileutil", + "//lib", ], ) diff --git a/cmd/rhash/BUILD.bazel b/cmd/rhash/BUILD.bazel index 286d3aa..fb91257 100644 --- a/cmd/rhash/BUILD.bazel +++ b/cmd/rhash/BUILD.bazel @@ -6,9 +6,9 @@ go_library( importpath = "git.wntrmute.dev/kyle/goutils/cmd/rhash", visibility = ["//visibility:private"], deps = [ - "@ht_sr_git_kisom_goutils//ahash:go_default_library", - "@ht_sr_git_kisom_goutils//die:go_default_library", - "@ht_sr_git_kisom_goutils//lib:go_default_library", + "//ahash", + "//die", + "//lib", ], ) diff --git a/cmd/showimp/BUILD.bazel b/cmd/showimp/BUILD.bazel index efbd204..e09b027 100644 --- a/cmd/showimp/BUILD.bazel +++ b/cmd/showimp/BUILD.bazel @@ -6,8 +6,8 @@ go_library( importpath = "git.wntrmute.dev/kyle/goutils/cmd/showimp", visibility = ["//visibility:private"], deps = [ - "@ht_sr_git_kisom_goutils//die:go_default_library", - "@ht_sr_git_kisom_goutils//logging:go_default_library", + "//die", + "//logging", ], ) diff --git a/cmd/ski/BUILD.bazel b/cmd/ski/BUILD.bazel index b65e476..0cb9187 100644 --- a/cmd/ski/BUILD.bazel +++ b/cmd/ski/BUILD.bazel @@ -6,8 +6,8 @@ go_library( importpath = "git.wntrmute.dev/kyle/goutils/cmd/ski", visibility = ["//visibility:private"], deps = [ - "@ht_sr_git_kisom_goutils//die:go_default_library", - "@ht_sr_git_kisom_goutils//lib:go_default_library", + "//die", + "//lib", ], ) diff --git a/cmd/sprox/BUILD.bazel b/cmd/sprox/BUILD.bazel index 92bd382..fe51def 100644 --- a/cmd/sprox/BUILD.bazel +++ b/cmd/sprox/BUILD.bazel @@ -5,7 +5,7 @@ go_library( srcs = ["main.go"], importpath = "git.wntrmute.dev/kyle/goutils/cmd/sprox", visibility = ["//visibility:private"], - deps = ["@ht_sr_git_kisom_goutils//die:go_default_library"], + deps = ["//die"], ) go_binary( diff --git a/cmd/stealchain-server/BUILD.bazel b/cmd/stealchain-server/BUILD.bazel index 009dea5..15b759b 100644 --- a/cmd/stealchain-server/BUILD.bazel +++ b/cmd/stealchain-server/BUILD.bazel @@ -5,7 +5,7 @@ go_library( srcs = ["main.go"], importpath = "git.wntrmute.dev/kyle/goutils/cmd/stealchain-server", visibility = ["//visibility:private"], - deps = ["@ht_sr_git_kisom_goutils//die:go_default_library"], + deps = ["//die"], ) go_binary( diff --git a/cmd/stealchain/BUILD.bazel b/cmd/stealchain/BUILD.bazel index b5b6c95..e760b5c 100644 --- a/cmd/stealchain/BUILD.bazel +++ b/cmd/stealchain/BUILD.bazel @@ -5,7 +5,7 @@ go_library( srcs = ["thief.go"], importpath = "git.wntrmute.dev/kyle/goutils/cmd/stealchain", visibility = ["//visibility:private"], - deps = ["@ht_sr_git_kisom_goutils//die:go_default_library"], + deps = ["//die"], ) go_binary( diff --git a/cmd/subjhash/BUILD.bazel b/cmd/subjhash/BUILD.bazel index 7b62d2a..6ec9f61 100644 --- a/cmd/subjhash/BUILD.bazel +++ b/cmd/subjhash/BUILD.bazel @@ -6,8 +6,8 @@ go_library( importpath = "git.wntrmute.dev/kyle/goutils/cmd/subjhash", visibility = ["//visibility:private"], deps = [ - "@ht_sr_git_kisom_goutils//die:go_default_library", - "@ht_sr_git_kisom_goutils//lib:go_default_library", + "//die", + "//lib", ], ) diff --git a/cmd/tlskeypair/BUILD.bazel b/cmd/tlskeypair/BUILD.bazel index 74f9549..9896197 100644 --- a/cmd/tlskeypair/BUILD.bazel +++ b/cmd/tlskeypair/BUILD.bazel @@ -5,7 +5,7 @@ go_library( srcs = ["main.go"], importpath = "git.wntrmute.dev/kyle/goutils/cmd/tlskeypair", visibility = ["//visibility:private"], - deps = ["@ht_sr_git_kisom_goutils//die:go_default_library"], + deps = ["//die"], ) go_binary( diff --git a/config/BUILD.bazel b/config/BUILD.bazel index ae44615..21cfcff 100644 --- a/config/BUILD.bazel +++ b/config/BUILD.bazel @@ -8,11 +8,12 @@ go_library( ], importpath = "git.wntrmute.dev/kyle/goutils/config", visibility = ["//visibility:public"], - deps = ["@ht_sr_git_kisom_goutils//config/iniconf:go_default_library"], + deps = ["//config/iniconf"], ) go_test( name = "config_test", + size = "small", srcs = [ "config_test.go", "path_test.go", diff --git a/config/iniconf/BUILD.bazel b/config/iniconf/BUILD.bazel index d8fdf6b..b66d730 100644 --- a/config/iniconf/BUILD.bazel +++ b/config/iniconf/BUILD.bazel @@ -9,6 +9,7 @@ go_library( go_test( name = "iniconf_test", + size = "small", srcs = ["iniconf_test.go"], data = glob(["testdata/**"]), embed = [":iniconf"], diff --git a/dbg/BUILD.bazel b/dbg/BUILD.bazel index 9a1774d..c55279b 100644 --- a/dbg/BUILD.bazel +++ b/dbg/BUILD.bazel @@ -12,7 +12,8 @@ go_test( srcs = ["dbg_test.go"], embed = [":dbg"], deps = [ + "//testio", "@com_github_stretchr_testify//require", - "@ht_sr_git_kisom_goutils//testio:go_default_library", ], + size = "small", ) diff --git a/deps.bzl b/deps.bzl index 79387fa..46d7553 100644 --- a/deps.bzl +++ b/deps.bzl @@ -304,8 +304,8 @@ def go_dependencies(): go_repository( name = "org_golang_x_crypto", importpath = "golang.org/x/crypto", - sum = "h1:xYJJ3S178yv++9zXV/hnr29plCAGO9vAFG9dorqaFQc=", - version = "v0.0.0-20201124201722-c8d3bf9c5392", + sum = "h1:4yd7jl+vXjalO5ztz6Vc1VADv+S/80LGJmyl1ROJ2AI=", + version = "v0.0.0-20201012173705-84dcc777aaee", ) go_repository( name = "org_golang_x_lint", @@ -322,8 +322,8 @@ def go_dependencies(): go_repository( name = "org_golang_x_sys", importpath = "golang.org/x/sys", - sum = "h1:f1CIuDlJhwANEC2MM87MBEVMr3jl5bifgsfj90XAF9c=", - version = "v0.0.0-20201126233918-771906719818", + sum = "h1:+Nyd8tzPX9R7BWHguqsrbFdRx3WQ/1ib8I44HXV5yTA=", + version = "v0.0.0-20200930185726-fdedc70b468f", ) go_repository( name = "org_golang_x_term", diff --git a/go.mod b/go.mod index 8bcb4b2..1feb51a 100644 --- a/go.mod +++ b/go.mod @@ -1,15 +1,22 @@ module git.wntrmute.dev/kyle/goutils -go 1.13 +go 1.20 require ( github.com/cloudflare/cfssl v1.5.0 - github.com/kisom/goutils v1.1.0 github.com/kr/text v0.2.0 github.com/pkg/errors v0.9.1 github.com/pkg/sftp v1.12.0 github.com/stretchr/testify v1.6.1 - golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392 - golang.org/x/sys v0.0.0-20201126233918-771906719818 + golang.org/x/crypto v0.0.0-20201012173705-84dcc777aaee + golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f gopkg.in/yaml.v2 v2.4.0 ) + +require ( + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/google/certificate-transparency-go v1.0.21 // indirect + github.com/kr/fs v0.1.0 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect +) diff --git a/go.sum b/go.sum index 47f7b75..735d13e 100644 --- a/go.sum +++ b/go.sum @@ -22,7 +22,6 @@ github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJS github.com/jmhodges/clock v0.0.0-20160418191101-880ee4c33548/go.mod h1:hGT6jSUVzF6no3QaDSMLGLEHtHSBSefs+MgcDWnmhmo= github.com/jmoiron/sqlx v1.2.0/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks= github.com/kisielk/sqlstruct v0.0.0-20150923205031-648daed35d49/go.mod h1:yyMNCyc/Ib3bDTKd379tNMpB/7/H5TjM2Y9QJ5THLbE= -github.com/kisom/goutils v1.1.0 h1:z4HEOgAnFq+e1+O4QdVsyDPatJDu5Ei/7w7DRbYjsIA= github.com/kisom/goutils v1.1.0/go.mod h1:+UBTfd78habUYWFbNWTJNG+jNG/i/lGURakr4A/yNRw= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8= @@ -71,9 +70,8 @@ golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200124225646-8b5121be2f68/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201012173705-84dcc777aaee h1:4yd7jl+vXjalO5ztz6Vc1VADv+S/80LGJmyl1ROJ2AI= golang.org/x/crypto v0.0.0-20201012173705-84dcc777aaee/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392 h1:xYJJ3S178yv++9zXV/hnr29plCAGO9vAFG9dorqaFQc= -golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= @@ -83,12 +81,8 @@ golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwY golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f h1:+Nyd8tzPX9R7BWHguqsrbFdRx3WQ/1ib8I44HXV5yTA= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201126233918-771906719818 h1:f1CIuDlJhwANEC2MM87MBEVMr3jl5bifgsfj90XAF9c= -golang.org/x/sys v0.0.0-20201126233918-771906719818/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/term v0.0.0-20201117132131-f5c789dd3221 h1:/ZHdbVpdR/jk3g30/d4yUL0JU9kksj8+F/bnQUVLGDM= -golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= diff --git a/lib/BUILD.bazel b/lib/BUILD.bazel index da36b7f..1ce1a39 100644 --- a/lib/BUILD.bazel +++ b/lib/BUILD.bazel @@ -112,5 +112,6 @@ go_test( name = "lib_test", srcs = ["lib_test.go"], embed = [":lib"], - deps = ["@ht_sr_git_kisom_goutils//assert:go_default_library"], + deps = ["//assert"], + size = "small", ) diff --git a/logging/BUILD.bazel b/logging/BUILD.bazel index 0a400da..af733f8 100644 --- a/logging/BUILD.bazel +++ b/logging/BUILD.bazel @@ -20,5 +20,5 @@ go_test( "log_test.go", ], embed = [":logging"], - deps = ["@ht_sr_git_kisom_goutils//logging:go_default_library"], + size = "small", ) diff --git a/logging/example/BUILD.bazel b/logging/example/BUILD.bazel index 7b59a3c..8f1fad6 100644 --- a/logging/example/BUILD.bazel +++ b/logging/example/BUILD.bazel @@ -5,7 +5,7 @@ go_library( srcs = ["example.go"], importpath = "git.wntrmute.dev/kyle/goutils/logging/example", visibility = ["//visibility:private"], - deps = ["@ht_sr_git_kisom_goutils//logging:go_default_library"], + deps = ["//logging"], ) go_binary( diff --git a/mwc/BUILD.bazel b/mwc/BUILD.bazel index b58028a..b5fe655 100644 --- a/mwc/BUILD.bazel +++ b/mwc/BUILD.bazel @@ -12,7 +12,8 @@ go_test( srcs = ["mwc_test.go"], embed = [":mwc"], deps = [ - "@ht_sr_git_kisom_goutils//assert:go_default_library", - "@ht_sr_git_kisom_goutils//testio:go_default_library", + "//assert", + "//testio", ], + size = "small", ) diff --git a/rand/BUILD.bazel b/rand/BUILD.bazel index 443e133..159728b 100644 --- a/rand/BUILD.bazel +++ b/rand/BUILD.bazel @@ -11,4 +11,5 @@ go_test( name = "rand_test", srcs = ["rand_test.go"], embed = [":rand"], + size = "small", ) diff --git a/sbuf/BUILD.bazel b/sbuf/BUILD.bazel index ac72329..f605a2c 100644 --- a/sbuf/BUILD.bazel +++ b/sbuf/BUILD.bazel @@ -12,4 +12,5 @@ go_test( srcs = ["sbuf_test.go"], embed = [":sbuf"], deps = ["@org_golang_x_crypto//nacl/box"], + size = "small", ) diff --git a/testio/BUILD.bazel b/testio/BUILD.bazel index 96a12de..ce53aec 100644 --- a/testio/BUILD.bazel +++ b/testio/BUILD.bazel @@ -11,4 +11,5 @@ go_test( name = "testio_test", srcs = ["testio_test.go"], embed = [":testio"], + size = "small", ) diff --git a/testio/README.md b/testio/README.md index c4d28a4..92f56d4 100644 --- a/testio/README.md +++ b/testio/README.md @@ -9,7 +9,7 @@ This is a collection of various utility io types: * LoggingBuffer You can check out the -[godoc](https://godoc.org/github.com/kisom/goutils/testio) for dtails. +[godoc](https://godoc.io/git.wntrmute.dev/kyle/goutils/testio) for dtails. It was imported from [kisom/testio](https://github.com/kisom/testio/). The original Git directory is preserved in git-hist.tar.xz.