1 Commits

Author SHA1 Message Date
Bernardo Soares 7ddb61d720 devlink: move devlink structs to devlink.go
the structs and methods for managing devlink are
all under the `devlink_linux.go` file, and when
trying to write code in a non linux system (mac),
the editor doesn't recognize any of it.

this commit moves struct definitions from the
devlink_linux.go file and creates a
devlink_unspecified.go with the devlink funcs.
this is similar to what we have in netlink_unspecified.go

Signed-off-by: Bernardo Soares <20172413+bersoare@users.noreply.github.com>
2026-01-06 13:15:58 -08:00