mirror of
https://github.com/avelino/awesome-go.git
synced 2024-11-14 16:42:23 +00:00
19 lines
164 B
Go
19 lines
164 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
"os"
|
|
)
|
|
|
|
func main() {
|
|
|
|
/*
|
|
Dosya Silme (Delete a file)
|
|
*/
|
|
|
|
err := os.Remove("demo.txt")
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|