package
0.0.0-20230822140859-9853328ca77b
Repository: https://github.com/ansurfen/yock.git
Documentation: pkg.go.dev
# Functions
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
No description provided by the author
Exec automatically fit in os enviroment to execute command.
ExecStr automatically split string to string arrary, then call Exec to execute.
Filename returns the last element name of fullpath.
FmtTimestamp return a time string whom format is 2006-01-02.
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
IsURL determine whether urlStr is a URL.
JsonStr return json string according to JsonValue.
MD5 return the MD5 checksum of the data.
No description provided by the author
Mkdirs recurse to create path.
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
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
NowTimestamp returm current timestamp.
NowTimestamp returm current timestamp string.
OpenConfFromPath unmarshal file which located in disk to memory according to path.
No description provided by the author
No description provided by the author
Pathf to format path
@/abc => {WorkSpace}/abc (WorkSpace = UserHome + .yock)
~/abc => {YockPath}/abc (YockPath = executable file path).
PathIsExist judge whether path exist.
Printf represent title and rows with tidy.
RandomPort return an available port with random.
RandString return string of length n.
ReadStraemFromFile return data to be filter from specify file.
ReadStraemFromFile return data to be filter from string.
ReadStraemFromFile return total data from specify file.
SafeBatchMkdirs recurse to create dirs when path isn't exist.
SafeMkdirs recurse to create path when path isn't exist.
WriteFile write data or create file to write data according to file when file isn't exist.
No description provided by the author
SHA256 return the SHA256 checksum of the data.
Powered by github.com/syyongx/php2go.
No description provided by the author
WriteFile write data or create file to write data according to file.
# Constants
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
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
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
No description provided by the author
No description provided by the author
# Variables
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
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
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
No description provided by the author
net.
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
yock plugin.
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
WorkSpace is the .yock path in the UserHome
You can think of it as yock's global workspace for storing user's information.
YockBuild has two values, dev and release, which correspond to two different modes.
executable file path.
No description provided by the author
# Structs
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
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
No description provided by the author
No description provided by the author
SafeMap is a simple alternative version of sync.map, designed specifically for SignalStream.
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
# Interfaces
No description provided by the author
JsonValue is an interface to abstract object of json type.
No description provided by the author
Plugin is an interface to abstract dynamic library (dll, dylib, so).
PluginFunc is an interface to abstract function to be exported dynamic library.
# Type aliases
No description provided by the author