Uint64Slice looks up the value of a local Uint64SliceFlag, returns nil if not found
(name string)
| 48 | // Uint64Slice looks up the value of a local Uint64SliceFlag, returns |
| 49 | // nil if not found |
| 50 | func (cmd *Command) Uint64Slice(name string) []uint64 { |
| 51 | return getUintSlice[uint64](cmd, name) |
| 52 | } |
| 53 | |
| 54 | func getUintSlice[T uint | uint8 | uint16 | uint32 | uint64](cmd *Command, name string) []T { |
| 55 | if v, ok := cmd.Value(name).([]T); ok { |
no outgoing calls