github.com/fredbi/git-chglog@v0.0.0-20190706071416-d35c598eac81/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 }