mirror of
https://github.com/amineo/t2-stat-parser.git
synced 2026-01-20 01:34:47 +00:00
25 lines
420 B
Go
25 lines
420 B
Go
/*
|
|
[ T2 Stat Parser for DarkTiger's Stats]
|
|
|
|
A player stat parser that retrieves stat files via FTP
|
|
and imports them into a postgres db daily
|
|
|
|
*/
|
|
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"time"
|
|
)
|
|
|
|
func main() {
|
|
// fmt.Println("Starting FTP stat file download")
|
|
initFTP()
|
|
// fmt.Println("Stat files downloaded!")
|
|
|
|
fmt.Println("Starting stat parser")
|
|
initParser()
|
|
fmt.Println("All done!", time.Now().Format(time.RFC850))
|
|
}
|