Update module namespace

This commit is contained in:
2025-12-10 11:41:18 +01:00
parent e5619484d2
commit e5bbdcab42
7 changed files with 18 additions and 14 deletions

View File

@@ -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
View File

@@ -1,4 +1,4 @@
module github.com/luxick/chronological
module luxick/chronological
go 1.25.4

View File

@@ -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.

View File

@@ -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 {

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.