Fix two lint issues that crept in
This commit is contained in:
parent
e1673dfdb0
commit
ff37f0b8f9
|
@ -148,7 +148,7 @@ type testProviderHost struct {
|
|||
provider func(pkg tokens.Package) (Provider, error)
|
||||
}
|
||||
|
||||
func (prov *testProviderHost) Close() error {
|
||||
func (host *testProviderHost) Close() error {
|
||||
return nil
|
||||
}
|
||||
func (host *testProviderHost) Analyzer(nm tokens.QName) (Analyzer, error) {
|
||||
|
|
|
@ -36,7 +36,7 @@ type ProviderHost interface {
|
|||
Close() error
|
||||
}
|
||||
|
||||
// defaultProviderHost implements the standard plugin logic, using the standard installation root to find them.
|
||||
// NewDefaultProviderHost implements the standard plugin logic, using the standard installation root to find them.
|
||||
func NewDefaultProviderHost(ctx *Context) ProviderHost {
|
||||
return &defaultProviderHost{
|
||||
ctx: ctx,
|
||||
|
|
Loading…
Reference in a new issue