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 Connector Quickstart

License

NotificationsYou must be signed in to change notification settings

ldclakmal/ballerina-connector-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

This is a sample Ballerina connector for demonstration purpose.

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-connector-quickstart/connector directory and execute$ bal build connector. It should compile the source, run the tests and generates the executable as follows:
Compilingsource        ldclakmal/connector:1.0.0Running Tests        connector                [pass] testMax                1 passing                0 failing                0 skippedGenerating executable        target/bin/connector.jar

Samples

Import theldclakmal/connector module into your Ballerina project and check the usage of samplemax function.

importballerina/io;importldclakmal/connector;publicfunction main() {int maxNo=connector:max(2,10);io:println(maxNo);}

About

Ballerina Connector Quickstart

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp