http-inline

command
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

A simple stdlib http handler that validates a request inline - rather than using the validator.Validator interface.

I would recommend using this method of validation in your service layer and transport agnostic to ensure portability, but this example shows a simple usage.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL