mirror of
https://codeberg.org/ultimateplayer1999/Golang-phish-update.git
synced 2024-11-21 16:38:22 -05:00
Added screen clear and updated binary to include it
This commit is contained in:
parent
9add6af2d0
commit
1f36ae43c9
15
README.md
15
README.md
@ -15,4 +15,17 @@ The following code is needed in a .env. This is for the DB connection.
|
||||
|
||||
This is based on the phish table. Table can also be changed if needed.
|
||||
|
||||
Execution time is *1h24m16.934194673s*. This was for **18811 records**.
|
||||
Execution time is *1h23m35.23654842s*. This was for **18855 records**.
|
||||
|
||||
Sample output with all defined code:
|
||||
Script started at 11-01-2023 10:11:17
|
||||
Deletion: Number of rows affected: 2
|
||||
Altering: Number of rows affected: 0
|
||||
Insert: Number of rows affected: 1
|
||||
Insert: Number of rows affected: 1
|
||||
11-01-2023 10:11:18: Initial database table setup done
|
||||
Status code: 200
|
||||
Total number of rows affected: 18855
|
||||
Recent changes recieved and has been added to the database. Removed domains deleted from database. Reorded domains.
|
||||
Script ended at 11-01-2023 11:34:52
|
||||
Time until completion: 1h23m35.23654842s
|
||||
|
@ -16,6 +16,8 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
// Clear the screen
|
||||
fmt.Print("\033[2J")
|
||||
// Load environment variables from .env file
|
||||
err := godotenv.Load()
|
||||
if err != nil {
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user