You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: commits.go
    path of file: ./repos/client/go/release/github
    
    the code of the file until where you have to start completion: // Copyright 2015 Keybase, Inc. All rights reserved. Use of
// this source code is governed by the included BSD license.

package github

import "fmt"

// Commit defines a git commit on Github
type Commit struct {
	SHA string `json:"sha"`
}

const (
	commitListPath =
    
func Commits(user, repo, token string) ([]Commit, error) {
	url, err := githubURL(githubAPIURL)
	if err != nil {
		return nil, err
	}
	url.Path = fmt.Sprintf(commitListPath, user, repo)
	var commits []Commit
	if err = Get(token, url.String(), &commits); err != nil {
		return nil, err
	}
	return commits, nil
}