Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 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 = ["data.go"],
importpath = "go-common/app/job/main/videoup-report/model/data",
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,13 @@
package data
// HotArchiveRes hot recheck archive response
type HotArchiveRes struct {
Code int `json:"code"`
Note bool `json:"note"`
SourceDate string `json:"source_date"`
Num int `json:"num"`
List []struct {
Aid int64 `json:"aid"`
Score int `json:"score"`
} `json:"list"`
}