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.
 
 
 
 
 
 
Ihab f75fb44bbd
Update audit.md
3 years ago
..
README.md Update README.md 3 years ago
audit.md Update 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.

Instructions

  • Your project must be written in Go.
  • The code must respect the good practices.
  • It is recommended to have test files for unit testing.
  • 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

This project will help you learn about :

  • The Go file system(fs) API
  • Data manipulation