Categorygithub.com/r-konishi/lambda-request-parser
repository
0.0.0-20220401083720-f5468938651e
Repository: https://github.com/r-konishi/lambda-request-parser.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

lambda-request-parser

  • Convert the lambda request (QueryStringParameters or RequestBody) to a go struct.
  • Provides easy validation with tags. (use go-playground/validator)

Installation

Use go get.

go get -u github.com/r-konishi/lambda-request-parser/parser

Then import the parser package into your own code.

import "github.com/r-konishi/lambda-request-parser/parser"

Usage

test code

exapmles

simple lambda example (with api gateway)

License

Distributed under MIT License, please see license file within the code for more details.