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 <dan@meatballhat.com>
  • Loading branch information
dearchap and meatballhat committed Nov 26, 2022
1 parent ddede27 commit b414bd1
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 b414bd1

Please sign in to comment.