diff --git a/src/github.com/matrix-org/go-neb/clients/clients.go b/src/github.com/matrix-org/go-neb/clients/clients.go index a3159b4..29345d3 100644 --- a/src/github.com/matrix-org/go-neb/clients/clients.go +++ b/src/github.com/matrix-org/go-neb/clients/clients.go @@ -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), diff --git a/src/github.com/matrix-org/go-neb/goneb.go b/src/github.com/matrix-org/go-neb/goneb.go index 9143f45..0d7c611 100644 --- a/src/github.com/matrix-org/go-neb/goneb.go +++ b/src/github.com/matrix-org/go-neb/goneb.go @@ -22,7 +22,7 @@ func main() { log.Panic(err) } - clients := clients.Make(db) + clients := clients.New(db) if err := clients.Start(); err != nil { log.Panic(err) }