utils

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrGitURLFormat = fmt.Errorf("git url格式不对")
)

Functions

func AppendLineToFile

func AppendLineToFile(path, line string)

func CheckError

func CheckError(err error)

func CreateDirIfNotExist

func CreateDirIfNotExist(dir string)

func ExtractGitInfo

func ExtractGitInfo(gitURL string) (string, string, string, error)

func IfDirExist

func IfDirExist(dir string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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