You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
358 B

package main
import (
"io/ioutil"
"os"
"strings"
"lib"
)
func main() {
fileName := "quest8.txt"
if err := ioutil.WriteFile(fileName, []byte("Almost there!!\n"), os.ModePerm); err != nil {
panic(err)
}
table := []string{"", fileName, fileName + " asdsada"}
for _, s := range table {
lib.ChallengeMain("displayfile", strings.Fields(s)...)
}
}