Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorbogem <albertnigma@gmail.com>2016-11-19 00:38:41 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-11-23 01:43:55 +0300
commit1f130fd69247aa3ae2e08560cd56537b32ef3d80 (patch)
tree6268e1aab055c7e144ac7827763b9dab6b70926b /source
parent120f6b0cf20dfc977f33e650530d866e28e52a28 (diff)
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 {