diff --git a/README.md b/README.md index 229c5fe..d8f4e88 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Discoupload +[![PkgGoDev](https://pkg.go.dev/badge/github.com/michaellindman/discoupload/upload?tab=doc)](https://pkg.go.dev/github.com/michaellindman/discoupload/upload?tab=doc) + Application for uploading files to the [discourse](https://www.discourse.org) forum software using the [discourse API](https://docs.discourse.org). ## Requirements diff --git a/go.mod b/go.mod index 088bb39..a707011 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/michaellindman/discoupload go 1.14 require ( - git.0cd.xyz/michael/request v0.0.5 + github.com/michaellindman/request v0.0.5 github.com/pkg/errors v0.9.1 gopkg.in/yaml.v2 v2.3.0 ) diff --git a/go.sum b/go.sum index 3bfc724..e68c795 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -git.0cd.xyz/michael/request v0.0.5 h1:Vbyyb/9PwIeIES6hpfbDd2uuWGpTBxH7M1UOqTeBPRg= -git.0cd.xyz/michael/request v0.0.5/go.mod h1:oyVCWzVMlGOfQal6KsDwvWIsKeszVsOTT6JTRK9qAqo= +github.com/michaellindman/request v0.0.5 h1:X+Ir1rZ1QieG8E2jj05aey6QSrqC5N1+pqDSxMEkMA0= +github.com/michaellindman/request v0.0.5/go.mod h1:h4Iti/hHTMj52wDqq6y24u8ROiTZkcc6Hy2tnM0mq8o= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= diff --git a/upload/upload.go b/upload/upload.go index 776c9cd..b1673ba 100644 --- a/upload/upload.go +++ b/upload/upload.go @@ -8,7 +8,7 @@ import ( "net/http" "os" - "git.0cd.xyz/michael/request" + "github.com/michaellindman/request" ) // Upload file to discourse server