package
0.0.0-20230625222648-4a61b4dc3db9
Repository: https://github.com/technofab11/powerproto.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
Contains is used to check whether the target is in items.
ContainsEmpty is used to check whether items contains empty string.
CopyDirectory is used to copy directory If dst already exists, it will be merged.
CopyFile is used to copy file from src to dst.
DeduplicateSliceStably is used to deduplicate slice items stably.
DumpYaml is used to dump yaml into stdout.
GetBinaryFileName is used to get os based binary file name.
GetExitCode is used to parse exit code from cmd error.
GetFilesWithExt is used to list files with a specific suffix expectExt should contain the prefix '.'.
GetFilesWithExtRecursively is used to recursively list files with a specific suffix expectExt should contain the prefix '.'.
GetMapKeys is used to get the keys of map.
IsDirExists is used to check whether the dir exists.
IsFileExists is used to check whether the file exists.
IsRegularVersion is used to determine whether the version number is a regular version number Regular: va.b.c, and a, b, c are all numbers.
JoinGoPackageVersion is used to join go path and versions.
LoadConfig read YAML-formatted config from filename into cfg.
MatchPath is used to match path with specified pattern.
RenderPathWithEnv is used to render path with environment.
RenderWithEnv is used to render string with env.
SetToSlice is used to convert set<string> to slice<string>.
SortSemanticVersion is used to sort semantic version.
SplitGoPackageVersion is used to split go package version.
SplitYAML is used to split yaml.