Skip to content

Commit

Permalink
fix(gengapic): rename file aux to auxiliary (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahdietz committed Nov 7, 2023
1 parent 21893cd commit 9c0fbd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/gengapic/auxiliary.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type auxTypes struct {
// operationWrapper is a simple data type representing an RPC-specific
// longrunning operation. These are collected to ensure only one of any
// operation wrapper is generated, and to generate them all in a single
// file, aux.go, within the client package.
// file, auxiliary.go, within the client package.
type operationWrapper struct {
// name is the Go type name of the wrapper-to-be e.g. CreateFooOperation.
name string
Expand All @@ -64,7 +64,7 @@ type operationWrapper struct {
responseName, metadataName protoreflect.FullName
}

// genAuxFile generates the singular aux.go file. This file contains all of the
// genAuxFile generates the singular auxiliary.go file. This file contains all of the
// operation wrapper and iterator types that are used throughout the client
// package.
func (g *generator) genAuxFile() error {
Expand All @@ -76,7 +76,7 @@ func (g *generator) genAuxFile() error {
return err
}

g.commit(filepath.Join(g.opts.outDir, "aux.go"), g.opts.pkgName)
g.commit(filepath.Join(g.opts.outDir, "auxiliary.go"), g.opts.pkgName)
g.reset()

return nil
Expand Down

0 comments on commit 9c0fbd5

Please sign in to comment.