Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • theteamtreehouse
    theteamtreehouse
    3,472 Points

    I'm amazed that this doesn't work?

    Posted August 18, 2020 10:08pm by theteamtreehouse
    theteamtreehouse
    3,472 Points
    • Go Language
    • Go Language Overview
    • Data Structures
    • Maps

    1 Answer

  • theteamtreehouse
    theteamtreehouse
    3,472 Points

    What's wrong with the test cases? I tried both solutions and the backend crashed in both cases

    Posted August 18, 2020 9:13pm by theteamtreehouse
    theteamtreehouse
    3,472 Points
    • Go Language
    • Go Language Overview
    • Data Structures
    • Creating slices

    1 Answer

  • Anthony Albertorio
    Anthony Albertorio
    22,624 Points

    A good resource to visualize pointers (pass by value vs pass by reference)

    Posted May 16, 2020 10:03pm by Anthony Albertorio
    Anthony Albertorio
    22,624 Points
    • Go Language
    • Go Language Overview
    • Data Structures
    • Pointers

    0 Answers

  • Rizwan Khan
    Rizwan Khan
    24,089 Points

    How to return a new map in Go?

    Posted January 2, 2020 3:15am by Rizwan Khan
    Rizwan Khan
    24,089 Points
    • Go Language
    • Go Language Overview
    • Data Structures
    • Maps

    2 Answers

  • Paul Stanley
    Paul Stanley
    2,042 Points

    Update the NobleGases method to return a slice consisting of six strings

    Posted July 3, 2019 12:23am by Paul Stanley
    Paul Stanley
    2,042 Points
    • Go Language
    • Go Language Overview
    • Data Structures
    • Creating slices

    1 Answer

  • Gina Orton
    Gina Orton
    1,805 Points

    what does the error "missing key in map literal" mean?

    Posted September 25, 2018 10:44pm by Gina Orton
    Gina Orton
    1,805 Points
    • Go Language
    • Go Language Overview
    • Data Structures
    • Maps

    1 Answer

  • Devin Francis
    Devin Francis
    13,377 Points

    So lost, need HELP!

    Posted May 9, 2018 1:41pm by Devin Francis
    Devin Francis
    13,377 Points
    • Go Language
    • Go Language Overview
    • Data Structures
    • Maps

    5 Answers

  • Devin Francis
    Devin Francis
    13,377 Points

    Its not working?!

    Posted May 8, 2018 7:39pm by Devin Francis
    Devin Francis
    13,377 Points
    • Go Language
    • Go Language Overview
    • Data Structures
    • Creating slices

    3 Answers

  • Ronnie Hess
    Ronnie Hess
    18,124 Points

    Looping over slices: I answered the question and got credit... but I think I did it wrong?

    Posted March 20, 2018 6:58am by Ronnie Hess
    Ronnie Hess
    18,124 Points
    • Go Language
    • Go Language Overview
    • Data Structures
    • Looping Over Slices

    1 Answer

  • Andrew Pratt
    Andrew Pratt
    1,040 Points

    It works in VSC :/

    Posted November 14, 2017 10:48pm by Andrew Pratt
    Andrew Pratt
    1,040 Points
    • Go Language
    • Go Language Overview
    • Data Structures
    • Maps

    1 Answer

  • Warren Fung
    Warren Fung
    4,268 Points

    for the maps objective question, is it possible to put " " around the word strings in the question? the key isnt clear

    Posted October 28, 2017 6:57pm by Warren Fung
    Warren Fung
    4,268 Points
    • Go Language
    • Go Language Overview
    • Data Structures
    • Maps

    1 Answer

  • Jonathan Ankiewicz
    Jonathan Ankiewicz
    17,901 Points

    how to return a map

    Posted July 17, 2017 1:07am by Jonathan Ankiewicz
    Jonathan Ankiewicz
    17,901 Points
    • Go Language
    • Go Language Overview
    • Data Structures
    • Maps

    1 Answer

  • larsberg
    larsberg
    58,676 Points

    Not sure what I'm doing wrong

    Posted July 8, 2017 9:54pm by larsberg
    larsberg
    58,676 Points
    • Go Language
    • Go Language Overview
    • Data Structures
    • Accessing Slices

    1 Answer

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord