Maint: add missing interface compilation checks

This commit is contained in:
Quentin McGaw (laptop)
2021-07-24 19:54:15 +00:00
parent 7b20cec035
commit 8105437815
4 changed files with 8 additions and 0 deletions

View File

@@ -12,6 +12,8 @@ import (
"strings"
)
var _ Fetcher = (*Fetch)(nil)
type Fetcher interface {
FetchPublicIP(ctx context.Context) (ip net.IP, err error)
}