aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ivanov <[email protected]>2024-04-06 19:37:00 +0300
committerMarin Ivanov <[email protected]>2024-04-06 19:37:00 +0300
commitd08ac6d01bd0adba84f9227e83b288e36eebccc1 (patch)
tree45a379381df5e1e0480c6b51c04a68e2ef762d20
Initial commit
-rw-r--r--go.mod5
-rw-r--r--go.sum2
-rw-r--r--main.go9
3 files changed, 16 insertions, 0 deletions
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..5bf475a
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,5 @@
+module go.metala.org/retaart
+
+go 1.21.5
+
+require github.com/spf13/pflag v1.0.5
diff --git a/go.sum b/go.sum
new file mode 100644
index 0000000..287f6fa
--- /dev/null
+++ b/go.sum
@@ -0,0 +1,2 @@
+github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
+github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
diff --git a/main.go b/main.go
new file mode 100644
index 0000000..95de8b9
--- /dev/null
+++ b/main.go
@@ -0,0 +1,9 @@
+package main
+
+import (
+ flag "github.com/spf13/pflag"
+)
+
+func main() {
+ flag.Parse()
+}