Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.md « data « data « tpl « functions « reference « documentation « en « content « exampleSite - github.com/gohugoio/gohugoioTheme2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2c3cb293cbd30a0537673e389b650f68c6276333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66





---
title: "data"
linkTitle: "data"
description: "Data is Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. "
hugoSymbol: TODO




---















## data.GetCSV {#data_namespace_getcsv}

\([string](/documentation/reference/gotypes/#string)[](/documentation/reference/objects//)\) → [](/documentation/reference/objects//)
{.funcsig}
GetCSV expects a data separator and one or n-parts of a URL to a resource which
can either be a local or a remote one.
The data separator can be a comma, semi-colon, pipe, etc, but only one character.
If you provide multiple parts for the URL they will be joined together to the final URL.
GetCSV returns nil or a slice slice to use in a short code.


{{< docs/func-aliases "data.GetCSV" >}}
{{< docs/func-examples "data.GetCSV" >}}







## data.GetJSON {#data_namespace_getjson}

\([](/documentation/reference/objects//)\) → [any](/documentation/reference/gotypes/#any)
{.funcsig}
GetJSON expects one or n-parts of a URL to a resource which can either be a local or a remote one.
If you provide multiple parts they will be joined together to the final URL.
GetJSON returns nil or parsed JSON to use in a short code.


{{< docs/func-aliases "data.GetJSON" >}}
{{< docs/func-examples "data.GetJSON" >}}