aboutsummaryrefslogtreecommitdiff
path: root/go-src/main.go
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-07-04 16:52:25 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-07-04 16:52:25 +0300
commitd4f404e53fb0ab37ec0ffa95d69902410bfe0368 (patch)
tree1803f4d834e77a6673b0cb3d3b585f43f69d7a0c /go-src/main.go
parent0992f07eb2c4f1b8619d9a12fd67311c8b3f7ea5 (diff)
downloadctfc-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.go11
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"))
+}