Replace log with logrus for level based logging, add debug flag

This commit is contained in:
2023-12-15 06:40:10 -06:00
parent ca136634c9
commit b5ee5bec0c
7 changed files with 49 additions and 27 deletions

View File

@@ -3,13 +3,14 @@ package main
import (
"fmt"
"io"
"log"
"math/rand"
"net/http"
"reflect"
"runtime/debug"
"strings"
"time"
log "github.com/sirupsen/logrus"
)
const baseURL = "https://www.register2park.com"