4 ms·
Slightly offtopic: Does anyone know which template was used to generate this document? I'm assuming the source in markdown and I really like that the generated
by krat0sprakhar 8y ago
Slightly offtopic: Does anyone know which template was used to generate this document? I'm assuming the source in markdown and I really like that the generated html has table of contents, support for footnotes and is responsive!
- andrenth 8y agoIt’s asciidoctor, and it’s indeed really nice. https://asciidoctor.org/docs/user-manual/ https://asciidoctor.org/docs/user-manual/
- tomcatfish 8y agoI can't offer a solution to what it was made with, but the italicization on this paragraph makes me almost sure it was a markdown source. The go tool also supports a special package declaration, ending in test, ie., package http_test. This allows your test files to live alongside your code in the same package, however when those tests are compiled they are not part of your package’s code, they live in their own package. This allows you to write your tests as if you were another package calling into your code. This is known as an _external test.