From 15ee54553ce9539a2410014ebd829099d9d7bf45 Mon Sep 17 00:00:00 2001 From: David Janowski Date: Wed, 24 May 2023 23:11:20 +0200 Subject: [PATCH] removed unused code & added log message --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index ada29c9..20fb1d9 100644 --- a/main.go +++ b/main.go @@ -11,8 +11,6 @@ import ( "net/http" ) -const USER = "selloo" - func main() { // Loads Config @@ -38,6 +36,8 @@ func main() { // Initialize the e621API e621Client := e621.NewClient(config.E621APIKey, config.E621Username) + log.Printf("Im ready!") + // Register the UserHandler with the "/user" route http.HandleFunc("/user", api.UserHandler(ctx, driver, e621Client))