mirror of
https://github.com/mjl-/mox.git
synced 2025-07-13 12:54:37 +03:00
rename variables, struct fields and functions to include an "x" when they can panic for handling errors
and document the convention in develop.txt. spurred by running errcheck again (it has been a while). it still has too many false to enable by default.
This commit is contained in:
@ -264,7 +264,7 @@ func (c *conn) cmdList(tag, cmd string, p *parser) {
|
||||
c.bwritelinef("%s", line)
|
||||
}
|
||||
for _, meta := range respMetadata {
|
||||
meta.writeTo(c, c.bw)
|
||||
meta.writeTo(c, c.xbw)
|
||||
c.bwritelinef("")
|
||||
}
|
||||
c.ok(tag, cmd)
|
||||
|
Reference in New Issue
Block a user