mirror of
https://github.com/encounter/jco.git
synced 2026-03-30 11:18:26 -07:00
14 lines
209 B
Plaintext
14 lines
209 B
Plaintext
package local:test;
|
|
|
|
interface foo {
|
|
resource bar {}
|
|
}
|
|
|
|
world test {
|
|
use foo.{bar};
|
|
export create-bar: func() -> bar;
|
|
export consume-bar: func(bar: bar) -> string;
|
|
|
|
export hello: func() -> string;
|
|
}
|