Skip to content

Commit

Permalink
Update flag_uint64.go
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Buch <[email protected]>
  • Loading branch information
dearchap and meatballhat authored Nov 26, 2022
1 parent fcb3356 commit da91263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flag_uint64.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (i *uint64Value) Get() any { return uint64(*i.val) }

func (i *uint64Value) String() string { return strconv.FormatUint(uint64(*i.val), 10) }

// Int64 looks up the value of a local Int64Flag, returns
// Uint64 looks up the value of a local Uint64Flag, returns
// 0 if not found
func (cCtx *Context) Uint64(name string) uint64 {
if v, ok := cCtx.Value(name).(uint64); ok {
Expand Down

0 comments on commit da91263

Please sign in to comment.