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