diff options
Diffstat (limited to 'modules/migration/null_downloader.go')
-rw-r--r-- | modules/migration/null_downloader.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/migration/null_downloader.go b/modules/migration/null_downloader.go index 69d5ac7b56..6192870873 100644 --- a/modules/migration/null_downloader.go +++ b/modules/migration/null_downloader.go @@ -10,12 +10,9 @@ import ( ) // NullDownloader implements a blank downloader -type NullDownloader struct { -} +type NullDownloader struct{} -var ( - _ Downloader = &NullDownloader{} -) +var _ Downloader = &NullDownloader{} // SetContext set context func (n NullDownloader) SetContext(_ context.Context) {} |