summaryrefslogtreecommitdiffhomepage
path: root/source
diff options
context:
space:
mode:
authorbogem <[email protected]>2016-11-18 22:38:41 +0100
committerBjørn Erik Pedersen <[email protected]>2016-11-22 23:43:55 +0100
commit1f130fd69247aa3ae2e08560cd56537b32ef3d80 (patch)
tree6268e1aab055c7e144ac7827763b9dab6b70926b /source
parent120f6b0cf20dfc977f33e650530d866e28e52a28 (diff)
downloadhugo-1f130fd69247aa3ae2e08560cd56537b32ef3d80.tar.gz
hugo-1f130fd69247aa3ae2e08560cd56537b32ef3d80.zip
commands, hugolib, source, target, tpl: Get rid of some fmt statements
Diffstat (limited to 'source')
-rw-r--r--source/inmemory.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/inmemory.go b/source/inmemory.go
index ebd07686b..9d3af5194 100644
--- a/source/inmemory.go
+++ b/source/inmemory.go
@@ -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 {