sb2nov / mac-setup

Installing Development environment on macOS

Home Page:https://sourabhbajaj.com/mac-setup/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go install is only for packages, not .go files

obarat opened this issue · comments

I'm Submitting a ...

[ X] Bug report
[ ] Tool/language/etc documentation request

Bug Location

http://sourabhbajaj.com/mac-setup/Go/README.html

$ go install hello.go

that command doesn't work. You need to:

$ go install main

then

$ main

Tool/Language/etc

Other Information

Could you make a PR?

Addressed in #241