utils

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayStringEqual

func ArrayStringEqual(a, b []string) bool

ArrayStringEqual returns true if 2 arrays of string are equals

func NewTemplate added in v0.4.0

func NewTemplate(value string) *template.Template

NewTemplate create a new Template with sprig functions

func RegexpToString added in v0.4.0

func RegexpToString(r *regexp.Regexp) string

RegexpToString converts *regexp.Regexp instance to string

func TemplateToString added in v0.4.0

func TemplateToString(t *template.Template) string

TemplateToString converts *template.Template instance to string

Types

This section is empty.

Jump to

Keyboard shortcuts

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