chore: coding style (#3959)

This commit is contained in:
Kevin Wan
2024-03-02 22:45:24 +08:00
committed by GitHub
parent e08ba2fee8
commit 45be48a4ee
10 changed files with 23 additions and 12 deletions

View File

@@ -17,9 +17,9 @@ type parser struct {
spec *spec.ApiSpec
}
// Parse parses the api file.
// Depreacted: use tools/goctl/pkg/parser/api/parser/parser.go:18 instead,
// it will be removed in the future.
// Parse parses the api file.
func Parse(filename string) (*spec.ApiSpec, error) {
if env.UseExperimental() {
return apiParser.Parse(filename, "")