Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGitEmail ¶
func AddGitUserName ¶
func GetRepoHostnameFromURL ¶
Types ¶
type MongoDB ¶
type MongoDB struct {
// contains filtered or unexported fields
}
MongoDB will manage the connection with the database.
func NewMongoDB ¶
NewMongoDB is a constructor function.
func (*MongoDB) Connect ¶
Connect open a database connection and check if it is connecting using ping.
func (*MongoDB) Disconnect ¶
func (m *MongoDB) Disconnect()
Disconnect closes the connection with the database.
Click to show internal directories.
Click to hide internal directories.