This commit is contained in:
Arya Kiran 2023-01-19 10:55:11 +05:30
parent 367c91d843
commit 47ab0080e7
Signed by: arya
GPG Key ID: 842D12BDA50DF120

10
main.go
View File

@ -7,22 +7,22 @@ import (
"github.com/spf13/viper" "github.com/spf13/viper"
"os" "os"
"os/exec" "os/exec"
"regexp"
"runtime" "runtime"
"strings" "strings"
"regexp"
) )
type Userstruct struct { type Userstruct struct {
Status int `json:"status"` Status int `json:"status"`
Online int `json:"online"` Online int `json:"online"`
Total int `json:"total"` Total int `json:"total"`
Users []Userinfo `json:"users"` Users []Userinfo `json:"users"`
} }
type Userinfo struct { type Userinfo struct {
Name string `json:"name"` Name string `json:"name"`
FullName string `json:"fullName"` FullName string `json:"fullName"`
Desc string `json:"desc"` Desc string `json:"desc"`
Online bool `json:"online"` Online bool `json:"online"`
Email string `json:"email"` Email string `json:"email"`
Website string `json:"website"` Website string `json:"website"`
Capsule string `json:"capsule"` Capsule string `json:"capsule"`