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

index.md « encoding « encoding « tpl « functions « reference « documentation « en « content « exampleSite - github.com/gohugoio/gohugoioTheme2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 84d1d27a251bbb4a2639a83b2bb7864fd8f13b53 (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80





---
title: "encoding"
linkTitle: "encoding"
description: "Encoding 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




---















## encoding.Base64Decode {#encoding_namespace_base64decode}

\([any](/documentation/reference/gotypes/#any)\) → [string](/documentation/reference/gotypes/#string)
{.funcsig}
Base64Decode returns the base64 decoding of the given content.


{{< docs/func-aliases "encoding.Base64Decode" >}}
{{< docs/func-examples "encoding.Base64Decode" >}}







## encoding.Base64Encode {#encoding_namespace_base64encode}

\([any](/documentation/reference/gotypes/#any)\) → [string](/documentation/reference/gotypes/#string)
{.funcsig}
Base64Encode returns the base64 encoding of the given content.


{{< docs/func-aliases "encoding.Base64Encode" >}}
{{< docs/func-examples "encoding.Base64Encode" >}}







## encoding.Jsonify {#encoding_namespace_jsonify}

\([...any](/documentation/reference/objects//...any)\) → [HTML](/documentation/reference/objects/html/template/html)
{.funcsig}
Jsonify encodes a given object to JSON.  To pretty print the JSON, pass a map
or dictionary of options as the first argument.  Supported options are
"prefix" and "indent".  Each JSON element in the output will begin on a new
line beginning with prefix followed by one or more copies of indent according
to the indentation nesting.


{{< docs/func-aliases "encoding.Jsonify" >}}
{{< docs/func-examples "encoding.Jsonify" >}}