Closed SamTebbs33 closed 5 years ago
Aaah, you're right. After Zig got default values in structs, I decided to remove a lot of helper functions, and forgot to update the README. Updated examples can be found in the examples folder.
I'll update the README in a bit :)
Thanks, I'll take a look at the examples folder :)
I figured I might mention this here. std.debug.warn
seems to be deprecated so I feel like the README should be updated to reflect that.
@sagehane Fixed in above commit. Next time, just open a new issue thanks :)
The examples in the README seem to need an update, since I get errors saying
container 'zig-clap.src.streaming.StreamingClap(u8,zig-clap.src.args.OsIterator)' has no member called 'init'
anderror: container 'zig-clap.clap.Param(u8)' has no member called 'flag'
when replicating the examples. My source is below: