Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ballerina Extension Quickstart

License

NotificationsYou must be signed in to change notification settings

ldclakmal/ballerina-extension-quickstart

Repository files navigation

Build

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

Compatibility

Version
Ballerina LanguageSwan Lake Beta 3
Java Development Kit (JDK)11

Getting started

  1. Refer to theSetting up Ballerina guide to download and install Ballerina.
  2. Clone theballerina-connector-quickstart GitHub repository.
  3. Move inside toballerina-extension-quickstart directory and execute$ ./gradlew build. It should compile the source, run the tests and generates the executables.

Samples

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

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp