utilx

package
v0.0.0-...-1da8f5c Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BCheck

func BCheck(pw string, hash []byte) (bool, error)

func BEncrypt

func BEncrypt(pw string) ([]byte, error)

TODO: wrap error for too long pw

func Barcode

func Barcode(metadata string) (barcode.Barcode, error)

func GetInitialFromHangul

func GetInitialFromHangul(s string) string

func HandleKillSig

func HandleKillSig(handler func()) interrupt

func IsHangul

func IsHangul(ch rune) bool

func IsHangulInitial

func IsHangulInitial(ch rune) bool

func IsHangulInitialsOnly

func IsHangulInitialsOnly(s string) bool

func IsHangulOnly

func IsHangulOnly(s string) bool

func IsPhoneNumber

func IsPhoneNumber(s string) bool

func ParseInt64

func ParseInt64(i interface{}) (int64, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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