delete the unused file

This commit is contained in:
yangshangbo
2025-04-16 11:14:48 +08:00
parent d1db668cd6
commit 7734b328b2
3 changed files with 1 additions and 38 deletions
+1
View File
@@ -22,3 +22,4 @@ bin/
# vweb and database
*.db
*.js
*.exe
-13
View File
@@ -1,13 +0,0 @@
import net.ftp
fn main() {
mut instance := ftp.new()
println('instance')
defer {
instance.close() or { panic(err) }
}
connected := instance.connect('148.251.128.152:22')!
println('connected ${connected}')
login_status := instance.login('root', '6e5W3kqeTWKqQG')!
println('login_status ${login_status}')
}
-25
View File
@@ -1,25 +0,0 @@
module main
import os
fn get_file_default_content() string {
return 'Alala'
}
fn do_nothing() {
}
fn main() {
areas := ['game', 'web', 'tools', 'science', 'systems','embedded', 'drivers', 'GUI', 'mobile']
for area in areas {
println('Hello, ${area} developers!')
}
file_content := os.read_file('./src/main.v') or {
get_file_default_content()
}
println('file_content: ${file_content}')
os.write_file('./src/main_copy.v', file_content) or {
panic(err.str())
}
}