@ -17,8 +17,8 @@ type Clients struct {
clients map[string]clientEntry
}
// Make a new collection of matrix clients
func Make(db *database.ServiceDB) *Clients {
// New makes a new collection of matrix clients
func New(db *database.ServiceDB) *Clients {
clients := &Clients{
db: db,
clients: make(map[string]clientEntry),
@ -22,7 +22,7 @@ func main() {
log.Panic(err)
clients := clients.Make(db)
clients := clients.New(db)
if err := clients.Start(); err != nil {
xxxxxxxxxx
xxxxxxxxxx