Use madon release v3.0.0
authorMikael Berthe <mikael@lilotux.net>
Sun, 30 Jun 2024 16:54:27 +0200
changeset 276 15f5ac844492
parent 275 4a25a40d0c59
child 277 c9c425a5b48b
Use madon release v3.0.0
go.mod
go.sum
vendor/github.com/McKael/madon/v3/madon.go
vendor/modules.txt
--- a/go.mod	Sat Jun 29 20:19:47 2024 +0200
+++ b/go.mod	Sun Jun 30 16:54:27 2024 +0200
@@ -1,7 +1,7 @@
 module github.com/McKael/madonctl
 
 require (
-	github.com/McKael/madon/v3 v3.0.0-20240629180627-8df05dab5e8f
+	github.com/McKael/madon/v3 v3.0.0
 	github.com/ghodss/yaml v1.0.0
 	github.com/kr/text v0.2.0
 	github.com/mattn/go-isatty v0.0.20
--- a/go.sum	Sat Jun 29 20:19:47 2024 +0200
+++ b/go.sum	Sun Jun 30 16:54:27 2024 +0200
@@ -1320,8 +1320,8 @@
 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
 github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
 github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk=
-github.com/McKael/madon/v3 v3.0.0-20240629180627-8df05dab5e8f h1:/4PHFWxISBm36p6ZCmOP40MkSpqWTqdVknAGl+V7F0M=
-github.com/McKael/madon/v3 v3.0.0-20240629180627-8df05dab5e8f/go.mod h1:5wBlXNoDLw/E4FqxsYaOJ1MpAptlw/XRYCuaweoTxlw=
+github.com/McKael/madon/v3 v3.0.0 h1:/nGkdTZbaGZigGwKayZeD1+E+PD9vhz+ruXuqT8f1BA=
+github.com/McKael/madon/v3 v3.0.0/go.mod h1:5wBlXNoDLw/E4FqxsYaOJ1MpAptlw/XRYCuaweoTxlw=
 github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
 github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9/go.mod h1:JynElWSGnm/4RlzPXRlREEwqTHAN3T56Bv2ITsFT3gY=
 github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19/go.mod h1:T13YZdzov6OU0A1+RfKZiZN9ca6VeKdBdyDV+BY97Tk=
--- a/vendor/github.com/McKael/madon/v3/madon.go	Sat Jun 29 20:19:47 2024 +0200
+++ b/vendor/github.com/McKael/madon/v3/madon.go	Sun Jun 30 16:54:27 2024 +0200
@@ -13,9 +13,9 @@
 
 // LimitParams contains common limit/paging options for the Mastodon REST API
 type LimitParams struct {
-	Limit          int              // Number of items per query
+	Limit          int        // Number of items per query
 	SinceID, MaxID ActivityID // Boundaries
-	All            bool             // Get as many items as possible
+	All            bool       // Get as many items as possible
 }
 
 // apiCallParams is a map with the parameters for an API call
@@ -23,7 +23,7 @@
 
 const (
 	// MadonVersion contains the version of the Madon library
-	MadonVersion = "3.0.0-dev"
+	MadonVersion = "3.0.0"
 
 	currentAPIPath = "/api"
 
--- a/vendor/modules.txt	Sat Jun 29 20:19:47 2024 +0200
+++ b/vendor/modules.txt	Sun Jun 30 16:54:27 2024 +0200
@@ -1,4 +1,4 @@
-# github.com/McKael/madon/v3 v3.0.0-20240629180627-8df05dab5e8f
+# github.com/McKael/madon/v3 v3.0.0
 github.com/McKael/madon/v3
 # github.com/cpuguy83/go-md2man/v2 v2.0.4
 github.com/cpuguy83/go-md2man/v2/md2man