Skip to content

Commit fe8bfe0

Browse files
authored
Update main.go
1 parent 836b340 commit fe8bfe0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

main.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ func main() {
2323

2424
// Parse the port number
2525
portPtr := flag.Int("port", 8080, "port to listen on")
26-
27-
//Start the server on the specified port
28-
server.StartServer(*portPtr)
29-
26+
3027
//Print the banner
3128
pterm.DefaultCenter.Println(pterm.DefaultHeader.WithFullWidth().WithBackgroundStyle(pterm.NewStyle(pterm.BgLightRed)).WithMargin(10).Sprint("Athena: The Intelligent Q&A Search Engine"))
3229
pterm.Info.Println("(c)2022 by Akhil Datla")
3330

31+
//Start the server on the specified port
32+
server.StartServer(*portPtr)
3433
}

0 commit comments

Comments
 (0)