Skip to content

Commit

Permalink
Add fmt import
Browse files Browse the repository at this point in the history
  • Loading branch information
dearchap committed Oct 23, 2022
1 parent 31487e7 commit 9d0fdbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/v2/examples/flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ package main
import (
"log"
"os"
"fmt"

"github.com/urfave/cli/v2"
)
Expand All @@ -628,6 +629,7 @@ func main() {
if v >= 65536 {
return fmt.Errorf("Flag port value %v out of range[0-65535]", v)
}
return nil
},
},
},
Expand Down

0 comments on commit 9d0fdbe

Please sign in to comment.