mirror of
https://github.com/fluencelabs/examples
synced 2025-05-03 14:42:16 +00:00
7 lines
215 B
Plaintext
7 lines
215 B
Plaintext
|
service Greeting("service-id"):
|
||
|
greeting: string, bool -> string
|
||
|
-- greeting: string -> string
|
||
|
|
||
|
func greeting(name: string, greeter:bool) -> string:
|
||
|
res <- Greeting.greeting(name, greeter)
|
||
|
<- res
|