Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Doug Lauder <[email protected]>
  • Loading branch information
hanzei and wiggin77 authored Nov 13, 2023
1 parent 62bcff0 commit 0a9280c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fieldapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ func Int[T ~int | ~int8 | ~int16 | ~int32 | ~int64](key string, val T) Field {

// Uint64 constructs a field containing a key and Uint64 value.
//
// Deprecated: Use [logr.Unit] instead.
// Deprecated: Use [logr.Uint] instead.
func Uint64(key string, val uint64) Field {
return Field{Key: key, Type: Uint64Type, Integer: int64(val)}
}

// Uint32 constructs a field containing a key and Uint32 value.
//
// Deprecated: Use [logr.Unit] instead
// Deprecated: Use [logr.Uint] instead
func Uint32(key string, val uint32) Field {
return Field{Key: key, Type: Uint32Type, Integer: int64(val)}
}
Expand Down

0 comments on commit 0a9280c

Please sign in to comment.