Skip to content

Commit

Permalink
fix validate long example
Browse files Browse the repository at this point in the history
  • Loading branch information
jackspirou committed Sep 15, 2024
1 parent 4d42fe3 commit 17396c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if err != nil {
```go
longID := "7Zt3xY9pQr5W"
err := publicid.ValidateLong("exampleField", longID)
err := publicid.ValidateLong(longID)
if err != nil {
fmt.Println("Invalid long ID:", err)
} else {
Expand Down

0 comments on commit 17396c4

Please sign in to comment.