6 Commits

Author SHA1 Message Date
Ben Kochie
8026e5db33
Fix Go mod path (#226)
In order to update to v2.0.0, we need to update the module path per the
Go module documentation.
* https://go.dev/doc/modules/major-version

Fixes: https://github.com/jsimonetti/rtnetlink/issues/225

This can be released as v2.0.1

Signed-off-by: SuperQ <superq@gmail.com>
2024-05-10 16:40:56 +02:00
Matt Layher
93da338047
rtnetlink: Go 1.17 build tags, fix example build tags (#128)
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-10-22 21:23:32 +02:00
Matt Layher
af39de65d6
rtnetlink: make AddressMessage.Attributes optional via pointer (#124)
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-07-14 15:52:44 +02:00
Timo Beckers
5d027701a5 rtnl.(Must)ParseAddr and documentation fixes (#65)
* rtnl: add ParseAddr and MustParseAddr helpers, add usage examples

Signed-off-by: Timo Beckers <timo@incline.eu>

* addr_*_test - test ParseAddr and MustParseAddr

Signed-off-by: Timo Beckers <timo@incline.eu>

* Examples: use first ParseCIDR return value as IP address

Signed-off-by: Timo Beckers <timo@incline.eu>
2019-12-03 01:13:55 +01:00
Florian Lehner
d21b2cb70d resolve GOOS dependency (#63)
* resolve GOOS dependency

Signed-off-by: Lehner Florian <dev@der-flo.net>

* exclude internal constants from linter

Signed-off-by: Lehner Florian <dev@der-flo.net>
2019-10-19 19:25:34 +02:00
Jeroen Simonetti
1da9fc1b8c
doc: Update README and add examples (#39)
Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>
2019-04-12 12:47:11 +02:00