utils

package
v0.0.0-...-050b588 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendIfMissing

func AppendIfMissing(slice []string, i string) []string

AppendIfMissing with append a string to a array if it doesn't already contain that string

func Indent

func Indent(f func(s string), level int) func(string)

Indent indents apex log line to supplied level

func RunCommand

func RunCommand(ctx context.Context, cmd string, args ...string) (string, error)

RunCommand runs cmd on file

func StringInSlice

func StringInSlice(a string, list []string) bool

StringInSlice finds string in array

Types

This section is empty.

Jump to

Keyboard shortcuts

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