commit d3ef10d
Artur Manuel
·
2026-05-05 01:37:26 +0000 UTC
parent 13d4360
docs: fix the memory documentation, and document functions
1 files changed,
+13,
-3
+13,
-3
1@@ -71,19 +71,19 @@ This may be removed in the future.
2
3 The total amount of memory you have, in kilobytes.
4
5-**Example:** 6027
6+**Example:** 24529152
7
8 ## `.MemFree`
9
10 The amount of free memory you have, in kilobytes.
11
12-**Example:**
13+**Example:** 6063104
14
15 ## `.MemAvailable`
16
17 The amount of available memory you have, in kilobytes.
18
19-**Example:**
20+**Example:** 18333340
21
22 ## `.DesktopInfo`
23
24@@ -97,3 +97,13 @@ Your systems locale.
25
26 **Example:** en_US
27
28+# I imagine you added functions too, right?
29+
30+There are a few functions I added specifically for math. Go templates
31+surprisingly do not actually have the ability to do math. I don't need
32+to go into much detail for these functions.
33+
34+- `addition x y`
35+- `subtraction x y`
36+- `multiply x y`
37+- `divide x y`