Fix two lint issues that crept in

This commit is contained in:
joeduffy 2017-06-02 09:05:10 -07:00
parent e1673dfdb0
commit ff37f0b8f9
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -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,