Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support FreeBSD #7

Open
yurivict opened this issue Aug 18, 2024 · 1 comment
Open

Please support FreeBSD #7

yurivict opened this issue Aug 18, 2024 · 1 comment

Comments

@yurivict
Copy link

yurivict commented Aug 18, 2024

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

@lorenzosaino
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants