代码拉取完成,页面将自动刷新
database.UsersStore
interface (#7708)
force: true
goimports: goimports
file-prefix: |
This file was generated by running `go-mockgen` at the root of this repository.
To add additional mocks to this or another package, add a new entry 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. Each item will need to supply two pieces of information:
#
# (1) First, you will need to give a target filename
# (2) Second, you will need to supply a target import path and interface name. If the
# set of interface definitions you are mocking are all from the same package, then
# you can supply a `path` and `interfaces` key which take a string and string array,
# respectively. If the set of interface definitions you are mocking come from multiple
# import paths, you can supply a `sources` array, each item containing a `path` and
# `interfaces` key.
#
# By convention, you should generate mocks next to the CONSUMER of an interface, not the
# definition. It is NOT considered an anti-pattern to generate multiple mocks for the same
# shared interface.
#
# By convention, the filename containing generated mocks should be `mocks_test.go`.
- filename: internal/database/mocks_test.go
sources:
- path: gogs.io/gogs/internal/database
interfaces:
- loginSourceFileStore
- loginSourceFilesStore
- filename: internal/database/mocks_gen.go
sources:
- path: gogs.io/gogs/internal/auth
interfaces:
- Provider
- filename: internal/route/lfs/mocks_test.go
sources:
- path: gogs.io/gogs/internal/route/lfs
interfaces:
- Store
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。