Skip to content

Commit

Permalink
mockgen: fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: cui fliter <[email protected]>
  • Loading branch information
cuishuang committed Feb 7, 2023
1 parent 5b45562 commit 266edc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mockgen/mockgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ func printVersion() {
}
}

// parseImportPackage get package import path via source file
// parsePackageImport get package import path via source file
// an alternative implementation is to use:
// cfg := &packages.Config{Mode: packages.NeedName, Tests: true, Dir: srcDir}
// pkgs, err := packages.Load(cfg, "file="+source)
Expand Down

0 comments on commit 266edc8

Please sign in to comment.