summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.go b/main.go
index 090cd17..e0eeebb 100644
--- a/main.go
+++ b/main.go
@@ -12,8 +12,6 @@ import (
// Example:
// curl 'http://localhost:8080/api/v1/auth/login' -X POST -H 'Content-Type: application/json' --data-raw $'{}}\n{"king": "key"'
-const log_length = 100
-
type loginAttemptLog struct {
Email string `json:"email"`
Password string `json:"password"`
@@ -23,7 +21,7 @@ type loginAttemptLog struct {
}
func main() {
- var logs [log_length]string
+ var logs [api.LogLength]string
n := 0
king := "NOKING"