Skip to content

The GoValidate Library is designed to enhance the validation process in Go applications by leveraging dynamic types and pre-defined validation conditions. It offers a flexible approach to validate various data types using reusable validation functions, reducing code duplication and promoting standardization across projects.

License

Notifications You must be signed in to change notification settings

Intisma/govalidate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoValidate

The GoValidate Library provides a set of utilities and dynamic types to streamline data validation across different types while promoting code reuse and flexibility.

Overview

The goal of this project is to simplify the process of validating data in Go applications by leveraging dynamic types. It allows developers to define and apply validation functions to various data types without duplicating code. Additionally, the library includes commonly used validation conditions out of the box, reducing the need for repetitive implementation.

Features

  • Generic Types: Utilize Go's generic capabilities to define validation structures (Validations) that can handle a wide range of data types.
  • Standardized Validation: Define validation functions once and apply them to different data types using dynamic methods.
  • Common Validation Functions: Includes pre-defined validation functions for common scenarios such as checking numeric ranges, string lengths, and format validations.
  • Flexibility: Customize validation functions and easily extend functionality to suit specific application requirements.

Getting Started

Installation

Usage

Contributing

Contributions to the Validation Library are welcome! Please submit issues for any bugs or feature requests, and feel free to fork the repository and submit pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

The GoValidate Library is designed to enhance the validation process in Go applications by leveraging dynamic types and pre-defined validation conditions. It offers a flexible approach to validate various data types using reusable validation functions, reducing code duplication and promoting standardization across projects.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages