package
4.0.0+incompatible
Repository: https://github.com/orangedeng/client-go.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Tests whether all pointer fields in a struct are nil.
Takes a list of strings and compiles them into a list of regular expressions.
ExecuteTemplate executes templateText with data and output written to w.
No description provided by the author
No description provided by the author
No description provided by the author
Int32Ptr returns a pointer to an int32.
Int32PtrDerefOr dereference the int32 ptr and returns it i not nil, else returns def.
IntPtr returns a pointer to an int.
IntPtrDerefOr dereference the int ptr and returns it i not nil, else returns def.
ReadDirNoStat returns a string of files/directories contained in dirname without calling lstat on them.
No description provided by the author
Detects if using systemd as the init system Please note that simply reading /proc/1/cmdline can be misleading because some installation of various init programs can automatically make /sbin/init a symlink or even a renamed version of their main program.