Skip to content

Commit 136e8ba

Browse files
gofmt
1 parent af617f5 commit 136e8ba

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

.deepsource.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@ name = "go"
1717

1818
[analyzers.meta]
1919
import_root = "github.com/fabricekabongo/loggerhead"
20-
dependencies_vendored = true
20+
dependencies_vendored = true
21+
22+
[[transformers]]
23+
name = "gofmt"

main.go

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@ package main
33
import (
44
"errors"
55
"fmt"
6+
"log"
7+
"os"
8+
"os/signal"
9+
"syscall"
10+
"time"
11+
612
"github.com/fabricekabongo/loggerhead/admin"
713
"github.com/fabricekabongo/loggerhead/clustering"
814
"github.com/fabricekabongo/loggerhead/config"
915
"github.com/fabricekabongo/loggerhead/query"
1016
"github.com/fabricekabongo/loggerhead/server"
1117
"github.com/fabricekabongo/loggerhead/world"
12-
"log"
13-
"os"
14-
"os/signal"
15-
"syscall"
16-
"time"
1718
)
1819

1920
func main() {
@@ -77,8 +78,6 @@ func main() {
7778
end := time.Now()
7879
fmt.Println("Startup time: ", end.Sub(start))
7980
svr.Start()
80-
81-
return
8281
}
8382

8483
func printWelcomeMessage(cfg config.Config, cluster *clustering.Cluster) {

0 commit comments

Comments
 (0)