From a63cdb896f172866b16882615336c9df2dda9ca8 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Tue, 17 Sep 2024 11:16:07 +0300 Subject: [PATCH 1/2] updated gomarkdown --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 4c29cc8..f6bfbff 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/gin-contrib/multitemplate v0.0.0-20190914010127-bba2ccfe37ec github.com/gin-gonic/gin v1.9.1 github.com/go-playground/validator/v10 v10.14.0 - github.com/gomarkdown/markdown v0.0.0-20221013030248-663e2500819c + github.com/gomarkdown/markdown v0.0.0-20240730141124-034f12af3bf6 github.com/gorilla/securecookie v1.1.1 github.com/gorilla/sessions v1.2.0 github.com/guregu/null/v5 v5.0.0 diff --git a/go.sum b/go.sum index 5cf0ba1..3c70dac 100644 --- a/go.sum +++ b/go.sum @@ -203,6 +203,8 @@ github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/gomarkdown/markdown v0.0.0-20221013030248-663e2500819c h1:iyaGYbCmcYK0Ja9a3OUa2Fo+EaN0cbLu0eKpBwPFzc8= github.com/gomarkdown/markdown v0.0.0-20221013030248-663e2500819c/go.mod h1:JDGcbDT52eL4fju3sZ4TeHGsQwhG9nbDV21aMyhwPoA= +github.com/gomarkdown/markdown v0.0.0-20240730141124-034f12af3bf6 h1:ZPy+2XJ8u0bB3sNFi+I72gMEMS7MTg7aZCCXPOjV8iw= +github.com/gomarkdown/markdown v0.0.0-20240730141124-034f12af3bf6/go.mod h1:JDGcbDT52eL4fju3sZ4TeHGsQwhG9nbDV21aMyhwPoA= github.com/gomodule/redigo v1.7.1-0.20190724094224-574c33c3df38/go.mod h1:B4C85qUVwatsJoIUNIfCRsp7qO0iAmpGFZ4EELWSbC4= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= From be92f928cd611c477de795b79c0210de581fe390 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Tue, 17 Sep 2024 11:22:16 +0300 Subject: [PATCH 2/2] fix for validator test --- core/validator_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/validator_test.go b/core/validator_test.go index 9ec3978..274436c 100644 --- a/core/validator_test.go +++ b/core/validator_test.go @@ -72,7 +72,6 @@ func (s *ValidatorSuite) Test_ValidationSuccess() { "https://test.retailcrm.pro", "https://raisa.retailcrm.es", "https://blabla.simla.com", - "https://blabla.simlachat.com", "https://blabla.ecomlogic.com", "https://crm.baucenter.ru", "https://crm.holodilnik.ru",