utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddYamlJsonExtensions added in v0.0.1

func AddYamlJsonExtensions(root string) []string

func BoolPtr

func BoolPtr(value bool) *bool

func ConvertToBranchName

func ConvertToBranchName(value string) string

func IsYamlOrJsonFile added in v0.0.1

func IsYamlOrJsonFile(path string) bool

func Sha256String

func Sha256String(input string) string

func UniqueName

func UniqueName(prefix string) string

Types

type Queue

type Queue[T any] struct {
	Size int
	// contains filtered or unexported fields
}

func (*Queue[T]) Pop

func (q *Queue[T]) Pop() (*T, bool)

func (*Queue[T]) Push

func (q *Queue[T]) Push(val T)

Jump to

Keyboard shortcuts

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