http-inline

command
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 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