SYMBOL INDEX (864 symbols across 119 files) FILE: cmd/gen/generate.go function connectDB (line 16) | func connectDB(dsn string) *gorm.DB { function main (line 24) | func main() { FILE: controller/captcha_controller.go function CaptchaController (line 10) | func CaptchaController(c *gin.Context) { FILE: controller/user_controller.go function RegisterController (line 21) | func RegisterController(c *gin.Context) { function LoginController (line 46) | func LoginController(c *gin.Context) { function CancelController (line 70) | func CancelController(ctx *gin.Context) { FILE: dal/db.go function ConnectDB (line 12) | func ConnectDB(dsn string) *gorm.DB { FILE: dal/model/contact.gen.go constant TableNameContact (line 11) | TableNameContact = "contact" type Contact (line 14) | type Contact struct method TableName (line 26) | func (*Contact) TableName() string { FILE: dal/model/group_member.gen.go constant TableNameGroupMember (line 11) | TableNameGroupMember = "group_member" type GroupMember (line 14) | type GroupMember struct method TableName (line 24) | func (*GroupMember) TableName() string { FILE: dal/model/message.gen.go constant TableNameMessage (line 11) | TableNameMessage = "message" type Message (line 14) | type Message struct method TableName (line 29) | func (*Message) TableName() string { FILE: dal/model/room.gen.go constant TableNameRoom (line 11) | TableNameRoom = "room" type Room (line 14) | type Room struct method TableName (line 27) | func (*Room) TableName() string { FILE: dal/model/room_friend.gen.go constant TableNameRoomFriend (line 11) | TableNameRoomFriend = "room_friend" type RoomFriend (line 14) | type RoomFriend struct method TableName (line 26) | func (*RoomFriend) TableName() string { FILE: dal/model/room_group.gen.go constant TableNameRoomGroup (line 11) | TableNameRoomGroup = "room_group" type RoomGroup (line 14) | type RoomGroup struct method TableName (line 26) | func (*RoomGroup) TableName() string { FILE: dal/model/user.gen.go constant TableNameUser (line 11) | TableNameUser = "user" type User (line 14) | type User struct method TableName (line 31) | func (*User) TableName() string { FILE: dal/model/user_apply.gen.go constant TableNameUserApply (line 11) | TableNameUserApply = "user_apply" type UserApply (line 14) | type UserApply struct method TableName (line 27) | func (*UserApply) TableName() string { FILE: dal/model/user_friend.gen.go constant TableNameUserFriend (line 11) | TableNameUserFriend = "user_friend" type UserFriend (line 14) | type UserFriend struct method TableName (line 24) | func (*UserFriend) TableName() string { FILE: dal/query/contact.gen.go function newContact (line 22) | func newContact(db *gorm.DB, opts ...gen.DOOption) contact { type contact (line 45) | type contact struct method Table (line 61) | func (c contact) Table(newTableName string) *contact { method As (line 66) | func (c contact) As(alias string) *contact { method updateTableName (line 71) | func (c *contact) updateTableName(table string) *contact { method WithContext (line 87) | func (c *contact) WithContext(ctx context.Context) IContactDo { return... method TableName (line 89) | func (c contact) TableName() string { return c.contactDo.TableName() } method Alias (line 91) | func (c contact) Alias() string { return c.contactDo.Alias() } method Columns (line 93) | func (c contact) Columns(cols ...field.Expr) gen.Columns { return c.co... method GetFieldByName (line 95) | func (c *contact) GetFieldByName(fieldName string) (field.OrderExpr, b... method fillFieldMap (line 104) | func (c *contact) fillFieldMap() { method clone (line 116) | func (c contact) clone(db *gorm.DB) contact { method replaceDB (line 121) | func (c contact) replaceDB(db *gorm.DB) contact { type contactDo (line 126) | type contactDo struct method Debug (line 189) | func (c contactDo) Debug() IContactDo { method WithContext (line 193) | func (c contactDo) WithContext(ctx context.Context) IContactDo { method ReadDB (line 197) | func (c contactDo) ReadDB() IContactDo { method WriteDB (line 201) | func (c contactDo) WriteDB() IContactDo { method Session (line 205) | func (c contactDo) Session(config *gorm.Session) IContactDo { method Clauses (line 209) | func (c contactDo) Clauses(conds ...clause.Expression) IContactDo { method Returning (line 213) | func (c contactDo) Returning(value interface{}, columns ...string) ICo... method Not (line 217) | func (c contactDo) Not(conds ...gen.Condition) IContactDo { method Or (line 221) | func (c contactDo) Or(conds ...gen.Condition) IContactDo { method Select (line 225) | func (c contactDo) Select(conds ...field.Expr) IContactDo { method Where (line 229) | func (c contactDo) Where(conds ...gen.Condition) IContactDo { method Order (line 233) | func (c contactDo) Order(conds ...field.Expr) IContactDo { method Distinct (line 237) | func (c contactDo) Distinct(cols ...field.Expr) IContactDo { method Omit (line 241) | func (c contactDo) Omit(cols ...field.Expr) IContactDo { method Join (line 245) | func (c contactDo) Join(table schema.Tabler, on ...field.Expr) IContac... method LeftJoin (line 249) | func (c contactDo) LeftJoin(table schema.Tabler, on ...field.Expr) ICo... method RightJoin (line 253) | func (c contactDo) RightJoin(table schema.Tabler, on ...field.Expr) IC... method Group (line 257) | func (c contactDo) Group(cols ...field.Expr) IContactDo { method Having (line 261) | func (c contactDo) Having(conds ...gen.Condition) IContactDo { method Limit (line 265) | func (c contactDo) Limit(limit int) IContactDo { method Offset (line 269) | func (c contactDo) Offset(offset int) IContactDo { method Scopes (line 273) | func (c contactDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IContactDo { method Unscoped (line 277) | func (c contactDo) Unscoped() IContactDo { method Create (line 281) | func (c contactDo) Create(values ...*model.Contact) error { method CreateInBatches (line 288) | func (c contactDo) CreateInBatches(values []*model.Contact, batchSize ... method Save (line 294) | func (c contactDo) Save(values ...*model.Contact) error { method First (line 301) | func (c contactDo) First() (*model.Contact, error) { method Take (line 309) | func (c contactDo) Take() (*model.Contact, error) { method Last (line 317) | func (c contactDo) Last() (*model.Contact, error) { method Find (line 325) | func (c contactDo) Find() ([]*model.Contact, error) { method FindInBatch (line 330) | func (c contactDo) FindInBatch(batchSize int, fc func(tx gen.Dao, batc... method FindInBatches (line 339) | func (c contactDo) FindInBatches(result *[]*model.Contact, batchSize i... method Attrs (line 343) | func (c contactDo) Attrs(attrs ...field.AssignExpr) IContactDo { method Assign (line 347) | func (c contactDo) Assign(attrs ...field.AssignExpr) IContactDo { method Joins (line 351) | func (c contactDo) Joins(fields ...field.RelationField) IContactDo { method Preload (line 358) | func (c contactDo) Preload(fields ...field.RelationField) IContactDo { method FirstOrInit (line 365) | func (c contactDo) FirstOrInit() (*model.Contact, error) { method FirstOrCreate (line 373) | func (c contactDo) FirstOrCreate() (*model.Contact, error) { method FindByPage (line 381) | func (c contactDo) FindByPage(offset int, limit int) (result []*model.... method ScanByPage (line 396) | func (c contactDo) ScanByPage(result interface{}, offset int, limit in... method Scan (line 406) | func (c contactDo) Scan(result interface{}) (err error) { method Delete (line 410) | func (c contactDo) Delete(models ...*model.Contact) (result gen.Result... method withDO (line 414) | func (c *contactDo) withDO(do gen.Dao) *contactDo { type IContactDo (line 128) | type IContactDo interface FILE: dal/query/gen.go function SetDefault (line 23) | func SetDefault(db *gorm.DB, opts ...gen.DOOption) { function Use (line 28) | func Use(db *gorm.DB, opts ...gen.DOOption) *Query { type Query (line 35) | type Query struct method Available (line 41) | func (q *Query) Available() bool { return q.db != nil } method clone (line 43) | func (q *Query) clone(db *gorm.DB) *Query { method ReadDB (line 50) | func (q *Query) ReadDB() *Query { method WriteDB (line 54) | func (q *Query) WriteDB() *Query { method ReplaceDB (line 58) | func (q *Query) ReplaceDB(db *gorm.DB) *Query { method WithContext (line 69) | func (q *Query) WithContext(ctx context.Context) *queryCtx { method Transaction (line 75) | func (q *Query) Transaction(fc func(tx *Query) error, opts ...*sql.TxO... method Begin (line 79) | func (q *Query) Begin(opts ...*sql.TxOptions) *QueryTx { type queryCtx (line 65) | type queryCtx struct type QueryTx (line 84) | type QueryTx struct method Commit (line 89) | func (q *QueryTx) Commit() error { method Rollback (line 93) | func (q *QueryTx) Rollback() error { method SavePoint (line 97) | func (q *QueryTx) SavePoint(name string) error { method RollbackTo (line 101) | func (q *QueryTx) RollbackTo(name string) error { FILE: dal/query/group_member.gen.go function newGroupMember (line 22) | func newGroupMember(db *gorm.DB, opts ...gen.DOOption) groupMember { type groupMember (line 43) | type groupMember struct method Table (line 57) | func (g groupMember) Table(newTableName string) *groupMember { method As (line 62) | func (g groupMember) As(alias string) *groupMember { method updateTableName (line 67) | func (g *groupMember) updateTableName(table string) *groupMember { method WithContext (line 81) | func (g *groupMember) WithContext(ctx context.Context) IGroupMemberDo { method TableName (line 85) | func (g groupMember) TableName() string { return g.groupMemberDo.Table... method Alias (line 87) | func (g groupMember) Alias() string { return g.groupMemberDo.Alias() } method Columns (line 89) | func (g groupMember) Columns(cols ...field.Expr) gen.Columns { return ... method GetFieldByName (line 91) | func (g *groupMember) GetFieldByName(fieldName string) (field.OrderExp... method fillFieldMap (line 100) | func (g *groupMember) fillFieldMap() { method clone (line 110) | func (g groupMember) clone(db *gorm.DB) groupMember { method replaceDB (line 115) | func (g groupMember) replaceDB(db *gorm.DB) groupMember { type groupMemberDo (line 120) | type groupMemberDo struct method Debug (line 183) | func (g groupMemberDo) Debug() IGroupMemberDo { method WithContext (line 187) | func (g groupMemberDo) WithContext(ctx context.Context) IGroupMemberDo { method ReadDB (line 191) | func (g groupMemberDo) ReadDB() IGroupMemberDo { method WriteDB (line 195) | func (g groupMemberDo) WriteDB() IGroupMemberDo { method Session (line 199) | func (g groupMemberDo) Session(config *gorm.Session) IGroupMemberDo { method Clauses (line 203) | func (g groupMemberDo) Clauses(conds ...clause.Expression) IGroupMembe... method Returning (line 207) | func (g groupMemberDo) Returning(value interface{}, columns ...string)... method Not (line 211) | func (g groupMemberDo) Not(conds ...gen.Condition) IGroupMemberDo { method Or (line 215) | func (g groupMemberDo) Or(conds ...gen.Condition) IGroupMemberDo { method Select (line 219) | func (g groupMemberDo) Select(conds ...field.Expr) IGroupMemberDo { method Where (line 223) | func (g groupMemberDo) Where(conds ...gen.Condition) IGroupMemberDo { method Order (line 227) | func (g groupMemberDo) Order(conds ...field.Expr) IGroupMemberDo { method Distinct (line 231) | func (g groupMemberDo) Distinct(cols ...field.Expr) IGroupMemberDo { method Omit (line 235) | func (g groupMemberDo) Omit(cols ...field.Expr) IGroupMemberDo { method Join (line 239) | func (g groupMemberDo) Join(table schema.Tabler, on ...field.Expr) IGr... method LeftJoin (line 243) | func (g groupMemberDo) LeftJoin(table schema.Tabler, on ...field.Expr)... method RightJoin (line 247) | func (g groupMemberDo) RightJoin(table schema.Tabler, on ...field.Expr... method Group (line 251) | func (g groupMemberDo) Group(cols ...field.Expr) IGroupMemberDo { method Having (line 255) | func (g groupMemberDo) Having(conds ...gen.Condition) IGroupMemberDo { method Limit (line 259) | func (g groupMemberDo) Limit(limit int) IGroupMemberDo { method Offset (line 263) | func (g groupMemberDo) Offset(offset int) IGroupMemberDo { method Scopes (line 267) | func (g groupMemberDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IGroupMe... method Unscoped (line 271) | func (g groupMemberDo) Unscoped() IGroupMemberDo { method Create (line 275) | func (g groupMemberDo) Create(values ...*model.GroupMember) error { method CreateInBatches (line 282) | func (g groupMemberDo) CreateInBatches(values []*model.GroupMember, ba... method Save (line 288) | func (g groupMemberDo) Save(values ...*model.GroupMember) error { method First (line 295) | func (g groupMemberDo) First() (*model.GroupMember, error) { method Take (line 303) | func (g groupMemberDo) Take() (*model.GroupMember, error) { method Last (line 311) | func (g groupMemberDo) Last() (*model.GroupMember, error) { method Find (line 319) | func (g groupMemberDo) Find() ([]*model.GroupMember, error) { method FindInBatch (line 324) | func (g groupMemberDo) FindInBatch(batchSize int, fc func(tx gen.Dao, ... method FindInBatches (line 333) | func (g groupMemberDo) FindInBatches(result *[]*model.GroupMember, bat... method Attrs (line 337) | func (g groupMemberDo) Attrs(attrs ...field.AssignExpr) IGroupMemberDo { method Assign (line 341) | func (g groupMemberDo) Assign(attrs ...field.AssignExpr) IGroupMemberDo { method Joins (line 345) | func (g groupMemberDo) Joins(fields ...field.RelationField) IGroupMemb... method Preload (line 352) | func (g groupMemberDo) Preload(fields ...field.RelationField) IGroupMe... method FirstOrInit (line 359) | func (g groupMemberDo) FirstOrInit() (*model.GroupMember, error) { method FirstOrCreate (line 367) | func (g groupMemberDo) FirstOrCreate() (*model.GroupMember, error) { method FindByPage (line 375) | func (g groupMemberDo) FindByPage(offset int, limit int) (result []*mo... method ScanByPage (line 390) | func (g groupMemberDo) ScanByPage(result interface{}, offset int, limi... method Scan (line 400) | func (g groupMemberDo) Scan(result interface{}) (err error) { method Delete (line 404) | func (g groupMemberDo) Delete(models ...*model.GroupMember) (result ge... method withDO (line 408) | func (g *groupMemberDo) withDO(do gen.Dao) *groupMemberDo { type IGroupMemberDo (line 122) | type IGroupMemberDo interface FILE: dal/query/message.gen.go function newMessage (line 22) | func newMessage(db *gorm.DB, opts ...gen.DOOption) message { type message (line 48) | type message struct method Table (line 67) | func (m message) Table(newTableName string) *message { method As (line 72) | func (m message) As(alias string) *message { method updateTableName (line 77) | func (m *message) updateTableName(table string) *message { method WithContext (line 96) | func (m *message) WithContext(ctx context.Context) IMessageDo { return... method TableName (line 98) | func (m message) TableName() string { return m.messageDo.TableName() } method Alias (line 100) | func (m message) Alias() string { return m.messageDo.Alias() } method Columns (line 102) | func (m message) Columns(cols ...field.Expr) gen.Columns { return m.me... method GetFieldByName (line 104) | func (m *message) GetFieldByName(fieldName string) (field.OrderExpr, b... method fillFieldMap (line 113) | func (m *message) fillFieldMap() { method clone (line 128) | func (m message) clone(db *gorm.DB) message { method replaceDB (line 133) | func (m message) replaceDB(db *gorm.DB) message { type messageDo (line 138) | type messageDo struct method Debug (line 201) | func (m messageDo) Debug() IMessageDo { method WithContext (line 205) | func (m messageDo) WithContext(ctx context.Context) IMessageDo { method ReadDB (line 209) | func (m messageDo) ReadDB() IMessageDo { method WriteDB (line 213) | func (m messageDo) WriteDB() IMessageDo { method Session (line 217) | func (m messageDo) Session(config *gorm.Session) IMessageDo { method Clauses (line 221) | func (m messageDo) Clauses(conds ...clause.Expression) IMessageDo { method Returning (line 225) | func (m messageDo) Returning(value interface{}, columns ...string) IMe... method Not (line 229) | func (m messageDo) Not(conds ...gen.Condition) IMessageDo { method Or (line 233) | func (m messageDo) Or(conds ...gen.Condition) IMessageDo { method Select (line 237) | func (m messageDo) Select(conds ...field.Expr) IMessageDo { method Where (line 241) | func (m messageDo) Where(conds ...gen.Condition) IMessageDo { method Order (line 245) | func (m messageDo) Order(conds ...field.Expr) IMessageDo { method Distinct (line 249) | func (m messageDo) Distinct(cols ...field.Expr) IMessageDo { method Omit (line 253) | func (m messageDo) Omit(cols ...field.Expr) IMessageDo { method Join (line 257) | func (m messageDo) Join(table schema.Tabler, on ...field.Expr) IMessag... method LeftJoin (line 261) | func (m messageDo) LeftJoin(table schema.Tabler, on ...field.Expr) IMe... method RightJoin (line 265) | func (m messageDo) RightJoin(table schema.Tabler, on ...field.Expr) IM... method Group (line 269) | func (m messageDo) Group(cols ...field.Expr) IMessageDo { method Having (line 273) | func (m messageDo) Having(conds ...gen.Condition) IMessageDo { method Limit (line 277) | func (m messageDo) Limit(limit int) IMessageDo { method Offset (line 281) | func (m messageDo) Offset(offset int) IMessageDo { method Scopes (line 285) | func (m messageDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IMessageDo { method Unscoped (line 289) | func (m messageDo) Unscoped() IMessageDo { method Create (line 293) | func (m messageDo) Create(values ...*model.Message) error { method CreateInBatches (line 300) | func (m messageDo) CreateInBatches(values []*model.Message, batchSize ... method Save (line 306) | func (m messageDo) Save(values ...*model.Message) error { method First (line 313) | func (m messageDo) First() (*model.Message, error) { method Take (line 321) | func (m messageDo) Take() (*model.Message, error) { method Last (line 329) | func (m messageDo) Last() (*model.Message, error) { method Find (line 337) | func (m messageDo) Find() ([]*model.Message, error) { method FindInBatch (line 342) | func (m messageDo) FindInBatch(batchSize int, fc func(tx gen.Dao, batc... method FindInBatches (line 351) | func (m messageDo) FindInBatches(result *[]*model.Message, batchSize i... method Attrs (line 355) | func (m messageDo) Attrs(attrs ...field.AssignExpr) IMessageDo { method Assign (line 359) | func (m messageDo) Assign(attrs ...field.AssignExpr) IMessageDo { method Joins (line 363) | func (m messageDo) Joins(fields ...field.RelationField) IMessageDo { method Preload (line 370) | func (m messageDo) Preload(fields ...field.RelationField) IMessageDo { method FirstOrInit (line 377) | func (m messageDo) FirstOrInit() (*model.Message, error) { method FirstOrCreate (line 385) | func (m messageDo) FirstOrCreate() (*model.Message, error) { method FindByPage (line 393) | func (m messageDo) FindByPage(offset int, limit int) (result []*model.... method ScanByPage (line 408) | func (m messageDo) ScanByPage(result interface{}, offset int, limit in... method Scan (line 418) | func (m messageDo) Scan(result interface{}) (err error) { method Delete (line 422) | func (m messageDo) Delete(models ...*model.Message) (result gen.Result... method withDO (line 426) | func (m *messageDo) withDO(do gen.Dao) *messageDo { type IMessageDo (line 140) | type IMessageDo interface FILE: dal/query/room.gen.go function newRoom (line 22) | func newRoom(db *gorm.DB, opts ...gen.DOOption) room { type room (line 46) | type room struct method Table (line 63) | func (r room) Table(newTableName string) *room { method As (line 68) | func (r room) As(alias string) *room { method updateTableName (line 73) | func (r *room) updateTableName(table string) *room { method WithContext (line 90) | func (r *room) WithContext(ctx context.Context) IRoomDo { return r.roo... method TableName (line 92) | func (r room) TableName() string { return r.roomDo.TableName() } method Alias (line 94) | func (r room) Alias() string { return r.roomDo.Alias() } method Columns (line 96) | func (r room) Columns(cols ...field.Expr) gen.Columns { return r.roomD... method GetFieldByName (line 98) | func (r *room) GetFieldByName(fieldName string) (field.OrderExpr, bool) { method fillFieldMap (line 107) | func (r *room) fillFieldMap() { method clone (line 120) | func (r room) clone(db *gorm.DB) room { method replaceDB (line 125) | func (r room) replaceDB(db *gorm.DB) room { type roomDo (line 130) | type roomDo struct method Debug (line 193) | func (r roomDo) Debug() IRoomDo { method WithContext (line 197) | func (r roomDo) WithContext(ctx context.Context) IRoomDo { method ReadDB (line 201) | func (r roomDo) ReadDB() IRoomDo { method WriteDB (line 205) | func (r roomDo) WriteDB() IRoomDo { method Session (line 209) | func (r roomDo) Session(config *gorm.Session) IRoomDo { method Clauses (line 213) | func (r roomDo) Clauses(conds ...clause.Expression) IRoomDo { method Returning (line 217) | func (r roomDo) Returning(value interface{}, columns ...string) IRoomDo { method Not (line 221) | func (r roomDo) Not(conds ...gen.Condition) IRoomDo { method Or (line 225) | func (r roomDo) Or(conds ...gen.Condition) IRoomDo { method Select (line 229) | func (r roomDo) Select(conds ...field.Expr) IRoomDo { method Where (line 233) | func (r roomDo) Where(conds ...gen.Condition) IRoomDo { method Order (line 237) | func (r roomDo) Order(conds ...field.Expr) IRoomDo { method Distinct (line 241) | func (r roomDo) Distinct(cols ...field.Expr) IRoomDo { method Omit (line 245) | func (r roomDo) Omit(cols ...field.Expr) IRoomDo { method Join (line 249) | func (r roomDo) Join(table schema.Tabler, on ...field.Expr) IRoomDo { method LeftJoin (line 253) | func (r roomDo) LeftJoin(table schema.Tabler, on ...field.Expr) IRoomDo { method RightJoin (line 257) | func (r roomDo) RightJoin(table schema.Tabler, on ...field.Expr) IRoom... method Group (line 261) | func (r roomDo) Group(cols ...field.Expr) IRoomDo { method Having (line 265) | func (r roomDo) Having(conds ...gen.Condition) IRoomDo { method Limit (line 269) | func (r roomDo) Limit(limit int) IRoomDo { method Offset (line 273) | func (r roomDo) Offset(offset int) IRoomDo { method Scopes (line 277) | func (r roomDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IRoomDo { method Unscoped (line 281) | func (r roomDo) Unscoped() IRoomDo { method Create (line 285) | func (r roomDo) Create(values ...*model.Room) error { method CreateInBatches (line 292) | func (r roomDo) CreateInBatches(values []*model.Room, batchSize int) e... method Save (line 298) | func (r roomDo) Save(values ...*model.Room) error { method First (line 305) | func (r roomDo) First() (*model.Room, error) { method Take (line 313) | func (r roomDo) Take() (*model.Room, error) { method Last (line 321) | func (r roomDo) Last() (*model.Room, error) { method Find (line 329) | func (r roomDo) Find() ([]*model.Room, error) { method FindInBatch (line 334) | func (r roomDo) FindInBatch(batchSize int, fc func(tx gen.Dao, batch i... method FindInBatches (line 343) | func (r roomDo) FindInBatches(result *[]*model.Room, batchSize int, fc... method Attrs (line 347) | func (r roomDo) Attrs(attrs ...field.AssignExpr) IRoomDo { method Assign (line 351) | func (r roomDo) Assign(attrs ...field.AssignExpr) IRoomDo { method Joins (line 355) | func (r roomDo) Joins(fields ...field.RelationField) IRoomDo { method Preload (line 362) | func (r roomDo) Preload(fields ...field.RelationField) IRoomDo { method FirstOrInit (line 369) | func (r roomDo) FirstOrInit() (*model.Room, error) { method FirstOrCreate (line 377) | func (r roomDo) FirstOrCreate() (*model.Room, error) { method FindByPage (line 385) | func (r roomDo) FindByPage(offset int, limit int) (result []*model.Roo... method ScanByPage (line 400) | func (r roomDo) ScanByPage(result interface{}, offset int, limit int) ... method Scan (line 410) | func (r roomDo) Scan(result interface{}) (err error) { method Delete (line 414) | func (r roomDo) Delete(models ...*model.Room) (result gen.ResultInfo, ... method withDO (line 418) | func (r *roomDo) withDO(do gen.Dao) *roomDo { type IRoomDo (line 132) | type IRoomDo interface FILE: dal/query/room_friend.gen.go function newRoomFriend (line 22) | func newRoomFriend(db *gorm.DB, opts ...gen.DOOption) roomFriend { type roomFriend (line 45) | type roomFriend struct method Table (line 61) | func (r roomFriend) Table(newTableName string) *roomFriend { method As (line 66) | func (r roomFriend) As(alias string) *roomFriend { method updateTableName (line 71) | func (r *roomFriend) updateTableName(table string) *roomFriend { method WithContext (line 87) | func (r *roomFriend) WithContext(ctx context.Context) IRoomFriendDo { method TableName (line 91) | func (r roomFriend) TableName() string { return r.roomFriendDo.TableNa... method Alias (line 93) | func (r roomFriend) Alias() string { return r.roomFriendDo.Alias() } method Columns (line 95) | func (r roomFriend) Columns(cols ...field.Expr) gen.Columns { return r... method GetFieldByName (line 97) | func (r *roomFriend) GetFieldByName(fieldName string) (field.OrderExpr... method fillFieldMap (line 106) | func (r *roomFriend) fillFieldMap() { method clone (line 118) | func (r roomFriend) clone(db *gorm.DB) roomFriend { method replaceDB (line 123) | func (r roomFriend) replaceDB(db *gorm.DB) roomFriend { type roomFriendDo (line 128) | type roomFriendDo struct method Debug (line 191) | func (r roomFriendDo) Debug() IRoomFriendDo { method WithContext (line 195) | func (r roomFriendDo) WithContext(ctx context.Context) IRoomFriendDo { method ReadDB (line 199) | func (r roomFriendDo) ReadDB() IRoomFriendDo { method WriteDB (line 203) | func (r roomFriendDo) WriteDB() IRoomFriendDo { method Session (line 207) | func (r roomFriendDo) Session(config *gorm.Session) IRoomFriendDo { method Clauses (line 211) | func (r roomFriendDo) Clauses(conds ...clause.Expression) IRoomFriendDo { method Returning (line 215) | func (r roomFriendDo) Returning(value interface{}, columns ...string) ... method Not (line 219) | func (r roomFriendDo) Not(conds ...gen.Condition) IRoomFriendDo { method Or (line 223) | func (r roomFriendDo) Or(conds ...gen.Condition) IRoomFriendDo { method Select (line 227) | func (r roomFriendDo) Select(conds ...field.Expr) IRoomFriendDo { method Where (line 231) | func (r roomFriendDo) Where(conds ...gen.Condition) IRoomFriendDo { method Order (line 235) | func (r roomFriendDo) Order(conds ...field.Expr) IRoomFriendDo { method Distinct (line 239) | func (r roomFriendDo) Distinct(cols ...field.Expr) IRoomFriendDo { method Omit (line 243) | func (r roomFriendDo) Omit(cols ...field.Expr) IRoomFriendDo { method Join (line 247) | func (r roomFriendDo) Join(table schema.Tabler, on ...field.Expr) IRoo... method LeftJoin (line 251) | func (r roomFriendDo) LeftJoin(table schema.Tabler, on ...field.Expr) ... method RightJoin (line 255) | func (r roomFriendDo) RightJoin(table schema.Tabler, on ...field.Expr)... method Group (line 259) | func (r roomFriendDo) Group(cols ...field.Expr) IRoomFriendDo { method Having (line 263) | func (r roomFriendDo) Having(conds ...gen.Condition) IRoomFriendDo { method Limit (line 267) | func (r roomFriendDo) Limit(limit int) IRoomFriendDo { method Offset (line 271) | func (r roomFriendDo) Offset(offset int) IRoomFriendDo { method Scopes (line 275) | func (r roomFriendDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IRoomFrie... method Unscoped (line 279) | func (r roomFriendDo) Unscoped() IRoomFriendDo { method Create (line 283) | func (r roomFriendDo) Create(values ...*model.RoomFriend) error { method CreateInBatches (line 290) | func (r roomFriendDo) CreateInBatches(values []*model.RoomFriend, batc... method Save (line 296) | func (r roomFriendDo) Save(values ...*model.RoomFriend) error { method First (line 303) | func (r roomFriendDo) First() (*model.RoomFriend, error) { method Take (line 311) | func (r roomFriendDo) Take() (*model.RoomFriend, error) { method Last (line 319) | func (r roomFriendDo) Last() (*model.RoomFriend, error) { method Find (line 327) | func (r roomFriendDo) Find() ([]*model.RoomFriend, error) { method FindInBatch (line 332) | func (r roomFriendDo) FindInBatch(batchSize int, fc func(tx gen.Dao, b... method FindInBatches (line 341) | func (r roomFriendDo) FindInBatches(result *[]*model.RoomFriend, batch... method Attrs (line 345) | func (r roomFriendDo) Attrs(attrs ...field.AssignExpr) IRoomFriendDo { method Assign (line 349) | func (r roomFriendDo) Assign(attrs ...field.AssignExpr) IRoomFriendDo { method Joins (line 353) | func (r roomFriendDo) Joins(fields ...field.RelationField) IRoomFriend... method Preload (line 360) | func (r roomFriendDo) Preload(fields ...field.RelationField) IRoomFrie... method FirstOrInit (line 367) | func (r roomFriendDo) FirstOrInit() (*model.RoomFriend, error) { method FirstOrCreate (line 375) | func (r roomFriendDo) FirstOrCreate() (*model.RoomFriend, error) { method FindByPage (line 383) | func (r roomFriendDo) FindByPage(offset int, limit int) (result []*mod... method ScanByPage (line 398) | func (r roomFriendDo) ScanByPage(result interface{}, offset int, limit... method Scan (line 408) | func (r roomFriendDo) Scan(result interface{}) (err error) { method Delete (line 412) | func (r roomFriendDo) Delete(models ...*model.RoomFriend) (result gen.... method withDO (line 416) | func (r *roomFriendDo) withDO(do gen.Dao) *roomFriendDo { type IRoomFriendDo (line 130) | type IRoomFriendDo interface FILE: dal/query/room_group.gen.go function newRoomGroup (line 22) | func newRoomGroup(db *gorm.DB, opts ...gen.DOOption) roomGroup { type roomGroup (line 45) | type roomGroup struct method Table (line 61) | func (r roomGroup) Table(newTableName string) *roomGroup { method As (line 66) | func (r roomGroup) As(alias string) *roomGroup { method updateTableName (line 71) | func (r *roomGroup) updateTableName(table string) *roomGroup { method WithContext (line 87) | func (r *roomGroup) WithContext(ctx context.Context) IRoomGroupDo { method TableName (line 91) | func (r roomGroup) TableName() string { return r.roomGroupDo.TableName... method Alias (line 93) | func (r roomGroup) Alias() string { return r.roomGroupDo.Alias() } method Columns (line 95) | func (r roomGroup) Columns(cols ...field.Expr) gen.Columns { return r.... method GetFieldByName (line 97) | func (r *roomGroup) GetFieldByName(fieldName string) (field.OrderExpr,... method fillFieldMap (line 106) | func (r *roomGroup) fillFieldMap() { method clone (line 118) | func (r roomGroup) clone(db *gorm.DB) roomGroup { method replaceDB (line 123) | func (r roomGroup) replaceDB(db *gorm.DB) roomGroup { type roomGroupDo (line 128) | type roomGroupDo struct method Debug (line 191) | func (r roomGroupDo) Debug() IRoomGroupDo { method WithContext (line 195) | func (r roomGroupDo) WithContext(ctx context.Context) IRoomGroupDo { method ReadDB (line 199) | func (r roomGroupDo) ReadDB() IRoomGroupDo { method WriteDB (line 203) | func (r roomGroupDo) WriteDB() IRoomGroupDo { method Session (line 207) | func (r roomGroupDo) Session(config *gorm.Session) IRoomGroupDo { method Clauses (line 211) | func (r roomGroupDo) Clauses(conds ...clause.Expression) IRoomGroupDo { method Returning (line 215) | func (r roomGroupDo) Returning(value interface{}, columns ...string) I... method Not (line 219) | func (r roomGroupDo) Not(conds ...gen.Condition) IRoomGroupDo { method Or (line 223) | func (r roomGroupDo) Or(conds ...gen.Condition) IRoomGroupDo { method Select (line 227) | func (r roomGroupDo) Select(conds ...field.Expr) IRoomGroupDo { method Where (line 231) | func (r roomGroupDo) Where(conds ...gen.Condition) IRoomGroupDo { method Order (line 235) | func (r roomGroupDo) Order(conds ...field.Expr) IRoomGroupDo { method Distinct (line 239) | func (r roomGroupDo) Distinct(cols ...field.Expr) IRoomGroupDo { method Omit (line 243) | func (r roomGroupDo) Omit(cols ...field.Expr) IRoomGroupDo { method Join (line 247) | func (r roomGroupDo) Join(table schema.Tabler, on ...field.Expr) IRoom... method LeftJoin (line 251) | func (r roomGroupDo) LeftJoin(table schema.Tabler, on ...field.Expr) I... method RightJoin (line 255) | func (r roomGroupDo) RightJoin(table schema.Tabler, on ...field.Expr) ... method Group (line 259) | func (r roomGroupDo) Group(cols ...field.Expr) IRoomGroupDo { method Having (line 263) | func (r roomGroupDo) Having(conds ...gen.Condition) IRoomGroupDo { method Limit (line 267) | func (r roomGroupDo) Limit(limit int) IRoomGroupDo { method Offset (line 271) | func (r roomGroupDo) Offset(offset int) IRoomGroupDo { method Scopes (line 275) | func (r roomGroupDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IRoomGroup... method Unscoped (line 279) | func (r roomGroupDo) Unscoped() IRoomGroupDo { method Create (line 283) | func (r roomGroupDo) Create(values ...*model.RoomGroup) error { method CreateInBatches (line 290) | func (r roomGroupDo) CreateInBatches(values []*model.RoomGroup, batchS... method Save (line 296) | func (r roomGroupDo) Save(values ...*model.RoomGroup) error { method First (line 303) | func (r roomGroupDo) First() (*model.RoomGroup, error) { method Take (line 311) | func (r roomGroupDo) Take() (*model.RoomGroup, error) { method Last (line 319) | func (r roomGroupDo) Last() (*model.RoomGroup, error) { method Find (line 327) | func (r roomGroupDo) Find() ([]*model.RoomGroup, error) { method FindInBatch (line 332) | func (r roomGroupDo) FindInBatch(batchSize int, fc func(tx gen.Dao, ba... method FindInBatches (line 341) | func (r roomGroupDo) FindInBatches(result *[]*model.RoomGroup, batchSi... method Attrs (line 345) | func (r roomGroupDo) Attrs(attrs ...field.AssignExpr) IRoomGroupDo { method Assign (line 349) | func (r roomGroupDo) Assign(attrs ...field.AssignExpr) IRoomGroupDo { method Joins (line 353) | func (r roomGroupDo) Joins(fields ...field.RelationField) IRoomGroupDo { method Preload (line 360) | func (r roomGroupDo) Preload(fields ...field.RelationField) IRoomGroup... method FirstOrInit (line 367) | func (r roomGroupDo) FirstOrInit() (*model.RoomGroup, error) { method FirstOrCreate (line 375) | func (r roomGroupDo) FirstOrCreate() (*model.RoomGroup, error) { method FindByPage (line 383) | func (r roomGroupDo) FindByPage(offset int, limit int) (result []*mode... method ScanByPage (line 398) | func (r roomGroupDo) ScanByPage(result interface{}, offset int, limit ... method Scan (line 408) | func (r roomGroupDo) Scan(result interface{}) (err error) { method Delete (line 412) | func (r roomGroupDo) Delete(models ...*model.RoomGroup) (result gen.Re... method withDO (line 416) | func (r *roomGroupDo) withDO(do gen.Dao) *roomGroupDo { type IRoomGroupDo (line 130) | type IRoomGroupDo interface FILE: dal/query/user.gen.go function newUser (line 22) | func newUser(db *gorm.DB, opts ...gen.DOOption) user { type user (line 50) | type user struct method Table (line 71) | func (u user) Table(newTableName string) *user { method As (line 76) | func (u user) As(alias string) *user { method updateTableName (line 81) | func (u *user) updateTableName(table string) *user { method WithContext (line 102) | func (u *user) WithContext(ctx context.Context) IUserDo { return u.use... method TableName (line 104) | func (u user) TableName() string { return u.userDo.TableName() } method Alias (line 106) | func (u user) Alias() string { return u.userDo.Alias() } method Columns (line 108) | func (u user) Columns(cols ...field.Expr) gen.Columns { return u.userD... method GetFieldByName (line 110) | func (u *user) GetFieldByName(fieldName string) (field.OrderExpr, bool) { method fillFieldMap (line 119) | func (u *user) fillFieldMap() { method clone (line 136) | func (u user) clone(db *gorm.DB) user { method replaceDB (line 141) | func (u user) replaceDB(db *gorm.DB) user { type userDo (line 146) | type userDo struct method Debug (line 209) | func (u userDo) Debug() IUserDo { method WithContext (line 213) | func (u userDo) WithContext(ctx context.Context) IUserDo { method ReadDB (line 217) | func (u userDo) ReadDB() IUserDo { method WriteDB (line 221) | func (u userDo) WriteDB() IUserDo { method Session (line 225) | func (u userDo) Session(config *gorm.Session) IUserDo { method Clauses (line 229) | func (u userDo) Clauses(conds ...clause.Expression) IUserDo { method Returning (line 233) | func (u userDo) Returning(value interface{}, columns ...string) IUserDo { method Not (line 237) | func (u userDo) Not(conds ...gen.Condition) IUserDo { method Or (line 241) | func (u userDo) Or(conds ...gen.Condition) IUserDo { method Select (line 245) | func (u userDo) Select(conds ...field.Expr) IUserDo { method Where (line 249) | func (u userDo) Where(conds ...gen.Condition) IUserDo { method Order (line 253) | func (u userDo) Order(conds ...field.Expr) IUserDo { method Distinct (line 257) | func (u userDo) Distinct(cols ...field.Expr) IUserDo { method Omit (line 261) | func (u userDo) Omit(cols ...field.Expr) IUserDo { method Join (line 265) | func (u userDo) Join(table schema.Tabler, on ...field.Expr) IUserDo { method LeftJoin (line 269) | func (u userDo) LeftJoin(table schema.Tabler, on ...field.Expr) IUserDo { method RightJoin (line 273) | func (u userDo) RightJoin(table schema.Tabler, on ...field.Expr) IUser... method Group (line 277) | func (u userDo) Group(cols ...field.Expr) IUserDo { method Having (line 281) | func (u userDo) Having(conds ...gen.Condition) IUserDo { method Limit (line 285) | func (u userDo) Limit(limit int) IUserDo { method Offset (line 289) | func (u userDo) Offset(offset int) IUserDo { method Scopes (line 293) | func (u userDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IUserDo { method Unscoped (line 297) | func (u userDo) Unscoped() IUserDo { method Create (line 301) | func (u userDo) Create(values ...*model.User) error { method CreateInBatches (line 308) | func (u userDo) CreateInBatches(values []*model.User, batchSize int) e... method Save (line 314) | func (u userDo) Save(values ...*model.User) error { method First (line 321) | func (u userDo) First() (*model.User, error) { method Take (line 329) | func (u userDo) Take() (*model.User, error) { method Last (line 337) | func (u userDo) Last() (*model.User, error) { method Find (line 345) | func (u userDo) Find() ([]*model.User, error) { method FindInBatch (line 350) | func (u userDo) FindInBatch(batchSize int, fc func(tx gen.Dao, batch i... method FindInBatches (line 359) | func (u userDo) FindInBatches(result *[]*model.User, batchSize int, fc... method Attrs (line 363) | func (u userDo) Attrs(attrs ...field.AssignExpr) IUserDo { method Assign (line 367) | func (u userDo) Assign(attrs ...field.AssignExpr) IUserDo { method Joins (line 371) | func (u userDo) Joins(fields ...field.RelationField) IUserDo { method Preload (line 378) | func (u userDo) Preload(fields ...field.RelationField) IUserDo { method FirstOrInit (line 385) | func (u userDo) FirstOrInit() (*model.User, error) { method FirstOrCreate (line 393) | func (u userDo) FirstOrCreate() (*model.User, error) { method FindByPage (line 401) | func (u userDo) FindByPage(offset int, limit int) (result []*model.Use... method ScanByPage (line 416) | func (u userDo) ScanByPage(result interface{}, offset int, limit int) ... method Scan (line 426) | func (u userDo) Scan(result interface{}) (err error) { method Delete (line 430) | func (u userDo) Delete(models ...*model.User) (result gen.ResultInfo, ... method withDO (line 434) | func (u *userDo) withDO(do gen.Dao) *userDo { type IUserDo (line 148) | type IUserDo interface FILE: dal/query/user_apply.gen.go function newUserApply (line 22) | func newUserApply(db *gorm.DB, opts ...gen.DOOption) userApply { type userApply (line 46) | type userApply struct method Table (line 63) | func (u userApply) Table(newTableName string) *userApply { method As (line 68) | func (u userApply) As(alias string) *userApply { method updateTableName (line 73) | func (u *userApply) updateTableName(table string) *userApply { method WithContext (line 90) | func (u *userApply) WithContext(ctx context.Context) IUserApplyDo { method TableName (line 94) | func (u userApply) TableName() string { return u.userApplyDo.TableName... method Alias (line 96) | func (u userApply) Alias() string { return u.userApplyDo.Alias() } method Columns (line 98) | func (u userApply) Columns(cols ...field.Expr) gen.Columns { return u.... method GetFieldByName (line 100) | func (u *userApply) GetFieldByName(fieldName string) (field.OrderExpr,... method fillFieldMap (line 109) | func (u *userApply) fillFieldMap() { method clone (line 122) | func (u userApply) clone(db *gorm.DB) userApply { method replaceDB (line 127) | func (u userApply) replaceDB(db *gorm.DB) userApply { type userApplyDo (line 132) | type userApplyDo struct method Debug (line 195) | func (u userApplyDo) Debug() IUserApplyDo { method WithContext (line 199) | func (u userApplyDo) WithContext(ctx context.Context) IUserApplyDo { method ReadDB (line 203) | func (u userApplyDo) ReadDB() IUserApplyDo { method WriteDB (line 207) | func (u userApplyDo) WriteDB() IUserApplyDo { method Session (line 211) | func (u userApplyDo) Session(config *gorm.Session) IUserApplyDo { method Clauses (line 215) | func (u userApplyDo) Clauses(conds ...clause.Expression) IUserApplyDo { method Returning (line 219) | func (u userApplyDo) Returning(value interface{}, columns ...string) I... method Not (line 223) | func (u userApplyDo) Not(conds ...gen.Condition) IUserApplyDo { method Or (line 227) | func (u userApplyDo) Or(conds ...gen.Condition) IUserApplyDo { method Select (line 231) | func (u userApplyDo) Select(conds ...field.Expr) IUserApplyDo { method Where (line 235) | func (u userApplyDo) Where(conds ...gen.Condition) IUserApplyDo { method Order (line 239) | func (u userApplyDo) Order(conds ...field.Expr) IUserApplyDo { method Distinct (line 243) | func (u userApplyDo) Distinct(cols ...field.Expr) IUserApplyDo { method Omit (line 247) | func (u userApplyDo) Omit(cols ...field.Expr) IUserApplyDo { method Join (line 251) | func (u userApplyDo) Join(table schema.Tabler, on ...field.Expr) IUser... method LeftJoin (line 255) | func (u userApplyDo) LeftJoin(table schema.Tabler, on ...field.Expr) I... method RightJoin (line 259) | func (u userApplyDo) RightJoin(table schema.Tabler, on ...field.Expr) ... method Group (line 263) | func (u userApplyDo) Group(cols ...field.Expr) IUserApplyDo { method Having (line 267) | func (u userApplyDo) Having(conds ...gen.Condition) IUserApplyDo { method Limit (line 271) | func (u userApplyDo) Limit(limit int) IUserApplyDo { method Offset (line 275) | func (u userApplyDo) Offset(offset int) IUserApplyDo { method Scopes (line 279) | func (u userApplyDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IUserApply... method Unscoped (line 283) | func (u userApplyDo) Unscoped() IUserApplyDo { method Create (line 287) | func (u userApplyDo) Create(values ...*model.UserApply) error { method CreateInBatches (line 294) | func (u userApplyDo) CreateInBatches(values []*model.UserApply, batchS... method Save (line 300) | func (u userApplyDo) Save(values ...*model.UserApply) error { method First (line 307) | func (u userApplyDo) First() (*model.UserApply, error) { method Take (line 315) | func (u userApplyDo) Take() (*model.UserApply, error) { method Last (line 323) | func (u userApplyDo) Last() (*model.UserApply, error) { method Find (line 331) | func (u userApplyDo) Find() ([]*model.UserApply, error) { method FindInBatch (line 336) | func (u userApplyDo) FindInBatch(batchSize int, fc func(tx gen.Dao, ba... method FindInBatches (line 345) | func (u userApplyDo) FindInBatches(result *[]*model.UserApply, batchSi... method Attrs (line 349) | func (u userApplyDo) Attrs(attrs ...field.AssignExpr) IUserApplyDo { method Assign (line 353) | func (u userApplyDo) Assign(attrs ...field.AssignExpr) IUserApplyDo { method Joins (line 357) | func (u userApplyDo) Joins(fields ...field.RelationField) IUserApplyDo { method Preload (line 364) | func (u userApplyDo) Preload(fields ...field.RelationField) IUserApply... method FirstOrInit (line 371) | func (u userApplyDo) FirstOrInit() (*model.UserApply, error) { method FirstOrCreate (line 379) | func (u userApplyDo) FirstOrCreate() (*model.UserApply, error) { method FindByPage (line 387) | func (u userApplyDo) FindByPage(offset int, limit int) (result []*mode... method ScanByPage (line 402) | func (u userApplyDo) ScanByPage(result interface{}, offset int, limit ... method Scan (line 412) | func (u userApplyDo) Scan(result interface{}) (err error) { method Delete (line 416) | func (u userApplyDo) Delete(models ...*model.UserApply) (result gen.Re... method withDO (line 420) | func (u *userApplyDo) withDO(do gen.Dao) *userApplyDo { type IUserApplyDo (line 134) | type IUserApplyDo interface FILE: dal/query/user_friend.gen.go function newUserFriend (line 22) | func newUserFriend(db *gorm.DB, opts ...gen.DOOption) userFriend { type userFriend (line 43) | type userFriend struct method Table (line 57) | func (u userFriend) Table(newTableName string) *userFriend { method As (line 62) | func (u userFriend) As(alias string) *userFriend { method updateTableName (line 67) | func (u *userFriend) updateTableName(table string) *userFriend { method WithContext (line 81) | func (u *userFriend) WithContext(ctx context.Context) IUserFriendDo { method TableName (line 85) | func (u userFriend) TableName() string { return u.userFriendDo.TableNa... method Alias (line 87) | func (u userFriend) Alias() string { return u.userFriendDo.Alias() } method Columns (line 89) | func (u userFriend) Columns(cols ...field.Expr) gen.Columns { return u... method GetFieldByName (line 91) | func (u *userFriend) GetFieldByName(fieldName string) (field.OrderExpr... method fillFieldMap (line 100) | func (u *userFriend) fillFieldMap() { method clone (line 110) | func (u userFriend) clone(db *gorm.DB) userFriend { method replaceDB (line 115) | func (u userFriend) replaceDB(db *gorm.DB) userFriend { type userFriendDo (line 120) | type userFriendDo struct method Debug (line 183) | func (u userFriendDo) Debug() IUserFriendDo { method WithContext (line 187) | func (u userFriendDo) WithContext(ctx context.Context) IUserFriendDo { method ReadDB (line 191) | func (u userFriendDo) ReadDB() IUserFriendDo { method WriteDB (line 195) | func (u userFriendDo) WriteDB() IUserFriendDo { method Session (line 199) | func (u userFriendDo) Session(config *gorm.Session) IUserFriendDo { method Clauses (line 203) | func (u userFriendDo) Clauses(conds ...clause.Expression) IUserFriendDo { method Returning (line 207) | func (u userFriendDo) Returning(value interface{}, columns ...string) ... method Not (line 211) | func (u userFriendDo) Not(conds ...gen.Condition) IUserFriendDo { method Or (line 215) | func (u userFriendDo) Or(conds ...gen.Condition) IUserFriendDo { method Select (line 219) | func (u userFriendDo) Select(conds ...field.Expr) IUserFriendDo { method Where (line 223) | func (u userFriendDo) Where(conds ...gen.Condition) IUserFriendDo { method Order (line 227) | func (u userFriendDo) Order(conds ...field.Expr) IUserFriendDo { method Distinct (line 231) | func (u userFriendDo) Distinct(cols ...field.Expr) IUserFriendDo { method Omit (line 235) | func (u userFriendDo) Omit(cols ...field.Expr) IUserFriendDo { method Join (line 239) | func (u userFriendDo) Join(table schema.Tabler, on ...field.Expr) IUse... method LeftJoin (line 243) | func (u userFriendDo) LeftJoin(table schema.Tabler, on ...field.Expr) ... method RightJoin (line 247) | func (u userFriendDo) RightJoin(table schema.Tabler, on ...field.Expr)... method Group (line 251) | func (u userFriendDo) Group(cols ...field.Expr) IUserFriendDo { method Having (line 255) | func (u userFriendDo) Having(conds ...gen.Condition) IUserFriendDo { method Limit (line 259) | func (u userFriendDo) Limit(limit int) IUserFriendDo { method Offset (line 263) | func (u userFriendDo) Offset(offset int) IUserFriendDo { method Scopes (line 267) | func (u userFriendDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IUserFrie... method Unscoped (line 271) | func (u userFriendDo) Unscoped() IUserFriendDo { method Create (line 275) | func (u userFriendDo) Create(values ...*model.UserFriend) error { method CreateInBatches (line 282) | func (u userFriendDo) CreateInBatches(values []*model.UserFriend, batc... method Save (line 288) | func (u userFriendDo) Save(values ...*model.UserFriend) error { method First (line 295) | func (u userFriendDo) First() (*model.UserFriend, error) { method Take (line 303) | func (u userFriendDo) Take() (*model.UserFriend, error) { method Last (line 311) | func (u userFriendDo) Last() (*model.UserFriend, error) { method Find (line 319) | func (u userFriendDo) Find() ([]*model.UserFriend, error) { method FindInBatch (line 324) | func (u userFriendDo) FindInBatch(batchSize int, fc func(tx gen.Dao, b... method FindInBatches (line 333) | func (u userFriendDo) FindInBatches(result *[]*model.UserFriend, batch... method Attrs (line 337) | func (u userFriendDo) Attrs(attrs ...field.AssignExpr) IUserFriendDo { method Assign (line 341) | func (u userFriendDo) Assign(attrs ...field.AssignExpr) IUserFriendDo { method Joins (line 345) | func (u userFriendDo) Joins(fields ...field.RelationField) IUserFriend... method Preload (line 352) | func (u userFriendDo) Preload(fields ...field.RelationField) IUserFrie... method FirstOrInit (line 359) | func (u userFriendDo) FirstOrInit() (*model.UserFriend, error) { method FirstOrCreate (line 367) | func (u userFriendDo) FirstOrCreate() (*model.UserFriend, error) { method FindByPage (line 375) | func (u userFriendDo) FindByPage(offset int, limit int) (result []*mod... method ScanByPage (line 390) | func (u userFriendDo) ScanByPage(result interface{}, offset int, limit... method Scan (line 400) | func (u userFriendDo) Scan(result interface{}) (err error) { method Delete (line 404) | func (u userFriendDo) Delete(models ...*model.UserFriend) (result gen.... method withDO (line 408) | func (u *userFriendDo) withDO(do gen.Dao) *userFriendDo { type IUserFriendDo (line 122) | type IUserFriendDo interface FILE: docs/docs.go constant docTemplate (line 7) | docTemplate = `{ function init (line 294) | func init() { FILE: domain/dto/contact_dto.go type ContactDto (line 3) | type ContactDto struct FILE: domain/dto/delete_friend_dto.go type DeleteFriendDto (line 3) | type DeleteFriendDto struct FILE: domain/dto/group_dto.go type GetGroupMemberDto (line 5) | type GetGroupMemberDto struct FILE: domain/dto/msg_dto.go type MessageBaseDto (line 3) | type MessageBaseDto struct type ImgMessageDto (line 12) | type ImgMessageDto struct FILE: domain/enum/event_bus.go constant FriendApplyEvent (line 4) | FriendApplyEvent = "main:FriendApplyEvent" constant FriendNewEvent (line 5) | FriendNewEvent = "main:FriendNewEvent" constant NewMessageEvent (line 6) | NewMessageEvent = "main:NewMessageEvent" FILE: domain/enum/login.go constant LoginByPassword (line 4) | LoginByPassword = 1 constant LoginByPhoneCaptcha (line 5) | LoginByPhoneCaptcha = 2 FILE: domain/enum/message.go constant TextMessage (line 4) | TextMessage = 1 constant TextMessageType (line 8) | TextMessageType = 1 constant ImgMessageType (line 9) | ImgMessageType = 3 FILE: domain/enum/redis.go constant Project (line 6) | Project = "diting:" constant User (line 7) | User = Project + "User" constant UserFriend (line 8) | UserFriend = Project + "userFriend:" constant UserApply (line 9) | UserApply = Project + "userApply:" constant RoomFriend (line 10) | RoomFriend = Project + "roomFriend:" constant Contact (line 11) | Contact = Project + "contact:" constant Room (line 12) | Room = Project + "room:" constant RoomCacheByID (line 16) | RoomCacheByID = Room + "%d" constant RoomFriendCacheByRoomID (line 19) | RoomFriendCacheByRoomID = RoomFriend + "%d" constant RoomFriendCacheByUidAndFriendUid (line 20) | RoomFriendCacheByUidAndFriendUid = RoomFriend + "%d_%d" constant PhoneUidMap (line 23) | PhoneUidMap = User + "PhoneUid:" + "%s" constant UserCacheByID (line 24) | UserCacheByID = User + "%d" constant UserCacheByName (line 25) | UserCacheByName = User + "%s" constant UserCacheByPhone (line 26) | UserCacheByPhone = User + "Phone:" + "%s" constant UserCaptcha (line 27) | UserCaptcha = User + "Captcha:" + "%s" constant UserFriendCacheByUidAndFriendUid (line 30) | UserFriendCacheByUidAndFriendUid = UserFriend + "%d_%d" constant UserApplyCacheByUidAndFriendUid (line 33) | UserApplyCacheByUidAndFriendUid = UserApply + "%d_%d" constant ContactCacheById (line 36) | ContactCacheById = Contact + "%d" constant DefaultCacheTime (line 40) | DefaultCacheTime = 7 * 24 * time.Hour constant NotExpireTime (line 41) | NotExpireTime = 10 * 365 * 24 * time.Hour FILE: domain/enum/redsync.go constant Lock (line 4) | Lock = "lock:" constant UserLock (line 5) | UserLock = Lock + "diting-user:" constant UserAndFriendLock (line 6) | UserAndFriendLock = UserLock + "%d_%d" FILE: domain/enum/rocketmq.go constant UserLoginTopic (line 4) | UserLoginTopic = "diting-login" constant NewFriendTopic (line 5) | NewFriendTopic = "diting-new-friend" constant NewMessageTopic (line 6) | NewMessageTopic = "diting-new-message" constant DeleteFriendTopic (line 7) | DeleteFriendTopic = "diting-delete-friend" constant FriendApplyTopic (line 8) | FriendApplyTopic = "diting-friend-apply" FILE: domain/enum/room.go constant HOT (line 5) | HOT = 1 constant NORMAL (line 6) | NORMAL = 0 constant GROUP (line 8) | GROUP = 1 constant PERSONAL (line 9) | PERSONAL = 2 FILE: domain/enum/user.go constant UserStatusNormal (line 4) | UserStatusNormal = 1 constant UserStatusCancel (line 5) | UserStatusCancel = 2 FILE: domain/model/message.go type Message (line 8) | type Message method GetContactMsg (line 10) | func (msg Message) GetContactMsg() string { FILE: domain/vo/req/agree_friend_req.go type AgreeFriendReq (line 3) | type AgreeFriendReq struct FILE: domain/vo/req/captcha_req.go type CaptchaReq (line 3) | type CaptchaReq struct FILE: domain/vo/req/create_group_req.go type CreateGroupReq (line 3) | type CreateGroupReq struct FILE: domain/vo/req/delete_friend_req.go type DeleteFriendReq (line 3) | type DeleteFriendReq struct FILE: domain/vo/req/delete_group_req.go type DeleteGroupReq (line 3) | type DeleteGroupReq struct FILE: domain/vo/req/get_group_member_list_req.go type GetGroupMemberListReq (line 3) | type GetGroupMemberListReq struct FILE: domain/vo/req/get_message_list_req.go type GetMessageListReq (line 3) | type GetMessageListReq struct FILE: domain/vo/req/get_new_content_list_req.go type GetNewContentListReq (line 3) | type GetNewContentListReq struct FILE: domain/vo/req/get_new_msg_list_req.go type GetNewMsgListReq (line 3) | type GetNewMsgListReq struct FILE: domain/vo/req/get_user_info_batch_req.go type UserInfoBatchReqItem (line 3) | type UserInfoBatchReqItem struct type GetUserInfoBatchReq (line 7) | type GetUserInfoBatchReq struct FILE: domain/vo/req/get_user_info_by_name_req.go type GetUserInfoByNameReq (line 3) | type GetUserInfoByNameReq struct FILE: domain/vo/req/grant_administrator_req.go type GrantAdministratorReq (line 3) | type GrantAdministratorReq struct FILE: domain/vo/req/is_friend_req.go type IsFriendReq (line 4) | type IsFriendReq struct FILE: domain/vo/req/join_group_req.go type JoinGroupReq (line 3) | type JoinGroupReq struct FILE: domain/vo/req/message_req.go type MessageBody (line 3) | type MessageBody struct type MessageReq (line 7) | type MessageReq struct FILE: domain/vo/req/quit_group_req.go type QuitGroupReq (line 3) | type QuitGroupReq struct FILE: domain/vo/req/remove_administrator_req.go type RemoveAdministratorReq (line 3) | type RemoveAdministratorReq struct FILE: domain/vo/req/uid_req.go type UidReq (line 3) | type UidReq struct FILE: domain/vo/req/user_apply_req.go type UserApplyReq (line 3) | type UserApplyReq struct FILE: domain/vo/req/user_cancle_req.go type UserCancelReq (line 3) | type UserCancelReq struct FILE: domain/vo/req/user_login_req.go type UserLoginReq (line 3) | type UserLoginReq struct FILE: domain/vo/req/user_register_req.go type UserRegisterReq (line 3) | type UserRegisterReq struct FILE: domain/vo/resp/get_user_info_batch_resp.go type GetUserInfoBatchResp (line 3) | type GetUserInfoBatchResp struct FILE: domain/vo/resp/get_user_info_by_name_resp.go type GetUserInfoByNameResp (line 3) | type GetUserInfoByNameResp struct FILE: domain/vo/resp/message_resp.go type MsgUser (line 3) | type MsgUser struct type Msg (line 8) | type Msg struct type TextBody (line 14) | type TextBody struct type MessageResp (line 18) | type MessageResp struct FILE: domain/vo/resp/page_list_resp.go type PageListResp (line 3) | type PageListResp struct FILE: domain/vo/resp/pre_signed_resp.go type PreSignedResp (line 3) | type PreSignedResp struct FILE: domain/vo/resp/user_apply_resp.go type UserApplyResp (line 3) | type UserApplyResp struct FILE: domain/vo/resp/user_contact_resp.go type UserContactResp (line 3) | type UserContactResp struct FILE: domain/vo/resp/user_login_resp.go type UserLoginResp (line 3) | type UserLoginResp struct FILE: event/listener/friend_apply_event.go function init (line 15) | func init() { function friendApplyEvent (line 35) | func friendApplyEvent(ctx context.Context, ext ...*primitive.MessageExt)... function friendApply (line 52) | func friendApply(apply model.UserApply) error { FILE: event/listener/friend_delete_event.go function init (line 22) | func init() { function deleteFriendEvent (line 41) | func deleteFriendEvent(ctx context.Context, ext ...*primitive.MessageExt... function deleteFriend (line 58) | func deleteFriend(deleteFriendDto dto.DeleteFriendDto) error { FILE: event/listener/friend_new_event.go function init (line 25) | func init() { function friendNewEvent (line 44) | func friendNewEvent(ctx context.Context, ext ...*primitive.MessageExt) (... function friendNew (line 64) | func friendNew(userFriend model.UserFriend) error { FILE: event/listener/new_msg_event.go function init (line 22) | func init() { function UpdateContactEvent (line 57) | func UpdateContactEvent(ctx context.Context, ext ...*primitive.MessageEx... function updateContact (line 80) | func updateContact(msg model.Message) error { function SendMsgEvent (line 133) | func SendMsgEvent(ctx context.Context, ext ...*primitive.MessageExt) (co... function sendMsg (line 153) | func sendMsg(msg model.Message) error { FILE: event/listener/user_login_event.go function init (line 14) | func init() { function test (line 27) | func test(rocketConsumer rocketmq.PushConsumer) { FILE: global/init_db.go function DBInit (line 13) | func DBInit() { FILE: global/init_log.go function LogInit (line 13) | func LogInit() { FILE: global/init_redis.go function RedisInit (line 10) | func RedisInit() { FILE: logic/captcha.go function CheckCaptcha (line 13) | func CheckCaptcha(captchaId, captchaValue string) bool { function GenerateCaptcha (line 38) | func GenerateCaptcha(captchaId string) (string, error) { function SendCaptcha (line 53) | func SendCaptcha(phone, captcha string) error { FILE: logic/login.go function CheckPassword (line 17) | func CheckPassword(ctx context.Context, phone, password string) bool { function SetUserInfo2Redis (line 82) | func SetUserInfo2Redis(userInfo model.User) error { function GetUserInfo2Redis (line 95) | func GetUserInfo2Redis(userId string) (model.User, error) { function GetUserInfo2DB (line 118) | func GetUserInfo2DB(phone string) (model.User, error) { function GetUserInfo2DBById (line 134) | func GetUserInfo2DBById(ctx context.Context, userId string) (model.User,... FILE: logic/register.go function CheckCaptchaProcess (line 16) | func CheckCaptchaProcess(phone, captcha string) bool { function CheckCaptchaExist (line 27) | func CheckCaptchaExist(phone string) bool { function CheckPhoneInRedis (line 44) | func CheckPhoneInRedis(phone string) bool { function CheckPhoneInDB (line 64) | func CheckPhoneInDB(ctx context.Context, phone string) (bool, error) { FILE: logic/user.go function CreateUser (line 14) | func CreateUser(ctx context.Context, userInfo model.User) error { FILE: logic/user_cancle.go function DeleteUserInfoFromRedis (line 13) | func DeleteUserInfoFromRedis(userId string) error { function DeleteUserInfoFromDB (line 22) | func DeleteUserInfoFromDB(ctx context.Context, userId string) error { FILE: main.go function main (line 14) | func main() { FILE: pkg/domain/enum/code.go constant SUCCESS (line 4) | SUCCESS = 200 constant ERROR (line 5) | ERROR = 500 constant INVALID_PARAMS (line 6) | INVALID_PARAMS = 400 constant ERROR_EXIST_TAG (line 8) | ERROR_EXIST_TAG = 10001 constant ERROR_NOT_EXIST_TAG (line 9) | ERROR_NOT_EXIST_TAG = 10002 constant ERROR_NOT_EXIST_ARTICLE (line 10) | ERROR_NOT_EXIST_ARTICLE = 10003 constant ERROR_AUTH_CHECK_TOKEN_FAIL (line 12) | ERROR_AUTH_CHECK_TOKEN_FAIL = 20001 constant ERROR_AUTH_CHECK_TOKEN_TIMEOUT (line 13) | ERROR_AUTH_CHECK_TOKEN_TIMEOUT = 20002 constant ERROR_AUTH_TOKEN (line 14) | ERROR_AUTH_TOKEN = 20003 constant ERROR_AUTH (line 15) | ERROR_AUTH = 20004 FILE: pkg/domain/enum/common_enum.go constant YES (line 4) | YES = 2 constant NO (line 5) | NO = 1 constant NORMAL (line 6) | NORMAL = 1 constant DELETED (line 7) | DELETED = 2 FILE: pkg/domain/enum/msg.go function GetMsg (line 13) | func GetMsg(code int) string { FILE: pkg/domain/vo/req/page_req.go type PageReq (line 3) | type PageReq struct FILE: pkg/domain/vo/resp/page_resp.go type PageResp (line 3) | type PageResp struct FILE: pkg/domain/vo/resp/response.go type ResponseData (line 9) | type ResponseData struct function ErrorResponse (line 22) | func ErrorResponse(c *gin.Context, message string) { function SuccessResponse (line 37) | func SuccessResponse(c *gin.Context, data interface{}) { function SuccessResponseWithMsg (line 46) | func SuccessResponseWithMsg(c *gin.Context, msg string) { function ReturnSuccessResponse (line 54) | func ReturnSuccessResponse(c *gin.Context, response ResponseData) { function ReturnErrorResponse (line 57) | func ReturnErrorResponse(c *gin.Context, response ResponseData) { function ErrorResponseData (line 62) | func ErrorResponseData(msg string) ResponseData { function SuccessResponseData (line 72) | func SuccessResponseData(data interface{}) ResponseData { function SuccessResponseDataWithMsg (line 82) | func SuccessResponseDataWithMsg(msg string) ResponseData { FILE: pkg/utils/cursor_utils.go function Paginate (line 16) | func Paginate(db *gorm.DB, params pkgReq.PageReq, result interface{}, cu... function GetTagName (line 73) | func GetTagName(structName interface{}) (map[string]string, error) { FILE: pkg/utils/redis.go function SetString (line 13) | func SetString(key string, value any) error { function GetString (line 22) | func GetString(key string, value any) error { function GetData (line 37) | func GetData(cacheKey string, value any, dbQueryFunc func() (interface{}... function QueryAndSet (line 54) | func QueryAndSet(cacheKey string, value any, dbQueryFunc func() (interfa... function RemoveData (line 73) | func RemoveData(key string) { FILE: pkg/utils/sort.go type Int64Slice (line 3) | type Int64Slice method Len (line 5) | func (p Int64Slice) Len() int { method Less (line 9) | func (p Int64Slice) Less(i, j int) bool { method Swap (line 13) | func (p Int64Slice) Swap(i, j int) { FILE: routes/init_router.go function InitRouter (line 19) | func InitRouter() { function initWebSocket (line 25) | func initWebSocket() { function initGin (line 31) | func initGin() { function test (line 114) | func test(c *gin.Context) { FILE: service/adapter/build_contact_dao_list.go type RoomDto (line 11) | type RoomDto struct function BuildContactDaoList (line 18) | func BuildContactDaoList(contactList []model.Contact, userList []*model.... FILE: service/adapter/build_message_resp.go function BuildMessageRespByMsgAndUser (line 8) | func BuildMessageRespByMsgAndUser(msgList *[]model.Message, userMap map[... FILE: service/adapter/build_user_info_by_name_resp.go function BuildUserInfoByNameResp (line 8) | func BuildUserInfoByNameResp(userList []*model.User, userApply []*model.... FILE: service/captcha_service.go function CaptchaService (line 11) | func CaptchaService(captchaReq req.CaptchaReq) (pkgResp.ResponseData, er... FILE: service/user_service.go function RegisterService (line 23) | func RegisterService(userReq req.UserRegisterReq) (pkgResp.ResponseData,... function validateRegisterRequest (line 56) | func validateRegisterRequest(userReq req.UserRegisterReq) error { function validateRegisterCaptcha (line 81) | func validateRegisterCaptcha(phone, captcha string) error { function checkUserExists (line 90) | func checkUserExists(ctx context.Context, phone string) (bool, error) { function createNewUser (line 113) | func createNewUser(ctx context.Context, userReq req.UserRegisterReq) err... function LoginService (line 149) | func LoginService(loginReq req.UserLoginReq) (pkgResp.ResponseData, erro... function validateLoginRequest (line 188) | func validateLoginRequest(loginReq req.UserLoginReq) error { function validateLoginCredentials (line 204) | func validateLoginCredentials(ctx context.Context, loginReq req.UserLogi... function getUserInfo (line 220) | func getUserInfo(phone string) (model.User, error) { function CancelService (line 263) | func CancelService(ctx *gin.Context, req req.UserCancelReq) (pkgResp.Res... FILE: service/user_service_integration_test.go function TestUserRegistrationFlow (line 17) | func TestUserRegistrationFlow(t *testing.T) { function TestUserLoginFlow (line 50) | func TestUserLoginFlow(t *testing.T) { function TestUserCancelFlow (line 92) | func TestUserCancelFlow(t *testing.T) { function TestDuplicateRegistration (line 134) | func TestDuplicateRegistration(t *testing.T) { function TestLoginWithWrongCredentials (line 165) | func TestLoginWithWrongCredentials(t *testing.T) { function TestCancelWithWrongCaptcha (line 213) | func TestCancelWithWrongCaptcha(t *testing.T) { function TestUserRegistrationWithValidData (line 250) | func TestUserRegistrationWithValidData(t *testing.T) { function setupCaptcha (line 302) | func setupCaptcha(phone, captcha string) { function cleanupUser (line 311) | func cleanupUser(phone string) { FILE: service/user_service_test.go function TestUserLifecycleFlow (line 13) | func TestUserLifecycleFlow(t *testing.T) { function TestRegisterValidation (line 78) | func TestRegisterValidation(t *testing.T) { function TestLoginValidation (line 117) | func TestLoginValidation(t *testing.T) { FILE: sql/sql.sql type contact (line 2) | create table contact type idx_create_time (line 18) | create index idx_create_time type idx_room_id_read_time (line 21) | create index idx_room_id_read_time type idx_update_time (line 24) | create index idx_update_time type idx_user_id_active_time (line 27) | create index idx_user_id_active_time type group_member (line 31) | create table group_member type idx_create_time (line 43) | create index idx_create_time type idx_group_id_role (line 46) | create index idx_group_id_role type idx_update_time (line 49) | create index idx_update_time type message (line 53) | create table message type idx_create_time (line 71) | create index idx_create_time type idx_from_uid (line 74) | create index idx_from_uid type idx_room_id (line 77) | create index idx_room_id type idx_update_time (line 80) | create index idx_update_time type room (line 84) | create table room type idx_create_time (line 98) | create index idx_create_time type idx_update_time (line 101) | create index idx_update_time type room_friend (line 105) | create table room_friend type idx_create_time (line 121) | create index idx_create_time type idx_room_id (line 124) | create index idx_room_id type idx_update_time (line 127) | create index idx_update_time type room_group (line 131) | create table room_group type idx_create_time (line 145) | create index idx_create_time type idx_room_id (line 148) | create index idx_room_id type idx_update_time (line 151) | create index idx_update_time type user_friend (line 155) | create table user_friend type idx_create_time (line 169) | create index idx_create_time type idx_uid_friend_uid (line 172) | create index idx_uid_friend_uid type idx_update_time (line 175) | create index idx_update_time type user_apply (line 179) | create table user_apply type idx_create_time (line 196) | create index idx_create_time type idx_target_id (line 199) | create index idx_target_id type idx_target_id_read_status (line 202) | create index idx_target_id_read_status type idx_uid_target_id (line 205) | create index idx_uid_target_id type idx_update_time (line 208) | create index idx_update_time FILE: tests/e2e/user_workflow_e2e_test.go function init (line 19) | func init() { function TestUserCompleteWorkflow (line 39) | func TestUserCompleteWorkflow(t *testing.T) { function TestMultipleUserWorkflow (line 128) | func TestMultipleUserWorkflow(t *testing.T) { function TestUserErrorScenarios (line 175) | func TestUserErrorScenarios(t *testing.T) { function setupCaptcha (line 239) | func setupCaptcha(phone, captcha string) { function cleanupUser (line 248) | func cleanupUser(phone string) { FILE: tests/init_test.go function TestMain (line 11) | func TestMain(m *testing.M) { function cleanup (line 35) | func cleanup() { FILE: tests/integration/user_integration_test.go function TestUserRegistrationFlow (line 18) | func TestUserRegistrationFlow(t *testing.T) { function TestUserLoginFlow (line 51) | func TestUserLoginFlow(t *testing.T) { function TestUserCancelFlow (line 93) | func TestUserCancelFlow(t *testing.T) { function TestDuplicateRegistration (line 135) | func TestDuplicateRegistration(t *testing.T) { function TestLoginWithWrongCredentials (line 166) | func TestLoginWithWrongCredentials(t *testing.T) { function TestCancelWithWrongCaptcha (line 214) | func TestCancelWithWrongCaptcha(t *testing.T) { function TestUserRegistrationWithValidData (line 251) | func TestUserRegistrationWithValidData(t *testing.T) { function setupCaptcha (line 303) | func setupCaptcha(phone, captcha string) { function cleanupUser (line 312) | func cleanupUser(phone string) { FILE: tests/performance/user_performance_test.go function BenchmarkUserRegistration (line 17) | func BenchmarkUserRegistration(b *testing.B) { function BenchmarkUserLogin (line 48) | func BenchmarkUserLogin(b *testing.B) { function TestConcurrentUserRegistration (line 87) | func TestConcurrentUserRegistration(t *testing.T) { function TestConcurrentUserLogin (line 149) | func TestConcurrentUserLogin(t *testing.T) { function TestLoadTest (line 229) | func TestLoadTest(t *testing.T) { function setupCaptcha (line 280) | func setupCaptcha(phone, captcha string) { function cleanupUser (line 289) | func cleanupUser(phone string) { FILE: tests/unit/user_service_test.go function init (line 22) | func init() { function TestRegisterValidation (line 42) | func TestRegisterValidation(t *testing.T) { function TestLoginValidation (line 107) | func TestLoginValidation(t *testing.T) { function TestCheckPassword (line 183) | func TestCheckPassword(t *testing.T) { function setupCaptcha (line 248) | func setupCaptcha(phone, captcha string) { function cleanupUser (line 257) | func cleanupUser(phone string) { FILE: utils/jwt/jwt.go type JwtClaims (line 14) | type JwtClaims struct function GenerateToken (line 20) | func GenerateToken(uid int64) (string, error) { function ParseToken (line 42) | func ParseToken(tokenString string) (*JwtClaims, error) { FILE: utils/jwt/jwt_test.go function TestGenerateToken (line 9) | func TestGenerateToken(t *testing.T) { function TestParseToken (line 51) | func TestParseToken(t *testing.T) { function TestGenerateAndParseToken (line 117) | func TestGenerateAndParseToken(t *testing.T) { function TestTokenExpiration (line 152) | func TestTokenExpiration(t *testing.T) { FILE: utils/middleware/cors.go function Cors (line 9) | func Cors() gin.HandlerFunc { FILE: utils/middleware/jwt.go function JWT (line 11) | func JWT() gin.HandlerFunc { FILE: utils/middleware/log.go function LoggerToFile (line 11) | func LoggerToFile() gin.HandlerFunc { FILE: utils/mysqlUtils.go function QueryUserByPhone (line 14) | func QueryUserByPhone(ctx context.Context, phone string) (*model.User, e... function QueryUserByID (line 29) | func QueryUserByID(ctx context.Context, userId string) (*model.User, err... FILE: utils/passwordUtils.go function EncryptPassword (line 9) | func EncryptPassword(password string) string { FILE: utils/redisCache/remove_cache.go function RemoveRoomCache (line 11) | func RemoveRoomCache(room model.Room) { function RemoveRoomFriend (line 16) | func RemoveRoomFriend(roomFriend model.RoomFriend) { function RemoveUserCache (line 22) | func RemoveUserCache(user model.User) { function RemoveUserFriend (line 28) | func RemoveUserFriend(uid, friendUid int64) { function RemoveUserApply (line 34) | func RemoveUserApply(uid, friendUid int64) { function RemoveContact (line 40) | func RemoveContact(contact model.Contact) { FILE: utils/redisUtils.go function MakeUserPhoneKey (line 14) | func MakeUserPhoneKey(phone string) string { function MakeUserCaptchaKey (line 19) | func MakeUserCaptchaKey(phone string) string { function SetValueToRedis (line 24) | func SetValueToRedis(key string, value string, expireTime time.Duration)... function GetValueFromRedis (line 38) | func GetValueFromRedis(key string) (value []byte, err error) { function DeleteValueFromRedis (line 47) | func DeleteValueFromRedis(key string) error { FILE: utils/setting/setting.go function ConfigInit (line 11) | func ConfigInit() { function findProjectRoot (line 64) | func findProjectRoot(currentDir string) string { FILE: utils/time_utils.go function TimestampStrToTimeStr (line 9) | func TimestampStrToTimeStr(str *string) (*string, error) { FILE: websocket/domain/enum/ws_type.go constant NewMessage (line 4) | NewMessage = 4 FILE: websocket/domain/vo/resp/new_message_resp.go type NewMessageResp (line 3) | type NewMessageResp struct FILE: websocket/global/global.go type Channels (line 9) | type Channels struct type User (line 14) | type User struct type Msg (line 18) | type Msg struct FILE: websocket/service/websocket_service.go function Connect (line 37) | func Connect(w http.ResponseWriter, r *http.Request) { function Send (line 89) | func Send(uid int64, value []byte) error { function disConnect (line 108) | func disConnect(user *global.User) { function parseJwt (line 127) | func parseJwt(r *http.Request) (*int64, error) { function heatBeat (line 146) | func heatBeat(user *global.User) {