-
Allow to use Golang template engine for notification headers, as it is already used for the notification body.
Mostly useful for Webhook notifier.
Also, when implemented, the hard-coded [X-Actions…
-
Excuse me! How to support for golang html/template ? e.g. "{{" or "}}"
-
Is there room to put a short example of templates int the print section?
https://golang.org/pkg/text/template/
Thanks :-)
-
**What happened**:
```
=== RUN TestPodSidecarLabelChangeTriggersAddIptablesAction
time="2024-07-23T01:54:14Z" level=info msg="pod default/test-pod-no-sidecar does not have sidecar injected, s…
-
[Trivy](https://trivy.dev/) finds many CVEs in bazelisk version 1.20.0:
```
Total: 14 (UNKNOWN: 0, LOW: 0, MEDIUM: 11, HIGH: 3, CRITICAL: 0)
┌─────────┬────────────────┬──────────┬────────┬──────…
-
Instead, use something that can parse everything in one go, in order to improve the code that reads the template. Currently, there is a lot of error handling.
-
https://colobu.com/2019/11/05/Golang-Templates-Cheatsheet/
-
Currently variables imported through `-t` option are parsed as strings, it would be great to parse as bools if true or false.
Consider the difference between the two recipes:
working:
```
{{- …
-
# [译]Golang template 小抄
这是 Curtis Vermeeren 做的 Go模板技术的小抄,这是我非常喜欢的形式,可以以一个简短的总结把相关的技术介绍出来。 大家可以看我以前翻译的Go文件操作大全,也是统一风格的文章。我翻译了这篇文章,补充了遗漏的知识点。
Go标准库提供了几个package可以产生输出结果,而text/templat
[https://colobu.co…
-
## Expected Behavior
This project currently uses go 1.20 which is EOL and unsupported, see https://go.dev/doc/devel/release It also has security vulnerabilities which scanners such as Trivy repor…