Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenConnection ¶
func OpenConnection() error
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
var R Repository
func (*Repository) GetSession ¶
func (r *Repository) GetSession() *gorm.DB
Click to show internal directories.
Click to hide internal directories.