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.
Chris
4eeb6b93de
|
3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago | |
audit.md | 3 years ago |
README.md
ascii-art-fs
Objectives
You must follow the same instructions as in the first subject but the second argument must be the name of the template. I know some templates may be hard to read, just do not obsess about it. Please...
Instructions
- Your project must be written in Go.
- The code must respect the good practices.
- It is recommended that the code should present a test file.
- You can see all about the banners here.
- The usage must respect this format
go run . [STRING] [BANNER]
, any other formats must return the following usage message:
Usage: go run . [STRING] [BANNER]
EX: go run . something standard
Usage
$ go run . "hello" standard | cat -e
_ _ _ $
| | | | | | $
| |__ ___ | | | | ___ $
| _ \ / _ \ | | | | / _ \ $
| | | | | __/ | | | | | (_) | $
|_| |_| \___| |_| |_| \___/ $
$
$
$ go run . "Hello There!" shadow | cat -e
$
_| _| _| _| _|_|_|_|_| _| $
_| _| _|_| _| _| _|_| _| _|_|_| _|_| _| _|_| _|_| $
_|_|_|_| _|_|_|_| _| _| _| _| _| _| _| _|_|_|_| _|_| _|_|_|_| $
_| _| _| _| _| _| _| _| _| _| _| _| _| $
_| _| _|_|_| _| _| _|_| _| _| _| _|_|_| _| _|_|_| $
$
$
$ go run . "Hello There!" thinkertoy | cat -e
$
o o o o o-O-o o $
| | | | | | $
O--O o-o | | o-o | O--o o-o o-o o-o $
| | |-' | | | | | | | |-' | |-' $
o o o-o o o o-o o o o o-o o o-o $
$
$
Allowed packages
- Only the standard Go packages are allowed
This project will help you learn about :
- The Go file system(fs) API
- Data manipulation