aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2017-11-20 13:46:22 -0800
committerGravatar Frédéric Guillot <fred@miniflux.net>2017-11-20 13:46:22 -0800
commit228768dcc3be6ad5917184cc5233fbb83e93c392 (patch)
tree35805fa65ceb20e63dcc94ff0a84b0a15523a705 /main.go
parent8ffb773f43c8dc54801ca1d111854e7e881c93c9 (diff)
Run gofmt on generated files
Diffstat (limited to 'main.go')
-rw-r--r--main.go20
1 files changed, 14 insertions, 6 deletions
diff --git a/main.go b/main.go
index dedbb3f..aedbd0a 100644
--- a/main.go
+++ b/main.go
@@ -5,12 +5,26 @@
package main
//go:generate go run generate.go
+//go:generate gofmt -s -w sql/sql.go
+//go:generate gofmt -s -w server/static/css.go
+//go:generate gofmt -s -w server/static/bin.go
+//go:generate gofmt -s -w server/static/js.go
+//go:generate gofmt -s -w server/template/views.go
+//go:generate gofmt -s -w server/template/common.go
+//go:generate gofmt -s -w locale/translations.go
import (
"bufio"
"context"
"flag"
"fmt"
+ "log"
+ "os"
+ "os/signal"
+ "runtime"
+ "strings"
+ "time"
+
"github.com/miniflux/miniflux2/config"
"github.com/miniflux/miniflux2/model"
"github.com/miniflux/miniflux2/reader/feed"
@@ -18,12 +32,6 @@ import (
"github.com/miniflux/miniflux2/server"
"github.com/miniflux/miniflux2/storage"
"github.com/miniflux/miniflux2/version"
- "log"
- "os"
- "os/signal"
- "runtime"
- "strings"
- "time"
_ "github.com/lib/pq"
"golang.org/x/crypto/ssh/terminal"