Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import time
|
||||
// This example demonstrates how to use `v watch` for simple CLI apps.
|
||||
|
||||
fn main() {
|
||||
println('Run with: `v watch run examples/vwatch/cli_clock`,')
|
||||
println('then modify timer.v in your editor.')
|
||||
println('The application will be restarted,')
|
||||
println('as soon as you save your changes.')
|
||||
println('')
|
||||
for {
|
||||
println('The time is now: ${time.now()}')
|
||||
time.sleep(1000 * time.millisecond)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user