Skip to content

Commit

Permalink
Refactor parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
itsubaki committed Mar 6, 2021
1 parent 90c0e68 commit 1449cb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ func New() *Builder {
return &Builder{}
}

func (b *Builder) AddField(name string, type_ reflect.Type) *Builder {
func (b *Builder) AddField(name string, ftype reflect.Type) *Builder {
b.field = append(
b.field,
reflect.StructField{
Name: name,
Type: type_,
Type: ftype,
})

return b
Expand Down

0 comments on commit 1449cb9

Please sign in to comment.