2 Star 0 Fork 0

BOBO/创想视频核心服务

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
video_user_actions.go 408 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhouyp 提交于 7个月前 . feat:视频管理
package enums
type (
VideoUserActionType string
)
const (
VideoUserActionTypeCollect VideoUserActionType = `C`
VideoUserActionTypeLike VideoUserActionType = `L`
VideoUserActionTypeTread VideoUserActionType = `T`
)
func (t VideoUserActionType) Is() bool {
switch t {
case VideoUserActionTypeCollect, VideoUserActionTypeLike, VideoUserActionTypeTread:
return true
default:
return false
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/bobo-rs/innovideo-services.git
git@gitee.com:bobo-rs/innovideo-services.git
bobo-rs
innovideo-services
创想视频核心服务
v1.0.4

搜索帮助