mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-10-05 06:00:27 -04:00
26 lines
520 B
Markdown
26 lines
520 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:
|
|
signature:
|
|
workson: []
|
|
hugoversion:
|
|
relatedfuncs: []
|
|
deprecated: false
|
|
draft: false
|
|
aliases: []
|
|
---
|
|
|
|
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
|