chore: fmt code
This commit is contained in:
@@ -14,15 +14,15 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
ical "github.com/emersion/go-ical"
|
|
||||||
"github.com/emersion/go-webdav"
|
|
||||||
"github.com/emersion/go-webdav/caldav"
|
|
||||||
"git.arnef.de/arnef/nidus/internal/auth"
|
"git.arnef.de/arnef/nidus/internal/auth"
|
||||||
"git.arnef.de/arnef/nidus/internal/config"
|
"git.arnef.de/arnef/nidus/internal/config"
|
||||||
"git.arnef.de/arnef/nidus/internal/db"
|
"git.arnef.de/arnef/nidus/internal/db"
|
||||||
"git.arnef.de/arnef/nidus/internal/icalfix"
|
"git.arnef.de/arnef/nidus/internal/icalfix"
|
||||||
"git.arnef.de/arnef/nidus/internal/icssub"
|
"git.arnef.de/arnef/nidus/internal/icssub"
|
||||||
"git.arnef.de/arnef/nidus/internal/store"
|
"git.arnef.de/arnef/nidus/internal/store"
|
||||||
|
ical "github.com/emersion/go-ical"
|
||||||
|
"github.com/emersion/go-webdav"
|
||||||
|
"github.com/emersion/go-webdav/caldav"
|
||||||
)
|
)
|
||||||
|
|
||||||
// sharedNameSep separates the owner from the calendar name in the
|
// sharedNameSep separates the owner from the calendar name in the
|
||||||
|
|||||||
@@ -11,11 +11,11 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
ical "github.com/emersion/go-ical"
|
|
||||||
"git.arnef.de/arnef/nidus/internal/auth"
|
"git.arnef.de/arnef/nidus/internal/auth"
|
||||||
"git.arnef.de/arnef/nidus/internal/config"
|
"git.arnef.de/arnef/nidus/internal/config"
|
||||||
"git.arnef.de/arnef/nidus/internal/db"
|
"git.arnef.de/arnef/nidus/internal/db"
|
||||||
"git.arnef.de/arnef/nidus/internal/store"
|
"git.arnef.de/arnef/nidus/internal/store"
|
||||||
|
ical "github.com/emersion/go-ical"
|
||||||
)
|
)
|
||||||
|
|
||||||
func newTestBackend(t *testing.T) (*Backend, *db.DB) {
|
func newTestBackend(t *testing.T) (*Backend, *db.DB) {
|
||||||
|
|||||||
@@ -9,13 +9,13 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
vcard "github.com/emersion/go-vcard"
|
|
||||||
"github.com/emersion/go-webdav"
|
|
||||||
"github.com/emersion/go-webdav/carddav"
|
|
||||||
"git.arnef.de/arnef/nidus/internal/auth"
|
"git.arnef.de/arnef/nidus/internal/auth"
|
||||||
"git.arnef.de/arnef/nidus/internal/config"
|
"git.arnef.de/arnef/nidus/internal/config"
|
||||||
"git.arnef.de/arnef/nidus/internal/db"
|
"git.arnef.de/arnef/nidus/internal/db"
|
||||||
"git.arnef.de/arnef/nidus/internal/store"
|
"git.arnef.de/arnef/nidus/internal/store"
|
||||||
|
vcard "github.com/emersion/go-vcard"
|
||||||
|
"github.com/emersion/go-webdav"
|
||||||
|
"github.com/emersion/go-webdav/carddav"
|
||||||
)
|
)
|
||||||
|
|
||||||
// sharedNameSep separates the owner from the address book name in the
|
// sharedNameSep separates the owner from the address book name in the
|
||||||
|
|||||||
@@ -8,11 +8,11 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
vcard "github.com/emersion/go-vcard"
|
|
||||||
"git.arnef.de/arnef/nidus/internal/auth"
|
"git.arnef.de/arnef/nidus/internal/auth"
|
||||||
"git.arnef.de/arnef/nidus/internal/config"
|
"git.arnef.de/arnef/nidus/internal/config"
|
||||||
"git.arnef.de/arnef/nidus/internal/db"
|
"git.arnef.de/arnef/nidus/internal/db"
|
||||||
"git.arnef.de/arnef/nidus/internal/store"
|
"git.arnef.de/arnef/nidus/internal/store"
|
||||||
|
vcard "github.com/emersion/go-vcard"
|
||||||
)
|
)
|
||||||
|
|
||||||
func newTestBackend(t *testing.T) (*Backend, *db.DB) {
|
func newTestBackend(t *testing.T) (*Backend, *db.DB) {
|
||||||
|
|||||||
@@ -15,11 +15,11 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
ical "github.com/emersion/go-ical"
|
|
||||||
"git.arnef.de/arnef/nidus/internal/birthdays"
|
"git.arnef.de/arnef/nidus/internal/birthdays"
|
||||||
"git.arnef.de/arnef/nidus/internal/db"
|
"git.arnef.de/arnef/nidus/internal/db"
|
||||||
"git.arnef.de/arnef/nidus/internal/icalfix"
|
"git.arnef.de/arnef/nidus/internal/icalfix"
|
||||||
"git.arnef.de/arnef/nidus/internal/web/templates"
|
"git.arnef.de/arnef/nidus/internal/web/templates"
|
||||||
|
ical "github.com/emersion/go-ical"
|
||||||
)
|
)
|
||||||
|
|
||||||
// eventIDRe validates an event's object ID as it appears in a URL path
|
// eventIDRe validates an event's object ID as it appears in a URL path
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
vcard "github.com/emersion/go-vcard"
|
|
||||||
"git.arnef.de/arnef/nidus/internal/store"
|
"git.arnef.de/arnef/nidus/internal/store"
|
||||||
"git.arnef.de/arnef/nidus/internal/web/templates"
|
"git.arnef.de/arnef/nidus/internal/web/templates"
|
||||||
|
vcard "github.com/emersion/go-vcard"
|
||||||
)
|
)
|
||||||
|
|
||||||
// contactIDRe validates a contact's object ID as it appears in a URL path
|
// contactIDRe validates a contact's object ID as it appears in a URL path
|
||||||
|
|||||||
Reference in New Issue
Block a user