diff --git a/frame.go b/frame.go
index 10cb9e38e7de502ac6d6be7c99990ed3f1ecc4de..84a18e02e7c5a59e86ea401b51df729360ba03a1 100644
--- a/frame.go
+++ b/frame.go
@@ -7,7 +7,7 @@ import (
 	"math"
 )
 
-//go:generate go run golang.org/x/tools/cmd/stringer -type=opcode,MessageType,StatusCode -output=frame_string.go
+//go:generate go run golang.org/x/tools/cmd/stringer -type=opcode,MessageType,StatusCode -output=frame_stringer.go
 
 // opcode represents a WebSocket Opcode.
 type opcode int
diff --git a/frame_string.go b/frame_stringer.go
similarity index 98%
rename from frame_string.go
rename to frame_stringer.go
index 6b32672a564ae51ac8d5e17e324fee314b16810e..e60e53fa4abd6d163edd2f99181e895b86a56dd0 100644
--- a/frame_string.go
+++ b/frame_stringer.go
@@ -1,4 +1,4 @@
-// Code generated by "stringer -type=opcode,MessageType,StatusCode -output=frame_string.go"; DO NOT EDIT.
+// Code generated by "stringer -type=opcode,MessageType,StatusCode -output=frame_stringer.go"; DO NOT EDIT.
 
 package websocket