Initial Commit

This commit is contained in:
idanoo 2023-01-30 10:56:54 +13:00
commit 4e9199bf3e
Signed by: idanoo
GPG key ID: 387387CDBC02F132
12 changed files with 267 additions and 0 deletions

View file

@ -0,0 +1,18 @@
package gomastodonstats
import "log"
func Run() {
log.Println("Fetching counts")
// Get Counts
metrics, err := getUserCounts()
if err != nil {
log.Fatal(err)
}
// Write to DB
persistMetrics(metrics)
// Output example
}