util

package
v0.0.0-...-5091a74 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// correct format but invalid isbn digits
	ErrInvalidIsbn = errors.New("invalid isbn digits")
)

Functions

func IsbnCheck

func IsbnCheck(value string) (bool, error)

func IsbnExtract

func IsbnExtract(value string) (string, error)

func Sort

func Sort[T constraints.Ordered](s []T)

func ToJSON

func ToJSON(v interface{}) ([]byte, error)

func UnmarshalXml

func UnmarshalXml(f io.Reader, v interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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