Last active
August 29, 2015 14:19
-
-
Save jaredfolkins/778d40cf52b0927c7c69 to your computer and use it in GitHub Desktop.
Using gorename to refactor the gorethink rethinkdb driver.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gorename -from '"github.com/dancannon/gorethink".Db' -to DB -v | |
gorename -from '"github.com/dancannon/gorethink".DbCreate' -to DBCreate -v | |
gorename -from '"github.com/dancannon/gorethink".DbDrop' -to DBDrop -v | |
gorename -from '"github.com/dancannon/gorethink".RqlCompileError' -to ErrRQLCompile -v | |
gorename -from '"github.com/dancannon/gorethink".RqlRuntimeError' -to ErrRQLRuntime -v | |
gorename -from '"github.com/dancannon/gorethink".RqlClientError' -to ErrRQLClient -v | |
gorename -from '"github.com/dancannon/gorethink".RqlDriverError' -to ErrRQLDriver -v | |
gorename -from '"github.com/dancannon/gorethink".RqlConnectionError' -to ErrRQLConnection -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment