summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--main.go7
-rw-r--r--pkg/atexit/atexit.go (renamed from src/atexit/atexit.go)0
-rw-r--r--pkg/try/try.go (renamed from src/try/try.go)2
-rw-r--r--pkg/watch/watch.go (renamed from src/watch/watch.go)2
-rw-r--r--src/dbx/db.go5
-rw-r--r--src/http.go3
-rw-r--r--src/templates.go5
7 files changed, 13 insertions, 11 deletions
diff --git a/main.go b/main.go
index dd7328e..729be63 100644
--- a/main.go
+++ b/main.go
@@ -9,12 +9,13 @@ import (
"path/filepath"
"syscall"
+ "git.thomasvoss.com/euro-cash.eu/pkg/atexit"
+ . "git.thomasvoss.com/euro-cash.eu/pkg/try"
+ "git.thomasvoss.com/euro-cash.eu/pkg/watch"
+
"git.thomasvoss.com/euro-cash.eu/src"
"git.thomasvoss.com/euro-cash.eu/src/dbx"
- "git.thomasvoss.com/euro-cash.eu/src/atexit"
"git.thomasvoss.com/euro-cash.eu/src/email"
- . "git.thomasvoss.com/euro-cash.eu/src/try"
- "git.thomasvoss.com/euro-cash.eu/src/watch"
)
func main() {
diff --git a/src/atexit/atexit.go b/pkg/atexit/atexit.go
index ed35ccf..ed35ccf 100644
--- a/src/atexit/atexit.go
+++ b/pkg/atexit/atexit.go
diff --git a/src/try/try.go b/pkg/try/try.go
index d2ea27e..2576dcd 100644
--- a/src/try/try.go
+++ b/pkg/try/try.go
@@ -3,7 +3,7 @@ package try
import (
"log"
- "git.thomasvoss.com/euro-cash.eu/src/atexit"
+ "git.thomasvoss.com/euro-cash.eu/pkg/atexit"
)
func Try(e error) {
diff --git a/src/watch/watch.go b/pkg/watch/watch.go
index 84f9ed9..f409dac 100644
--- a/src/watch/watch.go
+++ b/pkg/watch/watch.go
@@ -7,7 +7,7 @@ import (
"os"
"time"
- . "git.thomasvoss.com/euro-cash.eu/src/try"
+ . "git.thomasvoss.com/euro-cash.eu/pkg/try"
)
func File(path string, f func()) {
diff --git a/src/dbx/db.go b/src/dbx/db.go
index e97b9ea..fcb345e 100644
--- a/src/dbx/db.go
+++ b/src/dbx/db.go
@@ -9,10 +9,9 @@ import (
"sort"
"strings"
+ "git.thomasvoss.com/euro-cash.eu/pkg/atexit"
+ . "git.thomasvoss.com/euro-cash.eu/pkg/try"
"github.com/mattn/go-sqlite3"
-
- "git.thomasvoss.com/euro-cash.eu/src/atexit"
- . "git.thomasvoss.com/euro-cash.eu/src/try"
)
var (
diff --git a/src/http.go b/src/http.go
index babf7f8..6feb865 100644
--- a/src/http.go
+++ b/src/http.go
@@ -12,9 +12,10 @@ import (
"strconv"
"strings"
+ . "git.thomasvoss.com/euro-cash.eu/pkg/try"
+
"git.thomasvoss.com/euro-cash.eu/src/dbx"
"git.thomasvoss.com/euro-cash.eu/src/email"
- . "git.thomasvoss.com/euro-cash.eu/src/try"
)
type middleware = func(http.Handler) http.Handler
diff --git a/src/templates.go b/src/templates.go
index de1f081..4deeb67 100644
--- a/src/templates.go
+++ b/src/templates.go
@@ -7,9 +7,10 @@ import (
"log"
"strings"
+ . "git.thomasvoss.com/euro-cash.eu/pkg/try"
+ "git.thomasvoss.com/euro-cash.eu/pkg/watch"
+
"git.thomasvoss.com/euro-cash.eu/src/dbx"
- . "git.thomasvoss.com/euro-cash.eu/src/try"
- "git.thomasvoss.com/euro-cash.eu/src/watch"
)
type templateData struct {