- Notifications
You must be signed in to change notification settings - Fork0
Ballerina Extension Quickstart
License
NotificationsYou must be signed in to change notification settings
ldclakmal/ballerina-extension-quickstart
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a sample Ballerina extension for demonstration purpose, which you can use as a sample to build your own ballerinaexternal functions.
Template:https://github.com/ldclakmal/ballerina-extension-quickstart
| Version | |
|---|---|
| Ballerina Language | Swan Lake Beta 3 |
| Java Development Kit (JDK) | 11 |
- Refer to theSetting up Ballerina guide to download and install Ballerina.
- Clone theballerina-connector-quickstart GitHub repository.
- Move inside to
ballerina-extension-quickstartdirectory and execute$ ./gradlew build. It should compile the source, run the tests and generates the executables.
Import theldclakmal/extension module into your Ballerina project and check the usage of samplemax function.
importballerina/io;importldclakmal/extension;publicfunction main() {int maxNo=extension:max(2,10);io:println(maxNo);}
About
Ballerina Extension Quickstart
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Contributors3
Uh oh!
There was an error while loading.Please reload this page.