delete the unused file
This commit is contained in:
@@ -22,3 +22,4 @@ bin/
|
|||||||
# vweb and database
|
# vweb and database
|
||||||
*.db
|
*.db
|
||||||
*.js
|
*.js
|
||||||
|
*.exe
|
||||||
|
|||||||
@@ -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}')
|
|
||||||
}
|
|
||||||
@@ -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())
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user