users: github.com/shurcooL/users/githubapi Index | Files

package githubapi

import "github.com/shurcooL/users/githubapi"

Package githubapi implements users.Service using GitHub API client.

Index

Package Files

githubapi.go

func NewService Uses

func NewService(client *github.Client) (users.Service, error)

NewService creates a GitHub-backed users.Service using given GitHub client. At this time it infers the current user from the client (its authentication info), and cannot be used to serve multiple users.

Package githubapi imports 6 packages (graph) and is imported by 2 packages. Updated 2017-11-19. Refresh now. Tools for package owners.