Skip to content

Commit

Permalink
it's not a bad idea to mix constructors and parameter structs, just rare
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav committed Feb 20, 2024
1 parent aff0d22 commit c485633
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
// // ...
// }
//
// Though it's rarely a good idea, constructors can receive any combination of
// parameter structs and parameters.
// Though it's rarelly necessary to mix the two, constructors can receive any
// combination of parameter structs and parameters.
//
// func NewHandler(p HandlerParams, l *log.Logger) *Handler {
// // ...
Expand Down

0 comments on commit c485633

Please sign in to comment.