xlint

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 4 Imported by: 0

README

XLint

A collection of various linters.

Currently supports the following linters:

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLengthUUID = errors.New("unsupported UUID length")
	ErrPrefixUUID = errors.New("invalid urn prefix")
	ErrFormatUUID = errors.New("invalid UUID format")
)

Functions

func ValidateJSON

func ValidateJSON[T byteseq.Byteseq](x T) (int, error)

func ValidateUUID

func ValidateUUID[T byteseq.Byteseq](x T) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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