diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-07-04 16:52:25 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-07-04 16:52:25 +0300 |
| commit | d4f404e53fb0ab37ec0ffa95d69902410bfe0368 (patch) | |
| tree | 1803f4d834e77a6673b0cb3d3b585f43f69d7a0c /go-src/main.go | |
| parent | 0992f07eb2c4f1b8619d9a12fd67311c8b3f7ea5 (diff) | |
| download | ctfc-d4f404e53fb0ab37ec0ffa95d69902410bfe0368.tar ctfc-d4f404e53fb0ab37ec0ffa95d69902410bfe0368.tar.gz ctfc-d4f404e53fb0ab37ec0ffa95d69902410bfe0368.zip | |
Started work on go implementation of exercise; Implemented the error box and normal box generators
Diffstat (limited to 'go-src/main.go')
| -rw-r--r-- | go-src/main.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/go-src/main.go b/go-src/main.go new file mode 100644 index 0000000..f06b1ff --- /dev/null +++ b/go-src/main.go @@ -0,0 +1,11 @@ +package main + +import "fmt" + +func main() { + // Temporary values for testing purposes + fmt.Println(errorBox("Test error")) + fmt.Println(normalBox(true, "Page 1")) + fmt.Println(normalBox(false, "Page 1", "Page 2")) + fmt.Println(normalBox(true, "af", "Page dfsdf", "fd ffdfs dfsdf sd Page 3", "A")) +} |
