Skip to content

Commit

Permalink
Code gardening
Browse files Browse the repository at this point in the history
  • Loading branch information
theunrepentantgeek committed Sep 29, 2024
1 parent 9ec547c commit 7e0f52a
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ type OneOfJSONMarshalFunction struct {
}

// NewOneOfJSONMarshalFunction creates a new OneOfJSONMarshalFunction struct
func NewOneOfJSONMarshalFunction(oneOfObject *astmodel.ObjectType, idFactory astmodel.IdentifierFactory) *OneOfJSONMarshalFunction {
return &OneOfJSONMarshalFunction{oneOfObject, idFactory}
func NewOneOfJSONMarshalFunction(
oneOfObject *astmodel.ObjectType,
idFactory astmodel.IdentifierFactory,
) *OneOfJSONMarshalFunction {
return &OneOfJSONMarshalFunction{
oneOfObject,
idFactory,
}
}

// Ensure OneOfJSONMarshalFunction implements Function interface correctly
Expand Down

0 comments on commit 7e0f52a

Please sign in to comment.