removed unused code & added log message
This commit is contained in:
parent
2b5fd4843a
commit
15ee54553c
4
main.go
4
main.go
@ -11,8 +11,6 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
const USER = "selloo"
|
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
// Loads Config
|
// Loads Config
|
||||||
@ -38,6 +36,8 @@ func main() {
|
|||||||
// Initialize the e621API
|
// Initialize the e621API
|
||||||
e621Client := e621.NewClient(config.E621APIKey, config.E621Username)
|
e621Client := e621.NewClient(config.E621APIKey, config.E621Username)
|
||||||
|
|
||||||
|
log.Printf("Im ready!")
|
||||||
|
|
||||||
// Register the UserHandler with the "/user" route
|
// Register the UserHandler with the "/user" route
|
||||||
http.HandleFunc("/user", api.UserHandler(ctx, driver, e621Client))
|
http.HandleFunc("/user", api.UserHandler(ctx, driver, e621Client))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user