Skip to content

Commit

Permalink
Update source to match output from gofmt 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
garyburd authored Dec 18, 2021
1 parent b4b5d88 commit 1905f7e
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions client_clone.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build go1.8
// +build go1.8

package websocket
Expand Down
1 change: 1 addition & 0 deletions client_clone_legacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !go1.8
// +build !go1.8

package websocket
Expand Down
1 change: 1 addition & 0 deletions conn_write.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build go1.8
// +build go1.8

package websocket
Expand Down
1 change: 1 addition & 0 deletions conn_write_legacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !go1.8
// +build !go1.8

package websocket
Expand Down
1 change: 1 addition & 0 deletions examples/echo/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build ignore
// +build ignore

package main
Expand Down
1 change: 1 addition & 0 deletions examples/echo/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build ignore
// +build ignore

package main
Expand Down
1 change: 1 addition & 0 deletions mask.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// this source code is governed by a BSD-style license that can be found in the
// LICENSE file.

//go:build !appengine
// +build !appengine

package websocket
Expand Down
1 change: 1 addition & 0 deletions mask_safe.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// this source code is governed by a BSD-style license that can be found in the
// LICENSE file.

//go:build appengine
// +build appengine

package websocket
Expand Down
1 change: 1 addition & 0 deletions trace.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build go1.8
// +build go1.8

package websocket
Expand Down
1 change: 1 addition & 0 deletions trace_17.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !go1.8
// +build !go1.8

package websocket
Expand Down

0 comments on commit 1905f7e

Please sign in to comment.