Update go.mod
This commit is contained in:
@@ -2,7 +2,7 @@ image: alpine/edge
|
||||
packages:
|
||||
- go
|
||||
sources:
|
||||
- https://github.com/emersion/go-webdav
|
||||
- https://git.ma-al.com/maal/go-webdav
|
||||
tasks:
|
||||
- build: |
|
||||
cd go-webdav
|
||||
|
@@ -7,9 +7,9 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"git.ma-al.com/maal/go-webdav"
|
||||
"git.ma-al.com/maal/go-webdav/internal"
|
||||
"github.com/emersion/go-ical"
|
||||
"github.com/emersion/go-webdav"
|
||||
"github.com/emersion/go-webdav/internal"
|
||||
)
|
||||
|
||||
var CapabilityCalendar = webdav.Capability("calendar-access")
|
||||
|
@@ -11,9 +11,9 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"git.ma-al.com/maal/go-webdav"
|
||||
"git.ma-al.com/maal/go-webdav/internal"
|
||||
"github.com/emersion/go-ical"
|
||||
"github.com/emersion/go-webdav"
|
||||
"github.com/emersion/go-webdav/internal"
|
||||
)
|
||||
|
||||
// DiscoverContextURL performs a DNS-based CardDAV service discovery as
|
||||
|
@@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/emersion/go-webdav/internal"
|
||||
"git.ma-al.com/maal/go-webdav/internal"
|
||||
)
|
||||
|
||||
const namespace = "urn:ietf:params:xml:ns:caldav"
|
||||
|
@@ -12,9 +12,9 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"git.ma-al.com/maal/go-webdav"
|
||||
"git.ma-al.com/maal/go-webdav/internal"
|
||||
"github.com/emersion/go-ical"
|
||||
"github.com/emersion/go-webdav"
|
||||
"github.com/emersion/go-webdav/internal"
|
||||
)
|
||||
|
||||
// TODO if nothing more Caldav-specific needs to be added this should be merged with carddav.PutAddressObjectOptions
|
||||
|
@@ -6,9 +6,9 @@ package carddav
|
||||
import (
|
||||
"time"
|
||||
|
||||
"git.ma-al.com/maal/go-webdav"
|
||||
"git.ma-al.com/maal/go-webdav/internal"
|
||||
"github.com/emersion/go-vcard"
|
||||
"github.com/emersion/go-webdav"
|
||||
"github.com/emersion/go-webdav/internal"
|
||||
)
|
||||
|
||||
var CapabilityAddressBook = webdav.Capability("addressbook")
|
||||
|
@@ -8,8 +8,8 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"git.ma-al.com/maal/go-webdav"
|
||||
"github.com/emersion/go-vcard"
|
||||
"github.com/emersion/go-webdav"
|
||||
)
|
||||
|
||||
type testBackend struct {
|
||||
|
@@ -11,9 +11,9 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"git.ma-al.com/maal/go-webdav"
|
||||
"git.ma-al.com/maal/go-webdav/internal"
|
||||
"github.com/emersion/go-vcard"
|
||||
"github.com/emersion/go-webdav"
|
||||
"github.com/emersion/go-webdav/internal"
|
||||
)
|
||||
|
||||
// DiscoverContextURL performs a DNS-based CardDAV service discovery as
|
||||
|
@@ -4,7 +4,7 @@ import (
|
||||
"encoding/xml"
|
||||
"fmt"
|
||||
|
||||
"github.com/emersion/go-webdav/internal"
|
||||
"git.ma-al.com/maal/go-webdav/internal"
|
||||
)
|
||||
|
||||
const namespace = "urn:ietf:params:xml:ns:carddav"
|
||||
|
@@ -11,9 +11,9 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"git.ma-al.com/maal/go-webdav"
|
||||
"git.ma-al.com/maal/go-webdav/internal"
|
||||
"github.com/emersion/go-vcard"
|
||||
"github.com/emersion/go-webdav"
|
||||
"github.com/emersion/go-webdav/internal"
|
||||
)
|
||||
|
||||
type PutAddressObjectOptions struct {
|
||||
|
@@ -7,7 +7,7 @@ import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/emersion/go-webdav/internal"
|
||||
"git.ma-al.com/maal/go-webdav/internal"
|
||||
)
|
||||
|
||||
// HTTPClient performs HTTP requests. It's implemented by *http.Client.
|
||||
|
@@ -7,7 +7,7 @@ import (
|
||||
"net/http"
|
||||
"os"
|
||||
|
||||
"github.com/emersion/go-webdav"
|
||||
"git.ma-al.com/maal/go-webdav"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@@ -3,7 +3,7 @@ package webdav
|
||||
import (
|
||||
"encoding/xml"
|
||||
|
||||
"github.com/emersion/go-webdav/internal"
|
||||
"git.ma-al.com/maal/go-webdav/internal"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@@ -13,7 +13,7 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/emersion/go-webdav/internal"
|
||||
"git.ma-al.com/maal/go-webdav/internal"
|
||||
)
|
||||
|
||||
// LocalFileSystem implements FileSystem for a local directory.
|
||||
|
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module github.com/emersion/go-webdav
|
||||
module git.ma-al.com/maal/go-webdav
|
||||
|
||||
go 1.13
|
||||
|
||||
|
@@ -9,7 +9,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/emersion/go-webdav/internal"
|
||||
"git.ma-al.com/maal/go-webdav/internal"
|
||||
)
|
||||
|
||||
// FileSystem is a WebDAV server backend.
|
||||
|
Reference in New Issue
Block a user