diff options
| author | Shulhan <ms@kilabit.info> | 2022-02-17 23:00:31 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-02-17 23:02:05 +0700 |
| commit | 1ae36f838e00be49ec863b367847ebd863655056 (patch) | |
| tree | f68b2333338296b88312312929ea51c473b0b106 | |
| parent | bd0b9412e29d6dcc953a2bcb72be22a290942ab2 (diff) | |
| download | pakakeh.go-1ae36f838e00be49ec863b367847ebd863655056.tar.xz | |
lib/smtp: rename mail.go to mail_tx.go
This is to indicate that the content of this file is a type named
MailTx.
| -rw-r--r-- | lib/smtp/mail_tx.go (renamed from lib/smtp/mail.go) | 0 | ||||
| -rw-r--r-- | lib/smtp/mail_tx_test.go (renamed from lib/smtp/mail_test.go) | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/smtp/mail.go b/lib/smtp/mail_tx.go index d4bebb65..d4bebb65 100644 --- a/lib/smtp/mail.go +++ b/lib/smtp/mail_tx.go diff --git a/lib/smtp/mail_test.go b/lib/smtp/mail_tx_test.go index 47992fad..9e8fe8c6 100644 --- a/lib/smtp/mail_test.go +++ b/lib/smtp/mail_tx_test.go @@ -10,7 +10,7 @@ import ( "github.com/shuLhan/share/lib/test" ) -func TestIsTerminated(t *testing.T) { +func TestMailTx_isTerminated(t *testing.T) { cases := []struct { desc string mail MailTx |
