Nexus/pkg/nex/cruda/conn.go
2024-10-20 19:55:52 +08:00

19 lines
226 B
Go

package cruda
import (
"git.solsynth.dev/hypernet/nexus/pkg/nex"
"gorm.io/gorm"
)
type CrudConn struct {
Conn *nex.Conn
db *gorm.DB
}
func NewCrudaConn(conn *nex.Conn) *CrudConn {
return &CrudConn{
Conn: conn,
}
}