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" "log"
"os" "os"
"github.com/luxick/chronological/internal/config" "luxick/chronological/internal/config"
"github.com/luxick/chronological/internal/server" "luxick/chronological/internal/server"
"github.com/luxick/chronological/web" "luxick/chronological/web"
) )
func main() { func main() {

2
go.mod
View File

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

View File

@@ -8,8 +8,8 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/luxick/chronological/internal/models" "luxick/chronological/internal/models"
"github.com/luxick/chronological/internal/storage" "luxick/chronological/internal/storage"
) )
// Handlers holds all HTTP handlers and their dependencies. // Handlers holds all HTTP handlers and their dependencies.

View File

@@ -14,14 +14,16 @@ import (
"syscall" "syscall"
"time" "time"
"github.com/luxick/chronological/internal/config" "luxick/chronological/internal/config"
"github.com/luxick/chronological/internal/handlers" "luxick/chronological/internal/handlers"
"github.com/luxick/chronological/internal/storage" "luxick/chronological/internal/storage"
) )
// TemplatesFS and StaticFS are set from main package where embed works // TemplatesFS and StaticFS are set from main package where embed works
var TemplatesFS embed.FS var (
var StaticFS embed.FS TemplatesFS embed.FS
StaticFS embed.FS
)
// Server represents the HTTP server and its dependencies. // Server represents the HTTP server and its dependencies.
type Server struct { type Server struct {

View File

@@ -6,9 +6,10 @@ import (
"net/http" "net/http"
"time" "time"
"luxick/chronological/internal/models"
"github.com/emersion/go-ical" "github.com/emersion/go-ical"
"github.com/emersion/go-webdav/caldav" "github.com/emersion/go-webdav/caldav"
"github.com/luxick/chronological/internal/models"
) )
// CalDAVStore handles fetching events from a CalDAV server. // CalDAVStore handles fetching events from a CalDAV server.

View File

@@ -6,8 +6,9 @@ import (
"os" "os"
"time" "time"
"luxick/chronological/internal/models"
"github.com/emersion/go-ical" "github.com/emersion/go-ical"
"github.com/luxick/chronological/internal/models"
) )
// ICSStore handles reading and writing ICS calendar files. // ICSStore handles reading and writing ICS calendar files.

View File

@@ -8,7 +8,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/luxick/chronological/internal/models" "luxick/chronological/internal/models"
) )
// PhotoStore handles scanning and serving photos from the filesystem. // PhotoStore handles scanning and serving photos from the filesystem.