diff options
author | Reto Brunner <reto@labrat.space> | 2020-01-24 18:18:49 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-01-24 12:25:59 -0500 |
commit | e78b7b85e4792f413175e13ef2fe437839b017a2 (patch) | |
tree | 0e050469f2f3d7768d4cc8f39af27a580d03e7b1 /worker/maildir/container.go | |
parent | df5d9a3ec7564f0d95e3f92afc0e59588de3c4ce (diff) | |
download | aerc-e78b7b85e4792f413175e13ef2fe437839b017a2.tar.gz |
config: Strongly type context type
The go compiler can't help much with untyped int constants.
Even though the only valid constants are 0-3 it will happily accept 4 as input.
Let's let the go compiler worry about correctness here. This also allows people
not very familiar with the code to use it properly via auto completion.
Diffstat (limited to 'worker/maildir/container.go')
0 files changed, 0 insertions, 0 deletions