package
0.0.131
Repository: https://github.com/kaydxh/golang.git
Documentation: pkg.go.dev

# Packages

*Copyright (c) 2022, kaydxh * *Permission is hereby granted, free of charge, to any person obtaining a copy *of this software and associated documentation files (the "Software"), to deal *in the Software without restriction, including without limitation the rights *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell *copies of the Software, and to permit persons to whom the Software is *furnished to do so, subject to the following conditions: * *The above copyright notice and this permission notice shall be included in all *copies or substantial portions of the Software.
*Copyright (c) 2022, kaydxh * *Permission is hereby granted, free of charge, to any person obtaining a copy *of this software and associated documentation files (the "Software"), to deal *in the Software without restriction, including without limitation the rights *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell *copies of the Software, and to permit persons to whom the Software is *furnished to do so, subject to the following conditions: * *The above copyright notice and this permission notice shall be included in all *copies or substantial portions of the Software.

# Functions

GetEnvAsFloat64OrFallback returns the env variable (parsed as float64) for the given key and falls back to the given defaultValue if not set.
GetEnvAsIntOrFallback returns the env variable (parsed as integer) for the given key and falls back to the given defaultValue if not set.
GetEnvAsStringOrFallback returns the env variable for the given key and falls back to the given defaultValue if not set.
No description provided by the author
No description provided by the author
获取进程唯一标识符.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MkdirAll creates a directory named path, along with any necessary parents, and returns nil, or else returns an error.
if name is empty, create a directory named name, or creates a new temporary directory in the directory dir pattern can be empty.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
include subdir, file and hidden file.
only inlcude subdir filterHiddenFile is true, then filter hidden files from result.
No description provided by the author
No description provided by the author
SameFile reports whether fi1 and fi2 describe the same file.
oldname and newname is full path.

# Variables

CTRL + C for SIGINTdocker stop for SIGTERM.