package
0.0.0-20230331131353-611b6d6dbe0d
Repository: https://github.com/planvx/aweme.git
Documentation: pkg.go.dev

# Functions

GenRedisKey generate redis key table: enum of table id: id of the table.
NewCommentCommand is the constructor of CommentCommand.
NewCommentQuery is the constructor of CommentQuery.
NewGormDB returns a new gorm db instance.
NewLikeCommand creates a new comment like model.
NewLikeQuery creates a new comment like model.
NewRedisUniversalClient returns a redis client extended with zap logger on incr error.
NewRelationCommand creates a new comment relation model.
NewRelationQuery creates a new comment relation model.
NewUniqueID creates a new unique id generator.
NewUserCommand returns a *UserCommand.
NewUserQuery returns a *UserQuery.
NewVideoCommand returns a *VideoCommand.
NewVideoQuery returns a *VideoQuery.
RedisOtel extends redis client with open telemetry tracing.

# Constants

统计量的枚举.
统计量的枚举.
统计量的枚举.
统计量的枚举.
统计量的枚举.
各个表的枚举.
各个表的枚举.

# Variables

Module is the module for dal.

# Structs

CommentCommand is the implementation of dal.CommentCommand.
CommentQuery is the implementation of dal.CommentQuery.
HashField is the struct for specifying field of redis hash structure.
LikeCommand is the implementation of dal.LikeCommand.
LikeQuery is the implementation of dal.LikeQuery.
RDB is the database of redis.
RelationCommand is the implementation of dal.RelationCommand.
RelationQuery is the implementation of dal.RelationQuery.
UniqueID provides unique id generation.
UserCommand is the implementation of dal.UserCommand.
UserQuery is the implementation of dal.UserQuery.
VideoCommand is the implementation of dal.VideoQuery.
VideoQuery is the implementation of dal.VideoQuery.