diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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" |