diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-21 14:56:43 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-21 14:56:43 +0800 |
commit | 4418b48e5c6e2c9ded023519c457430098bf6df5 (patch) | |
tree | 8932a865f6997cdf1df2e9e81001e491208a43e8 | |
parent | ansiec: Remove underscores (diff) | |
download | go-lindenii-common-4418b48e5c6e2c9ded023519c457430098bf6df5.tar.gz go-lindenii-common-4418b48e5c6e2c9ded023519c457430098bf6df5.tar.zst go-lindenii-common-4418b48e5c6e2c9ded023519c457430098bf6df5.zip |
mailkit: Remove underscores
-rw-r--r-- | mailkit/addr.go | 4 |
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:] |