Comments (2)
Renaming the package will break existing code, so it's not going to happen. I'm also not aware of any go get requirement to have the package in the root of the repo. Where did you hear that?
Andrews's example is not a very good one. You'll notice that his github link has "golang" as the user or organization, which makes it clear what "oauth2" is. That's not the case for personal repositories and I may want to have a separate py-imap repository later on. Google Code operates at the project level, so what are the odds that /p/oauth2 isn't already taken? You're going to need a unique project name, which is not going to be oauth2, and then you need to satisfy the other requirement to have the last path component match the package name. That's how you end up with goauth2/oauth2.
from go-imap.
Fair enough. For go get
this is not a requirement - I meant I expected it to be in root. It's a convention I observed. A lot of packages have this pattern: go get github.com/owner/packagename where packagename
is the same one as the package packagename
. In go-imap's case:
go get github.com/mxk/go-imap
package github.com/mxk/go-imap
imports github.com/mxk/go-imap
imports github.com/mxk/go-imap: no buildable Go source files in /home/q/src/github.com/mxk/go-imap
A bit ugly, but not the end of the world.
I really don't want to insist on this as it's not vital. As long as it's clear what the user has to do it's fine with me.
from go-imap.
Related Issues (20)
- demo of setting /Deleted flag would be helpful HOT 2
- STORE command returning unexpected status using Exchange HOT 3
- Login: panic: unhandled untagged response BYE HOT 2
- Support thirdparty logger through interface
- IDLE can't be interrupted using idleTerm() HOT 19
- BODYSTRUCTURE HOT 1
- Can't delete Message via UID HOT 2
- Exclusive client access violation when Idling imap client
- Debugging idea: log progress of a data transfer
- How to authenticate with this capabilities?
- How do you set mailbox flags HOT 2
- Allow for custom handlers in client HOT 1
- read: connection reset by peer
- where are the mails stored? eg with the APPEND command
- How to fetch only Unreaded email ?
- doesn't properly parse from address on *nix machines where email is from user (ie: (root))
- Need some example code HOT 5
- Enable Sourcegraph HOT 1
- Should support SEARCH response with trailing whitespace? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-imap.