Installation
Install the NLG Form package for Go applications and integrate reusable validation schemas, rules, HTTP request validation, and structured form processing into your project.
Add the package to your project using go get:
go get github.com/netlifeguru/formImport the package into your application:
import (
"github.com/netlifeguru/form"
"github.com/netlifeguru/form/rules"
)Additional optional modules are available through subpackages:
import (
"github.com/netlifeguru/form/conditional"
"github.com/netlifeguru/form/httpform"
"github.com/netlifeguru/form/optional"
)The package is designed to integrate naturally with Go structs, net/http handlers, JSON request processing, and reusable application validation workflows.
Once installed, continue with the Quick Start guide to create your first validation schema and validate incoming request data.
About
Type-safe form and request validation for Go applications with reusable schemas, composable rules, conditional validation, HTTP binding, and structured error responses.
Getting Started
Learn how to validate JSON HTTP requests using reusable schemas, typed validation fields, and structured validation rules with the NLG Form package.