Documentation
¶
Index ¶
- func CapitalizeSentance(sen string) string
- func CapitalizeString(s string) string
- func GenerateFQDN(schema string, subdomain string, domain string) string
- func GenerateSlug(len int) string
- func GenerateUID() int64
- func GetGitHttpUrl(gitUrl string) string
- func ListJsonName(in any) []string
- func ListJsonNameForType(t reflect.Type) []string
- func Max[T constraints.Ordered](a, b T) T
- func Min[T constraints.Ordered](a, b T) T
- func Normalize(text string) string
- func ParseFQDN(fqdn string) (scheme string, subdomain string, domain string)
- func Random(length int, characters string) string
- func RandomLower(length int) string
- func SanitizeGitUrl(gitUrl string) string
- func SplitGitRepoFullname(fullName string) (owner, repo string, err error)
- func SplitGitRepoUrl(url string) (owner, repo string, err error)
- func ToFloat64String(val float64) string
- func ToInt64String(val int64) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CapitalizeSentance ¶
func CapitalizeString ¶
func GenerateFQDN ¶
GenerateFQDN generates the FQDN from the provided schema, subdomain and domain
func GenerateSlug ¶
func GenerateUID ¶
func GenerateUID() int64
func GetGitHttpUrl ¶
func ListJsonName ¶
func ListJsonNameForType ¶
func Max ¶
func Max[T constraints.Ordered](a, b T) T
func Min ¶
func Min[T constraints.Ordered](a, b T) T
func ParseFQDN ¶
ParseFQDN parses the FQDN into its components and returns schema, subdomain and domain
func RandomLower ¶
func SanitizeGitUrl ¶
func SplitGitRepoFullname ¶
func SplitGitRepoUrl ¶
func ToFloat64String ¶
func ToInt64String ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.