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: Fast memcached clone in Go using Cuckoo hashing

20 pointsby Jonhooabout 10 years ago

1 comment

dengnanabout 10 years ago
Normally, when I see a directory named &quot;src&#x2F;&quot; in a Go project&#x27;s repo, it usually means the project is not quite idiomatic to Go.<p>To quote from Go&#x27;s blog post [0]:<p>Sometimes people set GOPATH to the root of their source repository and put their packages in directories relative to the repository root, such as &quot;src&#x2F;my&#x2F;package&quot;. On one hand, this keeps the import paths short (&quot;my&#x2F;package&quot; instead of &quot;github.com&#x2F;me&#x2F;project&#x2F;my&#x2F;package&quot;), but on the other it breaks go get and forces users to re-set their GOPATH to use the package. Don&#x27;t do this.<p>And this project is currently practicing the anti-pattern mentioned above.<p>0. <a href="http:&#x2F;&#x2F;blog.golang.org&#x2F;organizing-go-code" rel="nofollow">http:&#x2F;&#x2F;blog.golang.org&#x2F;organizing-go-code</a><p>Edit: format
评论 #9459119 未加载
评论 #9456130 未加载