Skip to content
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.

Add repositories table #18

Merged
merged 2 commits into from
Feb 26, 2018
Merged

Add repositories table #18

merged 2 commits into from
Feb 26, 2018

Conversation

jfontan
Copy link

@jfontan jfontan commented Feb 26, 2018

Fixes #2

Signed-off-by: Javi Fontan <jfontan@gmail.com>
@@ -22,6 +23,7 @@ type Database struct {
ter sql.Table
br sql.Table
or sql.Table
rer sql.Table

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we get some readable table names, please? 🙏

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've created an issue to change all those names:

src-d#20

repositories.go Outdated
}

func (repositoriesTable) Children() []sql.Node {
return []sql.Node{}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we return nil instead to save an alloc here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, we should also change this in all other tables.

Signed-off-by: Javi Fontan <jfontan@gmail.com>
@jfontan jfontan merged commit c30dd76 into jbeardly-junkyard:master Feb 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants