From e20b2ade762d18d6a4e5b5d762b9800613b505db Mon Sep 17 00:00:00 2001 From: LinkinStars Date: Tue, 7 Jan 2025 13:22:01 +0800 Subject: [PATCH] fix(reviewer-akismet): update go mod --- reviewer-akismet/akismet.go | 1 + reviewer-akismet/go.mod | 1 + reviewer-akismet/go.sum | 4 ++++ reviewer-akismet/info.yaml | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/reviewer-akismet/akismet.go b/reviewer-akismet/akismet.go index 10a3b7e3..1a0383f8 100644 --- a/reviewer-akismet/akismet.go +++ b/reviewer-akismet/akismet.go @@ -21,6 +21,7 @@ package basic import ( "github.com/apache/answer/plugin" + "github.com/go-resty/resty/v2" "github.com/segmentfault/pacman/log" ) diff --git a/reviewer-akismet/go.mod b/reviewer-akismet/go.mod index fb1afd0f..d9baccf1 100644 --- a/reviewer-akismet/go.mod +++ b/reviewer-akismet/go.mod @@ -5,6 +5,7 @@ go 1.22.0 require ( github.com/apache/answer v1.4.2-RC1.0.20250107023923-061894735091 github.com/apache/answer-plugins/util v1.0.3-0.20250107030257-cf94ebc70954 + github.com/go-resty/resty/v2 v2.16.2 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/reviewer-akismet/go.sum b/reviewer-akismet/go.sum index ef8d1554..8e6340d1 100644 --- a/reviewer-akismet/go.sum +++ b/reviewer-akismet/go.sum @@ -35,6 +35,8 @@ github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJn github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= github.com/go-playground/validator/v10 v10.22.1 h1:40JcKH+bBNGFczGuoBYgX4I6m/i27HYW8P9FDk5PbgA= github.com/go-playground/validator/v10 v10.22.1/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM= +github.com/go-resty/resty/v2 v2.16.2 h1:CpRqTjIzq/rweXUt9+GxzzQdlkqMdt8Lm/fuK/CAbAg= +github.com/go-resty/resty/v2 v2.16.2/go.mod h1:0fHAoK7JoBy/Ch36N8VFeMsK7xQOHhvWaC3iOktwmIU= github.com/goccy/go-json v0.10.3 h1:KZ5WoDbxAIgm2HNbYckL0se1fHD6rz5j4ywS6ebzDqA= github.com/goccy/go-json v0.10.3/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= @@ -126,6 +128,8 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U= +golang.org/x/time v0.6.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190422233926-fe54fb35175b/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= diff --git a/reviewer-akismet/info.yaml b/reviewer-akismet/info.yaml index e59207c2..7f3b6e8f 100644 --- a/reviewer-akismet/info.yaml +++ b/reviewer-akismet/info.yaml @@ -17,6 +17,6 @@ slug_name: akismet_reviewer type: reviewer -version: 1.0.4 +version: 1.0.5 author: answerdev link: https://github.com/apache/answer-plugins/tree/main/reviewer-akismet