golem-cli 1.3.1

Command line interface for Golem.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Example of exported resources with constructors, methods and static methods

package test:main;

interface iface {
  resource resource1 {
    constructor(name: string);
    func1: func() -> resource2;
  }
  resource resource2 {
   constructor(name: string);
   func2: func() -> resource1;
 }
}

world api {
  export iface;
}