From da5e879594e44a58441302240d7992c51a30ea50 Mon Sep 17 00:00:00 2001 From: ross-spencer Date: Fri, 15 Nov 2024 19:46:06 +0100 Subject: [PATCH] Test --- bolthandler.go | 7 ++++--- csvhandler.go | 3 ++- linkstat.go | 3 ++- linkstathandler.go | 1 + 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/bolthandler.go b/bolthandler.go index e8f80a4..e6c5300 100644 --- a/bolthandler.go +++ b/bolthandler.go @@ -3,12 +3,13 @@ package main import ( "encoding/json" "fmt" - "github.com/httpreserve/httpreserve" - kval "github.com/kval-access-language/kval-bbolt" - "github.com/speps/go-hashids" "log" "os" "time" + + "github.com/httpreserve/httpreserve" + kval "github.com/kval-access-language/kval-bbolt" + "github.com/speps/go-hashids" ) // values to use to create hashid diff --git a/csvhandler.go b/csvhandler.go index 8c2a2ad..1779d21 100644 --- a/csvhandler.go +++ b/csvhandler.go @@ -3,9 +3,10 @@ package main import ( "encoding/json" "fmt" - "github.com/httpreserve/httpreserve" "os" "strings" + + "github.com/httpreserve/httpreserve" ) var csvHeader = []string{"id", "filename", "link", "response code", "response text", "title", diff --git a/linkstat.go b/linkstat.go index 7de2651..a4e3b4b 100644 --- a/linkstat.go +++ b/linkstat.go @@ -3,10 +3,11 @@ package main import ( "flag" "fmt" - "github.com/httpreserve/httpreserve" "log" "os" "time" + + "github.com/httpreserve/httpreserve" ) var ( diff --git a/linkstathandler.go b/linkstathandler.go index a744039..54ae969 100644 --- a/linkstathandler.go +++ b/linkstathandler.go @@ -3,6 +3,7 @@ package main import ( "crypto/md5" "fmt" + "github.com/httpreserve/httpreserve" "github.com/httpreserve/wayback" )