From 4418b48e5c6e2c9ded023519c457430098bf6df5 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 21 Mar 2025 14:56:43 +0800 Subject: mailkit: Remove underscores --- mailkit/addr.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mailkit/addr.go b/mailkit/addr.go index c087be0..455c020 100644 --- a/mailkit/addr.go +++ b/mailkit/addr.go @@ -1,11 +1,11 @@ package mailkit -// Strip_angle_brackets strips a single "<" from the +// StripAngleBrackets strips a single "<" from the // front of the string and a single ">" from the back // of the string. If either are present, stripped // returns true; if both are present, balanced also // returns true. -func Strip_angle_brackets(x string) (result string, stripped bool, balanced bool) { +func StripAngleBrackets(x string) (result string, stripped bool, balanced bool) { var tmp string if x[0] == '<' { tmp = x[1:] -- cgit v1.2.3