This commit is contained in:
Jay 2018-09-11 18:15:54 +08:00
parent bf325401d4
commit fc007136db

View File

@ -26,3 +26,10 @@ func getHeaders(token string) map[string]string {
m["Authorization"] = fmt.Sprintf("Bearer %s", token) m["Authorization"] = fmt.Sprintf("Bearer %s", token)
return m return m
} }
func GetUserData(token string) {
url, ok := getURL("/helix/users")
if !ok {
return
}
}