v-lambda
Libraries to help V developers develop AWS Lambda functions.
Installation
$ v install koki-develop.lambda
Usage
module main
import koki_develop.lambda
import json
struct Input {
// ...
}
fn main() {
lambda.start(handler)!
}
fn handler(ctx lambda.Context, event string) !string {
input := json.decode(Input, event)!
return json.encode({
'success': true
})
}
For actual usage examples, please refer to
koki-develop/vlang-aws-lambda-example