sg: Fix filename in comments for generating mocks (#36911)

This commit is contained in:
Indradhanush Gupta 2022-06-09 20:57:38 +05:30 committed by GitHub
parent 2250411239
commit ae67710d60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
77 changed files with 77 additions and 77 deletions

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package userpasswd

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package fetcher

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package api

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package team

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package mocks

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package command

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package command

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package worker

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package worker

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package app

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package httpapi

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package resolvers

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package resolvers

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package mocks

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package mocks

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package handler

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package batches

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package dbmocks

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package worker

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package worker

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package indexing

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package indexing

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package indexing

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package janitor

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package reconciler

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package sources

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package sources

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package syncer

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package database

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package background

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package compression

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package discovery

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package discovery

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package discovery

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package store

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package store

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package store

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package authz

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package authz

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package scheduler

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package inference

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package autoindexing

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package lockfiles

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package dependencies

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package dependencies

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package documents

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package repomatcher

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package policies

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package policies

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package migration

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package symbols

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package cleanup

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package commitgraph

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package expiration

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package uploads

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package runner

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package database

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package featureflag

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package gitserver

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package goroutine

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package goroutine

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package goroutine

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package goroutine

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package insights

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package oobmigration

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package repos

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package client

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package mockjob

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package uploadstore

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package uploadstore

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package mocks

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package mocks

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package workerutil

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package workerutil

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package workerutil

View File

@ -2,7 +2,7 @@
//
// This file was generated by running `sg generate` (or `go-mockgen`) at the root of
// this repository. To add additional mocks to this or another package, add a new entry
// to the metadata.yaml file in the root of this repository.
// to the mockgen.yaml file in the root of this repository.
package workerutil

View File

@ -3,7 +3,7 @@ goimports: ./.bin/goimports
file-prefix: |
This file was generated by running `sg generate` (or `go-mockgen`) at the root of
this repository. To add additional mocks to this or another package, add a new entry
to the metadata.yaml file in the root of this repository.
to the mockgen.yaml file in the root of this repository.
mocks:
# To generate a new mock struct from an interface definition, add a new value to this
# list. You will need to supply three pieces of information: