dendrite/setup
0x1a8510f2 46902e5766
Take advantage of changes in recent Go versions (#3361)
Given that #2714 wasn't merged but we are now at a minimum supported Go
version of 1.20 (soon to be 1.21), I wanted to carry over some of the
changes. Namely:
- Fix the log typo
- Simplify build constraints for unix
- Use stdlib atomic package

### Pull Request Checklist

<!-- Please read
https://matrix-org.github.io/dendrite/development/contributing before
submitting your pull request -->

* [x] I have added Go unit tests or [Complement integration
tests](https://github.com/matrix-org/complement) for this PR _or_ I have
justified why this PR doesn't need tests
* [x] Pull request includes a [sign off below using a legally
identifiable
name](https://matrix-org.github.io/dendrite/development/contributing#sign-off)
_or_ I have already signed off privately

Signed-off-by: `0x1a8510f2 <admin@0x1a8510f2.space>`

---------

Co-authored-by: devonh <devon.dmytro@gmail.com>
2024-05-01 00:38:36 +00:00
..
base Take advantage of changes in recent Go versions (#3361) 2024-05-01 00:38:36 +00:00
config Make usage of relays optional, avoid DB roundtrips (#3337) 2024-02-28 20:59:34 +01:00
jetstream Reuse existing NATS connection (#3345) 2024-03-22 22:33:23 +01:00
mscs More rows.Close() and rows.Err() (#3262) 2023-11-09 08:42:33 +01:00
process Fix flaky test in process context 2023-05-03 18:21:33 -06:00
flags.go Remove polylith/API mode (#2967) 2023-02-14 12:47:47 +01:00
monolith.go Use pointer when passing the connection manager around (#3152) 2023-07-19 13:37:04 +02:00