Skip to content

Commit e083606

Browse files
committed
Fix issues, format files
1 parent cdf2522 commit e083606

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ backend
1414
*.out
1515

1616
# Dependency directories (remove the comment below to include it)
17-
# vendor/
17+
# vendor/

cmd/main.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
package main
22

33
import (
4-
"fmt"
5-
"log"
6-
"net/http"
7-
"github.com/hulk0301/example-app-backend/internal/router"
4+
"fmt"
5+
"github.com/hulk0301/example-app-backend/internal/router"
6+
"log"
7+
"net/http"
88
)
99

1010
const port = 8080
1111

1212
func main() {
13-
http.HandleFunc("/", router.HandleRequest)
13+
http.HandleFunc("/", router.HandleRequest)
1414
log.Printf("Server listening on http://localhost:%d/", port)
15-
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", port) , nil))
15+
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", port), nil))
1616
}

0 commit comments

Comments
 (0)