Skip extra newline between assets

This commit is contained in:
Jakob Borg 2015-06-15 23:13:43 +02:00
parent 7e5197c566
commit a6d9150b14
2 changed files with 2 additions and 70 deletions

View File

@ -36,8 +36,7 @@ const (
func Assets() map[string][]byte {
var assets = make(map[string][]byte, {{.Assets | len}})
{{range $asset := .Assets}}
assets["{{$asset.Name}}"], _ = base64.StdEncoding.DecodeString("{{$asset.Data}}")
{{end}}
assets["{{$asset.Name}}"], _ = base64.StdEncoding.DecodeString("{{$asset.Data}}"){{end}}
return assets
}

File diff suppressed because one or more lines are too long