Jeff Carr
6080327a64
bare minimum
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-14 14:14:07 -06:00
Alex Flint
489daf05a6
Merge pull request #11 from alexflint/update-ci-golang-versions
...
Update golang versions used in CI
2022-10-02 12:51:52 -07:00
Alex Flint
706bcb4ea6
update to latest version of the setup-go github action
2022-10-02 12:50:21 -07:00
Alex Flint
de2dbbd181
use empty string for "latest"
2022-10-02 12:48:00 -07:00
Alex Flint
bc4a9b4370
update golang versions used in CI
2022-10-02 12:43:36 -07:00
Alex Flint
e7a360897d
Merge pull request #10 from daenney/parseint
...
Support different integer formats
2022-10-02 12:39:56 -07:00
Daniele Sluijters
08e5e4d956
Support different integer formats
...
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.
2022-10-02 19:11:37 +02:00
Alex Flint
b3bcd8035e
Merge pull request #9 from alexflint/improve-coverage
...
Increase test coverage to 100%
2021-08-20 20:20:44 -07:00
Alex Flint
8ca9e7daec
improve test coverage
2021-08-20 20:18:30 -07:00
Alex Flint
fd60e96695
Merge pull request #8 from alexflint/parse-urls
...
Add support for url.URL
2021-08-17 12:34:34 -07:00
Alex Flint
9e23a0e262
add support for url.URL
2021-08-17 12:24:43 -07:00
Alex Flint
f33108a28e
Merge pull request #7 from alexflint/drop-travis
...
Drop travisCI in favor of github workflows
2021-04-19 22:34:23 -07:00
Alex Flint
7fa3c9e833
drop travis
2021-04-19 22:28:16 -07:00
Alex Flint
cfe0d0ab44
Merge pull request #5 from alexflint/continuous-integration
...
Setup continuous integration with github workflows
2021-04-19 21:54:04 -07:00
Alex Flint
041fe266f8
add a github workflow to run tests
2021-04-19 21:50:34 -07:00
Alex Flint
ca571db221
Merge pull request #4 from alexflint/drop-vendor
...
Drop vendor directory
2021-04-19 21:48:46 -07:00
Alex Flint
876daa8e7c
update go.mod
2021-04-19 21:45:25 -07:00
Alex Flint
357d2a4616
drop vendor dir
2021-04-19 21:44:46 -07:00
Alex Flint
6638fbbc28
Merge pull request #3 from alexflint/gomod
...
Create go.mod
2018-11-20 12:00:02 -08:00
Alex Flint
074e17cef3
add vendor
2018-11-19 19:11:23 -08:00
Alex Flint
92877db009
add initial go.mod, go.sum
2018-11-19 19:04:03 -08:00
Alex Flint
6ab8ad5e1c
Merge pull request #2 from pborzenkov/text-unmarshaler-value
...
Allow to use values (not pointers) with TextUnmarshaler
2018-11-19 12:48:00 -08:00
Pavel Borzenkov
e1338aeff0
Drop special handling of net.IP type
...
It's now completely covered by generic TextUnmarshaler case.
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
2018-11-18 14:02:17 +03:00
Pavel Borzenkov
38f8eb7c6b
Allow to use values (not pointers) with TextUnmarshaler
...
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 <pavel.borzenkov@gmail.com>
2018-11-16 17:09:52 +03:00
Alex Flint
e80c3b7ed2
Merge pull request #1 from alexflint/travis_ping
...
fix test failures
2017-02-15 18:04:25 -08:00
Alex Flint
45e5d6cd86
whitespace
2017-02-15 17:57:39 -08:00
Alex Flint
9cd235e2a7
fix tests
2017-02-15 17:56:45 -08:00
Alex Flint
2c58a46976
minor tweak
2017-02-15 17:53:42 -08:00
Alex Flint
be3c7a3252
add misc support files
2017-02-15 17:52:23 -08:00
Alex Flint
e2bdcd773e
add readme
2017-02-15 17:49:27 -08:00
Alex Flint
679dadd066
based functions all working
2017-02-15 17:42:57 -08:00