Skip to content
Snippets Groups Projects
Commit f8e5804e authored by Abdulsamad Sheikh's avatar Abdulsamad Sheikh :cat2:
Browse files

Update file services.go

parent 03013b1d
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,6 @@ import ( ...@@ -5,7 +5,6 @@ import (
"net/http" "net/http"
"time" "time"
"assignment1/models" "assignment1/models"
"time"
) )
// FetchBooksByLanguage retrieves books from the Gutendex API by language. // FetchBooksByLanguage retrieves books from the Gutendex API by language.
...@@ -89,7 +88,7 @@ func CheckServiceAvailability(serviceURL string) int { ...@@ -89,7 +88,7 @@ func CheckServiceAvailability(serviceURL string) int {
} }
var serviceStartTime = time.Now() var ServiceStartTime = time.Now()
// GetUptime calculates the uptime of the service in seconds. // GetUptime calculates the uptime of the service in seconds.
func GetUptime() int64 { func GetUptime() int64 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment