Go language supports built-in template functionality.
How do I make an optional block in the values file and then refer to it in the template? For …
kubernetes kubernetes-helm go-templatesI'm using Go and package html/template. This is my code in mypage.tmpl: <div class="col-sm-1"> <…
go visual-studio-code go-templatesI need to define a variable based on an if statement and use that variable multiple times. In order not …
kubernetes-helm go-templatesSimple question is it possible to get size list with helm and sprig function ? My list : list: - a - …
go kubernetes-helm go-templates sprig-template-functionsIt noticed a weird thing with Go templates when I try to use Funcs and FuncMap. The following code works …
go go-templatesI'm getting an error when I try and access a function I'm passing to my template: Error: template: struct.tpl:3: …
templates go go-templatesI want to pass two data objects to Go Template. One is a MongoDB query result and other is an …
go go-templatesis there any way to pass just a variable (string, int, bool) into template. For example (something similar): import ( "html/…
go templates go-templatesHow can I do in Golang if I have an HTML file like this: <html> <head lang="…
templates go go-templatesWhen doing ExecuteTemplate I see all examples using &whateversruct{Title: "title info", Body: "body info"} to send data to …
go go-templates