Skip to content

Commit

Permalink
docs: fix code sample (pull request #29 from bivens-dev/patch-1)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbellens committed Dec 31, 2023
2 parents 22f06c2 + 794c0a5 commit 14a3a77
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Expand Up @@ -9,16 +9,17 @@ Dart library for parsing and working with X.509 certificates.
## Usage

A simple usage example:
```dart
import 'package:x509/x509.dart';
import 'dart:io';
import 'package:x509/x509.dart';
import 'dart:io';
main() {
var cert = parsePem(new File('cert.pem').readAsStringSync());
void main() {
var cert = parsePem(File('cert.pem').readAsStringSync());
print(cert);
}

print(cert);
}
```
## Features and bugs

Please file feature requests and bugs at the [issue tracker][tracker].
Expand Down

0 comments on commit 14a3a77

Please sign in to comment.