github.com/brandonmanuel/git-chglog@v0.0.0-20200903004639-7a62fa08787a/cmd/git-chglog/config_loader_mock.go (about)

     1  package main
     2  
     3  type mockConfigLoaderImpl struct {
     4  	ReturnLoad func(string) (*Config, error)
     5  }
     6  
     7  func (m *mockConfigLoaderImpl) Load(path string) (*Config, error) {
     8  	return m.ReturnLoad(path)
     9  }