We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d437314 commit b5c1547Copy full SHA for b5c1547
README.md
@@ -96,7 +96,8 @@ It will return a `License` object as well as any validation errors that occur. T
96
object can be used to perform additional actions, such as `license.Activate(fingerprint)`.
97
98
```go
99
-license, err := keygen.Validate(context.Background(), fingerprint)
+ctx := context.Background()
100
+license, err := keygen.Validate(ctx, fingerprint)
101
switch {
102
case err == keygen.ErrLicenseNotActivated:
103
panic("license is not activated!")
0 commit comments