1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples: fix remaining examples and add them to CI

This commit is contained in:
Alexander Medvednikov
2020-06-02 19:47:28 +02:00
parent 9aa9ea7e2e
commit 7496c1be2a
5 changed files with 9 additions and 6 deletions

View File

@ -2,7 +2,7 @@ import rand
import time
fn main() {
rand.seed(time.now().unix)
rand.seed(int(time.now().unix))
for _ in 0..10 {
println('${rand.next(255)}.${rand.next(255)}.${rand.next(255)}.${rand.next(255)}')