andygrunwald / go-jira

Go client library for Atlassian Jira
https://pkg.go.dev/github.com/andygrunwald/go-jira?tab=doc
MIT License
1.47k stars 469 forks source link

Unable to install go-jira on apple M1 laptop #652

Closed tchiaspko closed 8 months ago

tchiaspko commented 9 months ago

What happened?

I tried to install go-jira using both "go get" and "go install" both of them are not working

What did you expect to happen?

go-jira is installed

How can we reproduce it (as minimally and precisely as possible)?

Output from "go get github.com/andygrunwald/go-jira"

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'.

Output from go "go install github.com/andygrunwald/go-jira@latest"

package github.com/andygrunwald/go-jira is not a main package

Anything else we need to know?

Your Environment

Include as many relevant details about the environment you experienced the problem in

tchiaspko commented 8 months ago

I was able to use the "go-jira" brew package. I don't need to compile my own binary. closing this ticket.