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
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-02 15:23:25 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-03 15:12:58 +0300
commitd90e37e0c6e812f9913bf256c9c81aa05b7a08aa (patch)
tree7b1b14464eefec1188ca2eed53c64e4823453cc9 /commands/convert.go
parent32471b57bde51c55a15dbf1db75d6e5f7232c347 (diff)
all: Format code with gofumpt
See https://github.com/mvdan/gofumpt
Diffstat (limited to 'commands/convert.go')
-rw-r--r--commands/convert.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/commands/convert.go b/commands/convert.go
index d8976f7ea..3047add0b 100644
--- a/commands/convert.go
+++ b/commands/convert.go
@@ -16,6 +16,7 @@ package commands
import (
"bytes"
"fmt"
+ "path/filepath"
"strings"
"time"
@@ -34,14 +35,10 @@ import (
"github.com/gohugoio/hugo/hugolib"
- "path/filepath"
-
"github.com/spf13/cobra"
)
-var (
- _ cmder = (*convertCmd)(nil)
-)
+var _ cmder = (*convertCmd)(nil)
type convertCmd struct {
outputDir string