{"id":168,"date":"2026-07-07T20:29:38","date_gmt":"2026-07-07T20:29:38","guid":{"rendered":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/"},"modified":"2026-07-07T20:38:15","modified_gmt":"2026-07-07T20:38:15","slug":"07-go-arrays-slices-maps","status":"publish","type":"post","link":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/","title":{"rendered":"Go Arrays, Slices, and Maps \u2013 Working with Collections"},"content":{"rendered":"<p><!-- ktg-updated-banner --><\/p>\n<div class=\"ktg-updated-banner\" style=\"margin:0 0 1.25em;padding:0.75em 1em;background:#fefce8;border-left:4px solid #ca8a04;border-radius:4px;\">\n<p><strong>Updated July 2, 2026.<\/strong> Refreshed for Go 1.22+ and current SEO best practices.<\/p>\n<\/div>\n<p>In this lesson we cover <strong>Go arrays, slices, and maps<\/strong> \u2014 the three main ways to store collections of data. If you completed <a href=\"https:\/\/www.kindsonthegenius.com\/go\/06-go-functions\/\">Go Functions<\/a>, you already know how to pass values around. Now you will learn how to group them into ordered lists and key-value lookups. This <strong>Go slices tutorial<\/strong> focuses on slices because they are the collection type you will use most often in real programs.<\/p>\n<p><strong>Prerequisites:<\/strong> Lessons 1\u20136 completed, Go 1.22 or newer installed. <strong>Estimated time:<\/strong> 45\u201360 minutes.<\/p>\n<h4 id=\"series-overview\">Go Programming Tutorial Series Overview<\/h4>\n<p>Follow these twelve lessons in order. Each includes runnable code and clear explanations:<\/p>\n<table>\n<thead>\n<tr>\n<th>Lesson<\/th>\n<th>Topic<\/th>\n<th>Link<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Go Programming Introduction<\/td>\n<td><a href=\"https:\/\/www.kindsonthegenius.com\/go\/go-programming-introduction\/\">Lesson 1<\/a><\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Go Programming Setup<\/td>\n<td><a href=\"https:\/\/www.kindsonthegenius.com\/go\/go-programming-setup\/\">Lesson 2<\/a><\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Go Basic Syntax<\/td>\n<td><a href=\"https:\/\/www.kindsonthegenius.com\/go\/03-go-basic-syntax\/\">Lesson 3<\/a><\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>Go Variables and Types<\/td>\n<td><a href=\"https:\/\/www.kindsonthegenius.com\/go\/04-go-variables-and-types\/\">Lesson 4<\/a><\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>Go Control Flow<\/td>\n<td><a href=\"https:\/\/www.kindsonthegenius.com\/go\/05-go-control-flow\/\">Lesson 5<\/a><\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>Go Functions<\/td>\n<td><a href=\"https:\/\/www.kindsonthegenius.com\/go\/06-go-functions\/\">Lesson 6<\/a><\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>Go Arrays, Slices, and Maps (this lesson)<\/td>\n<td>You are here<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>Go Structs and Methods<\/td>\n<td><a href=\"https:\/\/www.kindsonthegenius.com\/go\/08-go-structs-and-methods\/\">Lesson 8<\/a><\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>Go Pointers<\/td>\n<td><a href=\"https:\/\/www.kindsonthegenius.com\/go\/09-go-pointers\/\">Lesson 9<\/a><\/td>\n<\/tr>\n<tr>\n<td>10<\/td>\n<td>Go Interfaces and Errors<\/td>\n<td><a href=\"https:\/\/www.kindsonthegenius.com\/go\/10-go-interfaces-and-errors\/\">Lesson 10<\/a><\/td>\n<\/tr>\n<tr>\n<td>11<\/td>\n<td>Go Goroutines and Channels<\/td>\n<td><a href=\"https:\/\/www.kindsonthegenius.com\/go\/11-go-goroutines-and-channels\/\">Lesson 11<\/a><\/td>\n<\/tr>\n<tr>\n<td>12<\/td>\n<td>Go HTTP REST API<\/td>\n<td><a href=\"https:\/\/www.kindsonthegenius.com\/go\/12-go-http-rest-api\/\">Lesson 12<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 id=\"arrays\">1. Arrays \u2014 Fixed-Size Collections<\/h4>\n<p>An <strong>array<\/strong> in Go is a sequence of elements of the same type with a <em>fixed length<\/em> determined at compile time. The length is part of the array&#8217;s type \u2014 <code>[3]int<\/code> and <code>[5]int<\/code> are different types and cannot be assigned to each other.<\/p>\n<p>Declare an array by specifying the length and type, then provide values in curly braces:<\/p>\n<pre><code class=\"language-go\">package main\n\nimport \"fmt\"\n\nfunc main() {\n\t\/\/ Array of 5 integers, all zero-initialized\n\tvar scores [5]int\n\n\t\/\/ Array with literal values\n\tdays := [7]string{\"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\", \"Sun\"}\n\n\t\/\/ Let the compiler count elements with ...\n\tprimes := [...]int{2, 3, 5, 7, 11}\n\n\tscores[0] = 95\n\tfmt.Println(scores[0])       \/\/ 95\n\tfmt.Println(len(days))       \/\/ 7\n\tfmt.Println(len(primes))     \/\/ 5\n}\n<\/code><\/pre>\n<p>Arrays are useful when you know the exact size upfront \u2014 for example, the seven days of the week or a fixed-size buffer. In most application code, however, you need collections that can grow and shrink. That is where <strong>slices<\/strong> come in.<\/p>\n<h4 id=\"slices\">2. Slices \u2014 Dynamic Views Over Arrays<\/h4>\n<p>A <strong>slice<\/strong> is a flexible, dynamically sized view into an underlying array. Slices are reference types: assigning one slice variable to another copies the slice header (pointer, length, capacity) but not the elements themselves. This is why slices appear everywhere in Go \u2014 from parsing HTTP requests to processing JSON.<\/p>\n<p>You can create a slice in several ways:<\/p>\n<ul>\n<li><strong>Slice literal:<\/strong> <code>nums := []int{1, 2, 3}<\/code><\/li>\n<li><strong>From an array:<\/strong> <code>arr := [5]int{10, 20, 30, 40, 50}; s := arr[1:4]<\/code> \u2014 elements at indices 1, 2, 3<\/li>\n<li><strong>With make:<\/strong> <code>make([]int, length, capacity)<\/code><\/li>\n<\/ul>\n<pre><code class=\"language-go\">package main\n\nimport \"fmt\"\n\nfunc main() {\n\t\/\/ Slice literal\n\tfruits := []string{\"apple\", \"banana\", \"cherry\"}\n\n\t\/\/ make(type, length, capacity)\n\t\/\/ length = number of accessible elements\n\t\/\/ capacity = total space in the backing array\n\tbuffer := make([]byte, 0, 16)\n\n\tfmt.Println(fruits)          \/\/ [apple banana cherry]\n\tfmt.Println(len(buffer))     \/\/ 0\n\tfmt.Println(cap(buffer))     \/\/ 16\n}\n<\/code><\/pre>\n<h4 id=\"append-len-cap\">3. append, len, and cap<\/h4>\n<p>Three functions and built-ins define everyday slice work:<\/p>\n<ul>\n<li><code>len(s)<\/code> \u2014 returns the number of elements currently in the slice<\/li>\n<li><code>cap(s)<\/code> \u2014 returns the capacity of the underlying array from the slice&#8217;s start index<\/li>\n<li><code>append(s, elements...)<\/code> \u2014 adds elements to the end, growing the slice when needed<\/li>\n<\/ul>\n<p>When <code>append<\/code> exceeds capacity, Go allocates a new, larger backing array (typically doubling capacity), copies existing elements, and returns the updated slice. Always assign the result back to your variable:<\/p>\n<pre><code class=\"language-go\">package main\n\nimport \"fmt\"\n\nfunc main() {\n\tnums := []int{1, 2, 3}\n\tfmt.Printf(\"len=%d cap=%d %v\\n\", len(nums), cap(nums), nums)\n\n\tnums = append(nums, 4, 5, 6)\n\tfmt.Printf(\"len=%d cap=%d %v\\n\", len(nums), cap(nums), nums)\n\n\t\/\/ append can add another slice with ...\n\tmore := []int{7, 8}\n\tnums = append(nums, more...)\n\tfmt.Printf(\"len=%d cap=%d %v\\n\", len(nums), cap(nums), nums)\n}\n<\/code><\/pre>\n<p>Understanding <code>len<\/code> vs <code>cap<\/code> helps you write efficient code. Pre-allocating with <code>make([]T, 0, expectedSize)<\/code> avoids repeated reallocations when you know roughly how many elements you will store \u2014 a common pattern in API handlers and data pipelines.<\/p>\n<h4 id=\"slice-operations\">4. Slicing, Copying, and Common Patterns<\/h4>\n<p>You can create sub-slices with the syntax <code>s[low:high]<\/code>. Omitting <code>low<\/code> defaults to 0; omitting <code>high<\/code> defaults to <code>len(s)<\/code>:<\/p>\n<pre><code class=\"language-go\">s := []int{10, 20, 30, 40, 50}\nfirst := s[:2]    \/\/ [10 20]\nmiddle := s[1:4]  \/\/ [20 30 40]\nlast := s[3:]     \/\/ [40 50]\n<\/code><\/pre>\n<p>To copy elements without sharing the backing array, use the built-in <code>copy<\/code> function:<\/p>\n<pre><code class=\"language-go\">src := []int{1, 2, 3}\ndst := make([]int, len(src))\ncopy(dst, src)\n<\/code><\/pre>\n<p>A nil slice has <code>len<\/code> 0 and <code>cap<\/code> 0. You can call <code>append<\/code> on a nil slice \u2014 it works fine. An empty slice literal <code>[]int{}<\/code> is also valid and sometimes preferred when serializing to JSON, because <code>null<\/code> vs <code>[]<\/code> matters for API consumers.<\/p>\n<h4 id=\"maps\">5. Maps \u2014 Key-Value Collections<\/h4>\n<p>A <strong>map<\/strong> associates keys with values. Both keys and values have types \u2014 for example, <code>map[string]int<\/code> maps string keys to integer values. Maps are reference types, like slices.<\/p>\n<p>Create a map with <code>make<\/code> or a literal:<\/p>\n<pre><code class=\"language-go\">package main\n\nimport \"fmt\"\n\nfunc main() {\n\t\/\/ Map literal\n\tages := map[string]int{\n\t\t\"Alice\": 30,\n\t\t\"Bob\":   25,\n\t}\n\n\t\/\/ make(map[KeyType]ValueType)\n\tscores := make(map[string]int)\n\n\tscores[\"math\"] = 92\n\tscores[\"science\"] = 88\n\n\tfmt.Println(ages[\"Alice\"])  \/\/ 30\n\tfmt.Println(scores)         \/\/ map[math:92 science:88]\n}\n<\/code><\/pre>\n<p>Reading a missing key returns the zero value for the value type (0 for <code>int<\/code>, <code>\"\"<\/code> for <code>string<\/code>). To distinguish &#8220;key not found&#8221; from &#8220;key exists with zero value&#8221;, use the two-value form:<\/p>\n<pre><code class=\"language-go\">score, ok := scores[\"history\"]\nif !ok {\n\tfmt.Println(\"history score not found\")\n} else {\n\tfmt.Println(\"history:\", score)\n}\n<\/code><\/pre>\n<p>Delete a key with <code>delete(scores, \"math\")<\/code>. Maps are not safe for concurrent access from multiple goroutines without synchronization \u2014 you will learn about that in the goroutines lesson.<\/p>\n<h4 id=\"range\">6. Iteration with range<\/h4>\n<p>The <code>range<\/code> keyword iterates over slices, arrays, maps, strings, and channels. For slices and arrays, <code>range<\/code> provides the index and value:<\/p>\n<pre><code class=\"language-go\">package main\n\nimport \"fmt\"\n\nfunc main() {\n\tcolors := []string{\"red\", \"green\", \"blue\"}\n\n\t\/\/ Index and value\n\tfor i, color := range colors {\n\t\tfmt.Printf(\"%d: %s\\n\", i, color)\n\t}\n\n\t\/\/ Value only \u2014 use _ to ignore the index\n\tfor _, color := range colors {\n\t\tfmt.Println(color)\n\t}\n\n\t\/\/ Map iteration \u2014 key and value\n\tcapital := map[string]string{\n\t\t\"Nigeria\": \"Abuja\",\n\t\t\"Kenya\":   \"Nairobi\",\n\t\t\"Ghana\":   \"Accra\",\n\t}\n\n\tfor country, city := range capital {\n\t\tfmt.Printf(\"%s \u2192 %s\\n\", country, city)\n\t}\n}\n<\/code><\/pre>\n<p>Map iteration order is <em>randomized<\/em> in Go \u2014 do not depend on any particular order. If you need sorted output, collect keys into a slice and sort them first (using the <code>sort<\/code> package).<\/p>\n<h4 id=\"comparison\">7. Arrays vs Slices vs Maps \u2014 Quick Reference<\/h4>\n<table>\n<thead>\n<tr>\n<th>Type<\/th>\n<th>Size<\/th>\n<th>Access<\/th>\n<th>Typical Use<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Array<\/td>\n<td>Fixed at compile time<\/td>\n<td>Index <code>[i]<\/code><\/td>\n<td>Fixed buffers, low-level code<\/td>\n<\/tr>\n<tr>\n<td>Slice<\/td>\n<td>Dynamic (<code>append<\/code>)<\/td>\n<td>Index <code>[i]<\/code><\/td>\n<td>Lists, sequences, most collections<\/td>\n<\/tr>\n<tr>\n<td>Map<\/td>\n<td>Dynamic (grows automatically)<\/td>\n<td>Key <code>[key]<\/code><\/td>\n<td>Lookups, counting, grouping<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 id=\"next\">8. Next Steps<\/h4>\n<p>You now understand <strong>Go arrays, slices, and maps<\/strong> \u2014 how to create them with literals and <code>make<\/code>, grow slices with <code>append<\/code>, inspect size with <code>len<\/code> and <code>cap<\/code>, and iterate with <code>range<\/code>. In the next lesson we cover <strong>structs and methods<\/strong> \u2014 Go&#8217;s way to group related data and attach behavior to types.<\/p>\n<p>Continue the series: <a href=\"https:\/\/www.kindsonthegenius.com\/go\/06-go-functions\/\">Lesson 6 \u2013 Functions<\/a> \u00b7 <a href=\"https:\/\/www.kindsonthegenius.com\/go\/08-go-structs-and-methods\/\">Lesson 8 \u2013 Structs and Methods<\/a><\/p>\n<h4 id=\"faq\">Frequently Asked Questions<\/h4>\n<p><strong>What is the difference between arrays and slices in Go?<\/strong><br \/>\nArrays have a fixed size that is part of their type. Slices are dynamic views backed by an array and are used far more often in real Go programs.<\/p>\n<p><strong>How do you append to a slice in Go?<\/strong><br \/>\nUse <code>append(slice, element)<\/code> and assign the result back: <code>slice = append(slice, value)<\/code>. When capacity is exceeded, Go allocates a new backing array automatically.<\/p>\n<p><strong>Are Go maps ordered?<\/strong><br \/>\nNo. Map iteration order is randomized. Sort keys separately if you need a consistent order in output.<\/p>\n<p><!-- ktg-lesson-nav --><\/p>\n<nav class=\"ktg-lesson-nav\" aria-label=\"Lesson navigation\">\n<p><strong>Previous:<\/strong> <a href=\"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/06-go-functions\/\">Lesson 6: Go Functions \u2013 Declarations, Returns, and defer<\/a><\/p>\n<p><strong>Next:<\/strong> <a href=\"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/08-go-structs-and-methods\/\">Lesson 8: Go Structs and Methods \u2013 Organizing Data and Behavior<\/a><\/p>\n<\/nav>\n<p><!-- ktg-alkademy-cta --><\/p>\n<div class=\"ktg-alkademy-cta\" style=\"margin:2em 0;padding:1.25em;border-left:4px solid #2563eb;background:#f8fafc;\">\n<p><strong>Want live Go or backend classes?<\/strong> Join <a href=\"https:\/\/www.alkademy.com\/courses\" target=\"_blank\" rel=\"noopener noreferrer\">Alkademy<\/a> for instructor-led programming courses with hands-on projects.<\/p>\n<\/div>\n<p><!-- ktg-faq-schema --><br \/>\n<script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"What is the difference between arrays and slices in Go?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Arrays have fixed size. Slices are dynamic views backed by an array and are used far more often.\"}},{\"@type\":\"Question\",\"name\":\"How do you append to a slice in Go?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Use append(slice, element). append may allocate a new backing array when capacity is exceeded.\"}},{\"@type\":\"Question\",\"name\":\"Are Go maps ordered?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No. Map iteration order is randomized. Sort keys separately if you need order.\"}}]}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Updated July 2, 2026. Refreshed for Go 1.22+ and current SEO best practices. In this lesson we cover Go arrays, slices, and maps \u2014 the &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[23],"tags":[],"class_list":["post-168","post","type-post","status-publish","format-standard","hentry","category-go-programming"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Updated July 2, 2026. Refreshed for Go 1.22+ and current SEO best practices. In this lesson we cover Go arrays, slices, and maps \u2014 the three main ways to store collections of data. If you completed Go Functions, you already know how to pass values around. Now you will learn how to group them into\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"kindsonthegenius\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Go Programming Tutorial - Beginner to Expert Go Programming Tutorial\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Go Arrays, Slices, and Maps \u2013 Working with Collections - Go Programming Tutorial\" \/>\n\t\t<meta property=\"og:description\" content=\"Updated July 2, 2026. Refreshed for Go 1.22+ and current SEO best practices. In this lesson we cover Go arrays, slices, and maps \u2014 the three main ways to store collections of data. If you completed Go Functions, you already know how to pass values around. Now you will learn how to group them into\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-07-07T20:29:38+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-07-07T20:38:15+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Go Arrays, Slices, and Maps \u2013 Working with Collections - Go Programming Tutorial\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Updated July 2, 2026. Refreshed for Go 1.22+ and current SEO best practices. In this lesson we cover Go arrays, slices, and maps \u2014 the three main ways to store collections of data. If you completed Go Functions, you already know how to pass values around. Now you will learn how to group them into\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/#blogposting\",\"name\":\"Go Arrays, Slices, and Maps \\u2013 Working with Collections - Go Programming Tutorial\",\"headline\":\"Go Arrays, Slices, and Maps \\u2013 Working with Collections\",\"author\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/author\\\/kindsonthegenius-3\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/#organization\"},\"datePublished\":\"2026-07-07T20:29:38+00:00\",\"dateModified\":\"2026-07-07T20:38:15+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/#webpage\"},\"articleSection\":\"Go Programming\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/category\\\/go-programming\\\/#listItem\",\"name\":\"Go Programming\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/category\\\/go-programming\\\/#listItem\",\"position\":2,\"name\":\"Go Programming\",\"item\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/category\\\/go-programming\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/#listItem\",\"name\":\"Go Arrays, Slices, and Maps \\u2013 Working with Collections\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/#listItem\",\"position\":3,\"name\":\"Go Arrays, Slices, and Maps \\u2013 Working with Collections\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/category\\\/go-programming\\\/#listItem\",\"name\":\"Go Programming\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/#organization\",\"name\":\"Go Programming Tutorial\",\"description\":\"Beginner to Expert Go Programming Tutorial\",\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/author\\\/kindsonthegenius-3\\\/#author\",\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/author\\\/kindsonthegenius-3\\\/\",\"name\":\"kindsonthegenius\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"kindsonthegenius\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/#webpage\",\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/\",\"name\":\"Go Arrays, Slices, and Maps \\u2013 Working with Collections - Go Programming Tutorial\",\"description\":\"Updated July 2, 2026. Refreshed for Go 1.22+ and current SEO best practices. In this lesson we cover Go arrays, slices, and maps \\u2014 the three main ways to store collections of data. If you completed Go Functions, you already know how to pass values around. Now you will learn how to group them into\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/author\\\/kindsonthegenius-3\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/author\\\/kindsonthegenius-3\\\/#author\"},\"datePublished\":\"2026-07-07T20:29:38+00:00\",\"dateModified\":\"2026-07-07T20:38:15+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/#website\",\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/\",\"name\":\"Go Programming Tutorial\",\"description\":\"Beginner to Expert Go Programming Tutorial\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Go Arrays, Slices, and Maps \u2013 Working with Collections - Go Programming Tutorial","description":"Updated July 2, 2026. Refreshed for Go 1.22+ and current SEO best practices. In this lesson we cover Go arrays, slices, and maps \u2014 the three main ways to store collections of data. If you completed Go Functions, you already know how to pass values around. Now you will learn how to group them into","canonical_url":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/#blogposting","name":"Go Arrays, Slices, and Maps \u2013 Working with Collections - Go Programming Tutorial","headline":"Go Arrays, Slices, and Maps \u2013 Working with Collections","author":{"@id":"https:\/\/kindsonthegenius.com\/go\/author\/kindsonthegenius-3\/#author"},"publisher":{"@id":"https:\/\/kindsonthegenius.com\/go\/#organization"},"datePublished":"2026-07-07T20:29:38+00:00","dateModified":"2026-07-07T20:38:15+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/#webpage"},"isPartOf":{"@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/#webpage"},"articleSection":"Go Programming"},{"@type":"BreadcrumbList","@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/kindsonthegenius.com\/go#listItem","position":1,"name":"Home","item":"https:\/\/kindsonthegenius.com\/go","nextItem":{"@type":"ListItem","@id":"https:\/\/kindsonthegenius.com\/go\/category\/go-programming\/#listItem","name":"Go Programming"}},{"@type":"ListItem","@id":"https:\/\/kindsonthegenius.com\/go\/category\/go-programming\/#listItem","position":2,"name":"Go Programming","item":"https:\/\/kindsonthegenius.com\/go\/category\/go-programming\/","nextItem":{"@type":"ListItem","@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/#listItem","name":"Go Arrays, Slices, and Maps \u2013 Working with Collections"},"previousItem":{"@type":"ListItem","@id":"https:\/\/kindsonthegenius.com\/go#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/#listItem","position":3,"name":"Go Arrays, Slices, and Maps \u2013 Working with Collections","previousItem":{"@type":"ListItem","@id":"https:\/\/kindsonthegenius.com\/go\/category\/go-programming\/#listItem","name":"Go Programming"}}]},{"@type":"Organization","@id":"https:\/\/kindsonthegenius.com\/go\/#organization","name":"Go Programming Tutorial","description":"Beginner to Expert Go Programming Tutorial","url":"https:\/\/kindsonthegenius.com\/go\/"},{"@type":"Person","@id":"https:\/\/kindsonthegenius.com\/go\/author\/kindsonthegenius-3\/#author","url":"https:\/\/kindsonthegenius.com\/go\/author\/kindsonthegenius-3\/","name":"kindsonthegenius","image":{"@type":"ImageObject","@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g","width":96,"height":96,"caption":"kindsonthegenius"}},{"@type":"WebPage","@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/#webpage","url":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/","name":"Go Arrays, Slices, and Maps \u2013 Working with Collections - Go Programming Tutorial","description":"Updated July 2, 2026. Refreshed for Go 1.22+ and current SEO best practices. In this lesson we cover Go arrays, slices, and maps \u2014 the three main ways to store collections of data. If you completed Go Functions, you already know how to pass values around. Now you will learn how to group them into","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/kindsonthegenius.com\/go\/#website"},"breadcrumb":{"@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/#breadcrumblist"},"author":{"@id":"https:\/\/kindsonthegenius.com\/go\/author\/kindsonthegenius-3\/#author"},"creator":{"@id":"https:\/\/kindsonthegenius.com\/go\/author\/kindsonthegenius-3\/#author"},"datePublished":"2026-07-07T20:29:38+00:00","dateModified":"2026-07-07T20:38:15+00:00"},{"@type":"WebSite","@id":"https:\/\/kindsonthegenius.com\/go\/#website","url":"https:\/\/kindsonthegenius.com\/go\/","name":"Go Programming Tutorial","description":"Beginner to Expert Go Programming Tutorial","inLanguage":"en-US","publisher":{"@id":"https:\/\/kindsonthegenius.com\/go\/#organization"}}]},"og:locale":"en_US","og:site_name":"Go Programming Tutorial - Beginner to Expert Go Programming Tutorial","og:type":"article","og:title":"Go Arrays, Slices, and Maps \u2013 Working with Collections - Go Programming Tutorial","og:description":"Updated July 2, 2026. Refreshed for Go 1.22+ and current SEO best practices. In this lesson we cover Go arrays, slices, and maps \u2014 the three main ways to store collections of data. If you completed Go Functions, you already know how to pass values around. Now you will learn how to group them into","og:url":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/","article:published_time":"2026-07-07T20:29:38+00:00","article:modified_time":"2026-07-07T20:38:15+00:00","twitter:card":"summary_large_image","twitter:title":"Go Arrays, Slices, and Maps \u2013 Working with Collections - Go Programming Tutorial","twitter:description":"Updated July 2, 2026. Refreshed for Go 1.22+ and current SEO best practices. In this lesson we cover Go arrays, slices, and maps \u2014 the three main ways to store collections of data. If you completed Go Functions, you already know how to pass values around. Now you will learn how to group them into"},"aioseo_meta_data":[],"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kindsonthegenius.com\/go\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kindsonthegenius.com\/go\/category\/go-programming\/\" title=\"Go Programming\">Go Programming<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tGo Arrays, Slices, and Maps \u2013 Working with Collections\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/kindsonthegenius.com\/go"},{"label":"Go Programming","link":"https:\/\/kindsonthegenius.com\/go\/category\/go-programming\/"},{"label":"Go Arrays, Slices, and Maps \u2013 Working with Collections","link":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Go Arrays, Slices, and Maps \u2013 Working with Collections | Go Programming Tutorial<\/title>\n<meta name=\"description\" content=\"Understand Go arrays, slices, and maps with append, make, and iteration examples. Lesson 7 in the free Go programming tutorial for beginners.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Go Arrays, Slices, and Maps \u2013 Working with Collections | Go Programming Tutorial\" \/>\n<meta property=\"og:description\" content=\"Understand Go arrays, slices, and maps with append, make, and iteration examples. Lesson 7 in the free Go programming tutorial for beginners.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/\" \/>\n<meta property=\"og:site_name\" content=\"Go Programming Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-07T20:29:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-07T20:38:15+00:00\" \/>\n<meta name=\"author\" content=\"kindsonthegenius\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"kindsonthegenius\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/\"},\"author\":{\"name\":\"kindsonthegenius\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/#\\\/schema\\\/person\\\/1b5971e6d80495780d9857f155fd1b21\"},\"headline\":\"Go Arrays, Slices, and Maps \u2013 Working with Collections\",\"datePublished\":\"2026-07-07T20:29:38+00:00\",\"dateModified\":\"2026-07-07T20:38:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/\"},\"wordCount\":873,\"commentCount\":0,\"articleSection\":[\"Go Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/\",\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/\",\"name\":\"Go Arrays, Slices, and Maps \u2013 Working with Collections | Go Programming Tutorial\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/#website\"},\"datePublished\":\"2026-07-07T20:29:38+00:00\",\"dateModified\":\"2026-07-07T20:38:15+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/#\\\/schema\\\/person\\\/1b5971e6d80495780d9857f155fd1b21\"},\"description\":\"Understand Go arrays, slices, and maps with append, make, and iteration examples. Lesson 7 in the free Go programming tutorial for beginners.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/2026\\\/07\\\/07\\\/07-go-arrays-slices-maps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Go Arrays, Slices, and Maps \u2013 Working with Collections\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/#website\",\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/\",\"name\":\"Go Programming Tutorial\",\"description\":\"Beginner to Expert Go Programming Tutorial\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/#\\\/schema\\\/person\\\/1b5971e6d80495780d9857f155fd1b21\",\"name\":\"kindsonthegenius\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g\",\"caption\":\"kindsonthegenius\"},\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/go\\\/author\\\/kindsonthegenius-3\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Go Arrays, Slices, and Maps \u2013 Working with Collections | Go Programming Tutorial","description":"Understand Go arrays, slices, and maps with append, make, and iteration examples. Lesson 7 in the free Go programming tutorial for beginners.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/","og_locale":"en_US","og_type":"article","og_title":"Go Arrays, Slices, and Maps \u2013 Working with Collections | Go Programming Tutorial","og_description":"Understand Go arrays, slices, and maps with append, make, and iteration examples. Lesson 7 in the free Go programming tutorial for beginners.","og_url":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/","og_site_name":"Go Programming Tutorial","article_published_time":"2026-07-07T20:29:38+00:00","article_modified_time":"2026-07-07T20:38:15+00:00","author":"kindsonthegenius","twitter_card":"summary_large_image","twitter_misc":{"Written by":"kindsonthegenius","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/#article","isPartOf":{"@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/"},"author":{"name":"kindsonthegenius","@id":"https:\/\/kindsonthegenius.com\/go\/#\/schema\/person\/1b5971e6d80495780d9857f155fd1b21"},"headline":"Go Arrays, Slices, and Maps \u2013 Working with Collections","datePublished":"2026-07-07T20:29:38+00:00","dateModified":"2026-07-07T20:38:15+00:00","mainEntityOfPage":{"@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/"},"wordCount":873,"commentCount":0,"articleSection":["Go Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/","url":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/","name":"Go Arrays, Slices, and Maps \u2013 Working with Collections | Go Programming Tutorial","isPartOf":{"@id":"https:\/\/kindsonthegenius.com\/go\/#website"},"datePublished":"2026-07-07T20:29:38+00:00","dateModified":"2026-07-07T20:38:15+00:00","author":{"@id":"https:\/\/kindsonthegenius.com\/go\/#\/schema\/person\/1b5971e6d80495780d9857f155fd1b21"},"description":"Understand Go arrays, slices, and maps with append, make, and iteration examples. Lesson 7 in the free Go programming tutorial for beginners.","breadcrumb":{"@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kindsonthegenius.com\/go\/2026\/07\/07\/07-go-arrays-slices-maps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kindsonthegenius.com\/go\/"},{"@type":"ListItem","position":2,"name":"Go Arrays, Slices, and Maps \u2013 Working with Collections"}]},{"@type":"WebSite","@id":"https:\/\/kindsonthegenius.com\/go\/#website","url":"https:\/\/kindsonthegenius.com\/go\/","name":"Go Programming Tutorial","description":"Beginner to Expert Go Programming Tutorial","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kindsonthegenius.com\/go\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/kindsonthegenius.com\/go\/#\/schema\/person\/1b5971e6d80495780d9857f155fd1b21","name":"kindsonthegenius","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g","caption":"kindsonthegenius"},"url":"https:\/\/kindsonthegenius.com\/go\/author\/kindsonthegenius-3\/"}]}},"_links":{"self":[{"href":"https:\/\/kindsonthegenius.com\/go\/wp-json\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kindsonthegenius.com\/go\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kindsonthegenius.com\/go\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/go\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/go\/wp-json\/wp\/v2\/comments?post=168"}],"version-history":[{"count":3,"href":"https:\/\/kindsonthegenius.com\/go\/wp-json\/wp\/v2\/posts\/168\/revisions"}],"predecessor-version":[{"id":192,"href":"https:\/\/kindsonthegenius.com\/go\/wp-json\/wp\/v2\/posts\/168\/revisions\/192"}],"wp:attachment":[{"href":"https:\/\/kindsonthegenius.com\/go\/wp-json\/wp\/v2\/media?parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/go\/wp-json\/wp\/v2\/categories?post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/go\/wp-json\/wp\/v2\/tags?post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}