22 lines
310 B
V
22 lines
310 B
V
import os
|
|
import time as t
|
|
import some.library as slib
|
|
|
|
type my_alias = fn (t slib.MyType)
|
|
|
|
struct Foo {
|
|
bar t.Time
|
|
bars []t.Time
|
|
barref &t.Time
|
|
barrefs []&t.Time
|
|
c_type C.some_struct
|
|
js_type JS.other_struct
|
|
}
|
|
|
|
fn main() {
|
|
println('start')
|
|
t.sleep_ms(500)
|
|
println('end')
|
|
os.system('date')
|
|
}
|