-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add list constant and map constant examples
- Loading branch information
1 parent
b5249c0
commit e833861
Showing
3 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
description: This BBE demonstrates how const and final values are used in Ballerina. | ||
keywords: ballerina, ballerina by example, bbe, const, final | ||
keywords: ballerina, ballerina by example, bbe, const, final, map const, list const |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
$ bal run const_and_final | ||
1000 | ||
https://ballerina.io | ||
{"httpCode":200,"message":"OK"} | ||
[200,202,400] | ||
Hello World |