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.
lee
c50ca26796
|
4 years ago | |
---|---|---|
.. | ||
README.md | 4 years ago | |
audit.md | 4 years ago |
README.md
ascii-art-color
Objectives
You must follow the same instructions as in the first subject but with colors.
- The output should manipulate colors using the flag
--color=<color>
, in which--color
is the flag and<color>
is the color desired by the user. - The colors can be done using different notations (color code systems, like
RGB
,hsl
,ANSI
, ...), its up to you to choose which one you want to use. - You should be able to specify a single or a set of letters you want to be colored (use your imagination for this one).
- If the letter isn't specified, the whole
string
should be colored.
This project will help you learn about :
- The Go file system(fs) API.
- Color converters.
- Ways to receive data.
- Ways to output data.
- Manipulation of strings.
- Manipulation of colors on the terminal.
- Manipulation of structures.
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.
Allowed packages
- Only the standard go packages are allowed