util

package
v0.11.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(a []string, s string) bool

Returns true if the given array contains the string.

func Normalize

func Normalize(s string) string

Normalize the string by removing indentation and trimming.

func ParseDateTime

func ParseDateTime(dateStr string) (time.Time, error)

Parse the given time and return time.Time.

func ToLower

func ToLower(s string) string

Apply strings.ToLower after trimming spaces.

Types

This section is empty.

Jump to

Keyboard shortcuts

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