16 lines
341 B
Plaintext
16 lines
341 B
Plaintext
import agila
|
|
|
|
fn main() {
|
|
mut app := agila.new_app('dev.example.hello', 'Hello Agila') or {
|
|
eprintln(err.msg())
|
|
return
|
|
}
|
|
app.start() or {
|
|
eprintln(err.msg())
|
|
return
|
|
}
|
|
app.request(.ui) or { eprintln(err.msg()) }
|
|
agila.log('Hello from a third-party Agila application!')
|
|
app.stop()
|
|
}
|