utils

package
v0.0.0-...-ead56d2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatResult

func FormatResult(result *entity.RunnerResult, status bool) string

FormatResult apply formatting to test result

func HasDiff

func HasDiff(
	resp []*entity.FetchResult,
	config *entity.Configuration,
) (bool, []diff.Changelog)

HasDiff checks if a runner result has different value than first element

func IntSliceToString

func IntSliceToString(slice []int) string

IntSliceToString returns a string representation of a integer slice

func IsFileExist

func IsFileExist(fsys fs.FS, name string) bool

IsFileExist checks if a directory exists or not

func Mkdir

func Mkdir(fsys fs.FS, name string) error

Mkdir creates a new directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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