mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 13:40:38 +03:00
commands, hugolib, source, target, tpl: Get rid of some fmt statements
This commit is contained in:
parent
120f6b0cf2
commit
1f130fd692
4 changed files with 6 additions and 12 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue