Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "fmt"
- "io/ioutil"
- )
- func main() {
- input, rErr := ioutil.ReadFile("input.txt")
- if rErr != nil {
- fmt.Println(rErr)
- }
- defer input.close()
- output, wErr := os.Create("output.txt")
- if wErr != nil {
- fmt.Println(wErr)
- }
- defer output.Close()
- }
Add Comment
Please, Sign In to add comment