Skip to content

Commit

Permalink
Added InterfaceFile
Browse files Browse the repository at this point in the history
  • Loading branch information
istrau2 authored Apr 17, 2024
1 parent adedaa2 commit 527c0c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/outputter.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ func parseConfigTemplates(ctx context.Context, c *config.Config, iface *Interfac
data := struct {
InterfaceDir string
InterfaceDirRelative string
InterfaceFile string
InterfaceName string
InterfaceNameCamel string
InterfaceNameLowerCamel string
Expand All @@ -222,6 +223,7 @@ func parseConfigTemplates(ctx context.Context, c *config.Config, iface *Interfac
}{
InterfaceDir: filepath.Dir(iface.FileName),
InterfaceDirRelative: interfaceDirRelative,
InterfaceFile: iface.FileName,
InterfaceName: iface.Name,
// Deprecated: All custom case variables of InterfaceName will be removed in the next major version
// Use the template functions instead
Expand Down

0 comments on commit 527c0c4

Please sign in to comment.