~taiite/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH senpai] mv cmd/irc cmd/senpai

Details
Message ID
<RewJC1635pyhErU0sITa8XRq1pyc2jY3GbOtqSMA8@cp4-web-027.plabs.ch>
DKIM signature
pass
Download raw message
Patch: +1 -1
Allows to `go build ./cmd/senpai` without having to specify -o.
Also more consistent with how cmd/ is used in the Go ecosystem.
---
 README.md                   | 2 +-
 cmd/{irc => senpai}/main.go | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename cmd/{irc => senpai}/main.go (100%)

diff --git a/README.md b/README.md
index 705d1e3b050d..e416ea9f0276 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ addr: irc.freenode.net:6697
nick: senpai
password: "my password can't be this cute"
EOF
go run ./cmd/irc
go run ./cmd/senpai
```

Then, type `/join #senpai` and have a chat!
diff --git a/cmd/irc/main.go b/cmd/senpai/main.go
similarity index 100%
rename from cmd/irc/main.go
rename to cmd/senpai/main.go
-- 
2.30.1
Reply to thread Export thread (mbox)