Skip to content

Instantly share code, notes, and snippets.

@danielstjules
Created July 31, 2014 19:59
Show Gist options
  • Save danielstjules/b64b8632f7d04c350bb5 to your computer and use it in GitHub Desktop.
Save danielstjules/b64b8632f7d04c350bb5 to your computer and use it in GitHub Desktop.
Long line wrapping in Go
// Long line wrapping in Go
func process(dst io.Writer, readTimeout, writeTimeout, allowInvalid bool, max int) {
// content
}
func process(
dst io.Writer,
readTimeout,
writeTimeout,
allowInvalid bool,
max int
) {
// content
}
func process(dst io.Writer, readTimeout,
writeTimeout, allowInvalid bool, max int) {
// content
}
func process(dst io.Writer, readTimeout, writeTimeout,
allowInvalid bool, max int)
{
// content
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment