add method ContextDBWithName
relax-admin opened this issue · comments
When using two databases, you need to distinguish the contextKey
e.Use(echomiddleware.ContextDB(c.ServiceName, db, c.Database.Logger.Kafka))
Golang utility packages
relax-admin opened this issue · comments
When using two databases, you need to distinguish the contextKey
e.Use(echomiddleware.ContextDB(c.ServiceName, db, c.Database.Logger.Kafka))