Go client library for accessing the GitHub API v3
Overall
score
65%
{
"context": "Evaluates whether the solution boots a go-github client correctly for public and Enterprise hosts, wiring authentication, headers, and upload handling through the library's provided helpers. Focus is on using the SDK's construction and request builders rather than manual HTTP wiring.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Client setup",
"description": "Constructs the client with github.NewClient and appropriate options, honoring a provided http.Client and setting defaults for public GitHub when no host override is given.",
"max_score": 25
},
{
"name": "Token wiring",
"description": "Applies github.WithAuthToken or equivalent oauth2 transport so Authorization headers are injected by the client rather than manually added per request.",
"max_score": 20
},
{
"name": "Enterprise hosts",
"description": "Uses github.WithEnterpriseURLs (or WithBaseURL/WithUploadURL pair) to target supplied API and upload hosts, ensuring both REST and upload requests resolve against those URLs.",
"max_score": 20
},
{
"name": "Headers",
"description": "Sets custom User-Agent on the github.Client and applies github.WithVersion to emit the configured API version header on outgoing requests.",
"max_score": 20
},
{
"name": "Upload requests",
"description": "Builds upload requests through github.NewUploadRequest (or equivalent helper) so uploads use the configured upload host while preserving auth and header configuration.",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/golang-github-com-google-go-githubdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10