utils

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTypeNotMatch = errors.New("type not match")

Functions

func CopyFile

func CopyFile(src, dest string) error

func Merge

func Merge(src, dst interface{}) (interface{}, error)

func MergeMapString

func MergeMapString(a, b map[string]interface{}) (map[string]interface{}, error)

func PathFromDir added in v1.0.0

func PathFromDir(dir string, file string) (string, error)

func RemoveDuplicates

func RemoveDuplicates(strings []string) []string

func TarDir

func TarDir(sourceDir, tarballPath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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