17315205
config: factorize integer parsing
Add a new GetInt() function to parse an integer value from a parsed ini.File. Use that function instead of duplicated code. Signed-off-by: Robin Jarry <robin@jarry.cc>
Robin Jarry <robin@jarry.cc> — 2024-12-16 13:35:38 UTC
Commit 173152054121a5575a4a41a22d61b1a92bff30db —
view raw patch
Parent(s):
eeb0384a
| File | Status | + | − |
|---|---|---|---|
config/config.go
|
M | +18 | |
email/worker.go
|
M | +2 | -8 |
server/server.go
|
M | +1 | -7 |
webhooks/legacy.go
|
M | +2 | -8 |
webhooks/queue.go
|
M | +2 | -8 |