You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,8 @@
4
4
<imgsrc="preview/logo.png" />
5
5
</p>
6
6
7
-
This repository contains [OpenFaaS](https://github.com/openfaas) function templates for writing serverless functions in the [Dart](https://github.com/gleam-lang/gleam) programming language.
7
+
8
+
This repository contains [OpenFaaS](https://github.com/openfaas) function templates for writing serverless functions in the [Dart](https://dart.dev/) programming language.
8
9
9
10
10
11
## Usage
@@ -28,8 +29,8 @@ Note: This essentially creates a usual Dart project stucture, but with a pre-def
28
29
4. Add new functionality to the function that is going to be deployed and managed by OpenFaaS:
29
30
30
31
```bash
31
-
code test-function/function/src/function.gleam
32
-
# ... Extend or add whatever you want to the file
32
+
code template/function/lib/src/function_base.dart
33
+
# ... Inside this file extend or add whatever you want to inside the 'Service' class
33
34
```
34
35
35
36
5. Make sure a valid container registry, to where functions can be pushed, has been defined in the `test-function.yml` file:
@@ -68,7 +69,7 @@ curl -k \
68
69
69
70
# If nothing was changed in the 'test-function/function' directory before
70
71
# deployment then we should just see the default response:
0 commit comments