Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Go Language Go Language Overview Custom Types Structs

Unable to do go get ssh github.com/treehouse-projects/go-intro/clock

I am unable to download go-intro clock package in terminal

daniel104729
daniel104729
7,176 Points

You should provide more information. Assuming from your title you tried running

go get ssh github.com/treehouse-projects/go-intro/clock

in the terminal you would get an error like this

package ssh: unrecognized import path "ssh"
package github.com/treehouse-projects/go-intro/clock
   ...
    cannot find package...

remove the 'ssh', you command should now look like this

go get github.com/treehouse-projects/go-intro/clock

this command will not work because there is no go package at github.com/treehouse-projects/go-intro called clock. instead do

go get github.com/treehouse-projects/go-intro/welcome

that should work. Look in your GOPATH and you should find the src and pkg for the go package.

Please read this https://stackoverflow.com/help/how-to-ask and follow the guide lines in the link when asking questions in the future.