This commit makes sure we thoroughly document how the server works and applies some maintenance changes.
The most relevant changes are:
using io.ReadAll instead of ioutil.ReadAll;
dropping rand.Seed calls.
We can safely drop rand.Seed calls because:
Deprecated: As of Go 1.20 there is no reason to call Seed
with a random value. Programs that call Seed with a known value
to get a specific sequence of results should use
New(NewSource(seed)) to obtain a local random generator.
This commit makes sure we thoroughly document how the server works and applies some maintenance changes.
The most relevant changes are:
using io.ReadAll instead of ioutil.ReadAll;
dropping rand.Seed calls.
We can safely drop rand.Seed calls because:
We use go1.20 in Dockerfile and go.mod.