lus/dgc

Add ability to range over type *dgc.Arguments

Closed this issue · 1 comments

Is it possible to range over the arguments in a Handler function?

lus commented

Yup, cou can do something like this:

for i := 0; i < ctx.Arguments.Amount(); i++ {
    arg := ctx.Arguments.Get(i)
}