Last active
April 24, 2016 22:02
-
-
Save kpurdon/42b4b87032711a05d00cf233ff59c564 to your computer and use it in GitHub Desktop.
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
type Client interface { | |
Get(string) ([]Repo, error) | |
} | |
type ReposClient struct{} | |
func (c ReposClient) Get(user string) ([]Repo, error) { | |
// call github api | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment