style: run goimports
This commit is contained in:
parent
ad054f541f
commit
5cdae3b733
@ -1,8 +1,8 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
|
||||||
"log"
|
"log"
|
||||||
|
"os"
|
||||||
)
|
)
|
||||||
|
|
||||||
// checkRootAlias compares the first argument provided in the CLI with a list of
|
// checkRootAlias compares the first argument provided in the CLI with a list of
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
filebrowser "github.com/filebrowser/filebrowser/lib"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
v "github.com/spf13/viper"
|
v "github.com/spf13/viper"
|
||||||
filebrowser "github.com/filebrowser/filebrowser/lib"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// serveCmd represents the serve command
|
// serveCmd represents the serve command
|
||||||
|
|||||||
@ -1,20 +1,21 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/spf13/viper"
|
|
||||||
"github.com/asdine/storm"
|
|
||||||
filebrowser "github.com/filebrowser/filebrowser/lib"
|
|
||||||
"github.com/filebrowser/filebrowser/lib/bolt"
|
|
||||||
h "github.com/filebrowser/filebrowser/lib/http"
|
|
||||||
"github.com/filebrowser/filebrowser/lib/staticgen"
|
|
||||||
"github.com/hacdias/fileutils"
|
|
||||||
"gopkg.in/natefinch/lumberjack.v2"
|
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"log"
|
"log"
|
||||||
"net"
|
"net"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
|
"github.com/asdine/storm"
|
||||||
|
filebrowser "github.com/filebrowser/filebrowser/lib"
|
||||||
|
"github.com/filebrowser/filebrowser/lib/bolt"
|
||||||
|
h "github.com/filebrowser/filebrowser/lib/http"
|
||||||
|
"github.com/filebrowser/filebrowser/lib/staticgen"
|
||||||
|
"github.com/hacdias/fileutils"
|
||||||
|
"github.com/spf13/viper"
|
||||||
|
"gopkg.in/natefinch/lumberjack.v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Serve() {
|
func Serve() {
|
||||||
|
|||||||
@ -2,6 +2,7 @@ package cmd
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user