mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 16:04:39 -04:00
Minor correction to resources.GetRemote
This commit is contained in:
parent
45ec53fe00
commit
2af2470b57
@ -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 := "" }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user