forked from ProjectSegfault/publapi
gofmt
This commit is contained in:
parent
367c91d843
commit
47ab0080e7
10
main.go
10
main.go
@ -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"`
|
||||||
|
Loading…
Reference in New Issue
Block a user