Browse Source

Add false

dtluna 4 months ago
parent
commit
62b8613877
2 changed files with 12 additions and 0 deletions
  1. 1
    0
      README.md
  2. 11
    0
      false/false.go

+ 1
- 0
README.md View File

@@ -9,3 +9,4 @@ with some additions
9 9
 Implemeted utilities:
10 10
 
11 11
  * `true`
12
+ * `false`

+ 11
- 0
false/false.go View File

@@ -0,0 +1,11 @@
1
+// false exits with an exit code of 1
2
+
3
+package main
4
+
5
+import (
6
+	"os"
7
+)
8
+
9
+func main() {
10
+	os.Exit(1)
11
+}

Loading…
Cancel
Save