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 Error Ettu Golang #9

Open
secfb opened this issue Oct 3, 2019 · 4 comments
Open

Install Error Ettu Golang #9

secfb opened this issue Oct 3, 2019 · 4 comments

Comments

@secfb
Copy link

secfb commented Oct 3, 2019

I am using mac pro. I can use it as follows.

go run main.go 

Or I can use it with alias

nano ~/.bashrc

alias ettu='go run main.go' 

I don't want to use it that way. How do I build it?(release)

https://github.com/tomnomnom/httprobe/releases (for example how did you do it)

I did not work as follows.

go get -u github.com/tomnomnom/hacks/ettu

Can you help me with this?

@cihanmehmet
Copy link

the following command works

go build main.go

ettu

@leesoh
Copy link

leesoh commented Oct 21, 2019

Did you clone this using git, or via go get? What is the output of echo $GOPATH?

@secfb
Copy link
Author

secfb commented Oct 24, 2019

How did you do it? (cp ettu /usr/local/bin)
d

@leesoh
Copy link

leesoh commented Oct 24, 2019

Ahh sorry, I was misremembering. You'll need to make sure that whatever/go-workspace/bin is on your path as well. In your .bashrc or .profile, make sure you've got something like export PATH=$PATH:$GOPATH/bin

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

3 participants