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

build issue #1

Open
vrossum opened this issue Dec 14, 2024 · 1 comment
Open

build issue #1

vrossum opened this issue Dec 14, 2024 · 1 comment

Comments

@vrossum
Copy link

vrossum commented Dec 14, 2024

Hi

Thanks for this!

Building as root I get the error:

go build -o fanctl ./cmd/fanctl
internal/config/validation.go:4:2: package cmp is not in GOROOT (/usr/src/cmp)
internal/config/validation.go:7:2: package log/slog is not in GOROOT (/usr/src/log/slog)
internal/models/select.go:4:2: package slices is not in GOROOT (/usr/src/slices)

@IvanSafonov
Copy link
Owner

Hi. Check the go version. It has to be 1.23 or greater.

go version

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