vanity-tester-backend-go/cmd/vanity-tester-backend/parser.go
2025-01-08 20:16:19 -03:00

26 lines
589 B
Go

package main
import "encoding/json"
type Parser struct {
SevenTV string `json:"SevenTV"`
Bttv string `json:"BTTV"`
Ffz string `json:"FFZ"`
Chatterino string `json:"Chatterino"`
Chatty string `json:"Chatty"`
Homies string `json:"Homies"`
Ptv string `json:"PurpleTV"`
}
func parseAllBadges() {
stv := &SevenTv{}
stv.getBadges()
json, _ := json.Marshal(stv.Badges)
logger.Trace().Msg(string(json))
// bttv := &Bttv{}
// ffz := &FrankerFz{}
// chatterino := &Chatterino{}
// chatty := &Chatty{}
// homies := &Homies{}
// ptv := &PurpleTV{}
}