awesome-go/impl/files_manipulation/RemoveFile.go

19 lines
164 B
Go
Raw Normal View History

package main
import (
"log"
"os"
)
func main() {
/*
Dosya Silme (Delete a file)
*/
err := os.Remove("demo.txt")
if err != nil {
log.Fatal(err)
}
}