Skip to content

Commit

Permalink
fix: duplicate print version
Browse files Browse the repository at this point in the history
  • Loading branch information
martinyonatann committed Feb 1, 2025
1 parent bc4852b commit 2ae265b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/swag/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ func initAction(ctx *cli.Context) error {
}

func main() {
fmt.Println("Swag version: ", swag.Version)
app := cli.NewApp()
app.Version = swag.Version
app.Usage = "Automatically generate RESTful API documentation with Swagger 2.0 for Go."
Expand Down

0 comments on commit 2ae265b

Please sign in to comment.