LeMoDa top page
Go
Arrays
C
CGI
Compression
Directories
GNU Emacs
Equivalents
Examples
Files
Hexadecimal
Information theory
Japanese language
Line directives
Maths
Networking
Numbers
Partial content
Perl
Printf
Regular expressions
stdarg
Strings
Troff
Unicode
UTF-8
Information for go-go dancers.
Standardise Go function comments
(28 June 2023)
Stopping a web server using a web request
(13 March 2023)
Read directory
(24 November 2022)
Generate gaussian
(2 August 2022)
Dealing with zero-length non-empty form values in Go
(6 June 2022)
Read a file into an array of lines in Go
(17 May 2022)
Redirect os.Stderr in Go
(16 May 2022)
Net interfaces
(30 March 2021)
Removing elements from the middle of a slice
(24 February 2021)
Initialise and evaluate a map from strings to strings in Go
(28 July 2017)
Template glob funcs
(18 March 2017)
Array of different types
(8 September 2016)
Put a JSON object into map[string]string directly in Go
(8 September 2016)
Get mime type
(31 August 2016)
Override the mime type of the Go HTTP file server
(30 August 2016)
Regexp replace pattern
(29 August 2016)
Substitute a URL in text using a regular expression
(26 August 2016)
A file server with sorted directory listing in Go
(1 February 2016)
Gzip handler in Go
(24 January 2016)
Line directives in Go
(27 October 2015)
Example of a Go program which reads URL parameters and prints them out
(27 October 2015)
Simplest example of web server printing "Hello world" in Go
(27 October 2015)
Get a varargs-like vprintf or vfprintf in Go
(28 September 2015)
C and Go equivalents
(14 September 2015)
Make an error from a string in Go
(13 September 2015)
Pop from slice
(13 September 2015)
Set Go tab width to four rather than eight
(24 August 2015)
An example where the Kullback-Leibler divergence breaks the triangle inequality
(20 September 2014)
Cgi and file server
(13 August 2014)
Convert a rune to a string in Go
(3 August 2014)
Testing for an undefined string in Go
(2 August 2014)
Convert type
(31 July 2014)
Raw strings
(31 July 2014)
map of list of strings
(30 July 2014)
Get the first rune of a string in Go
(29 July 2014)
Example of converting hexadecimal to integer in Go
(29 July 2014)
An example of a struct in Go
(29 July 2014)
Example of initializing an array of strings in Go
(27 July 2014)
Sort an array of strings by length
(27 July 2014)
Read a tab-separated file into a map
(26 July 2014)
Example of converting hiragana to katakana in Go
(24 July 2014)
Example of converting utf8 to a rune (integer)
(24 July 2014)
Example of looping over runes in a string in Go
(24 July 2014)
Perl and Go equivalents
(12 November 2009)
Copyright © Ben Bullock 2009-2024
. All rights reserved. For comments, questions, and corrections, please email
Ben Bullock
(
benkasminbullock@gmail.com
). /
Privacy
/
Disclaimer