package
0.0.0-20240530125620-f74408af2a1a
Repository: https://github.com/wx-up/go-book.git
Documentation: pkg.go.dev

# Functions

No description provided by the author

# Constants

暂停调度.
已经被抢占.
No description provided by the author

# Structs

Article
Article 制作库的文章表 设计索引可以从业务角度出发,高频的 SQL 查询 Where 条件是什么 制作库的文章表,从业务角度高频的操作就是打开草稿箱或者打开已经发布的文章,里面都是我的文章 因此高频的查询就是 where author_id = ? 所以可以考虑建立 author_id 索引 其次文章列表往往是按照时间排序 所以总结下来可以设计一个 author_id + create_time 联合索引.
No description provided by the author
No description provided by the author
PublishArticle 线上库的文章表 正常来说线上库文章表的字段会更多点,比如点赞数、踩等等.
User 持久化对象,对应数据库表结构 有些地方叫做 model 有些地方叫做 entity 还有地方叫做 po( persistence object ).