Commit 205223a
authored
notify-mailer: Improve terminology consistency and general cleanup (letsencrypt#5485)
### Improve consistency
- Make registration `id` an `int64`
- Use `address`, `recipient`, and `record` terminology
- Use `errors.New()` in place of `fmt.Errorf()`
- Use `strings.Builder` in place of `bytes.Buffer`
- Use `errors.Is()` when checking for sentinel errors
- Remove unused (duplicate) `cmd.PasswordFile` in `config`
- Remove unused `cmd.Features` in `config`
### Improve readability
- Use godoc standard comments
- Replace multiple calls to `len(someVariable)` with `totalSomeVariable`
Part of letsencrypt#54201 parent b5aab29 commit 205223a
2 files changed
+204
-189
lines changed
0 commit comments