pangpanglabs / goutils

Golang utility packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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))