mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 11:23:11 -06:00
database/sql.Rows.Next() makes sure to call Close only after exhausting result rows which would NOT happen when returning early from a bad Scan. Close being idempotent makes it a great candidate to get always deferred regardless of what happens later on the result set. This change also makes sure call Err() after exhausting Next() and propagate non-nil results from it as the documentation advises. Closes #764 Signed-off-by: Kiril Vladimiroff <kiril@vladimiroff.org> |
||
|---|---|---|
| .github | ||
| appservice | ||
| clientapi | ||
| cmd | ||
| common | ||
| docker | ||
| docs | ||
| federationapi | ||
| federationsender | ||
| hooks | ||
| mediaapi | ||
| publicroomsapi | ||
| roomserver | ||
| scripts | ||
| syncapi | ||
| typingserver | ||
| .editorconfig | ||
| .gitignore | ||
| .golangci.yml | ||
| build.sh | ||
| CODE_STYLE.md | ||
| CONTRIBUTING.md | ||
| dendrite-config.yaml | ||
| DESIGN.md | ||
| go.mod | ||
| go.sum | ||
| INSTALL.md | ||
| LICENSE | ||
| README.md | ||
| show-expected-fail-tests.sh | ||
| sytest-blacklist | ||
| sytest-whitelist | ||
| WIRING.md | ||
Dendrite

Dendrite will be a matrix homeserver written in go.
It's still very much a work in progress, but installation instructions can be found in INSTALL.md
An overview of the design can be found in DESIGN.md
Contributing
Everyone is welcome to help out and contribute! See CONTRIBUTING.md to get started!
We aim to try and make it as easy as possible to jump in.
Discussion
For questions about Dendrite we have a dedicated room on Matrix #dendrite:matrix.org. Development discussion should happen in #dendrite-dev:matrix.org.
Progress
There's plenty still to do to make Dendrite usable! We're tracking progress in a project board.