aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorAnthony Wang2023-05-10 22:31:59 -0400
committerAnthony Wang2023-05-10 22:31:59 -0400
commit095c1c88a4409e81b96836c87ad7c9bd72534341 (patch)
treecf723c2810e5d651ab064ed1b3e0eccc249ec80e /client
parent8ca9aeba69001d8bf6a6115d9eba210229e9daca (diff)
Separate server code into multiple files
Diffstat (limited to 'client')
-rw-r--r--client/client.go7
-rw-r--r--client/main.go13
2 files changed, 13 insertions, 7 deletions
diff --git a/client/client.go b/client/client.go
deleted file mode 100644
index b7d2a32..0000000
--- a/client/client.go
+++ /dev/null
@@ -1,7 +0,0 @@
-package main
-
-import "fmt"
-
-func main() {
- fmt.Println("Hello, World!")
-}
diff --git a/client/main.go b/client/main.go
new file mode 100644
index 0000000..d996531
--- /dev/null
+++ b/client/main.go
@@ -0,0 +1,13 @@
+package main
+
+import (
+ "crypto/ed25519"
+ "flag"
+)
+
+func main() {
+ flag.Parse()
+ if flag.Arg(0) == "register" {
+
+ }
+}