Skip to content

Commit 201c9ab

Browse files
committed
go fmt
1 parent e784ad0 commit 201c9ab

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

client_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -742,8 +742,9 @@ func sendMail(hostPort string) error {
742742
}
743743

744744
// localhostCert is a PEM-encoded TLS cert generated from src/crypto/tls:
745-
// go run generate_cert.go --rsa-bits 1024 --host 127.0.0.1,::1,example.com \
746-
// --ca --start-date "Jan 1 00:00:00 1970" --duration=1000000h
745+
//
746+
// go run generate_cert.go --rsa-bits 1024 --host 127.0.0.1,::1,example.com \
747+
// --ca --start-date "Jan 1 00:00:00 1970" --duration=1000000h
747748
var localhostCert = []byte(`
748749
-----BEGIN CERTIFICATE-----
749750
MIICFDCCAX2gAwIBAgIRAK0xjnaPuNDSreeXb+z+0u4wDQYJKoZIhvcNAQELBQAw

parse.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ func parseCmd(line string) (cmd string, arg string, err error) {
3737
// Takes the arguments proceeding a command and files them
3838
// into a map[string]string after uppercasing each key. Sample arg
3939
// string:
40-
// " BODY=8BITMIME SIZE=1024 SMTPUTF8"
40+
//
41+
// " BODY=8BITMIME SIZE=1024 SMTPUTF8"
42+
//
4143
// The leading space is mandatory.
4244
func parseArgs(args []string) (map[string]string, error) {
4345
argMap := map[string]string{}

smtp.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
//
33
// It also implements the following extensions:
44
//
5-
// 8BITMIME: RFC 1652
6-
// AUTH: RFC 2554
7-
// STARTTLS: RFC 3207
8-
// ENHANCEDSTATUSCODES: RFC 2034
9-
// SMTPUTF8: RFC 6531
10-
// REQUIRETLS: RFC 8689
11-
// CHUNKING: RFC 3030
12-
// BINARYMIME: RFC 3030
5+
// 8BITMIME: RFC 1652
6+
// AUTH: RFC 2554
7+
// STARTTLS: RFC 3207
8+
// ENHANCEDSTATUSCODES: RFC 2034
9+
// SMTPUTF8: RFC 6531
10+
// REQUIRETLS: RFC 8689
11+
// CHUNKING: RFC 3030
12+
// BINARYMIME: RFC 3030
1313
//
1414
// LMTP (RFC 2033) is also supported.
1515
//

0 commit comments

Comments
 (0)