Solution: Basic Go Data Types

Let’s solve the challenges set in the previous lesson.

Problem 1: Solution

Here is an example of a function in Go that takes two arrays as input and concatenates them into a new slice:

Get hands-on with 1200+ tech skills courses.