hugoDocs/content/functions/index-function.md
2017-02-20 17:15:05 -06:00

24 lines
493 B
Markdown

---
title: index
linktitle: index
description:
godocref: https://golang.org/pkg/text/template/#hdr-Functions
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
tags: []
categories: [functions]
toc: false
draft: false
aliases: []
notesforauthors:
---
From the godocs:
> Returns the result of indexing its first argument by the following arguments. Thus "index x 1 2 3" is, in Go syntax, x[1][2][3]. Each indexed item must be a map, slice, or array.
## Example
## Advanced Example