gen

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFileHasValidatorTags added in v0.4.0

func CheckFileHasValidatorTags(path string) (bool, error)

CheckFileHasValidatorTags returns true if a file contains structs that have csvalidator tags and false otherwise

func Generate

func Generate(file ...string) error

Generate creates validation methods for the structs in the file specified by go generate

Types

This section is empty.

Jump to

Keyboard shortcuts

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