Skip to content

Commit 1905f7e

Browse files
authoredDec 18, 2021
Update source to match output from gofmt 1.17
1 parent b4b5d88 commit 1905f7e

10 files changed

+10
-0
lines changed
 

‎client_clone.go

+1
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 go1.8
56
// +build go1.8
67

78
package websocket

‎client_clone_legacy.go

+1
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 !go1.8
56
// +build !go1.8
67

78
package websocket

‎conn_write.go

+1
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 go1.8
56
// +build go1.8
67

78
package websocket

‎conn_write_legacy.go

+1
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 !go1.8
56
// +build !go1.8
67

78
package websocket

‎examples/echo/client.go

+1
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 ignore
56
// +build ignore
67

78
package main

‎examples/echo/server.go

+1
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 ignore
56
// +build ignore
67

78
package main

‎mask.go

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// this source code is governed by a BSD-style license that can be found in the
33
// LICENSE file.
44

5+
//go:build !appengine
56
// +build !appengine
67

78
package websocket

‎mask_safe.go

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// this source code is governed by a BSD-style license that can be found in the
33
// LICENSE file.
44

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

78
package websocket

‎trace.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build go1.8
12
// +build go1.8
23

34
package websocket

‎trace_17.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !go1.8
12
// +build !go1.8
23

34
package websocket

0 commit comments

Comments
 (0)