| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-01-14 | bare minimumv1.2.3v1.2.1 | Jeff Carr | |
| Signed-off-by: Jeff Carr <[email protected]> | |||
| 2022-10-02 | Support different integer formats | Daniele Sluijters | |
| In Go you can format numbers in different ways, as doucment in https://go.dev/ref/spec#Integer_literals. ParseInt with a base of 0 will infer the correct base for the number based on a prefix 0x, 0b etc, and also supports the use of the _ to separate digits. This can be helpful with long numbers, to make things easier to read. This switches the ParseInt() calls to use a base of 0, ensuring that if ParseValue is called with an int like 100_000 it'll parse correctly instead of throw an error. | |||
| 2021-08-20 | improve test coverage | Alex Flint | |
| 2021-08-17 | add support for url.URL | Alex Flint | |
| 2018-11-16 | Allow to use values (not pointers) with TextUnmarshaler | Pavel Borzenkov | |
| The patch makes sure that both values and pointer to values are checked for custom TextUnmarshal implementation. This will allow to use go-arg custom parsing as follows: var args struct { Arg CustomType } instead of var args struct { Arg *CustomType } Signed-off-by: Pavel Borzenkov <[email protected]> | |||
| 2017-02-15 | fix tests | Alex Flint | |
| 2017-02-15 | add misc support files | Alex Flint | |
| 2017-02-15 | based functions all working | Alex Flint | |
