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

Install instructions fail with the latest go version 1.20.1 #23

Closed
jarppiko opened this issue Mar 6, 2023 · 0 comments
Closed

Install instructions fail with the latest go version 1.20.1 #23

jarppiko opened this issue Mar 6, 2023 · 0 comments

Comments

@jarppiko
Copy link

jarppiko commented Mar 6, 2023

The very first install command listed on README fails due to chances in go get command :

# go get -u github.com/greenpau/cni-plugins/cmd/cni-nftables-portmap@latest

go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.
        To build and install a command, use 'go install' with a version,
        like 'go install example.com/cmd@latest'
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.

# go version
go version go1.20.1 linux/amd64

Resolution

go install github.com/greenpau/cni-plugins/cmd/cni-nftables-portmap@latest
go install github.com/greenpau/cni-plugins/cmd/cni-nftables-firewall@latest
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

1 participant