From 89442bb269851e81ca8ad0636dedda5665d0a5e2 Mon Sep 17 00:00:00 2001 From: James Mills Date: Tue, 8 Jun 2021 22:49:56 +1000 Subject: [PATCH] Update shortuuid dep --- app/app.go | 2 +- go.mod | 3 +-- go.sum | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/app.go b/app/app.go index 171154c..33e5846 100644 --- a/app/app.go +++ b/app/app.go @@ -19,10 +19,10 @@ import ( "github.com/fsnotify/fsnotify" "github.com/gorilla/handlers" "github.com/gorilla/mux" + shortuuid "github.com/lithammer/shortuuid/v3" "github.com/prologic/tube/importers" "github.com/prologic/tube/media" "github.com/prologic/tube/utils" - "github.com/renstrom/shortuuid" log "github.com/sirupsen/logrus" ) diff --git a/go.mod b/go.mod index 08528be..3a84cab 100644 --- a/go.mod +++ b/go.mod @@ -8,12 +8,11 @@ require ( github.com/dhowden/tag v0.0.0-20201120070457-d52dcb253c63 github.com/dustin/go-humanize v1.0.0 github.com/fsnotify/fsnotify v1.4.9 - github.com/google/uuid v1.2.0 // indirect github.com/gorilla/handlers v1.5.1 github.com/gorilla/mux v1.8.0 + github.com/lithammer/shortuuid/v3 v3.0.7 github.com/prologic/bitcask v0.3.10 github.com/prologic/vimeodl v0.0.0-20200328030915-d2b0e6272c23 - github.com/renstrom/shortuuid v3.0.0+incompatible github.com/sirupsen/logrus v1.8.1 github.com/spf13/pflag v1.0.5 github.com/wybiral/feeds v1.1.1 diff --git a/go.sum b/go.sum index 3be6e77..fb6790e 100644 --- a/go.sum +++ b/go.sum @@ -139,6 +139,8 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/lithammer/shortuuid/v3 v3.0.7 h1:trX0KTHy4Pbwo/6ia8fscyHoGA+mf1jWbPJVuvyJQQ8= +github.com/lithammer/shortuuid/v3 v3.0.7/go.mod h1:vMk8ke37EmiewwolSO1NLW8vP4ZaKlRuDIi8tWWmAts= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= @@ -186,8 +188,6 @@ github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y8 github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/renstrom/shortuuid v3.0.0+incompatible h1:F6T1U7bWlI3FTV+JE8HyeR7bkTeYZJntqQLA9ST4HOQ= -github.com/renstrom/shortuuid v3.0.0+incompatible/go.mod h1:n18Ycpn8DijG+h/lLBQVnGKv1BCtTeXo8KKSbBOrQ8c= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=