You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.
~/t/zabbix-passenger (master)> go version go version go1.19 linux/amd64
~/t/zabbix-passenger (master)> go build zabbix-passenger.go
zabbix-passenger.go:7:2: no required module provides package golang.org/x/net/html/charset: go.mod file not found in current directory or any parent directory; see 'go help modules'
zabbix-passenger.go:8:2: no required module provides package gopkg.in/alecthomas/kingpin.v2: go.mod file not found in current directory or any parent directory; see 'go help modules'
zabbix-passenger.go:9:2: no required module provides package gopkg.in/xmlpath.v2: go.mod file not found in current directory or any parent directory; see 'go help modules'
Maybe need add go.mod to repo?
Thank.
The text was updated successfully, but these errors were encountered:
I am not a go developer either, but used an half hour to figure, that you can just run the following in the directory, after changing the location of the kingpin.v2 requirement from gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2 in zabbix-passenger.go
And then
go mod init zabbix-passenger
go mod tidy
go build zabbix-passenger.go
But the build was for no reason, (needed it for freebsd) - because this small app did not give me enough usefull information from passenger-status
~/t/zabbix-passenger (master)> go version
go version go1.19 linux/amd64
~/t/zabbix-passenger (master)> go build zabbix-passenger.go
Maybe need add go.mod to repo?
Thank.
The text was updated successfully, but these errors were encountered: