From d4f404e53fb0ab37ec0ffa95d69902410bfe0368 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 4 Jul 2021 16:52:25 +0300 Subject: Started work on go implementation of exercise; Implemented the error box and normal box generators --- go-src/main.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 go-src/main.go (limited to 'go-src/main.go') 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")) +} -- cgit v1.2.3