From b33f413975bb547cd1d8606ccfaf4a2aee28488e Mon Sep 17 00:00:00 2001 From: tyler Date: Wed, 13 Dec 2023 11:24:28 -0500 Subject: [PATCH] Changed random library to go-utils/random --- chat.go | 2 +- go.mod | 7 +++++-- go.sum | 8 ++++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/chat.go b/chat.go index de4f013..eb3174a 100644 --- a/chat.go +++ b/chat.go @@ -10,7 +10,7 @@ import ( "strconv" "strings" - "github.com/tylertravisty/random" + "github.com/tylertravisty/go-utils/random" ) type ChatInfo struct { diff --git a/go.mod b/go.mod index a7a34c0..e1d4d51 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,11 @@ module github.com/tylertravisty/rumble-livestream-lib-go go 1.19 require ( - github.com/robertkrimen/otto v0.2.1 // indirect - github.com/tylertravisty/random v0.0.0-20210907021019-42b7944f3ad5 // indirect + github.com/robertkrimen/otto v0.2.1 + github.com/tylertravisty/go-utils v0.0.0-20230524204414-6893ae548909 +) + +require ( golang.org/x/text v0.4.0 // indirect gopkg.in/sourcemap.v1 v1.0.5 // indirect ) diff --git a/go.sum b/go.sum index e73bbdf..5743d45 100644 --- a/go.sum +++ b/go.sum @@ -1,8 +1,12 @@ +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/robertkrimen/otto v0.2.1 h1:FVP0PJ0AHIjC+N4pKCG9yCDz6LHNPCwi/GKID5pGGF0= github.com/robertkrimen/otto v0.2.1/go.mod h1:UPwtJ1Xu7JrLcZjNWN8orJaM5n5YEtqL//farB5FlRY= -github.com/tylertravisty/random v0.0.0-20210907021019-42b7944f3ad5 h1:13ClHNZRQ+3Ktg6Q6MVjcGZS9xBiFpmgvUg0jkQ/TEY= -github.com/tylertravisty/random v0.0.0-20210907021019-42b7944f3ad5/go.mod h1:4mNgC4SPDnTcDJ5U2JZW1hCrVZdUQNWoLlp+t57gOLU= +github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/tylertravisty/go-utils v0.0.0-20230524204414-6893ae548909 h1:xrjIFqzGQXlCrCdMPpW6+SodGFSlrQ3ZNUCr3f5tF1g= +github.com/tylertravisty/go-utils v0.0.0-20230524204414-6893ae548909/go.mod h1:2W31Jhs9YSy7y500wsCOW0bcamGi9foQV1CKrfvfTxk= golang.org/x/text v0.4.0 h1:BrVqGRd7+k1DiOgtnFvAkoQEWQvBc25ouMJM6429SFg= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= gopkg.in/sourcemap.v1 v1.0.5 h1:inv58fC9f9J3TK2Y2R1NPntXEn3/wjWHkonhIUODNTI= gopkg.in/sourcemap.v1 v1.0.5/go.mod h1:2RlvNNSMglmRrcvhfuzp4hQHwOtjxlbjX7UPY/GXb78= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=