mirror of
https://github.com/gohugoio/hugo.git
synced 2024-07-08 10:06:41 +00:00
Code cleanup
This commit is contained in:
parent
19cb6c7819
commit
689cda1740
|
@ -1,8 +1,8 @@
|
||||||
package target
|
package target
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"io"
|
|
||||||
"bytes"
|
"bytes"
|
||||||
|
"io"
|
||||||
)
|
)
|
||||||
|
|
||||||
type InMemoryTarget struct {
|
type InMemoryTarget struct {
|
||||||
|
@ -22,4 +22,3 @@ func (t *InMemoryTarget) Publish(label string, reader io.Reader) (err error) {
|
||||||
func (t *InMemoryTarget) Translate(label string) (dest string, err error) {
|
func (t *InMemoryTarget) Translate(label string) (dest string, err error) {
|
||||||
return label, nil
|
return label, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package transform
|
package transform
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"io"
|
|
||||||
"bytes"
|
"bytes"
|
||||||
|
"io"
|
||||||
)
|
)
|
||||||
|
|
||||||
type chain struct {
|
type chain struct {
|
||||||
|
|
Loading…
Reference in a new issue