This commit is contained in:
Christopher Ramey 2019-12-26 16:08:43 -09:00 committed by Christopher Ramey
parent 56f7663171
commit e8d5116ac2
8 changed files with 19 additions and 19 deletions

View File

@ -1,11 +1,11 @@
package main
import (
"git.binarythought.com/cdramey/qurl/storage"
"time"
"fmt"
"path"
"git.binarythought.com/cdramey/qurl/storage"
"os"
"path"
"time"
)
func manageBackup(stor storage.Storage, dir string, interval int) {

View File

@ -3,10 +3,10 @@ package main
import (
"encoding/json"
"fmt"
"git.binarythought.com/cdramey/qurl/obj"
"git.binarythought.com/cdramey/qurl/storage"
"net"
"os"
"git.binarythought.com/cdramey/qurl/storage"
"git.binarythought.com/cdramey/qurl/obj"
"time"
)

View File

@ -3,11 +3,11 @@ package main
import (
"flag"
"fmt"
"git.binarythought.com/cdramey/qurl/pages"
"git.binarythought.com/cdramey/qurl/storage"
"net"
"net/http"
"os"
"git.binarythought.com/cdramey/qurl/pages"
"git.binarythought.com/cdramey/qurl/storage"
)
//go:generate go run ./togo -n Favicon_ico -i assets/favicon.ico -p static -o static/favicon_ico.go

View File

@ -2,9 +2,9 @@ package obj
import (
"fmt"
"net/url"
"strings"
"time"
"net/url"
)
type QURL struct {

View File

@ -2,11 +2,11 @@ package pages
import (
"fmt"
"html/template"
"net/http"
"git.binarythought.com/cdramey/qurl/obj"
"git.binarythought.com/cdramey/qurl/static"
"git.binarythought.com/cdramey/qurl/storage"
"git.binarythought.com/cdramey/qurl/obj"
"html/template"
"net/http"
)
type RootHandler struct {

View File

@ -3,8 +3,8 @@ package bolt
import (
bolt "go.etcd.io/bbolt"
"net/url"
"time"
"os"
"time"
)
type BoltStorage struct {

View File

@ -2,9 +2,9 @@ package storage
import (
"fmt"
"net/url"
"git.binarythought.com/cdramey/qurl/obj"
"git.binarythought.com/cdramey/qurl/storage/bolt"
"net/url"
"strings"
)