Skip to content

Commit

Permalink
Rename comments EmptyFields > Reset
Browse files Browse the repository at this point in the history
Co-authored-by: tlipoca9 <160737620+tlipoca9@users.noreply.github.com>
  • Loading branch information
GRbit and tlipoca9 authored Mar 5, 2024
1 parent e1c8c7d commit 58c5b18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ func (c Context) Any(key string, i interface{}) Context {
return c.Interface(key, i)
}

// EmptyFields removes all the context fields.
// Reset removes all the context fields.
func (c Context) Reset() Context {
c.l.context = enc.AppendBeginMarker(make([]byte, 0, 500))
return c
Expand Down

0 comments on commit 58c5b18

Please sign in to comment.