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)
|
provider func(pkg tokens.Package) (Provider, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (prov *testProviderHost) Close() error {
|
func (host *testProviderHost) Close() error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
func (host *testProviderHost) Analyzer(nm tokens.QName) (Analyzer, error) {
|
func (host *testProviderHost) Analyzer(nm tokens.QName) (Analyzer, error) {
|
||||||
|
|
|
@ -36,7 +36,7 @@ type ProviderHost interface {
|
||||||
Close() error
|
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 {
|
func NewDefaultProviderHost(ctx *Context) ProviderHost {
|
||||||
return &defaultProviderHost{
|
return &defaultProviderHost{
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
|
|
Loading…
Reference in a new issue