Skip to content

Instantly share code, notes, and snippets.

@kpurdon
Created April 24, 2016 22:06
Show Gist options
  • Save kpurdon/dacaa1de54e23cba58b704274c148abc to your computer and use it in GitHub Desktop.
Save kpurdon/dacaa1de54e23cba58b704274c148abc to your computer and use it in GitHub Desktop.
type ReposTestClient struct {
Repos []repos.Repo
Err error
}
func (c ReposTestClient) Get(string) ([]repos.Repo, error) {
return c.Repos, c.Err
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment