gophersnippets
gophersnippets copied to clipboard
Code snippets with tests and testable examples for the Go programming language
Comments for [How to reverse a string](http://gophersnippets.com/how-to-reverse-a-string)
Comments for [How to measure the execution time of a function](http://gophersnippets.com/how-to-measure-the-execution-time-of-a-function)
Comments for [How to count the number of words in a string](http://gophersnippets.com/how-to-count-the-number-of-words-in-a-string)
Comments for [How to calculate the hamming distance between two strings](http://gophersnippets.com/how-to-calculate-the-hamming-distance-between-two-strings)
Comments for [How to shuffle a slice](http://gophersnippets.com/how-to-shuffle-a-slice)
Comments for [How to print the same variable multiple times using printf](http://gophersnippets.com/how-to-print-the-same-variable-multiple-times-using-printf)
Comments for [How to print the binary representation of an integer](http://gophersnippets.com/how-to-print-the-binary-representation-of-an-integer)
Comments for [How to check if a type satisfies an interface at runtime](http://gophersnippets.com/how-to-check-if-a-type-satisfies-an-interface-at-runtime)
Comments for [What is the maximum value of numeric types](http://gophersnippets.com/what-is-the-maximum-value-of-numeric-types)
Comments for [How to read an HTTP response status code](http://gophersnippets.com/how-to-read-an-http-response-status-code)