diff --git a/go-test-app-02/index.html b/go-test-app-02/index.html new file mode 100644 index 0000000..1483d6b --- /dev/null +++ b/go-test-app-02/index.html @@ -0,0 +1,78 @@ + + + + + Waiting for GitHub Pages Deployment + + + + +
+

Waiting for GitHub Pages Deployment

+ + diff --git a/go-test-app-02/index.js b/go-test-app-02/index.js new file mode 100644 index 0000000..e004065 --- /dev/null +++ b/go-test-app-02/index.js @@ -0,0 +1,8 @@ +let pres = document.querySelectorAll('#content pre'); + +pres.forEach((pre) => { + let lines = pre.innerHTML.split('\n'); + pre.style.setProperty('--ln-width', lines.length.toString().length); + let linesWithNumbers = lines.map((l, i) => `${i+1}${l}`); + pre.innerHTML = linesWithNumbers.join('\n'); +}); diff --git a/go-test-app-02/nord.css b/go-test-app-02/nord.css new file mode 100644 index 0000000..6e7bcc0 --- /dev/null +++ b/go-test-app-02/nord.css @@ -0,0 +1,83 @@ +:root { + --ln-width: 3; + --nord-deep-dark: #242931; + --nord0: #2e3440; + --nord0-pale: rgba(46, 52, 64, 0.3); + --nord1: #3b4252; + --nord1-pale: rgba(59, 66, 82, 0.3); + --nord2: #434c5e; + --nord2-pale: rgba(67, 76, 94, 0.3); + --nord3: #4c566a; + --nord3-pale: rgba(76, 86, 106, 0.3); + --nord4: #d8dee9; + --nord4-pale: rgba(216, 222, 232, 0.3); + --nord5: #e5e9f0; + --nord5-pale: rgba(229, 233, 240, 0.3); + --nord6: #eceff4; + --nord6-pale: rgba(236, 239, 244, 0.3); + --nord7: #8fbcbb; + --nord7-pale: rgba(143, 188, 187, 0.3); + --nord8: #88c0d0; + --nord9: #81a1c1; + --nord10: #5e81ac; + --nord10-pale: rgba(94, 129, 172, 0.3); + --nord11: #bf616a; + --nord11-pale: rgba(191, 97, 106, 0.3); + --nord12: #d08770; + --nord12-pale: rgba(208, 135, 112, 0.3); + --nord13: #ebcb8b; + --nord13-pale: rgba(235, 203, 139, 0.3); + --nord14: #a3be8c; + --nord14-pale: rgba(163, 190, 140, 0.3); + --nord15: #b48ead; + --nord15-pale: rgba(180, 140, 173, 0.3); +} + +* { + font-family: Menlo, Monaco, source-code-pro, "Ubuntu Mono", "DejaVu sans mono", Consolas, monospace, Menlo, Monaco, "Courier New", monospace; + font-weight: normal !important; + font-size: 14px; +} + +body { + background: var(--nord0) !important; + color: var(--nord3) !important; +} + +#topbar { + background: var(--nord1) !important; + border-color: var(--nord3) !important; +} + +select { + background-color: var(--nord-deep-dark); + color: var(--nord9); + border: 1px solid var(--nord3); + border-radius: 3px; + padding: 2px; +} + +pre { + line-height: 1.4em; +} + +.ln { + display: inline-block; + min-width: calc(0.48em * (var(--ln-width) + 1)); + text-align: right; + margin-right: 15px; + padding-right: 10px; + color: var(--nord3); +} + +.cov0, .cov0 .ln { color: var(--nord11) !important; } +.cov1, .cov1 .ln { color: var(--nord13) !important; } +.cov2, .cov2 .ln { color: var(--nord14) !important; } +.cov3, .cov3 .ln { color: var(--nord14) !important; } +.cov4, .cov4 .ln { color: var(--nord14) !important; } +.cov5, .cov5 .ln { color: var(--nord14) !important; } +.cov6, .cov6 .ln { color: var(--nord14) !important; } +.cov7, .cov7 .ln { color: var(--nord14) !important; } +.cov8, .cov8 .ln { color: var(--nord14) !important; } +.cov9, .cov9 .ln { color: var(--nord14) !important; } +.cov10, .cov10 .ln { color: var(--nord14) !important; } diff --git a/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02-inc.html b/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02-inc.html new file mode 100644 index 0000000..eaf74c7 --- /dev/null +++ b/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02-inc.html @@ -0,0 +1,108 @@ + + + + + + Go Coverage Report + + + +
+ +
+ not tracked + + no coverage + low coverage + * + * + * + * + * + * + * + * + high coverage + +
+
+
+ +
+ + + diff --git a/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02-inc.out b/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02-inc.out new file mode 100644 index 0000000..5f02b11 --- /dev/null +++ b/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02-inc.out @@ -0,0 +1 @@ +mode: set diff --git a/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02-inc.txt b/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02-inc.txt new file mode 100644 index 0000000..004bfa1 --- /dev/null +++ b/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02-inc.txt @@ -0,0 +1 @@ +total: (statements) 0.0% diff --git a/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02.html b/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02.html new file mode 100644 index 0000000..a246a23 --- /dev/null +++ b/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02.html @@ -0,0 +1,137 @@ + + + + + + cointoss: Go Coverage Report + + + +
+ +
+ not tracked + + not covered + covered + +
+
+
+ + + +
+ + + diff --git a/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02.out b/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02.out new file mode 100644 index 0000000..0a1ec91 --- /dev/null +++ b/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02.out @@ -0,0 +1,11 @@ +mode: set +cointoss/main.go:10.13,11.27 1 1 +cointoss/main.go:11.27,13.3 1 1 +cointoss/main.go:13.8,15.3 1 0 +cointoss/main.go:17.2,17.32 1 1 +cointoss/main.go:20.24,21.23 1 1 +cointoss/main.go:21.23,23.3 1 1 +cointoss/main.go:23.8,25.3 1 0 +cointoss/main.go:28.19,29.21 1 1 +cointoss/main.go:29.21,31.3 1 1 +cointoss/main.go:31.8,33.3 1 0 diff --git a/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02.txt b/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02.txt new file mode 100644 index 0000000..7713fd1 --- /dev/null +++ b/go-test-app-02/revisions/4c1beb1eb297972180fe456e28c91e93c4313b02.txt @@ -0,0 +1,4 @@ +cointoss/main.go:10: main 75.0% +cointoss/main.go:20: tossCoin 66.7% +cointoss/main.go:28: maybe 66.7% +total: (statements) 70.0%