From 676bb696307d6932c077a31fb3788aa78f117143 Mon Sep 17 00:00:00 2001 From: Anmol Sethi <hi@nhooyr.io> Date: Sun, 22 Sep 2019 23:46:46 -0500 Subject: [PATCH] Rename frame_string.go to frame_stringer.go --- frame.go | 2 +- frame_string.go => frame_stringer.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename frame_string.go => frame_stringer.go (98%) diff --git a/frame.go b/frame.go index 10cb9e3..84a18e0 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 6b32672..e60e53f 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 -- GitLab