Some go code snippets