Skip to content

Commit

Permalink
ws: bring back support for go1.16
Browse files Browse the repository at this point in the history
Running `go1.16 build .` failed with:

    //go:build comment without // +build comment
  • Loading branch information
ZekeLu authored and cristaloleg committed May 18, 2023
1 parent 417ec07 commit c000e81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions util_purego.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build purego
// +build purego

package ws

Expand Down
1 change: 1 addition & 0 deletions util_unsafe.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build !purego
// +build !purego

package ws

Expand Down

0 comments on commit c000e81

Please sign in to comment.