forked from vieter-v/vieter
Attempt at writing renew_queue function; seems to just stop in the
middle
This commit is contained in:
parent
ff57d73998
commit
f7e1aba30b
10 changed files with 89 additions and 30 deletions
2
src/env/env.v
vendored
2
src/env/env.v
vendored
|
|
@ -58,7 +58,7 @@ pub fn load<T>(path string) ?T {
|
|||
if s !is toml.Null {
|
||||
$if field.typ is string {
|
||||
res.$(field.name) = s.string()
|
||||
}$else $if field.typ is int {
|
||||
} $else $if field.typ is int {
|
||||
res.$(field.name) = s.int()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue