stringtool

package
Version: v0.0.0-...-e4a4d64 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidCURP

func IsValidCURP(curp string) error

IsValidCURP Indica si la string es un curp valido

func IsValidDomain

func IsValidDomain(domain string) error

IsValidDomain Checks if a string is a valid domain name

func IsValidLogin

func IsValidLogin(login string) error

IsValidLogin check if satring is a valid user login

func IsValidUUID

func IsValidUUID(uuid string) error

IsValidUUID Indica si la string es un UUID valido

func IsValidUserID

func IsValidUserID(userid string) error

IsValidUserID Checks if a string is a valid userid

func ParseStorable

func ParseStorable(storable string) (login, userid string, err error)

ParseStorable divide un dominio en login + userid

func SplitDomain

func SplitDomain(domainName string) (sld, tld string, err error)

SplitDomain regresa el dominio y la TLD ( que determina el tipo)

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL