aboutsummaryrefslogtreecommitdiff
path: root/mailkit
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-21 14:56:43 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-21 14:56:43 +0800
commit4418b48e5c6e2c9ded023519c457430098bf6df5 (patch)
tree8932a865f6997cdf1df2e9e81001e491208a43e8 /mailkit
parentansiec: Remove underscores (diff)
downloadgo-lindenii-common-4418b48e5c6e2c9ded023519c457430098bf6df5.tar.gz
go-lindenii-common-4418b48e5c6e2c9ded023519c457430098bf6df5.tar.zst
go-lindenii-common-4418b48e5c6e2c9ded023519c457430098bf6df5.zip
mailkit: Remove underscores
Diffstat (limited to 'mailkit')
-rw-r--r--mailkit/addr.go4
1 files 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:]