Documentation ¶
Overview ¶
Package stringz contains a set of utilities to deal with strings
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddURLDefaultPort ¶ added in v1.0.7
AddURLDefaultPort add url default port (80/443) from an URI eg: http://foo.com -> http://foo.com:80 https://foo.com -> https://foo.com:443
func RemoveURLDefaultPort ¶ added in v1.0.7
RemoveURLDefaultPort remove url default port (80/443) from an URI eg: http://foo.com:80 -> http://foo.com https://foo.com:443 -> https://foo.com
func SplitByCharAndTrimSpace ¶ added in v1.0.1
SplitByCharAndTrimSpace splits string by a character and remove spaces
func StringToSliceInt ¶ added in v0.0.7
StringToSliceInt converts string to slice of ints
func TrimProtocol ¶
TrimProtocol removes the HTTP scheme from an URI
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.