We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e06e09a commit 88a8b01Copy full SHA for 88a8b01
logger.go
@@ -111,7 +111,7 @@ func NewDevelopment(options ...Option) (*Logger, error) {
111
// and panics if the error is non-nil. It is intended for use in variable
112
// initialization such as:
113
//
114
-// var logger := zap.Must(zap.NewProduction())
+// var logger = zap.Must(zap.NewProduction())
115
func Must(logger *Logger, err error) *Logger {
116
if err != nil {
117
panic(err)
0 commit comments