Update module namespace
This commit is contained in:
@@ -6,9 +6,9 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/luxick/chronological/internal/config"
|
||||
"github.com/luxick/chronological/internal/server"
|
||||
"github.com/luxick/chronological/web"
|
||||
"luxick/chronological/internal/config"
|
||||
"luxick/chronological/internal/server"
|
||||
"luxick/chronological/web"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module github.com/luxick/chronological
|
||||
module luxick/chronological
|
||||
|
||||
go 1.25.4
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/luxick/chronological/internal/models"
|
||||
"github.com/luxick/chronological/internal/storage"
|
||||
"luxick/chronological/internal/models"
|
||||
"luxick/chronological/internal/storage"
|
||||
)
|
||||
|
||||
// Handlers holds all HTTP handlers and their dependencies.
|
||||
|
||||
@@ -14,14 +14,16 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/luxick/chronological/internal/config"
|
||||
"github.com/luxick/chronological/internal/handlers"
|
||||
"github.com/luxick/chronological/internal/storage"
|
||||
"luxick/chronological/internal/config"
|
||||
"luxick/chronological/internal/handlers"
|
||||
"luxick/chronological/internal/storage"
|
||||
)
|
||||
|
||||
// TemplatesFS and StaticFS are set from main package where embed works
|
||||
var TemplatesFS embed.FS
|
||||
var StaticFS embed.FS
|
||||
var (
|
||||
TemplatesFS embed.FS
|
||||
StaticFS embed.FS
|
||||
)
|
||||
|
||||
// Server represents the HTTP server and its dependencies.
|
||||
type Server struct {
|
||||
|
||||
@@ -6,9 +6,10 @@ import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"luxick/chronological/internal/models"
|
||||
|
||||
"github.com/emersion/go-ical"
|
||||
"github.com/emersion/go-webdav/caldav"
|
||||
"github.com/luxick/chronological/internal/models"
|
||||
)
|
||||
|
||||
// CalDAVStore handles fetching events from a CalDAV server.
|
||||
|
||||
@@ -6,8 +6,9 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"luxick/chronological/internal/models"
|
||||
|
||||
"github.com/emersion/go-ical"
|
||||
"github.com/luxick/chronological/internal/models"
|
||||
)
|
||||
|
||||
// ICSStore handles reading and writing ICS calendar files.
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/luxick/chronological/internal/models"
|
||||
"luxick/chronological/internal/models"
|
||||
)
|
||||
|
||||
// PhotoStore handles scanning and serving photos from the filesystem.
|
||||
|
||||
Reference in New Issue
Block a user