utils

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleError

func HandleError(err error, debugB bool, logger Logger)

func SplitLines added in v1.0.1

func SplitLines(s string) []string

SplitLines splits command output into lines, accepting both "\n" and the "\r\n" endings that git can emit on Windows.

Types

type Logger

type Logger interface {
	Fatal(v ...interface{})
}

Jump to

Keyboard shortcuts

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