used sugar.nim instead of future.nim in the login.nim example

This commit is contained in:
Andreas Rumpf 2019-03-14 11:09:06 +01:00
commit 50bed1f6e9

View file

@ -1,6 +1,6 @@
include karax / prelude include karax / prelude
from future import `=>` from sugar import `=>`
import karax / errors import karax / errors
proc loginField(desc, field, class: kstring; proc loginField(desc, field, class: kstring;