-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename import paths: "github.com/gogits/gogs" -> "github.com/go-gitea/gitea" #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not checked if everything have been replaced but looks good to me
"github.com/gogits/gogs/modules/httplib" | ||
"github.com/gogits/gogs/modules/log" | ||
"github.com/gogits/gogs/modules/setting" | ||
"github.com/go-gitea/gitea/models" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are relative imports not supported ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is supported but not recommended
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there's a way to use relative imports, it would be simpler to maintain in case of another switch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
You'll need search-and-replace anyway ;) |
LGTM, small rant: Golang team now adds aliases, but we still don't have a tool for this. :) |
LGTM |
LGTM (need to do it again -.-) |
LGTM Third times the charm! |
No description provided.