25888a71ea
Implement FileReader conformance on the GitHub client: GetFileContent, ListContents, path helpers, base64 decode. Includes compile-time conformance checks for both PRReader and FileReader. Requires PR B (#102). Part 3 of 3 for #80.
14 lines
331 B
Go
14 lines
331 B
Go
package github_test
|
|
|
|
import (
|
|
"gitea.weiker.me/rodin/review-bot/github"
|
|
"gitea.weiker.me/rodin/review-bot/vcs"
|
|
)
|
|
|
|
// Compile-time interface conformance assertions.
|
|
// These verify github.Client satisfies vcs.PRReader and vcs.FileReader.
|
|
var (
|
|
_ vcs.PRReader = (*github.Client)(nil)
|
|
_ vcs.FileReader = (*github.Client)(nil)
|
|
)
|