Create & Init Project...

This commit is contained in:
2019-04-22 18:49:16 +08:00
commit fc4fa37393
25440 changed files with 4054998 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
package(default_visibility = ["//visibility:public"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
)
go_library(
name = "go_default_library",
srcs = ["model.go"],
importpath = "go-common/app/interface/live/web-room/model",
tags = ["automanaged"],
visibility = ["//visibility:public"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)

View File

@@ -0,0 +1,22 @@
package model
//History 存档信息
type History struct {
Text string `json:"text"`
NickName string `json:"nickname"`
UnameColor string `json:"uname_color"`
UID int64 `json:"uid"`
TimeLine string `json:"timeline"`
Isadmin int32 `json:"isadmin"`
Vip int `json:"vip"`
SVip int `json:"svip"`
Medal []interface{} `json:"medal"`
Title []interface{} `json:"title"`
UserLevel []interface{} `json:"user_level"`
Rank int32 `json:"rank"`
Teamid int64 `json:"teamid"`
RND string `json:"rnd"`
UserTitle string `json:"user_title"`
GuardLevel int `json:"guard_level"`
Bubble int64 `json:"bubble"`
}