-``` rouge
+```
func osPathJoin(elem ...string) (out string)
```
@@ -4022,7 +4020,7 @@ Warning
-``` rouge
+```
{{- osPathJoin "a" "b" "c" }}
{{- osPathJoin "/" "a" "b" "c" }}
{{- osPathJoin "C:\\" "a" "b" "c" }}
@@ -4056,7 +4054,7 @@ renders as:
- a\b\c
+a\b\c
\a\b\c
\a\b\c
C:\a\b\c
@@ -4070,7 +4068,7 @@ C:a\b\c
- a/b/c
+a/b/c
/a/b/c
C:\/a/b/c
C:/a/b/c
@@ -4097,7 +4095,7 @@ Function Signature
-``` rouge
+```
func osPathJoin(elems ...string) (out string)
```
@@ -4121,7 +4119,7 @@ This makes it much more suitable for use in template pipelines, as the previous
-``` rouge
+```
{{- $myBase := "/a" -}}
{{- osPathPipeJoin "b" "c" "a" }}
{{- osPathPipeJoin "a" "b" "c" "/" }}
@@ -4155,7 +4153,7 @@ renders as:
- a\b\c
+a\b\c
\a\b\c
\a\b\c
@@ -4167,7 +4165,7 @@ renders as:
- a/b/c
+a/b/c
/a/b/c
/a/b/c
@@ -4193,7 +4191,7 @@ Function Signature
-``` rouge
+```
func osPathSep() (out string)
```
@@ -4211,7 +4209,7 @@ func osPathSep() (out string)
-``` rouge
+```
{{- osPathSep }}
```
@@ -4242,7 +4240,7 @@ renders as:
|
@@ -4252,7 +4250,7 @@ renders as:
|
@@ -4276,7 +4274,7 @@ Function Signature
-``` rouge
+```
func osPathSliceJoin(sl []string) (out string)
```
@@ -4315,7 +4313,7 @@ Tip
-``` rouge
+```
{{- $myList := "a,b,c" | splitList "," -}}
{{- $myList | osPathSliceJoin }}
{{- ("a,b,c" | splitList ",") | osPathSliceJoin }}
@@ -4349,7 +4347,7 @@ renders as:
- a\b\c
+a\b\c
a\b\c
\a\b\c
@@ -4361,7 +4359,7 @@ a\b\c
- a/b/c
+a/b/c
a/b/c
/a/b/c
@@ -4387,7 +4385,7 @@ Function Signature
-``` rouge
+```
func osPathSlicePipeJoin(sl []string, root string) (out string)
```
@@ -4426,7 +4424,7 @@ Tip
-``` rouge
+```
{{- $myBase := "/a" -}}
{{- $myList := "b,c,d" | splitList "." -}}
{{- osPathSlicePipeJoin $myList $myBase }}
@@ -4460,7 +4458,7 @@ renders as:
- \a\b\c\d
+\a\b\c\d
\a\b\c\d
@@ -4471,7 +4469,7 @@ renders as:
- /a/b/c/d
+/a/b/c/d
/a/b/c/d
@@ -4496,7 +4494,7 @@ Function Signature
-``` rouge
+```
func osPathSubJoin(root string, elems ...string) (out string)
```
@@ -4520,7 +4518,7 @@ The pipeline-friendly equivalent of this is [`osPathPipeJoin`](#fn_path_os_ppj).
-``` rouge
+```
{{- osPathSubJoin "/a/b" "c" }}
{{- osPathSubJoin "/" "a" "b" "c" }}
{{- "c" | osPathSubJoin "/" "a" "b" }}
@@ -4553,7 +4551,7 @@ renders as:
- \a\b\c
+\a\b\c
\a\b\c
\a\b\c
@@ -4565,7 +4563,7 @@ renders as:
- /a/b/c
+/a/b/c
/a/b/c
/a/b/c
@@ -4609,7 +4607,7 @@ Function Signature
-``` rouge
+```
func psCpuCnts(logical bool) (numCpu int, err error)
```
@@ -4639,7 +4637,7 @@ Function Signature
-``` rouge
+```
func psCpuInfo() (cpuInfo []cpu.Info, err error)
```
@@ -4669,7 +4667,7 @@ Function Signature
-``` rouge
+```
func psCpuPct(interval time.Duration, percpu bool) (pcts []float64, err error)
```
@@ -4699,7 +4697,7 @@ Function Signature
-``` rouge
+```
func psCpuTimes(percpu bool) (cpuTimes []cpu.TimesStat, err error)
```
@@ -4735,7 +4733,7 @@ Function Signature
-``` rouge
+```
func psDiskIoCnts(names ...string) (stats map[string]disk.IOCountersStat, err error)
```
@@ -4765,7 +4763,7 @@ Function Signature
-``` rouge
+```
func psDiskLabel(name string) (label string, err error)
```
@@ -4795,7 +4793,7 @@ Function Signature
-``` rouge
+```
func psDiskParts(all bool) (parts []disk.PartitionStat, err error)
```
@@ -4825,7 +4823,7 @@ Function Signature
-``` rouge
+```
func psDiskSerial(name string) (serial string, err error)
```
@@ -4855,7 +4853,7 @@ Function Signature
-``` rouge
+```
func psDiskUsage(path string) (usage *disk.UsageStat, err error)
```
@@ -4891,7 +4889,7 @@ Function Signature
-``` rouge
+```
func psHostBoot() (bootEpoch uint64, err error)
```
@@ -4921,7 +4919,7 @@ Function Signature
-``` rouge
+```
func psHostId() (hostId string, err error)
```
@@ -4951,7 +4949,7 @@ Function Signature
-``` rouge
+```
func psHostInfo() (info *host.InfoStat, err error)
```
@@ -4981,7 +4979,7 @@ Function Signature
-``` rouge
+```
func psHostKernArch() (arch string, err error)
```
@@ -5011,7 +5009,7 @@ Function Signature
-``` rouge
+```
func psHostKernVer() (ver string, err error)
```
@@ -5041,7 +5039,7 @@ Function Signature
-``` rouge
+```
func psHostPlatInfo() (platInfo [3]string, err error)
```
@@ -5077,7 +5075,7 @@ Function Signature
-``` rouge
+```
func psHostPlatUptime() (uptimeSecs uint64, err error)
```
@@ -5107,7 +5105,7 @@ Function Signature
-``` rouge
+```
func psHostUsers() (users []host.UserStat, err error)
```
@@ -5137,7 +5135,7 @@ Function Signature
-``` rouge
+```
func psHostPlatVirt() (virtInfo [2]string, err error)
```
@@ -5179,7 +5177,7 @@ Function Signature
-``` rouge
+```
func psLoadAvg() (avg *load.AvgStat, err error)
```
@@ -5209,7 +5207,7 @@ Function Signature
-``` rouge
+```
func psLoadMisc() (misc *load.MiscStat, err error)
```
@@ -5245,7 +5243,7 @@ Function Signature
-``` rouge
+```
func psMemExVMem() (exVMem *mem.ExVirtualMemory, err error)
```
@@ -5331,7 +5329,7 @@ Function Signature
-``` rouge
+```
func psMemSwap() (swap *mem.SwapMemoryStat, err error)
```
@@ -5361,7 +5359,7 @@ Function Signature
-``` rouge
+```
func psMemSwapDevs() (swapDevs []*mem.SwapDevice, err error)
```
@@ -5391,7 +5389,7 @@ Function Signature
-``` rouge
+```
func psMemVMem() (vmem *mem.VirtualMemoryStat, err error)
```
@@ -5427,7 +5425,7 @@ Function Signature
-``` rouge
+```
func psNetConns(kind string) (conns []net.ConnectionStat, err error)
```
@@ -5457,7 +5455,7 @@ Function Signature
-``` rouge
+```
func psNetConnsMax(kind string, maxConn int) (conns []net.ConnectionStat, err error)
```
@@ -5487,7 +5485,7 @@ Function Signature
-``` rouge
+```
func psNetConnsPid(kind string, pid int32) (conns []net.ConnectionStat, err error)
```
@@ -5517,7 +5515,7 @@ Function Signature
-``` rouge
+```
func psNetConnsPidMax(kind string, pid int32, maxConn int) (conns []net.ConnectionStat, err error)
```
@@ -5547,7 +5545,7 @@ Function Signature
-``` rouge
+```
func psNetCTStats(percCpu bool) (ctStats []net.ConntrackStat, err error)
```
@@ -5577,7 +5575,7 @@ Function Signature
-``` rouge
+```
func psNetCTStatList() (ctStats *net.ConntrackStatList, err error)
```
@@ -5607,7 +5605,7 @@ Function Signature
-``` rouge
+```
func psNetFilterCnts() (filterCnts []net.FilterStat, err error)
```
@@ -5637,7 +5635,7 @@ Function Signature
-``` rouge
+```
func psNetIoCnts(perNIC bool) (ioCnts []net.IOCountersStat, err error)
```
@@ -5667,7 +5665,7 @@ Function Signature
-``` rouge
+```
func psNetIoCntsFile(perNIC bool, filepath string) (ioCnts []net.IOCountersStat, err error)
```
@@ -5697,7 +5695,7 @@ Function Signature
-``` rouge
+```
func psNetIfaces() (ioCnts []net.InterfaceStatList, err error)
```
@@ -5727,7 +5725,7 @@ Function Signature
-``` rouge
+```
func psNetPids() (pids []int32, err error)
```
@@ -5757,7 +5755,7 @@ Function Signature
-``` rouge
+```
func psNetProtoCnt(protos []string) (protoCnts []net.ProtoCountersStat, err error)
```
@@ -5808,7 +5806,7 @@ Function Signature
-``` rouge
+```
func psNetRev(b []byte) (out []byte)
```
@@ -5865,7 +5863,7 @@ Function Signature
-``` rouge
+```
func psProcs(pid int32) (procs []*process.Process, err error)
```
@@ -5895,7 +5893,7 @@ Function Signature
-``` rouge
+```
func psProcNew(pid int32) (proc *process.Process, err error)
```
@@ -5925,7 +5923,7 @@ Function Signature
-``` rouge
+```
func psProcPids() (pids []int32, err error)
```
@@ -5955,7 +5953,7 @@ Function Signature
-``` rouge
+```
func psProcPidExists(pid int32) (exists bool, err error)
```
@@ -5991,7 +5989,7 @@ Function Signature
-``` rouge
+```
func psSensorExTemp() (temps []sensors.ExTemperature, err error)
```
@@ -6046,7 +6044,7 @@ Function Signature
-``` rouge
+```
func psSensorTemps() (temps []sensors.TemperatureStat, err error)
```
@@ -6103,7 +6101,7 @@ Function Signature
-``` rouge
+```
func psWinsvcList() (svcs []winservices.Service, err error)
```
@@ -6154,7 +6152,7 @@ Function Signature
-``` rouge
+```
func psWinsvcNew(svcName string) (svc *winservices.Service, err error)
```
@@ -6237,7 +6235,7 @@ Function Signature
-``` rouge
+```
func extIndent(
levels int,
@@ -6391,7 +6389,7 @@ Function Signature
-``` rouge
+```
func strsxIsAscii(s string, allowCtl, allowExt bool) (isAscii bool, err error)
```
@@ -6421,7 +6419,7 @@ Function Signature
-``` rouge
+```
func strsxIsAsciiBuf(r io.RuneReader, allowCtl, allowExt bool) (isAscii bool, err error)
```
@@ -6451,7 +6449,7 @@ Function Signature
-``` rouge
+```
func strsxIsAsciiSpcl(
s string,
@@ -6489,7 +6487,7 @@ Function Signature
-``` rouge
+```
func strsxIsAsciiBufSpcl(
r io.RuneReader,
@@ -6527,7 +6525,7 @@ Function Signature
-``` rouge
+```
func strsxLenSpl(s string, width uint) (out []string)
```
@@ -6557,7 +6555,7 @@ Function Signature
-``` rouge
+```
func strsxLenSplStr(s string, width uint, winNewline bool) (out string)
```
@@ -6587,7 +6585,7 @@ Function Signature
-``` rouge
+```
func strsxPad(s []string, width uint, pad string, leftPad bool) (out []string)
```
@@ -6617,7 +6615,7 @@ Function Signature
-``` rouge
+```
func strsxRedact(s, maskStr string, leading, trailing uint, newlines bool) (redacted string)
```
@@ -6647,7 +6645,7 @@ Function Signature
-``` rouge
+```
func strsxRev(s string) (revS string)
```
@@ -6677,7 +6675,7 @@ Function Signature
-``` rouge
+```
func strsxTrimLns(s string, left, right bool) (trimmed string)
```
@@ -6707,7 +6705,7 @@ Function Signature
-``` rouge
+```
func strsxTrimSpcLft(s string) (trimmed string)
```
@@ -6737,7 +6735,7 @@ Function Signature
-``` rouge
+```
func strsxTrimSpcRt(s string) (trimmed string)
```
@@ -6775,7 +6773,7 @@ Function Signature
-``` rouge
+```
func sysArch() (out string)
```
@@ -6805,7 +6803,7 @@ Function Signature
-``` rouge
+```
func sysNumCpu() (cnt int)
```
@@ -6835,7 +6833,7 @@ Function Signature
-``` rouge
+```
func sysOsName() (out string)
```
@@ -6865,7 +6863,7 @@ Function Signature
-``` rouge
+```
func sysRuntime() (out map[string]string)
```
@@ -6920,7 +6918,7 @@ Tip
| `num_go` | int |
| `go_ver` | string |
-Table 1. `sysRuntime` Values
+Table 1. `sysRuntime` Values {.tableblock .frame-all .grid-all .stretch}
@@ -6984,7 +6982,7 @@ Function Signature
-``` rouge
+```
func tmDate(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) (date time.Time)
```
@@ -7014,7 +7012,7 @@ Function Signature
-``` rouge
+```
func tmFloatMicro(t time.Time) (f64 float64)
```
@@ -7044,7 +7042,7 @@ Function Signature
-``` rouge
+```
func tmFloatMilli(t time.Time) (f64 float64)
```
@@ -7074,7 +7072,7 @@ Function Signature
-``` rouge
+```
func tmFloatNano(t time.Time) (f64 float64)
```
@@ -7104,7 +7102,7 @@ Function Signature
-``` rouge
+```
func tmFloat(t time.Time) (f64 float64)
```
@@ -7134,7 +7132,7 @@ Function Signature
-``` rouge
+```
func tmFmt(fstr string, t time.Time) (out string)
```
@@ -7152,7 +7150,7 @@ func tmFmt(fstr string, t time.Time) (out string)
-``` rouge
+```
{{- $t := tmNow -}}
{{ $t.Format " " }}
```
@@ -7177,7 +7175,7 @@ Function Signature
-``` rouge
+```
func tmNow() (now time.Time)
```
@@ -7207,7 +7205,7 @@ Function Signature
-``` rouge
+```
func tmParseDur8n(s string) (d time.Duration, err error)
```
@@ -7237,7 +7235,7 @@ Function Signature
-``` rouge
+```
func tmParseMonth(v any) (mon time.Month, err error)
```
@@ -7267,7 +7265,7 @@ Function Signature
-``` rouge
+```
func tmParseMonthInt(n any) (mon time.Month, err error)
```
@@ -7355,7 +7353,7 @@ Function Signature
-``` rouge
+```
func tmParseMonthStr(s string) (mon time.Month, err error)
```
@@ -7397,7 +7395,7 @@ Function Signature
-``` rouge
+```
func tmParseTime(layout, value string) (t time.Time, err error)
```
| | | | | | | |
|
|