From a45ecfdc1226ddcfd6c9a259654963c6902e3405 Mon Sep 17 00:00:00 2001 From: szluyu99 <370166800@qq.com> Date: Sun, 16 Apr 2023 23:30:18 +0800 Subject: [PATCH] update go.mod --- conn.go | 2 +- go.mod | 2 ++ handlers.go | 2 +- parsemail | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) create mode 160000 parsemail diff --git a/conn.go b/conn.go index ee29199..228d91b 100644 --- a/conn.go +++ b/conn.go @@ -12,9 +12,9 @@ import ( "strings" "time" + "github.com/DusanKasan/parsemail" "github.com/emersion/go-smtp" "github.com/restsend/carrot" - "github.com/restsend/parsemail" ) // A Session is returned after successful login. diff --git a/go.mod b/go.mod index 893b792..c80d8a9 100644 --- a/go.mod +++ b/go.mod @@ -13,6 +13,8 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect ) +replace github.com/DusanKasan/parsemail => ./parsemail + // replace github.com/restsend/gormpher => ../../gormpher // replace github.com/restsend/parsemail => ../../restsend/parsemail diff --git a/handlers.go b/handlers.go index ac4ac0e..75f9d15 100644 --- a/handlers.go +++ b/handlers.go @@ -13,10 +13,10 @@ import ( _ "embed" + "github.com/DusanKasan/parsemail" "github.com/gin-gonic/gin" "github.com/restsend/carrot" "github.com/restsend/gormpher" - "github.com/restsend/parsemail" "gorm.io/gorm" ) diff --git a/parsemail b/parsemail new file mode 160000 index 0000000..e17aa56 --- /dev/null +++ b/parsemail @@ -0,0 +1 @@ +Subproject commit e17aa56a8be6f4c97e9b47adfd00807bb44ea48c