summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-09-12 00:12:25 +0200
committerAki <please@ignore.pl>2022-09-12 00:12:25 +0200
commit904e0235608d87d7ed447fcb875a6814fe7ed5c2 (patch)
tree379e17b266f13e768aef66e12eea981341e19f61
parent7ebb4474040afbef1ced53ce3f1e8b0d4e885161 (diff)
downloadrudone-904e0235608d87d7ed447fcb875a6814fe7ed5c2.zip
rudone-904e0235608d87d7ed447fcb875a6814fe7ed5c2.tar.gz
rudone-904e0235608d87d7ed447fcb875a6814fe7ed5c2.tar.bz2
Reordered imports
-rw-r--r--entry.go5
-rw-r--r--main.go3
2 files changed, 5 insertions, 3 deletions
diff --git a/entry.go b/entry.go
index 544a8c5..ed22141 100644
--- a/entry.go
+++ b/entry.go
@@ -1,11 +1,12 @@
package main
import (
- "github.com/jmoiron/sqlx"
- _ "github.com/mattn/go-sqlite3"
"log"
"os"
"time"
+
+ "github.com/jmoiron/sqlx"
+ _ "github.com/mattn/go-sqlite3"
)
const schema = `
diff --git a/main.go b/main.go
index c498a5f..991c54a 100644
--- a/main.go
+++ b/main.go
@@ -2,9 +2,10 @@ package main
import (
"encoding/json"
- "github.com/gorilla/mux"
"log"
"net/http"
+
+ "github.com/gorilla/mux"
)
func handleHome(w http.ResponseWriter, r *http.Request) {