utils

package
v7.0.0-...-2a66209 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStringInBetweenTwoString

func GetStringInBetweenTwoString(str string, startS string, endS string) (result string, found bool)

GetStringInBetweenTwoString is a function that will grab the string value between two provided strings

Types

type AwsHelper

type AwsHelper struct {
	Cfg aws.Config
}

func NewAwsHelper

func NewAwsHelper() (*AwsHelper, error)

type ByJSONLength

type ByJSONLength []interface{}

ByJSONLength implements the sort interface and enables sorting by JSON length

func (ByJSONLength) Len

func (s ByJSONLength) Len() int

func (ByJSONLength) Less

func (s ByJSONLength) Less(i, j int) bool

func (ByJSONLength) Swap

func (s ByJSONLength) Swap(i, j int)

Jump to

Keyboard shortcuts

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