Skip to content

Golang style guide

Jacob Hoffman-Andrews edited this page Aug 23, 2018 · 2 revisions

The code base generally follows the rules outlined in Effective Go as well as a few other guidelines that are specific to Boulder internals.

net/http usage

  • If a request or response body needs to be read from a io.LimitedReader should be used to avoid loading excessive data into memory.