TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Randstr – random strings at the command line with unicode/emoji (go)

2 pointsby leighmccullochalmost 9 years ago

1 comment

leighmccullochalmost 9 years ago
I&#x27;ve been learning go and this is my first CLI app. There&#x27;s definitely some YAGNI in this..<i>cough</i> emoji <i>cough</i>..but supporting unicode&#x2F;emoji led me to expressing the charsets as an interface instead of as a string or array of characters, which are so nice and so lightweight in go.<p>brew install leighmcculloch&#x2F;randstr&#x2F;randstr<p>or<p>go install github.com&#x2F;leighmcculloch&#x2F;randstr&#x2F;cmd&#x2F;randstr<p>Feedback welcome, especially on project structure and best ways to distribute go CLIs.
评论 #11836945 未加载