From 74cd75c4bc088c6a939677c7b9ad132c4ee06786 Mon Sep 17 00:00:00 2001 From: lee Date: Mon, 18 Nov 2019 17:31:11 +0000 Subject: [PATCH 1/6] ascii-art subjects --- subjects/ascii-art-reverse.en.md | 42 +++++++++++++++++++++ subjects/ascii-art.en.md | 64 ++++++++++++++++++++++++++++++++ subjects/ascii-color.en.md | 26 +++++++++++++ subjects/ascii-fs.en.md | 47 +++++++++++++++++++++++ subjects/ascii-justify.en.md | 60 ++++++++++++++++++++++++++++++ subjects/ascii-output.en.md | 51 +++++++++++++++++++++++++ 6 files changed, 290 insertions(+) create mode 100644 subjects/ascii-art-reverse.en.md create mode 100644 subjects/ascii-art.en.md create mode 100644 subjects/ascii-color.en.md create mode 100644 subjects/ascii-fs.en.md create mode 100644 subjects/ascii-justify.en.md create mode 100644 subjects/ascii-output.en.md diff --git a/subjects/ascii-art-reverse.en.md b/subjects/ascii-art-reverse.en.md new file mode 100644 index 00000000..a9568fa2 --- /dev/null +++ b/subjects/ascii-art-reverse.en.md @@ -0,0 +1,42 @@ +## ascii-art-reverse + +### Objectives + +Ascii-art-reverse consists on reversing the process, convertin the graphic representation into a text. + +- You will have to create a `txt` file with a graphic representation of a random phrase; +- The program will have **one** argument being the name of the file created; +- The program must print this phrase in **normal text**. + +This project will help you learn about : + +- Client utilities; +- The go file system(**fs**) API; +- Ways to receive data; +- Ways to output data; +- Manipulation of strings; +- 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**; + +### Usage + +```console +student@ubuntu:~/ascii-art$ go build +student@ubuntu:~/ascii-art$ cat file.txt + _ _ _ + | | | | | | + | |__ ___ | | | | ___ + | _ \ / _ \ | | | | / _ \ + | | | | | __/ | | | | | (_) | + |_| |_| \___| |_| |_| \___/ + + +student@ubuntu:~/ascii-art$ ./ascii-art file.txt +hello +student@ubuntu:~/ascii-art$ +``` diff --git a/subjects/ascii-art.en.md b/subjects/ascii-art.en.md new file mode 100644 index 00000000..abd5a593 --- /dev/null +++ b/subjects/ascii-art.en.md @@ -0,0 +1,64 @@ +## ascii-art + +### Objectives + +Ascii-art consists on receiving a `string` has an argument and outputing the `string` in a graphic representation of ascii letters and numbers. + +This project will help you learn about : + +- Client utilities; +- The go file system(**fs**) API; +- Ways to receive data; +- Ways to output data; +- Manipulation of strings; +- 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**; +- It will be given a `banner` file with a specific graphical template representation of ascii letters and numbers. + +### Usage + +```console +student@ubuntu:~/ascii-art$ go build +student@ubuntu:~/ascii-art$ ./ascii-art "hello" + _ _ _ + | | | | | | + | |__ ___ | | | | ___ + | _ \ / _ \ | | | | / _ \ + | | | | | __/ | | | | | (_) | + |_| |_| \___| |_| |_| \___/ + + +student@ubuntu:~/ascii-art$ ./ascii-art "HeLlO" + _ _ _ _ ____ + | | | | | | | | / __ \ + | |__| | ___ | | | | | | | | + | __ | / _ \ | | | | | | | | + | | | | | __/ | |____ | | | |__| | + |_| |_| \___| |______| |_| \____/ + + +student@ubuntu:~/ascii-art$ ./ascii-art "Hello There" + _ _ _ _ _______ _ + | | | | | | | | |__ __| | | + | |__| | ___ | | | | ___ | | | |__ ___ _ __ ___ + | __ | / _ \ | | | | / _ \ | | | _ \ / _ \ | '__| / _ \ + | | | | | __/ | | | | | (_) | | | | | | | | __/ | | | __/ + |_| |_| \___| |_| |_| \___/ |_| |_| |_| \___| |_| \___| + + +student@ubuntu:~/ascii-art$ ./ascii-art "1Hello 2There" + _ _ _ _ _______ _ + _ | | | | | | | | ____ |__ __| | | +/ | | |__| | ___ | | | | ___ |___ \ | | | |__ ___ _ __ ___ +| | | __ | / _ \ | | | | / _ \ __) | | | | _ \ / _ \ | '__| / _ \ +| | | | | | | __/ | | | | | (_) | / __/ | | | | | | | __/ | | | __/ +|_| |_| |_| \___| |_| |_| \___/ |_____| |_| |_| |_| \___| |_| \___| + + +student@ubuntu:~/ascii-art$ +``` diff --git a/subjects/ascii-color.en.md b/subjects/ascii-color.en.md new file mode 100644 index 00000000..01c6a1a4 --- /dev/null +++ b/subjects/ascii-color.en.md @@ -0,0 +1,26 @@ +## ascii-art-color + +### Objectives + +Ascii-art-color consists on receiving a `string` has an argument and outputing the `string` in a graphic representation of ascii letters and numbers but with colors. + +- The output should manipulate colors using **flags**, `-c=`, in which `-c` is the flag and `` is the color of choice; +- You should be able to specify which letter you want to be colored (use your imagination for this one); +- If the letter isn't specified, the whole phrase should be colored; + +This project will help you learn about : + +- Client utilities; +- The go file system(**fs**) API; +- Ways to receive data; +- Ways to output data; +- Manipulation of strings; +- Manipulation of colors o 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**; +- You may use the same `banner` file. diff --git a/subjects/ascii-fs.en.md b/subjects/ascii-fs.en.md new file mode 100644 index 00000000..891a82d3 --- /dev/null +++ b/subjects/ascii-fs.en.md @@ -0,0 +1,47 @@ +## ascii-art-fs + +### Objectives + +Ascii-art-fs consists on receiving two `strings` has arguments. The first string being a random phrase and the second string being the template for the graphic representation in ascii of the first argument. + +This project will help you learn about : + +- Client utilities; +- The go file system(**fs**) API; +- Ways to receive data; +- Ways to output data; +- Manipulation of strings; +- 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**; +- You should build your own files with the templates you desire. + +### Usage + +```console +student@ubuntu:~/ascii-art$ go build +student@ubuntu:~/ascii-art$ ./ascii-art "hello" standard + _ _ _ + | | | | | | + | |__ ___ | | | | ___ + | _ \ / _ \ | | | | / _ \ + | | | | | __/ | | | | | (_) | + |_| |_| \___| |_| |_| \___/ + + +student@ubuntu:~/ascii-art$ ./ascii-art "hello" shadow + oooo oooo oooo + `888 `888 `888 + 888 .oo. .ooooo. 888 888 .ooooo. + 888P"Y88b d88' `88b 888 888 d88' `88b + 888 888 888ooo888 888 888 888 888 + 888 888 888 .o 888 888 888 888 + o888o o888o `Y8bod8P' o888o o888o `Y8bod8P' + +student@ubuntu:~/ascii-art$ +student@ubuntu:~/ascii-art$ +``` diff --git a/subjects/ascii-justify.en.md b/subjects/ascii-justify.en.md new file mode 100644 index 00000000..5e629412 --- /dev/null +++ b/subjects/ascii-justify.en.md @@ -0,0 +1,60 @@ +## ascii-art-justify + +### Objectives + +Ascii-art-justify consistes one receiving two `string` has arguments and outputing the `string` in a graphic representation of ascii letters and numbers. This representation should be formated using the second argument, that can be: + +- center +- justify +- align-left +- align-right + +This project will help you learn about : + +- Client utilities; +- The go file system(**fs**) API; +- Ways to receive data; +- Ways to output data; +- Manipulation of strings; +- 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**; +- You should build your one files with the templates you desire. + +### Usage + +```console +student@ubuntu:~/ascii-art$ go build +student@ubuntu:~/ascii-art$ ./ascii-art "hello" standard center + _ _ _ + | | | | | | + | |__ ___ | | | | ___ + | _ \ / _ \ | | | | / _ \ + | | | | | __/ | | | | | (_) | + |_| |_| \___| |_| |_| \___/ + + +student@ubuntu:~/ascii-art$ ./ascii-art "Hello There" standard align-right + _ _ _ _ _______ _ + | | | | | | | | |__ __| | | + | |__| | ___ | | | | ___ | | | |__ ___ _ __ ___ + | __ | / _ \ | | | | / _ \ | | | _ \ / _ \ | '__| / _ \ + | | | | | __/ | | | | | (_) | | | | | | | | __/ | | | __/ + |_| |_| \___| |_| |_| \___/ |_| |_| |_| \___| |_| \___| + + +student@ubuntu:~/ascii-art$ ./ascii-art "hello" shadow center + oooo oooo oooo + `888 `888 `888 + 888 .oo. .ooooo. 888 888 .ooooo. + 888P"Y88b d88' `88b 888 888 d88' `88b + 888 888 888ooo888 888 888 888 888 + 888 888 888 .o 888 888 888 888 + o888o o888o `Y8bod8P' o888o o888o `Y8bod8P' + +student@ubuntu:~/ascii-art$ +``` diff --git a/subjects/ascii-output.en.md b/subjects/ascii-output.en.md new file mode 100644 index 00000000..a339cd12 --- /dev/null +++ b/subjects/ascii-output.en.md @@ -0,0 +1,51 @@ +## ascii-art-output + +### Objectives + +Ascii-art-output consists on receiving two `strings`. The first argument will be converted into a graphic representation of ascii letters and numbers and written into a file named by using the second argument. + +- In case the second argument is not present it should print the graphic representation. + +This project will help you learn about : + +- Client utilities; +- The go file system(**fs**) API; +- Ways to receive data; +- Ways to output data; +- Manipulation of strings; +- Learrning about the choice of outputs; +- 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**; +- You may use the same `banner` file. + +### Usage + +```console +student@ubuntu:~/ascii-art$ go build +student@ubuntu:~/ascii-art$ ./ascii-art "hello" banner.txt +student@ubuntu:~/ascii-art$ cat banner.txt + _ _ _ + | | | | | | + | |__ ___ | | | | ___ + | _ \ / _ \ | | | | / _ \ + | | | | | __/ | | | | | (_) | + |_| |_| \___| |_| |_| \___/ + + +student@ubuntu:~/ascii-art$ ./ascii-art "Hello There" banner.txt +student@ubuntu:~/ascii-art$ cat banner.txt + _ _ _ _ _______ _ + | | | | | | | | |__ __| | | + | |__| | ___ | | | | ___ | | | |__ ___ _ __ ___ + | __ | / _ \ | | | | / _ \ | | | _ \ / _ \ | '__| / _ \ + | | | | | __/ | | | | | (_) | | | | | | | | __/ | | | __/ + |_| |_| \___| |_| |_| \___/ |_| |_| |_| \___| |_| \___| + + +student@ubuntu:~/ascii-art$ +``` From 102b44947c8e3689aa68937602b38579896b288e Mon Sep 17 00:00:00 2001 From: lee Date: Mon, 18 Nov 2019 20:14:02 +0000 Subject: [PATCH 2/6] correction of typo and some errors --- subjects/ascii-art-reverse.en.md | 22 +++++++++++----------- subjects/ascii-art.en.md | 18 +++++++++--------- subjects/ascii-color.en.md | 26 +++++++++++++------------- subjects/ascii-fs.en.md | 19 +++++++++---------- subjects/ascii-justify.en.md | 18 +++++++++--------- subjects/ascii-output.en.md | 20 ++++++++++---------- 6 files changed, 61 insertions(+), 62 deletions(-) diff --git a/subjects/ascii-art-reverse.en.md b/subjects/ascii-art-reverse.en.md index a9568fa2..868abc57 100644 --- a/subjects/ascii-art-reverse.en.md +++ b/subjects/ascii-art-reverse.en.md @@ -2,26 +2,26 @@ ### Objectives -Ascii-art-reverse consists on reversing the process, convertin the graphic representation into a text. +Ascii-art-reverse consists on reversing the process, converting the graphic representation into a text. -- You will have to create a `txt` file with a graphic representation of a random phrase; -- The program will have **one** argument being the name of the file created; +- You will have to create a text file with a graphic representation of a random phrase. +- The program will have **one** argument being the name of the file created. - The program must print this phrase in **normal text**. This project will help you learn about : -- Client utilities; -- The go file system(**fs**) API; -- Ways to receive data; -- Ways to output data; -- Manipulation of strings; +- Client utilities. +- The Go file system(**fs**) API. +- Ways to receive data. +- Ways to output data. +- Manipulation of strings. - 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**; +- 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**. ### Usage diff --git a/subjects/ascii-art.en.md b/subjects/ascii-art.en.md index abd5a593..d0c56004 100644 --- a/subjects/ascii-art.en.md +++ b/subjects/ascii-art.en.md @@ -2,22 +2,22 @@ ### Objectives -Ascii-art consists on receiving a `string` has an argument and outputing the `string` in a graphic representation of ascii letters and numbers. +Ascii-art consists on receiving a `string` has an argument and outputing the `string` in a graphic representation of ASCII letters and numbers. This project will help you learn about : -- Client utilities; -- The go file system(**fs**) API; -- Ways to receive data; -- Ways to output data; -- Manipulation of strings; +- Client utilities. +- The Go file system(**fs**) API. +- Ways to receive data. +- Ways to output data. +- Manipulation of strings. - 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**; +- 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**. - It will be given a `banner` file with a specific graphical template representation of ascii letters and numbers. ### Usage diff --git a/subjects/ascii-color.en.md b/subjects/ascii-color.en.md index 01c6a1a4..7dd59238 100644 --- a/subjects/ascii-color.en.md +++ b/subjects/ascii-color.en.md @@ -2,25 +2,25 @@ ### Objectives -Ascii-art-color consists on receiving a `string` has an argument and outputing the `string` in a graphic representation of ascii letters and numbers but with colors. +You must follow the same [instructions](https://github.com/01-edu/public/ascii-art.en.md) as the first subject but with colors. -- The output should manipulate colors using **flags**, `-c=`, in which `-c` is the flag and `` is the color of choice; -- You should be able to specify which letter you want to be colored (use your imagination for this one); -- If the letter isn't specified, the whole phrase should be colored; +- The output should manipulate colors using **flags**, `-c=`, in which `-c` is the flag and `` is the color of choice. +- You should be able to specify which letter you want to be colored (use your imagination for this one). +- If the letter isn't specified, the whole phrase should be colored. This project will help you learn about : -- Client utilities; -- The go file system(**fs**) API; -- Ways to receive data; -- Ways to output data; -- Manipulation of strings; -- Manipulation of colors o the terminal; +- Client utilities. +- The Go file system(**fs**) API. +- 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**; +- 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 may use the same `banner` file. diff --git a/subjects/ascii-fs.en.md b/subjects/ascii-fs.en.md index 891a82d3..464e0fa7 100644 --- a/subjects/ascii-fs.en.md +++ b/subjects/ascii-fs.en.md @@ -2,23 +2,22 @@ ### Objectives -Ascii-art-fs consists on receiving two `strings` has arguments. The first string being a random phrase and the second string being the template for the graphic representation in ascii of the first argument. +You must follow the same [instructions](https://github.com/01-edu/public/ascii-art.en.md) as the first subject but the second argument must be the name of the template. This project will help you learn about : -- Client utilities; -- The go file system(**fs**) API; -- Ways to receive data; -- Ways to output data; -- Manipulation of strings; +- Client utilities. +- The Go file system(**fs**) API. +- Ways to receive data. +- Ways to output data. +- Manipulation of strings. - 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**; -- You should build your own files with the templates you desire. +- 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**. ### Usage diff --git a/subjects/ascii-justify.en.md b/subjects/ascii-justify.en.md index 5e629412..35f5d754 100644 --- a/subjects/ascii-justify.en.md +++ b/subjects/ascii-justify.en.md @@ -2,7 +2,7 @@ ### Objectives -Ascii-art-justify consistes one receiving two `string` has arguments and outputing the `string` in a graphic representation of ascii letters and numbers. This representation should be formated using the second argument, that can be: +You must follow the same [instructions](https://github.com/01-edu/public/ascii-art.en.md) as the first subject but the representation should be formated using the second argument, that can be: - center - justify @@ -11,18 +11,18 @@ Ascii-art-justify consistes one receiving two `string` has arguments and outputi This project will help you learn about : -- Client utilities; -- The go file system(**fs**) API; -- Ways to receive data; -- Ways to output data; -- Manipulation of strings; +- Client utilities. +- The Go file system(**fs**) API. +- Ways to receive data. +- Ways to output data. +- Manipulation of strings. - 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**; +- 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 should build your one files with the templates you desire. ### Usage diff --git a/subjects/ascii-output.en.md b/subjects/ascii-output.en.md index a339cd12..e3adbe5f 100644 --- a/subjects/ascii-output.en.md +++ b/subjects/ascii-output.en.md @@ -2,25 +2,25 @@ ### Objectives -Ascii-art-output consists on receiving two `strings`. The first argument will be converted into a graphic representation of ascii letters and numbers and written into a file named by using the second argument. +Ascii-art-output consists on receiving two strings. The first argument will be converted into a graphic representation of ASCII letters and numbers and written into a file named by using the second argument. - In case the second argument is not present it should print the graphic representation. This project will help you learn about : -- Client utilities; -- The go file system(**fs**) API; -- Ways to receive data; -- Ways to output data; -- Manipulation of strings; -- Learrning about the choice of outputs; +- Client utilities. +- The Go file system(**fs**) API. +- Ways to receive data. +- Ways to output data. +- Manipulation of strings. +- Learning about the choice of outputs. - 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**; +- 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 may use the same `banner` file. ### Usage From 323ae83b5dbb859b2c1244c2b626a4ec55a29307 Mon Sep 17 00:00:00 2001 From: lee Date: Tue, 19 Nov 2019 11:49:11 +0000 Subject: [PATCH 3/6] refering to good practices --- subjects/ascii-art-reverse.en.md | 2 +- subjects/ascii-color.en.md | 2 +- subjects/ascii-fs.en.md | 2 +- subjects/ascii-justify.en.md | 2 +- subjects/ascii-output.en.md | 2 +- subjects/good-practices.en.md | 28 ++++++++++++++++++++++++++++ 6 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 subjects/good-practices.en.md diff --git a/subjects/ascii-art-reverse.en.md b/subjects/ascii-art-reverse.en.md index 868abc57..c9065e70 100644 --- a/subjects/ascii-art-reverse.en.md +++ b/subjects/ascii-art-reverse.en.md @@ -20,7 +20,7 @@ This project will help you learn about : ### Instructions - Your project must be written in **Go**. -- The code must respect the **good practices**. +- The code must respect the [**good practices**](https://github.com/01-edu/public/good-practices.en.md). - It is recommended that the code should present a **test file**. ### Usage diff --git a/subjects/ascii-color.en.md b/subjects/ascii-color.en.md index 7dd59238..5c1aedac 100644 --- a/subjects/ascii-color.en.md +++ b/subjects/ascii-color.en.md @@ -21,6 +21,6 @@ This project will help you learn about : ### Instructions - Your project must be written in **Go**. -- The code must respect the **good practices**. +- The code must respect the [**good practices**](https://github.com/01-edu/public/good-practices.en.md). - It is recommended that the code should present a **test file**. - You may use the same `banner` file. diff --git a/subjects/ascii-fs.en.md b/subjects/ascii-fs.en.md index 464e0fa7..9a342c63 100644 --- a/subjects/ascii-fs.en.md +++ b/subjects/ascii-fs.en.md @@ -16,7 +16,7 @@ This project will help you learn about : ### Instructions - Your project must be written in **Go**. -- The code must respect the **good practices**. +- The code must respect the [**good practices**](https://github.com/01-edu/public/good-practices.en.md). - It is recommended that the code should present a **test file**. ### Usage diff --git a/subjects/ascii-justify.en.md b/subjects/ascii-justify.en.md index 35f5d754..98e60899 100644 --- a/subjects/ascii-justify.en.md +++ b/subjects/ascii-justify.en.md @@ -21,7 +21,7 @@ This project will help you learn about : ### Instructions - Your project must be written in **Go**. -- The code must respect the **good practices**. +- The code must respect the [**good practices**](https://github.com/01-edu/public/good-practices.en.md). - It is recommended that the code should present a **test file**. - You should build your one files with the templates you desire. diff --git a/subjects/ascii-output.en.md b/subjects/ascii-output.en.md index e3adbe5f..090d1017 100644 --- a/subjects/ascii-output.en.md +++ b/subjects/ascii-output.en.md @@ -19,7 +19,7 @@ This project will help you learn about : ### Instructions - Your project must be written in **Go**. -- The code must respect the **good practices**. +- The code must respect the [**good practices**](https://github.com/01-edu/public/good-practices.en.md). - It is recommended that the code should present a **test file**. - You may use the same `banner` file. diff --git a/subjects/good-practices.en.md b/subjects/good-practices.en.md new file mode 100644 index 00000000..09ad819a --- /dev/null +++ b/subjects/good-practices.en.md @@ -0,0 +1,28 @@ +## good practices + +### [code](https://code.tutsplus.com/tutorials/top-15-best-practices-for-writing-super-readable-code--net-8118) + +- Commenting and Documentation +- Consistent Indentation +- Avoid Obvious Comments +- Code Grouping +- Consistent Naming Scheme + - camelCase + - under_scores +- [**DRY**](https://thefullstack.xyz/dry-yagni-kiss-tdd-soc-bdfu) (Don't Repeat Yourself) or [**DIE**](https://thefullstack.xyz/dry-yagni-kiss-tdd-soc-bdfu) (Duplication is Evil) principle +- [**KISS**](https://thefullstack.xyz/dry-yagni-kiss-tdd-soc-bdfu) (Keep It Simple Stupid) +- [**YAGNI**](https://thefullstack.xyz/dry-yagni-kiss-tdd-soc-bdfu) (You Aren’t Gonna Need It) +- [**SOC**](https://thefullstack.xyz/dry-yagni-kiss-tdd-soc-bdfu) (Separation of Concerns) +- Avoid Deep Nesting +- Limit Line Length +- File and Folder Organization +- Consistent Temporary Names +- Separation of Code and Data +- Code Refactoring + +### Go + +- [**Go**](https://golang.org/doc/effective_go.html) +- [**gofmt**](https://golang.org/cmd/gofmt/) +- [**goimports**](https://godoc.org/golang.org/x/tools/cmd/goimports) +- [**foimports vs gofmt**](https://goinbigdata.com/goimports-vs-gofmt/) From 8e75965225cbdb316c452b8a519eef4a4b11e84f Mon Sep 17 00:00:00 2001 From: lee Date: Tue, 19 Nov 2019 20:40:38 +0000 Subject: [PATCH 4/6] typo correction --- subjects/ascii-justify.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/ascii-justify.en.md b/subjects/ascii-justify.en.md index 98e60899..67c8388d 100644 --- a/subjects/ascii-justify.en.md +++ b/subjects/ascii-justify.en.md @@ -2,7 +2,7 @@ ### Objectives -You must follow the same [instructions](https://github.com/01-edu/public/ascii-art.en.md) as the first subject but the representation should be formated using the second argument, that can be: +You must follow the same [instructions](https://github.com/01-edu/public/ascii-art.en.md) as the first subject but the representation should be formatted using the second argument, that can be: - center - justify From 9365f7cc9f293c9d75654688956d67323c0ac068 Mon Sep 17 00:00:00 2001 From: lee Date: Wed, 20 Nov 2019 10:08:44 +0000 Subject: [PATCH 5/6] removing letters and number --- subjects/ascii-art.en.md | 4 ++-- subjects/ascii-output.en.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/subjects/ascii-art.en.md b/subjects/ascii-art.en.md index d0c56004..3306d0db 100644 --- a/subjects/ascii-art.en.md +++ b/subjects/ascii-art.en.md @@ -2,7 +2,7 @@ ### Objectives -Ascii-art consists on receiving a `string` has an argument and outputing the `string` in a graphic representation of ASCII letters and numbers. +Ascii-art consists on receiving a `string` has an argument and outputting the `string` in a graphic representation of ASCII. This project will help you learn about : @@ -18,7 +18,7 @@ This project will help you learn about : - 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**. -- It will be given a `banner` file with a specific graphical template representation of ascii letters and numbers. +- It will be given a `banner` file with a specific graphical template representation of ASCII. ### Usage diff --git a/subjects/ascii-output.en.md b/subjects/ascii-output.en.md index 090d1017..6239b7de 100644 --- a/subjects/ascii-output.en.md +++ b/subjects/ascii-output.en.md @@ -2,7 +2,7 @@ ### Objectives -Ascii-art-output consists on receiving two strings. The first argument will be converted into a graphic representation of ASCII letters and numbers and written into a file named by using the second argument. +Ascii-art-output consists on receiving two strings. The first argument will be converted into a graphic representation of ASCII and written into a file named by using the second argument. - In case the second argument is not present it should print the graphic representation. From f82a099d98f810157d014e7f6c260307c39ba097 Mon Sep 17 00:00:00 2001 From: lee Date: Tue, 3 Dec 2019 10:54:36 +0000 Subject: [PATCH 6/6] missing link to good pratices --- subjects/ascii-art.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/ascii-art.en.md b/subjects/ascii-art.en.md index 3306d0db..db551843 100644 --- a/subjects/ascii-art.en.md +++ b/subjects/ascii-art.en.md @@ -16,7 +16,7 @@ This project will help you learn about : ### Instructions - Your project must be written in **Go**. -- The code must respect the **good practices**. +- The code must respect the [**good practices**](https://github.com/01-edu/public/good-practices.en.md). - It is recommended that the code should present a **test file**. - It will be given a `banner` file with a specific graphical template representation of ASCII.