mirror of https://github.com/01-edu/public.git
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
353 B
20 lines
353 B
package main |
|
|
|
import ( |
|
"os" |
|
"strings" |
|
|
|
"github.com/01-edu/z01" |
|
) |
|
|
|
func main() { |
|
pathFileName := "./student/displayfile/quest8.txt" |
|
_, err := os.Stat(pathFileName) |
|
if err != nil { |
|
z01.Fatal(err) |
|
} |
|
table := []string{"", pathFileName, "quest8.txt asdsada"} |
|
for _, s := range table { |
|
z01.ChallengeMain("displayfile", strings.Fields(s)...) |
|
} |
|
}
|
|
|