mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-15 16:14:41 +00:00
Minor correction to resources.GetRemote
This commit is contained in:
1 parent
45ec53fe00
commit
2af2470b57
1 file changed
+2
-1
@@ -67,9 +67,10 @@ You can also change the request method and set the request body:
|
|||||||
|
|
||||||
## Remote data
|
## Remote data
|
||||||
|
|
||||||
When retrieving remote data, use the [`transform.Unmarshal`] function to unmarshal the response to a map.
|
When retrieving remote data, use the [`transform.Unmarshal`] function to [unmarshal] the response.
|
||||||
|
|
||||||
[`transform.Unmarshal`]: /functions/transform/unmarshal
|
[`transform.Unmarshal`]: /functions/transform/unmarshal
|
||||||
|
[unmarshal]: /getting-started/glossary/#unmarshal
|
||||||
|
|
||||||
```go-html-template
|
```go-html-template
|
||||||
{{ $data := "" }}
|
{{ $data := "" }}
|
||||||
|
|||||||
Reference in new issue
Block a user