Documentation ¶
Index ¶
- type Imports
- func (i *Imports) Add(pkgpath string) *gogh.ImportAliasControl
- func (i *Imports) Deepequal() *gogh.ImportAliasControl
- func (i *Imports) Errors() *gogh.ImportAliasControl
- func (i *Imports) Gomock() *gogh.ImportAliasControl
- func (i *Imports) Imports() *gogh.Imports
- func (i *Imports) Module(relpath string) *gogh.ImportAliasControl
- func (i *Imports) Reflect() *gogh.ImportAliasControl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Imports ¶
type Imports struct {
// contains filtered or unexported fields
}
Imports a gogh.Importer implementation to deal with imports of frequent imports needed in mocks
func (*Imports) Add ¶
func (i *Imports) Add(pkgpath string) *gogh.ImportAliasControl
Add to satisfy gogh.Importer
func (*Imports) Deepequal ¶
func (i *Imports) Deepequal() *gogh.ImportAliasControl
Deepequal imports github.com/sirkon/deepequal
func (*Imports) Errors ¶
func (i *Imports) Errors() *gogh.ImportAliasControl
Errors imports stdlib errors
func (*Imports) Gomock ¶
func (i *Imports) Gomock() *gogh.ImportAliasControl
Gomock imports github.com/golang/mock/gomock
func (*Imports) Module ¶
func (i *Imports) Module(relpath string) *gogh.ImportAliasControl
Module to satisfy gogh.Importer
func (*Imports) Reflect ¶
func (i *Imports) Reflect() *gogh.ImportAliasControl
Reflect imports stdlib reflect
Click to show internal directories.
Click to hide internal directories.