Move to src/

This commit is contained in:
2026-07-11 12:16:59 +02:00
parent 44375621d2
commit 6ccf7c4c71
2 changed files with 3 additions and 3 deletions
+22
View File
@@ -0,0 +1,22 @@
module main
import os
fn read_stdin() []string {
mut line := ''
mut inputstr := []string{}
for {
line = os.get_line()
if line.len == 0 && os.stdin().eof() {
break
}
line = line.trim_space()
inputstr << line
}
return inputstr
}
fn main() {
var := read_stdin()
println(var)
}