aboutsummaryrefslogtreecommitdiff
path: root/cmd/yeet/main.go
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-02 12:07:47 -0400
committerXe Iaso <me@xeiaso.net>2025-04-02 12:07:47 -0400
commit0e442f82b054c0c2122be786d24fcbd574a85d9f (patch)
tree3dbd682ec04954839fefada7d6b84dca9b409e04 /cmd/yeet/main.go
parent0b25ec147dcfce6c0cb38443899c219c48e1dd92 (diff)
downloadx-1.13.1.tar.xz
x-1.13.1.zip
cmd/yeet: staticcheck/vet fixesv1.13.1
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/yeet/main.go')
-rw-r--r--cmd/yeet/main.go14
1 files changed, 2 insertions, 12 deletions
diff --git a/cmd/yeet/main.go b/cmd/yeet/main.go
index 6eca911..f574f04 100644
--- a/cmd/yeet/main.go
+++ b/cmd/yeet/main.go
@@ -26,9 +26,8 @@ import (
)
var (
- fname = flag.String("fname", "yeetfile.js", "filename for the yeetfile")
- flyctl = flag.String("flyctl-path", flyctlPath(), "path to flyctl binary")
- protocPath = flag.String("protoc-path", "protoc", "path to protoc binary")
+ fname = flag.String("fname", "yeetfile.js", "filename for the yeetfile")
+ flyctl = flag.String("flyctl-path", flyctlPath(), "path to flyctl binary")
)
func flyctlPath() string {
@@ -149,15 +148,6 @@ func hostname() string {
return result
}
-type protocInput struct {
- Input string `json:"input"`
- Output string `json:"output"`
- Kinds []struct {
- Kind string `json:"kind"`
- Opt string `json:"opt"`
- } `json:"kinds"`
-}
-
func main() {
internal.HandleStartup()