Run gofmt on generated files

This commit is contained in:
Frédéric Guillot 2017-11-20 13:46:22 -08:00
parent 8ffb773f43
commit 228768dcc3
8 changed files with 44 additions and 36 deletions

View file

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2017-11-19 22:01:21.925268372 -0800 PST m=+0.006101515
// 2017-11-20 13:44:53.735395751 -0800 PST m=+0.047479249
package locale

20
main.go
View file

@ -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"

View file

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2017-11-19 22:01:21.922229748 -0800 PST m=+0.003062891
// 2017-11-20 13:44:53.696612572 -0800 PST m=+0.008696070
package static

View file

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2017-11-19 22:01:21.922613988 -0800 PST m=+0.003447131
// 2017-11-20 13:44:53.70263347 -0800 PST m=+0.014716968
package static

View file

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2017-11-19 22:01:21.923282889 -0800 PST m=+0.004116032
// 2017-11-20 13:44:53.707892515 -0800 PST m=+0.019976013
package static

View file

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2017-11-19 22:01:21.924938666 -0800 PST m=+0.005771809
// 2017-11-20 13:44:53.731951822 -0800 PST m=+0.044035320
package template

View file

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2017-11-19 22:01:21.923713128 -0800 PST m=+0.004546271
// 2017-11-20 13:44:53.712375345 -0800 PST m=+0.024458843
package template

View file

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2017-11-19 22:01:21.921648993 -0800 PST m=+0.002482136
// 2017-11-20 13:44:53.690484632 -0800 PST m=+0.002568130
package sql