Skip to content

Commit

Permalink
add missed merging functions
Browse files Browse the repository at this point in the history
  • Loading branch information
vetcher committed May 16, 2018
1 parent 2dbb444 commit 3e1e919
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func MergeFiles(files []*types.File) (*types.File, error) {
targetFile.Structures = append(targetFile.Structures, file.Structures...)
targetFile.Methods = append(targetFile.Methods, file.Methods...)
targetFile.Types = append(targetFile.Types, file.Types...)
targetFile.Functions = append(targetFile.Functions, file.Functions...)
}
err := linkMethodsToStructs(targetFile)
if err != nil {
Expand Down

0 comments on commit 3e1e919

Please sign in to comment.