:::: MENU ::::

Effective Go: A primer for writing idiomatic Go code (based on Go’s unique properties)

Go Gopher Mascot

https://golang.org/doc/effective_go.html


This is for folks who are already somewhat familiar with Go.

From the Effective Go Introduction:

Go is a new language. Although it borrows ideas from existing languages, it has unusual properties that make effective Go programs different in character from programs written in its relatives. A straightforward translation of a C++ or Java program into Go is unlikely to produce a satisfactory result—Java programs are written in Java, not Go. On the other hand, thinking about the problem from a Go perspective could produce a successful but quite different program. In other words, to write Go well, it’s important to understand its properties and idioms. It’s also important to know the established conventions for programming in Go, such as naming, formatting, program construction, and so on, so that programs you write will be easy for other Go programmers to understand.





mermaid: Generate flowcharts and diagrams from text using Node.js

https://github.com/knsv/mermaid


Now ya’ll know I love me some Markdown, and while this isn’t quite a pretty to read in text format as Markdown is, mermaid scratches a similar itch for me. It provides a way to represent flowcharts and diagrams using text, making it easy to easily store and compare them in your source control repository.

Example

graph LR;
    A[Hard edge]-->|Link text|B(Round edge);
    B-->C{Decision};
    C-->|One|D[Result one];
    C-->|Two|E[Result two];

Example flowchart

Additional examples here: http://www.sveido.com/mermaid/demo/html/web.html







Pages:1234567...29