Spaces to tabs (gofmt) files

This commit is contained in:
NotZippy
2017-05-03 15:56:37 -07:00
parent 49041fb83d
commit 18e6b92704
3 changed files with 18 additions and 20 deletions

View File

@@ -169,7 +169,6 @@ func ProcessSource(roots []string) (*SourceInfo, *revel.Error) {
}
}
// There should be only one package in this directory.
if len(pkgs) > 1 {
for i := range pkgs {

View File

@@ -89,7 +89,7 @@ func parseRunArgs(args []string) *RunArgs {
// 1. revel run [import-path]
// 2. revel run [port]
// 3. revel run [run-mode]
_, err := build.Import(args[0], "", build.FindOnly);
_, err := build.Import(args[0], "", build.FindOnly)
if err != nil {
revel.WARN.Printf("Unable to run using an import path, assuming import path is working directory %s %s", args[0], err.Error())
}

View File

@@ -29,7 +29,6 @@ func init() {
revel.ActionInvoker, // Invoke the action.
}
// register startup functions with OnAppStart
// revel.DevMode and revel.RunMode only work inside of OnAppStart. See Example Startup Script
// ( order dependent )