Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit 6bd9687

Browse files
tklausermdlayher
authored andcommitted
all: gofmt with Go 1.17 to add //go:build tags
Also fixes formatting in TestStacktraceErr. Signed-off-by: Tobias Klauser <[email protected]>
1 parent 31d5ee6 commit 6bd9687

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

fuzz.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5+
//go:build gofuzz
56
// +build gofuzz
67

78
package netaddr

stackerr_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
func TestStacktraceErr(t *testing.T) {
1919
b := new(netaddr.IPSetBuilder)
2020
//line ipp.go:1
21-
b.AddPrefix(netaddr.IPPrefixFrom(netaddr.IPv4(1,2,3,4), 33))
21+
b.AddPrefix(netaddr.IPPrefixFrom(netaddr.IPv4(1, 2, 3, 4), 33))
2222
//line r.go:2
2323
b.AddRange(netaddr.IPRange{})
2424
_, err := b.IPSet()

tools/tools.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build tools
12
// +build tools
23

34
package tools

0 commit comments

Comments
 (0)