Skip to content

Commit 88a8b01

Browse files
author
Craig Pastro
authored
Fix typo in Must docs (#1108)
1 parent e06e09a commit 88a8b01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logger.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func NewDevelopment(options ...Option) (*Logger, error) {
111111
// and panics if the error is non-nil. It is intended for use in variable
112112
// initialization such as:
113113
//
114-
// var logger := zap.Must(zap.NewProduction())
114+
// var logger = zap.Must(zap.NewProduction())
115115
func Must(logger *Logger, err error) *Logger {
116116
if err != nil {
117117
panic(err)

0 commit comments

Comments
 (0)