Open yurivict opened 3 weeks ago
That would be a useful extension. I will look into it when I have time.
Implementation-wide, however, I would go with implementing the existing method (Get/GetAll/GetPattern/Set) for FreeBSD and gate it behind a build constraint.
I'd also be happy to accept pull requests implementing it.
Currently go-sysctl is Linux only.
There is the FreeBSD Golang module https://github.com/blabber/go-freebsd-sysctl that works on FreeBSD.
Could you please merge in at least the GetInt64 and GetString functions from https://github.com/blabber/go-freebsd-sysctl ?
Thank you, Yuri