Commit Graph

8 Commits

Author SHA1 Message Date
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