1
0
mirror of https://github.com/michaellindman/discoupload.git synced 2024-12-18 10:02:30 +00:00

include go reference in readme and minor fixes

Signed-off-by: Michael <michael.lindman@gmail.com>
This commit is contained in:
Michael 2020-08-17 00:07:05 +01:00
parent 4d57947f83
commit b57a558b0a
4 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,7 @@
# Discoupload # 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). Application for uploading files to the [discourse](https://www.discourse.org) forum software using the [discourse API](https://docs.discourse.org).
## Requirements ## Requirements

2
go.mod
View File

@ -3,7 +3,7 @@ module github.com/michaellindman/discoupload
go 1.14 go 1.14
require ( require (
git.0cd.xyz/michael/request v0.0.5 github.com/michaellindman/request v0.0.5
github.com/pkg/errors v0.9.1 github.com/pkg/errors v0.9.1
gopkg.in/yaml.v2 v2.3.0 gopkg.in/yaml.v2 v2.3.0
) )

4
go.sum
View File

@ -1,5 +1,5 @@
git.0cd.xyz/michael/request v0.0.5 h1:Vbyyb/9PwIeIES6hpfbDd2uuWGpTBxH7M1UOqTeBPRg= github.com/michaellindman/request v0.0.5 h1:X+Ir1rZ1QieG8E2jj05aey6QSrqC5N1+pqDSxMEkMA0=
git.0cd.xyz/michael/request v0.0.5/go.mod h1:oyVCWzVMlGOfQal6KsDwvWIsKeszVsOTT6JTRK9qAqo= 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 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=

View File

@ -8,7 +8,7 @@ import (
"net/http" "net/http"
"os" "os"
"git.0cd.xyz/michael/request" "github.com/michaellindman/request"
) )
// Upload file to discourse server // Upload file to discourse server