hugo/tpl
Bjørn Erik Pedersen 9202117ba0 resources: Add more details to .Err
This commit adds a .Data object (a map with `Body`, `StatusCode` etc.) to the .Err returned from `resources.GetRemote`, which means you can now do:

```
{{ with .Err }}
{{ range $k, $v := .Data }}
{{ end }}
{{ end }}
```

Fixes #9708
2022-03-25 16:40:36 +01:00
..
cast all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
collections all: Use strings.Cut 2022-03-21 09:32:35 +01:00
compare all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
crypto tpl/crypto: Add optional encoding arg to hmac function 2022-03-23 19:42:56 +01:00
data all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
debug all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
diagrams all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
encoding all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
fmt all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
hugo all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
images all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
inflect all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
internal all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
js all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
lang all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
math all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
openapi/openapi3 all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
os all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
partials all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
path all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
reflect all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
resources resources: Add more details to .Err 2022-03-25 16:40:36 +01:00
safe all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
site all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
strings all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
templates all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
time all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
tplimpl all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
transform all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
urls all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
template.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
template_info.go Add --printUnusedTemplates 2022-02-15 20:01:57 +01:00
template_test.go Create lightweight forks of text/template and html/template 2019-12-12 09:59:34 +01:00