summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--flake.nix2
-rw-r--r--go.mod14
-rw-r--r--go.sum12
-rw-r--r--roseh.moe.go6
4 files changed, 3 insertions, 31 deletions
diff --git a/flake.nix b/flake.nix
index 971e3b9..f6122c4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -48,7 +48,7 @@
# remember to bump this hash when your dependencies change.
# vendorHash = pkgs.lib.fakeHash;
- vendorHash = "sha256-wcv8srmEpsXI3zaKLDsM0r5YtS36fDE4gsguUHm1gQg=";
+ vendorHash = null;
};
});
diff --git a/go.mod b/go.mod
index d0d6c4a..4e975bb 100644
--- a/go.mod
+++ b/go.mod
@@ -1,17 +1,3 @@
module gitlab.com/rhogenson/roseh.moe
go 1.24.0
-
-require (
- github.com/google/subcommands v1.2.0
- golang.org/x/term v0.35.0
-)
-
-require (
- golang.org/x/mod v0.28.0 // indirect
- golang.org/x/sync v0.17.0 // indirect
- golang.org/x/sys v0.36.0 // indirect
- golang.org/x/tools v0.37.0 // indirect
-)
-
-tool golang.org/x/tools/cmd/stringer
diff --git a/go.sum b/go.sum
deleted file mode 100644
index ca9bbbc..0000000
--- a/go.sum
+++ /dev/null
@@ -1,12 +0,0 @@
-github.com/google/subcommands v1.2.0 h1:vWQspBTo2nEqTUFita5/KeEWlUL8kQObDFbub/EN9oE=
-github.com/google/subcommands v1.2.0/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk=
-golang.org/x/mod v0.28.0 h1:gQBtGhjxykdjY9YhZpSlZIsbnaE2+PgjfLWUQTnoZ1U=
-golang.org/x/mod v0.28.0/go.mod h1:yfB/L0NOf/kmEbXjzCPOx1iK1fRutOydrCMsqRhEBxI=
-golang.org/x/sync v0.17.0 h1:l60nONMj9l5drqw6jlhIELNv9I0A4OFgRsG9k2oT9Ug=
-golang.org/x/sync v0.17.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
-golang.org/x/sys v0.36.0 h1:KVRy2GtZBrk1cBYA7MKu5bEZFxQk4NIDV6RLVcC8o0k=
-golang.org/x/sys v0.36.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
-golang.org/x/term v0.35.0 h1:bZBVKBudEyhRcajGcNc3jIfWPqV4y/Kt2XcoigOWtDQ=
-golang.org/x/term v0.35.0/go.mod h1:TPGtkTLesOwf2DE8CgVYiZinHAOuy5AYUYT1lENIZnA=
-golang.org/x/tools v0.37.0 h1:DVSRzp7FwePZW356yEAChSdNcQo6Nsp+fex1SUW09lE=
-golang.org/x/tools v0.37.0/go.mod h1:MBN5QPQtLMHVdvsbtarmTNukZDdgwdwlO5qGacAzF0w=
diff --git a/roseh.moe.go b/roseh.moe.go
index e9d0750..bf0a90b 100644
--- a/roseh.moe.go
+++ b/roseh.moe.go
@@ -16,10 +16,8 @@ import (
)
var (
- port = flag.Int("port", 42069, "port to listen on")
- secretsFile = flag.String("secrets", "secrets", "path to the secrets file")
- notepadDir = flag.String("notepad", "notepad", "directory to save user notes")
- selfURL = flag.String("self-url", "http://localhost:42069", "base URL of the server")
+ port = flag.Int("port", 42069, "port to listen on")
+ selfURL = flag.String("self-url", "http://localhost:42069", "base URL of the server")
serverStartTime = time.Now()
)