Skip to content

Commit

Permalink
Update internal/model/packet.go
Browse files Browse the repository at this point in the history
Co-authored-by: Simone Basso <[email protected]>
  • Loading branch information
ainghazal and bassosimone authored Feb 7, 2024
1 parent b902a49 commit 56ab133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/model/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const (
)

// NewOpcodeFromString returns an opcode from a string representation, and an error if it cannot parse the opcode
// representation. The zero return value is invalid.
// representation. The zero return value is invalid and always coupled with a non-nil error.
func NewOpcodeFromString(s string) (Opcode, error) {
switch s {
case "CONTROL_HARD_RESET_CLIENT_V1":
Expand Down

0 comments on commit 56ab133

Please sign in to comment.