Skip to content

Commit

Permalink
Docs: use errors.Errorf in websocket handler docs
Browse files Browse the repository at this point in the history
  • Loading branch information
System-Glitch committed Apr 29, 2024
1 parent 31622b6 commit 2843481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websocket/websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ type Controller interface {
// c.Logger().Debug("recv", "message", string(message))
// err = c.WriteMessage(mt, message)
// if err != nil {
// return errors.New(fmt.Errorf("write: %w", err))
// return errors.Errof("write: %w", err)
// }
// }
// }
Expand Down

0 comments on commit 2843481

Please sign in to comment.