Files
distribution/reference
Sebastiaan van Stijn 552b1526c6 reference: check for prefix instead of splitting, and use consts
- use strings.HasPrefix() to check for the prefix we're interested in instead
  of doing a strings.Split() without limits. This makes the code both easier
  to read, and prevents potential situations where we end up with a long slice.
- use consts for defaults; these should never be modified, so better to use
  consts for them to indicate they're fixed values.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-11-09 15:21:47 +01:00
..
2022-11-03 22:48:20 +01:00
2022-11-08 22:38:47 +01:00
2022-11-08 22:38:47 +01:00