lint with golangci-lint

This commit is contained in:
jkhelil
2020-05-06 16:22:52 +02:00
parent eb8b2e32e8
commit 128c97be6b
46 changed files with 394 additions and 181 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/pkg/errors"
)
// Render executes a parsed template (go-template) with configuration from data
// Render executes a parsed template (go-template) with configuration from data.
func Render(template *template.Template, data interface{}) (string, error) {
var buffer bytes.Buffer
if err := template.Execute(&buffer, data); err != nil {