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 trialSabrina Robinson
3,167 PointsI'm getting a command-line-arguments error for undefined:net and undefinded:time. How do I resolve?
The error messages are related to these two lines of code:
fmt.Println(reflect.TypeOf(net.IPv4(127, 0, 0, 1))) // net.IPv4
fmt.Println(reflect.TypeOf(time.Now())) // time.Time
Do I need to go "get" net and time, or install net and time?
2 Answers
Dave Faliskie
17,793 Pointsare you importing the net and time packages?
Sabrina Robinson
3,167 PointsThat'll do it! Thanks!