Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a typo in docs #18

Merged
merged 1 commit into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import ballerina/avro;

public function main() returns error? {
int value = 5;
byte[] serializeData = check schema.toAvro(value);
byte[] serializedData = check schema.toAvro(value);
}
```

Expand All @@ -48,7 +48,7 @@ import ballerina/avro;

public function main() returns error? {
byte[] data = // Avro encoded message ;
int deserializeData = check schema.fromAvro(data);
int deserializedData = check schema.fromAvro(data);
}
```

Expand Down
4 changes: 2 additions & 2 deletions ballerina/Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import ballerina/avro;

public function main() returns error? {
int value = 5;
byte[] serializeData = check schema.toAvro(value);
byte[] serializedData = check schema.toAvro(value);
}
```

Expand All @@ -41,6 +41,6 @@ import ballerina/avro;

public function main() returns error? {
byte[] data = // Avro encoded message ;
int deserializeData = check schema.fromAvro(data);
int deserializedData = check schema.fromAvro(data);
}
```
4 changes: 2 additions & 2 deletions ballerina/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import ballerina/avro;

public function main() returns error? {
int value = 5;
byte[] serializeData = check schema.toAvro(value);
byte[] serializedData = check schema.toAvro(value);
}
```

Expand All @@ -41,6 +41,6 @@ import ballerina/avro;

public function main() returns error? {
byte[] data = // Avro encoded message ;
int deserializeData = check schema.fromAvro(data);
int deserializedData = check schema.fromAvro(data);
}
```
Loading