commands, hugolib, source, target, tpl: Get rid of some fmt statements

This commit is contained in:
bogem 2016-11-18 22:38:41 +01:00 committed by Bjørn Erik Pedersen
parent 120f6b0cf2
commit 1f130fd692
4 changed files with 6 additions and 12 deletions

View file

@ -13,10 +13,7 @@
package source
import (
"bytes"
"fmt"
)
import "bytes"
type ByteSource struct {
Name string
@ -24,7 +21,7 @@ type ByteSource struct {
}
func (b *ByteSource) String() string {
return fmt.Sprintf("%s %s", b.Name, string(b.Content))
return b.Name + " " + string(b.Content)
}
type InMemorySource struct {