commit
843ad5c050
2
db/db.go
2
db/db.go
|
@ -4,7 +4,7 @@ import (
|
|||
"database/sql"
|
||||
"fmt"
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
"github.com/thewhitetulip/task/types"
|
||||
"github.com/thewhitetulip/Tasks/types"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
|
2
main.go
2
main.go
|
@ -7,7 +7,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
"github.com/julienschmidt/httprouter"
|
||||
"github.com/thewhitetulip/task/viewmodels"
|
||||
"github.com/thewhitetulip/Tasks/viewmodels"
|
||||
"log"
|
||||
"net/http"
|
||||
"strconv"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package viewmodels
|
||||
|
||||
import (
|
||||
"github.com/thewhitetulip/task/db"
|
||||
"github.com/thewhitetulip/task/types"
|
||||
"github.com/thewhitetulip/Tasks/db"
|
||||
"github.com/thewhitetulip/Tasks/types"
|
||||
)
|
||||
|
||||
func GetTasks(status string) []types.Task {
|
||||
|
|
Loading…
Reference in New Issue