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
1 changed files with 5 additions and 5 deletions

10
main.go
View File

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