From 6e5711a1136ae5ed2e0533f1a5d39bb71fb668b5 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Fri, 18 Mar 2022 21:20:30 -0400 Subject: Make sure that we format with short lines. --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index fafb1cc..5c3b0b0 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,20 @@ You can also test against the Apple infrastructure using: $ ./networkQuality --config mensura.cdn-apple.com --port 443 --path /api/v1/gm/config ``` +## Contributing + +We *love* contributions. Before submitting a patch, format your code with `go fmt` *and* `golines`: + +``` +$ golines -w -m 80 --shorten-comments . +``` + +You can easily install `golines` in to your `${GOPATH}` with + +``` +$ go install github.com/segmentio/golines@latest +``` + ## References [RFC2026] https://datatracker.ietf.org/doc/html/rfc2026 -- cgit v1.2.3