✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • Go Language
    • Go Language Overview
    • Custom Types
    • Close
  • laura gaber
    laura gaber
    4,622 Points

    Why won't my function work?

    Posted on Nov 14, 2020 by laura gaber
    laura gaber
    4,622 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Structs

    1 Answer

  • theteamtreehouse
    theteamtreehouse
    3,472 Points

    Can you place restrictions on custom types?

    Posted on Aug 18, 2020 by theteamtreehouse
    theteamtreehouse
    3,472 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Custom Types

    1 Answer

  • Anthony Albertorio
    Anthony Albertorio
    22,624 Points

    Simple example to see functions, methods, methods with variable arguments

    Posted on May 18, 2020 by Anthony Albertorio
    Anthony Albertorio
    22,624 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Methods

    0 Answers

  • Anthony Albertorio
    Anthony Albertorio
    22,624 Points

    My notes on Methods- explains receivers, methods with parameters, methods with a variable amount of parameters.

    Posted on May 18, 2020 by Anthony Albertorio
    Anthony Albertorio
    22,624 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Methods

    0 Answers

  • Arihant Banthia
    Arihant Banthia
    3,950 Points

    Didn't understand the question

    Posted on Sep 28, 2019 by Arihant Banthia
    Arihant Banthia
    3,950 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Structs

    1 Answer

  • Audax Anchirinah
    Audax Anchirinah
    589 Points

    Tests not passing

    Posted on Sep 21, 2019 by Audax Anchirinah
    Audax Anchirinah
    589 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Methods

    1 Answer

  • srikanth Alluri
    srikanth Alluri
    5,505 Points

    Unable to execute the program. Its showing this message: src/clock/clock_test.go:21: undefined: Noon

    Posted on May 17, 2019 by srikanth Alluri
    srikanth Alluri
    5,505 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Structs

    1 Answer

  • Serge Kovalenko
    Serge Kovalenko
    9,526 Points

    Task goal not clear or verification is not valid

    Posted on Apr 20, 2019 by Serge Kovalenko
    Serge Kovalenko
    9,526 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Structs

    1 Answer

  • <noob />
    <noob />
    17,063 Points

    Why we use pointers in the last example?

    Posted on Mar 18, 2019 by <noob />
    <noob />
    17,063 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Structs

    2 Answers

  • Kiwi Moe
    Kiwi Moe
    3,365 Points

    It seems to work correctly on my local computer,but showed Bummer when check work

    Posted on Mar 24, 2018 by Kiwi Moe
    Kiwi Moe
    3,365 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Methods

    1 Answer

  • danielkimeli
    danielkimeli
    1,196 Points

    Another Go interface solution I can get past

    Posted on Dec 6, 2017 by danielkimeli
    danielkimeli
    1,196 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Interfaces

    3 Answers

  • danielkimeli
    danielkimeli
    1,196 Points

    I can't find a solution to struct challenge

    Posted on Dec 6, 2017 by danielkimeli
    danielkimeli
    1,196 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Structs

    2 Answers

  • Neil Gardner
    Neil Gardner
    924 Points

    Hi, I tested the same code on my local machine and it worked.

    Posted on Oct 15, 2017 by Neil Gardner
    Neil Gardner
    924 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Methods

    2 Answers

  • Tim Williams
    PLUS
    Tim Williams
    Courses Plus Student 9,267 Points

    Runs fine with package main but not package clock

    Posted on Oct 2, 2017 by Tim Williams
    Tim Williams
    Courses Plus Student 9,267 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Structs

    1 Answer

  • Deepak Sharma
    Deepak Sharma
    13,345 Points

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

    Posted on Sep 18, 2017 by Deepak Sharma
    Deepak Sharma
    13,345 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Structs

    0 Answers

  • Joey Bryan
    Joey Bryan
    1,468 Points

    I think there may be an issue with the type but I'm really not sure the error is terribly vague.

    Posted on Sep 7, 2017 by Joey Bryan
    Joey Bryan
    1,468 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Interfaces

    1 Answer

  • galhardoo
    galhardoo
    19,272 Points

    Need heelp pleeaase DD:

    Posted on Aug 17, 2017 by galhardoo
    galhardoo
    19,272 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Structs

    1 Answer

  • galhardoo
    galhardoo
    19,272 Points

    Where's wrong with my code?

    Posted on Aug 17, 2017 by galhardoo
    galhardoo
    19,272 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Methods

    1 Answer

  • Jonathan Ankiewicz
    Jonathan Ankiewicz
    17,901 Points

    I have no idea what I am doing

    Posted on Jul 25, 2017 by Jonathan Ankiewicz
    Jonathan Ankiewicz
    17,901 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Structs

    1 Answer

  • Jon Roethke
    Jon Roethke
    621 Points

    where is the source code for this so i can figure out why my answer is incorrect? logs aren't detailed enough to help

    Posted on Jun 30, 2017 by Jon Roethke
    Jon Roethke
    621 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Structs

    2 Answers

  • akhter ali
    akhter ali
    15,778 Points

    Increment not working properly

    Posted on Jun 29, 2017 by akhter ali
    akhter ali
    15,778 Points
    • Go Language
    • Go Language Overview
    • Custom Types
    • Methods

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.